dsh-amazon-image-studio: Amazon Listing / A+ Image Planning, Per-Image Generation & Compliance Tagging

Introduction

When automating Amazon-related operations in DeepSeek Harness (DSH), a common approach is to manually break down the main image, additional images, and A+ modules within the conversation, then hand-write English image generation Prompts and invoke the API one by one. If the meanings of slots, white background rules for main images, A+ upload dimensions, and the principle of “not inventing products out of thin air” are not codified into the toolchain, it is easy to encounter compliance issues or products not matching the description during batch image generation.

Below is an introduction to the workflow plugin dsh-amazon-image-studio by maintainer liangdabiao: It plans Listing copy into MAIN + PT01-06 (7–12 adjustable slots) or four sets of A+ module schemes, assembles Prompts slot by slot, generates one image at a time using apiz’s GPT Image 2.5 Flare with product reference images, and includes XMP tagging for AI performer media. The planning methodology is ported from the upstream Ali-Aria/amazon-image-studio (MIT).

What is it

dsh-amazon-image-studio is a “Amazon Image Workbench” plugin for DSH: AI planning for Amazon Listing / A+ images, generating images one by one, and compliance tagging. The sidebar provides an “Amazon Images” panel (Planning Desk, Planning Archive, Generation History, AI Performer Tagging, Settings, Workflow Guide).

One-sentence workflow: Paste product image + Listing copy → Define what each image should convey based on slots or A+ modules → Translate into English Prompts and apply style/negative prompts → Must carry product reference images when calling the generation API → Asynchronous tasks are saved to disk and written to history. Core principle: Do not let the model invent products out of thin air; the model can only change the background, scene, and annotations, not the product appearance.

Community directory page: skillhub.cn/plugins/liangdabiao/dsh-amazon-image-studio. The repository is MIT licensed, package.json version is 0.3.0; the README states dependencies on dsh >= 0.2.1-rc.2 < 0.3.0 and Node 22+.

Core Features

After installation, the agent and the panel share a set of toolchains, with the main capabilities listed below.

Capability Function
amz_slots Query Listing slots (MAIN+PT01-N) and four sets of A+ module arrangements (specifications, official dimensions, generation conversion)
amz_plan AI planning based on Listing copy and reference images (≤8MiB), outputting a scheme JSON containing Chinese descriptions, English Prompts, negative prompts, etc.
amz_validate_plan Validate slot count, order, field languages, etc.; archive and obtain planId upon passing
amz_prompt Assemble the final image generation Prompt (style blocks, layout density, negative prompts, resolution; main image white background does not use style block)
amz_generate Generate one image at a time; the panel documentation side defaults to apiz / GPT Image 2.5 Flare (create task → poll → download)
amz_tag_performer Locally write Amazon-required contains-synthetic-performer XMP (JPG/PNG/WebP/MP4/MOV, offline)
amz_history List / get / remove / clear for planning archives and image generation history

Reference images used for apiz image-to-image only recognize public URLs: the plugin will use apiz upload to upload local images to a CDN and then fill in reference_image_urls. Generation is rejected by default if there are no product reference images (requireReferenceImages defaults to true).

Data is by default stored under DSH_HOME (usually ~/.dsh) in amazon-image-studio/: plans/, images/, references/, history.json.

Installation and Enablement

Prerequisites: dsh >= 0.2.1-rc.2 < 0.3.0, Node 22+.

Method 1: DSH sidebar “Plugins” → Add Plugin → Fill in local absolute path or package name → Install and enable the bundle.

Method 2 (Command Line), refer to the README for the installation command:

dsh plugin --profile web add https://github.com/liangdabiao/dsh-amazon-image-studio

After installation, “Amazon Images” will appear in the sidebar. First, go to the Settings page to enter the apiz sk- Key, or enable reusing the local apiz auth login session as needed (imageUseApizCliAuth); otherwise, image generation will be rejected. The plugin runs with the permissions of the current dsh process. It is recommended to verify the source code and LICENSE on GitHub before installation.

Typical Usage

One-sentence Driver in Conversation

  • “Help me plan a set of Amazon Listing images for this product”: amz_slots → amz_plan (or self-planning + amz_validate_plan) → review amz_prompt slot by slot → amz_generate to generate images one by one.
  • “Generate A+ images for this product using Premium A+”: amz_slots (aplusType: premium) → plan → generate by module.
  • “I need to tag this AI-generated performer video for Amazon”: amz_tag_performer.
  • “Check what was planned previously”: amz_history.

Panel Workflow

Set apiz Key → Planning Desk paste Listing copy → Drag in product reference images (required) → “AI Planning” → Slot cards can preview Prompt, copy, generate, or fill into conversation → Check results in generation history.

Image generation billing is based on apiz tokens: credits are deducted upon task creation, with refunds for overpayment or returned for failure. The README warns: do not resubmit on polling timeout. Use the task_id from the application error to execute apiz tasks get <id> to query; resubmission will be charged again.

Configuration Highlights

Configuration takes effect via profile patch after saving in the panel “Settings”. Items directly related to image generation include:

Configuration Default Description
imageApiKey Empty apiz Key; empty and CLI login not enabled, generation is prohibited
imageUseApizCliAuth false Whether to reuse apiz auth login
imageQuality low low / medium / high / xhigh / max (independent of resolution, higher is more expensive)
outputTier 2K 1K / 2K / 4K
requireReferenceImages true Whether to enforce product reference images
imageModel Empty Leave empty for apiz/gpt-image-2.5-flare

The Main image (MAIN) must have a pure white background and not use a style block; Additional images and A+ can use style blocks (the style block serves as the last reference image). The actual output size may vary slightly from the apiz supported width/height tiers and the plugin’s requested generationSize; history will record actualSize.

Although adapters for Volcano / OpenAI compatibility / Bailian are retained in the code, the README specifies that the panel and image generation documentation sides primarily use apiz, and other channels are not supported by this project.

Applicable Scenarios and Notes

Suitable for: Operations or agent developers who need to perform structured planning + batch image generation with reference images for Amazon Listing or A+ within DSH, and need to XMP-tag AI-synthesized performer materials.

Please note:

  1. Must configure apiz and reference image strategy; otherwise, images cannot be generated according to the design closure.
  2. Security and privacy: Planning and image generation will invoke the configured APIs; uploading reference images to the apiz CDN to obtain public URLs is a standard behavior of the image generation channel.
  3. The DSH plugin ecosystem community directory (such as SkillHub) has no official affiliation with DeepSeek or Fenxiang; the installation source is based on the maintainer’s repository.

Conclusion

dsh-amazon-image-studio integrates Amazon image slot rules, planning schema, Prompt assembly, and apiz asynchronous image generation into a single workflow: copy goes in, scheme and planId are saved to disk, product images are anchored, images are generated one by one, and history is traceable. For further information, visit the SkillHub directory page and GitHub repository (README includes flowcharts, tool tables, and FAQs).

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye