Marketplace cards (OpenRouter)
Marketplaces reject images for concrete, boring reasons: busy backgrounds, cropped
product, overlaid text on the main image, invented badges, inconsistent scale across
the set. The templates in references/asset-templates.md encode those constraints.
Prerequisites
OPENROUTER_API_KEY, curl, jq. Helper:
openrouter-media/scripts/or-media.sh image.
UX rules
- Reply in the user's language.
- At most one confirmation question before running.
- Prefer a real product photo as
--ref. Proceed from text alone only when the product is unambiguous. - Assemble prompts from the asset templates; do not freehand compliance rules.
- Final answer: file paths with short labels. No JSON, no job ids, no prompt dumps.
Scope
| Scope | Produces |
|---|---|
main | 1 marketplace main image |
product-images | main + 5 secondary images |
aplus | main + 7 A+ modules |
full-set | main + 5 secondary + 7 A+ modules |
Assets: main_image, infographic, multi_angle, detail_shot, lifestyle,
whats_in_box, aplus_hero_banner, aplus_pain_points, aplus_features,
aplus_ingredients, aplus_efficacy, aplus_how_to_use, aplus_endorsement.
Workflow
- Confirm the product, the marketplace, and the scope. If the user gave a listing URL, read the title and key claims from it - do not invent certifications.
- Generate
main_imagefirst. Every later asset uses it as--refso scale, palette and light stay consistent. - Generate the remaining assets in template order, one call each.
- Check each output against the template's checklist before delivering; regenerate the failures once with a sharper constraint instead of shipping them.
bash "$HOME/.claude/skills/openrouter-media/scripts/or-media.sh" image \
--model bytedance-seed/seedream-5-0-pro \
--prompt "<main_image template, filled>" \
--ref ./product.jpg --ratio 1:1 --resolution 2K --out ./cards
Model choice: bytedance-seed/seedream-5-0-pro for photoreal product,
openai/gpt-image-2.6-sunburst when an asset needs clean overlay text
(infographic, A+ banners). Text-bearing assets are the ones that need checking -
labels and numbers must match the user's facts exactly.
Delivery
Marketplace cards ready:
- Main image: ./cards/image-1.png
- Infographic: ./cards/image-2.png
- Lifestyle: ./cards/image-3.png
What this skill does not do
- It cannot guarantee a specific marketplace's current policy. State the checklist it followed; tell the user to verify against the live listing rules before upload.
- It does not produce video ads or UGC.