Amazon-specific knowledge for generating listing images with the
general vibe_seller_generate_image tool. The tool itself documents
the generic contract (user-language prompt, references carry a real
subject's appearance, roles by position, the user-confirm pause) — this
skill adds only what is Amazon:
1. Amazon image requirements
MAIN image (the one search results show — strictest):
- Pure white background, exactly RGB (255,255,255) — off-white fails Amazon's automated scan.
- Product fills ~85% of the frame, fully visible, not cropped.
- No text, logos, badges, watermarks, borders, props, or accessories not included in the purchase. Product only, as the buyer receives it.
- ≥1000px on the longest side; ≥1600px recommended (enables zoom). Square (1:1) displays best. JPEG/PNG.
- Category variations exist (e.g. adult apparel is usually shown on a model; shoes as a single shoe at an angle). When in doubt, mirror what the store's own live listings of the same category do.
Secondary images (gallery slots 2-7+): lifestyle shots, infographics with feature callouts, dimension/scale charts and comparison tables are all allowed and convert well. On-image text is fine here (not on the main image) — spell every word exactly in the prompt and proofread the result character by character.
2. Collecting reference images
- Supplier page (e.g. 1688): extract the original gallery image
URLs from the page (full-size, not thumbnails) and pass them as
reference_imagesdirectly — the generator fetches URLs itself. - Amazon listing (style reference): open the listing's dp page and
take the hi-res image URLs (
m.media-amazon.com/images/I/…, request the large_SL1600_variant). These carry the store's composition, palette and infographic layout. - Don't pass a blank or placeholder image — it poisons the
generation. Two traps produce them:
- listings whose images were never uploaded show a "No image available" placeholder;
- lazy-loading pages serve tiny stand-in GIFs (e.g. 60×40px) until the image scrolls into view. Check that what you fetched is a full-resolution product photo.
- Style-reference search order (keep going without stalling):
- a live-imaged listing of the same product type on this store;
- otherwise ANY live-imaged listing on this store (brand style — hero look, palette, chip band — carries across categories; you reference its composition, never its product);
- if the whole store has no live images, ask the user once with AskUserQuestion: provide a style image (they can drag one into the confirmation popup's reference area) or proceed with supplier photos only — optional; proceed immediately if declined.
3. Generate, audit, hand off
- One
vibe_seller_generate_imagecall per image (kind: "main", "infographic", …). Usenano-banana-profor anything with on-image text. - A listing image the user wants CREATED comes from
vibe_seller_generate_image, including "just remove the background". "Keep the product, only drop the background", "put it on white", "crop it square" are generation jobs: one call whosereference_imagesis the photo and whose prompt says to keep the product identical and change only the background. That call is also how you FIX a generated image —generated_images/belongs to the tool (each file's recorded prompt and model is what the user's inline card shows), and no local edit may overwrite a file there; copy it out first if you need to work on one. The model also gives you relit edges, a clean contact shadow and no halo on hair/mesh/glass, which a local cutout loses. Ordinary image processing is the agent's own work: resizing a user's photo to Amazon's minimum, webp→jpg, cropping a screenshot — deliver those files as your own, not undergenerated_images/. - After each image is saved, view the returned workspace
pathand compare against the original supplier photo item by item (shape, colour, texture, proportions; infographic wording). Regenerate with a prompt naming the specific fix if anything differs. - If you cannot see the image (some models are text-only), say so and let the user judge — it renders inline in the task. A pixel-measurement script is not a substitute: corner-RGB sampling and coverage arithmetic answer a different question than "is this the right product image", and acting on them pulls the deliverable away from the model's output.
- Off-white background or an over-filled frame — the two things a
first pass gets wrong on a main image (e.g. RGB(254,254,253) instead
of pure white, or the product bleeding to the edges). Fix by
regenerating rather than post-processing: call the tool again with the
previous generated image as the
reference_imageand a prompt naming only the fix — "keep the product pixel-identical; background must be pure white RGB(255,255,255); leave a clear margin on all four sides so the product fills about 85% of the frame and touches no edge". - Revising on user feedback — for ANY change the user asks after
seeing a generated image (lighter/darker, bigger/smaller, recolour,
remove or add an element, change composition, …): call
vibe_seller_generate_imageagain and pass the previously generated image (itsgenerated_images/…path) as areference_image, with a prompt describing only the requested change. This edits the prior result — keeping what the user was happy with — instead of regenerating from the supplier photo and drifting. If the user also drops a new photo for the change (e.g. "this one's good, add my dog in the middle"), pass both the previous generated image and the new photo asreference_imagesand name each image's role by position in the prompt ("image 1 is the current design to keep; image 2 is the dog to add in the center"). - Putting the images ON a listing is the
amazon-listingflow (Manage Images / flat file) — this skill only produces the files.