Install
openclaw skills install @wubin1836/shopify-ecommerce-image-generation-editingCreate and edit Shopify product photography, PDP image galleries, collection banners, DTC lifestyle images and campaign creatives. Use this skill for Shopify商品图、独立站PDP、Hero Image、产品套图、DTC品牌视觉、Meta Ads素材、邮件营销、换背景、多市场本地化和批量SKU;supports reference-guided generation through AI Hive.
openclaw skills install @wubin1836/shopify-ecommerce-image-generation-editingBuild a coherent image system across a Shopify storefront instead of isolated product renders. The same product should remain accurate across PDP, collection, homepage, email and paid social placements while composition changes for each channel.
Gather product angles, packaging, variants, dimensions, materials, brand colors, typography direction, audience, approved claims and current storefront examples. Define non-negotiables: product shape, logo, color, included items and any visual identity that must remain consistent.
| Placement | Job | Composition |
|---|---|---|
| PDP primary | identify the product | clean, accurate, distraction-free |
| PDP gallery | answer objections | detail, scale, use and variants |
| Collection card | compare products | consistent angle and crop |
| Homepage hero | express brand promise | product plus lifestyle context |
| Paid social | earn attention | one audience and one benefit |
| Email/SMS | support a campaign | clear offer-safe layout space |
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
--prompt 'Create a 5-image Shopify PDP gallery using the reference product: clean primary image, material close-up, scale-in-hand image, real use scene and packaging contents. Preserve exact product shape, color, logo and accessories across every image. Use one coherent lighting system and do not invent dimensions, claims or included items.' \
--image /path/to/product-front.png \
--image /path/to/product-side.png \
--batch 5
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
--prompt 'Create a Shopify collection-card image for the supplied SKU. Match the reference collection angle, subject scale, background tone and shadow; replace only the product with this accurate SKU. Keep packaging and logo unchanged, with enough crop tolerance for responsive storefront cards.' \
--image /path/to/new-sku.png \
--image /path/to/collection-style.png
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
--prompt 'Wide Shopify homepage hero for a minimalist home brand. Place the accurate reference product in a credible morning routine, build a strong focal point on the right and reserve calm negative space on the left for approved headline and button. Preserve product details; no generated offer, testimonial or claim.' \
--image /path/to/product.png
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
--prompt 'Generate 3 paid-social creative hypotheses for the same DTC product: problem-in-context, hands-on demonstration and material proof. Keep product and brand system consistent, but change the customer reason to stop. Reserve safe copy space and do not invent a discount, review, result or certification.' \
--image /path/to/product.png \
--batch 3
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
--prompt 'Adapt the reference lifestyle image for a Japanese urban apartment while preserving the exact product and brand color. Change only the environment, styling and available negative space; keep the use case realistic and culturally neutral. Remove old campaign copy and leave clean space for approved Japanese localization.' \
--image /path/to/source-campaign.jpg
pip3 install requests
python3 "$SKILL_PATH/scripts/imagegen.py" init --skill-name shopify-ecommerce-image-generation-editing
python3 "$SKILL_PATH/scripts/imagegen.py" task --task-id <taskId>
The fixed image model is public_model_nano_banana_pro. generate supports repeatable --image, --batch, model --param, routing, output directory and submit-only mode. Use live AI Hive pricing and parameters.