E-commerce Product Image Generator
Create professional product images optimized for e-commerce platforms with platform-specific requirements and multiple visual styles.
Usage
# Auto-select style based on product
/product-image-generator product-description.md
# Specify style
/product-image-generator product.md --style minimal
# Specify platform (auto-adjusts image requirements)
/product-image-generator product.md --platform amazon
# Specify scene type
/product-image-generator product.md --scene studio
# Combine options
/product-image-generator product.md --style premium --platform shopify --scene lifestyle
# Direct input
/product-image-generator
[paste product description]
# Direct input with options
/product-image-generator --style minimal --scene studio
[paste product description]
# With reference image (for style consistency)
/product-image-generator product.md --ref brand-style.png
# Multiple reference images
/product-image-generator product.md --ref style.png --ref competitor.jpg
Options
| Option |
Description |
--style <name> |
Visual style (see Style Gallery) |
--scene <type> |
Scene type (see Scene Gallery) |
--platform <name> |
E-commerce platform (auto-adjusts requirements) |
--ref <path> |
Reference image(s) for style consistency |
Three Dimensions
| Dimension |
Controls |
Options |
| Style |
Visual aesthetics: mood, color treatment |
minimal, premium, lifestyle, bold, soft, tech, natural, luxury |
| Scene |
Background and context |
studio, lifestyle, contextual, exploded, comparison, infographic |
| Platform |
Technical requirements |
amazon, shopify, ebay, etsy, taobao, jd, pinduoduo |
Style × Scene × Platform can be freely combined. Example: --style premium --scene lifestyle --platform amazon creates a high-end lifestyle shot meeting Amazon's image requirements.
Style Gallery
| Style |
Description |
Best For |
minimal (Default) |
Clean, white background, focus on product |
Electronics, accessories, professional products |
premium |
Sophisticated, elegant lighting, subtle shadows |
Luxury goods, jewelry, high-end cosmetics |
lifestyle |
Product in natural use context |
Home goods, fashion, outdoor products |
bold |
High contrast, vibrant, attention-grabbing |
Sports products, gaming, youth-oriented items |
soft |
Gentle lighting, pastel tones, warm |
Baby products, skincare, wellness items |
tech |
Futuristic, sleek, modern |
Electronics, gadgets, software, AI products |
natural |
Organic, eco-friendly, earthy tones |
Sustainable products, food, natural cosmetics |
luxury |
Gold accents, dramatic lighting, rich colors |
Premium brands, jewelry, high-end fashion |
Detailed style definitions: references/presets/<style>.md
Scene Gallery
| Scene |
Description |
Image Count |
studio (Default) |
Pure white/gradient background, professional studio lighting |
1-3 images |
lifestyle |
Product in real-life usage scenario |
2-5 images |
contextual |
Product in environment, staged setting |
2-4 images |
exploded |
Component breakdown, features highlighted |
3-6 images |
comparison |
Before/after, product vs alternatives |
2-4 images |
infographic |
Features, specs, benefits with text overlays |
2-5 images |
Detailed scene definitions: references/elements/scene-guide.md
Platform Requirements
| Platform |
Main Image |
Additional Images |
Notes |
amazon |
1000x1000+, pure white |
Up to 9 images |
Main image must be on pure white background |
shopify |
1024x1024+ recommended |
Unlimited |
Flexible, but 1:1 or 4:3 recommended |
ebay |
500x500+ minimum |
Up to 12 free |
White background preferred |
etsy |
760x760+ |
Up to 10 images |
Lifestyle shots perform well |
taobao |
800x800+ |
Up to 15 images |
Infographic style popular |
jd |
800x800+ |
Up to 15 images |
Clean, professional style |
pinduoduo |
750x750+ |
Up to 10 images |
Value-focused presentation |
Platform-specific guidelines: references/platforms/<platform>.md
Auto Selection
| Product Category |
Style |
Scene |
| Electronics, gadgets |
tech or minimal |
studio + exploded |
| Fashion, accessories |
premium or lifestyle |
lifestyle + contextual |
| Beauty, cosmetics |
soft or premium |
studio + lifestyle |
| Home, furniture |
lifestyle or natural |
contextual + lifestyle |
| Sports, outdoor |
bold or lifestyle |
lifestyle + contextual |
| Jewelry, luxury |
luxury or premium |
studio + lifestyle |
| Baby, kids |
soft or natural |
lifestyle + contextual |
| Food, supplements |
natural or minimal |
studio + infographic |
| Tools, hardware |
bold or tech |
exploded + infographic |
Outline Strategies
Strategy A: Product-Focused (产品聚焦型)
| Aspect |
Description |
| Concept |
Product as hero, clean presentation |
| Features |
Multiple angles, detail shots, pure backgrounds |
| Best for |
Electronics, accessories, luxury items |
| Structure |
Hero shot → Angle variations → Detail close-ups → Scale/context |
Strategy B: Lifestyle-Focused (场景融入型)
| Aspect |
Description |
| Concept |
Product in natural use environment |
| Features |
Context-rich, emotional connection, aspirational |
| Best for |
Home goods, fashion, outdoor products |
| Structure |
Lifestyle hero → Usage scenario → Benefits in context → Social proof |
Strategy C: Information-Focused (信息传达型)
| Aspect |
Description |
| Concept |
Features and benefits clearly communicated |
| Features |
Text overlays, callouts, comparisons |
| Best for |
Complex products, tools, supplements |
| Structure |
Hero with key benefit → Feature breakdown → Comparison → Specs/usage |
File Structure
Each session creates an independent directory named by product slug:
product-images/{product-slug}/
├── source-{slug}.{ext} # Source files (description, reference images)
├── analysis.md # Product analysis + positioning
├── outline-strategy-a.md # Strategy A: Product-focused
├── outline-strategy-b.md # Strategy B: Lifestyle-focused
├── outline-strategy-c.md # Strategy C: Information-focused
├── outline.md # Final selected/merged outline
├── prompts/
│ ├── 01-hero-[slug].md
│ ├── 02-detail-[slug].md
│ └── ...
├── 01-hero-[slug].png
├── 02-detail-[slug].png
└── NN-infographic-[slug].png
Slug Generation:
- Extract product name (2-4 words, kebab-case)
- Example: "无线蓝牙耳机" →
wireless-earbuds
Conflict Resolution:
If product-images/{product-slug}/ already exists:
- Append timestamp:
{product-slug}-YYYYMMDD-HHMMSS
Workflow
Progress Checklist
Product Image Generation Progress:
- [ ] Step 0: Check preferences (EXTEND.md) ⛔ BLOCKING
- [ ] Step 1: Analyze product → analysis.md
- [ ] Step 2: Confirmation 1 - Product understanding ⚠️ REQUIRED
- [ ] Step 3: Generate 3 outline + style variants
- [ ] Step 4: Confirmation 2 - Outline & style & platform ⚠️ REQUIRED
- [ ] Step 5: Generate images (sequential)
- [ ] Step 6: Completion report
Flow
Input → [Step 0: Preferences] ─┬─ Found → Continue
│
└─ Not found → First-Time Setup ⛔ BLOCKING
│
└─ Complete setup → Save EXTEND.md → Continue
│
┌─────────────────────────────────────────────────────────────────────────────┘
↓
Analyze → [Confirm 1] → 3 Outlines → [Confirm 2: Outline + Style + Platform] → Generate → Complete
Step 0: Load Preferences (EXTEND.md) ⛔ BLOCKING
Purpose: Load user preferences or run first-time setup.
CRITICAL: If EXTEND.md not found, MUST complete first-time setup before ANY other steps.
Use Bash to check EXTEND.md existence:
# Check project-level first
test -f .teamclaw-skills/product-image-generator/EXTEND.md && echo "project"
# Then user-level
test -f "$HOME/.teamclaw-skills/product-image-generator/EXTEND.md" && echo "user"
| Result |
Action |
| Found |
Read, parse, display summary → Continue to Step 1 |
| Not found |
⛔ BLOCKING: Run first-time setup → Save EXTEND.md → Step 1 |
First-Time Setup (when EXTEND.md not found):
Use AskUserQuestion with ALL questions in ONE call:
- Default platform preference: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo / no preference
- Default style preference: minimal / premium / lifestyle / bold / soft / tech / natural / luxury
- Watermark: Enable / Disable (if enable, specify text and position)
- Language: Chinese / English / Auto-detect
Schema: references/config/preferences-schema.md
Step 1: Analyze Product → analysis.md
Actions:
- Save source content:
- If file path provided: use as-is
- If pasted content: save to
source.md
- Backup rule: If exists, rename to
source-backup-YYYYMMDD-HHMMSS.md
- Read and analyze product information
- Product analysis:
- Category identification
- Target audience
- Key features and selling points
- Competitive positioning
- Visual opportunities
- Detect product language
- Determine recommended image count and types
- Generate clarifying questions (see Step 2)
- Save to
analysis.md
Step 2: Confirmation 1 - Product Understanding ⚠️
Purpose: Validate understanding + collect missing info.
Display summary:
- Product category identified
- Key features extracted
- Target audience
- Recommended platform match
Use AskUserQuestion for:
Primary selling point (multiSelect: true):
- Design/aesthetics
- Functionality/features
- Price/value
- Quality/durability
- Brand/status
- Innovation/technology
- Sustainability/eco-friendly
- Convenience/ease of use
Target customer:
- Budget-conscious
- Quality-focused
- Luxury/premium
- Tech-savvy
- Eco-conscious
- Family-oriented
- Professional/business
- Youth/trend-focused
Main use scenario:
- Indoor/home
- Outdoor
- Office/work
- Travel
- Sports/fitness
- Social/events
- Auto
Additional context (optional)
After response: Update analysis.md → Step 3
Step 3: Generate 3 Outline + Style Variants
Create three distinct strategy variants, each with outline structure and visual style recommendation.
| Strategy |
Filename |
Focus |
Recommended Style |
| A |
outline-strategy-a.md |
Product-focused |
minimal, tech |
| B |
outline-strategy-b.md |
Lifestyle-focused |
lifestyle, soft, natural |
| C |
outline-strategy-c.md |
Information-focused |
bold, infographic-style |
Outline format (YAML front matter + content):
---
strategy: a # a, b, or c
name: Product-Focused
style: minimal
style_reason: "Clean presentation highlights product design and build quality"
scene: studio
platform: amazon
image_count: 5
---
## P1 Hero Shot
**Type**: hero
**Purpose**: Main product image, first impression
**Visual**: Product on pure white background, professional lighting
**Platform**: Amazon main image compliant (1000x1000, pure white)
## P2 Angle Variation
**Type**: angle
**Purpose**: Show product from different perspective
**Visual**: 45-degree angle, slight shadow for depth
## P3 Detail Close-up
**Type**: detail
**Purpose**: Highlight key feature or quality detail
**Visual**: Macro shot of texture/material/connection point
...
After response: Update analysis.md → Step 3
Step 4: Confirmation 2 - Outline & Style & Platform Selection ⚠️
Purpose: User chooses strategy, confirms style and platform.
Display each strategy:
- Strategy name + image count + recommended style
- Image-by-image summary
Use AskUserQuestion with questions:
Question 1: Outline Strategy
- Strategy A (Product-focused)
- Strategy B (Lifestyle-focused)
- Strategy C (Information-focused)
- Combine: specify images from each
Question 2: Visual Style
- Use strategy's recommended style
- Or select from: minimal / premium / lifestyle / bold / soft / tech / natural / luxury
- Or type custom style description
Question 3: Platform
- Use strategy's recommended platform
- Or select: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo
- Custom: specify requirements
Question 4: Scene Type
- Use strategy's recommended scene
- Or select: studio / lifestyle / contextual / exploded / comparison / infographic
After response:
- Single strategy → copy to
outline.md with confirmed settings
- Combination → merge specified images
- Update
outline.md frontmatter with final settings
Step 5: Generate Images
With confirmed outline + style + scene + platform:
Visual Consistency — Reference Image Chain:
Check for user-provided reference images (--ref option)
- If provided: Use as primary style reference
- If not provided: Use internal reference chain (see below)
Internal Reference Chain (when no user ref provided):
- Generate image 1 (hero) FIRST — without
--ref
- Use image 1 as
--ref for ALL remaining images (2, 3, ..., N)
For each image:
- Save prompt to
prompts/NN-{type}-[slug].md
- Backup rule: If exists, rename to
prompts/NN-{type}-[slug]-backup-YYYYMMDD-HHMMSS.md
- Include reference image paths in prompt
- Generate image:
- With user ref:
--ref <user-reference.png> for all images
- Image 1 (no user ref): Generate without
--ref (establishes visual anchor)
- Images 2+ (no user ref): Generate with
--ref <image-01-path>
- Backup rule: If image exists, rename with timestamp
- Report progress after each generation
Reference Image Best Practices:
| Reference Type |
Usage |
Effect |
| Style reference |
Brand guideline images |
Maintains brand consistency |
| Competitor reference |
Similar product images |
Matches category standards |
| Internal chain (image 1) |
First generated image |
Ensures series consistency |
Platform Compliance:
- Apply platform-specific requirements automatically
- Amazon: Pure white background for main image
- Size adjustments based on platform
Session Management:
Use consistent session ID for all images in the set: product-{slug}-{timestamp}
Step 6: Completion Report
Product Image Set Complete!
Product: [product name]
Strategy: [A/B/C/Combined]
Style: [style name]
Scene: [scene type]
Platform: [platform] (requirements applied)
Location: [directory path]
Images: N total
✓ analysis.md
✓ outline-strategy-a.md
✓ outline-strategy-b.md
✓ outline-strategy-c.md
✓ outline.md (selected: [strategy])
Files:
- 01-hero-[slug].png ✓ Main image ([platform] compliant)
- 02-angle-[slug].png ✓ Angle variation
- 03-detail-[slug].png ✓ Detail shot
...
Image Modification
| Action |
Steps |
| Edit |
Update prompt file FIRST → Regenerate with same session ID |
| Add |
Specify position → Create prompt → Generate → Renumber files |
| Delete |
Remove files → Renumber subsequent → Update outline |
Platform-Specific Guidelines
Amazon
- Main image: Pure white background (RGB 255,255,255)
- Minimum 1000x1000 pixels for zoom feature
- Product must fill 85%+ of frame
- No text, logos, or watermarks on main image
- Additional images: lifestyle, infographic, comparison allowed
Shopify
- Recommended 1024x1024 or 4:3 aspect ratio
- More flexible styling
- Lifestyle images perform well
- Consistent style across all product images
eBay
- Minimum 500x500 pixels
- White background preferred but not required
- Up to 12 free images per listing
Content Breakdown Principles
- Hero Image (Image 1): Main product shot, platform-compliant
- Angle Variations: Show product from multiple perspectives
- Detail Shots: Highlight quality, features, materials
- Lifestyle/Context: Product in use, emotional connection
- Infographic: Features, specs, benefits with callouts
- Comparison: Before/after, vs alternatives
- Social Proof: Reviews, testimonials (if applicable)
References
Detailed templates in references/ directory:
Elements:
elements/scene-guide.md - Scene types and compositions
elements/lighting.md - Lighting setups and moods
elements/composition.md - Framing and composition rules
Presets:
presets/<style>.md - Style definitions and prompts
Workflows:
workflows/analysis-framework.md - Product analysis
workflows/outline-template.md - Outline templates
workflows/prompt-assembly.md - Prompt assembly
Platforms:
platforms/amazon.md - Amazon requirements
platforms/shopify.md - Shopify requirements
platforms/ebay.md - eBay requirements
platforms/etsy.md - Etsy requirements
platforms/taobao.md - Taobao requirements
platforms/jd.md - JD.com requirements
platforms/pinduoduo.md - Pinduoduo requirements
Config:
config/preferences-schema.md - EXTEND.md schema
config/watermark-guide.md - Watermark configuration
Notes
- Auto-retry once on failure
- Platform requirements auto-applied
- Two confirmation points required (Steps 2 & 4)
- Reference image chain ensures visual consistency
Extension Support
Custom configurations via EXTEND.md. See Step 0 for paths.
1---2name: product-image-generator3description: Generates professional product images for e-commerce platforms (Amazon, Shopify, eBay, etc.). Supports 8 visual styles and 6 scene types optimized for different product categories. Use when user mentions "商品图", "product images", "Amazon listing", "电商图片", or needs e-commerce product photography.4metadata:5 source: https://skillmd.com/skills/leoyeai-openclaw-master-skills/product-image-generator6 version: 1.0.07---89# E-commerce Product Image Generator1011Create professional product images optimized for e-commerce platforms with platform-specific requirements and multiple visual styles.1213## Usage1415```bash16# Auto-select style based on product17/product-image-generator product-description.md1819# Specify style20/product-image-generator product.md --style minimal2122# Specify platform (auto-adjusts image requirements)23/product-image-generator product.md --platform amazon2425# Specify scene type26/product-image-generator product.md --scene studio2728# Combine options29/product-image-generator product.md --style premium --platform shopify --scene lifestyle3031# Direct input32/product-image-generator33[paste product description]3435# Direct input with options36/product-image-generator --style minimal --scene studio37[paste product description]3839# With reference image (for style consistency)40/product-image-generator product.md --ref brand-style.png4142# Multiple reference images43/product-image-generator product.md --ref style.png --ref competitor.jpg44```4546## Options4748| Option | Description |49|--------|-------------|50| `--style <name>` | Visual style (see Style Gallery) |51| `--scene <type>` | Scene type (see Scene Gallery) |52| `--platform <name>` | E-commerce platform (auto-adjusts requirements) |53| `--ref <path>` | Reference image(s) for style consistency |5455## Three Dimensions5657| Dimension | Controls | Options |58|-----------|----------|---------|59| **Style** | Visual aesthetics: mood, color treatment | minimal, premium, lifestyle, bold, soft, tech, natural, luxury |60| **Scene** | Background and context | studio, lifestyle, contextual, exploded, comparison, infographic |61| **Platform** | Technical requirements | amazon, shopify, ebay, etsy, taobao, jd, pinduoduo |6263Style × Scene × Platform can be freely combined. Example: `--style premium --scene lifestyle --platform amazon` creates a high-end lifestyle shot meeting Amazon's image requirements.6465## Style Gallery6667| Style | Description | Best For |68|-------|-------------|----------|69| `minimal` (Default) | Clean, white background, focus on product | Electronics, accessories, professional products |70| `premium` | Sophisticated, elegant lighting, subtle shadows | Luxury goods, jewelry, high-end cosmetics |71| `lifestyle` | Product in natural use context | Home goods, fashion, outdoor products |72| `bold` | High contrast, vibrant, attention-grabbing | Sports products, gaming, youth-oriented items |73| `soft` | Gentle lighting, pastel tones, warm | Baby products, skincare, wellness items |74| `tech` | Futuristic, sleek, modern | Electronics, gadgets, software, AI products |75| `natural` | Organic, eco-friendly, earthy tones | Sustainable products, food, natural cosmetics |76| `luxury` | Gold accents, dramatic lighting, rich colors | Premium brands, jewelry, high-end fashion |7778Detailed style definitions: `references/presets/<style>.md`7980## Scene Gallery8182| Scene | Description | Image Count |83|-------|-------------|-------------|84| `studio` (Default) | Pure white/gradient background, professional studio lighting | 1-3 images |85| `lifestyle` | Product in real-life usage scenario | 2-5 images |86| `contextual` | Product in environment, staged setting | 2-4 images |87| `exploded` | Component breakdown, features highlighted | 3-6 images |88| `comparison` | Before/after, product vs alternatives | 2-4 images |89| `infographic` | Features, specs, benefits with text overlays | 2-5 images |9091Detailed scene definitions: `references/elements/scene-guide.md`9293## Platform Requirements9495| Platform | Main Image | Additional Images | Notes |96|----------|------------|-------------------|-------|97| `amazon` | 1000x1000+, pure white | Up to 9 images | Main image must be on pure white background |98| `shopify` | 1024x1024+ recommended | Unlimited | Flexible, but 1:1 or 4:3 recommended |99| `ebay` | 500x500+ minimum | Up to 12 free | White background preferred |100| `etsy` | 760x760+ | Up to 10 images | Lifestyle shots perform well |101| `taobao` | 800x800+ | Up to 15 images | Infographic style popular |102| `jd` | 800x800+ | Up to 15 images | Clean, professional style |103| `pinduoduo` | 750x750+ | Up to 10 images | Value-focused presentation |104105Platform-specific guidelines: `references/platforms/<platform>.md`106107## Auto Selection108109| Product Category | Style | Scene |110|------------------|-------|-------|111| Electronics, gadgets | `tech` or `minimal` | studio + exploded |112| Fashion, accessories | `premium` or `lifestyle` | lifestyle + contextual |113| Beauty, cosmetics | `soft` or `premium` | studio + lifestyle |114| Home, furniture | `lifestyle` or `natural` | contextual + lifestyle |115| Sports, outdoor | `bold` or `lifestyle` | lifestyle + contextual |116| Jewelry, luxury | `luxury` or `premium` | studio + lifestyle |117| Baby, kids | `soft` or `natural` | lifestyle + contextual |118| Food, supplements | `natural` or `minimal` | studio + infographic |119| Tools, hardware | `bold` or `tech` | exploded + infographic |120121## Outline Strategies122123### Strategy A: Product-Focused (产品聚焦型)124125| Aspect | Description |126|--------|-------------|127| **Concept** | Product as hero, clean presentation |128| **Features** | Multiple angles, detail shots, pure backgrounds |129| **Best for** | Electronics, accessories, luxury items |130| **Structure** | Hero shot → Angle variations → Detail close-ups → Scale/context |131132### Strategy B: Lifestyle-Focused (场景融入型)133134| Aspect | Description |135|--------|-------------|136| **Concept** | Product in natural use environment |137| **Features** | Context-rich, emotional connection, aspirational |138| **Best for** | Home goods, fashion, outdoor products |139| **Structure** | Lifestyle hero → Usage scenario → Benefits in context → Social proof |140141### Strategy C: Information-Focused (信息传达型)142143| Aspect | Description |144|--------|-------------|145| **Concept** | Features and benefits clearly communicated |146| **Features** | Text overlays, callouts, comparisons |147| **Best for** | Complex products, tools, supplements |148| **Structure** | Hero with key benefit → Feature breakdown → Comparison → Specs/usage |149150## File Structure151152Each session creates an independent directory named by product slug:153154```155product-images/{product-slug}/156├── source-{slug}.{ext} # Source files (description, reference images)157├── analysis.md # Product analysis + positioning158├── outline-strategy-a.md # Strategy A: Product-focused159├── outline-strategy-b.md # Strategy B: Lifestyle-focused160├── outline-strategy-c.md # Strategy C: Information-focused161├── outline.md # Final selected/merged outline162├── prompts/163│ ├── 01-hero-[slug].md164│ ├── 02-detail-[slug].md165│ └── ...166├── 01-hero-[slug].png167├── 02-detail-[slug].png168└── NN-infographic-[slug].png169```170171**Slug Generation**:1721. Extract product name (2-4 words, kebab-case)1732. Example: "无线蓝牙耳机" → `wireless-earbuds`174175**Conflict Resolution**:176If `product-images/{product-slug}/` already exists:177- Append timestamp: `{product-slug}-YYYYMMDD-HHMMSS`178179## Workflow180181### Progress Checklist182183```184Product Image Generation Progress:185- [ ] Step 0: Check preferences (EXTEND.md) ⛔ BLOCKING186- [ ] Step 1: Analyze product → analysis.md187- [ ] Step 2: Confirmation 1 - Product understanding ⚠️ REQUIRED188- [ ] Step 3: Generate 3 outline + style variants189- [ ] Step 4: Confirmation 2 - Outline & style & platform ⚠️ REQUIRED190- [ ] Step 5: Generate images (sequential)191- [ ] Step 6: Completion report192```193194### Flow195196```197Input → [Step 0: Preferences] ─┬─ Found → Continue198 │199 └─ Not found → First-Time Setup ⛔ BLOCKING200 │201 └─ Complete setup → Save EXTEND.md → Continue202 │203 ┌─────────────────────────────────────────────────────────────────────────────┘204 ↓205Analyze → [Confirm 1] → 3 Outlines → [Confirm 2: Outline + Style + Platform] → Generate → Complete206```207208### Step 0: Load Preferences (EXTEND.md) ⛔ BLOCKING209210**Purpose**: Load user preferences or run first-time setup.211212**CRITICAL**: If EXTEND.md not found, MUST complete first-time setup before ANY other steps.213214Use Bash to check EXTEND.md existence:215216```bash217# Check project-level first218test -f .teamclaw-skills/product-image-generator/EXTEND.md && echo "project"219220# Then user-level221test -f "$HOME/.teamclaw-skills/product-image-generator/EXTEND.md" && echo "user"222```223224| Result | Action |225|--------|--------|226| Found | Read, parse, display summary → Continue to Step 1 |227| Not found | ⛔ BLOCKING: Run first-time setup → Save EXTEND.md → Step 1 |228229**First-Time Setup** (when EXTEND.md not found):230231Use AskUserQuestion with ALL questions in ONE call:2322331. **Default platform preference**: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo / no preference2342. **Default style preference**: minimal / premium / lifestyle / bold / soft / tech / natural / luxury2353. **Watermark**: Enable / Disable (if enable, specify text and position)2364. **Language**: Chinese / English / Auto-detect237238Schema: `references/config/preferences-schema.md`239240### Step 1: Analyze Product → `analysis.md`241242**Actions**:2431. **Save source content**:244 - If file path provided: use as-is245 - If pasted content: save to `source.md`246 - **Backup rule**: If exists, rename to `source-backup-YYYYMMDD-HHMMSS.md`2472. Read and analyze product information2483. **Product analysis**:249 - Category identification250 - Target audience251 - Key features and selling points252 - Competitive positioning253 - Visual opportunities2544. Detect product language2555. Determine recommended image count and types2566. **Generate clarifying questions** (see Step 2)2577. **Save to `analysis.md`**258259### Step 2: Confirmation 1 - Product Understanding ⚠️260261**Purpose**: Validate understanding + collect missing info.262263**Display summary**:264- Product category identified265- Key features extracted266- Target audience267- Recommended platform match268269**Use AskUserQuestion** for:2701. **Primary selling point** (multiSelect: true):271 - Design/aesthetics272 - Functionality/features273 - Price/value274 - Quality/durability275 - Brand/status276 - Innovation/technology277 - Sustainability/eco-friendly278 - Convenience/ease of use2792802. **Target customer**:281 - Budget-conscious282 - Quality-focused283 - Luxury/premium284 - Tech-savvy285 - Eco-conscious286 - Family-oriented287 - Professional/business288 - Youth/trend-focused2892903. **Main use scenario**:291 - Indoor/home292 - Outdoor293 - Office/work294 - Travel295 - Sports/fitness296 - Social/events297 - Auto2982994. **Additional context** (optional)300301**After response**: Update `analysis.md` → Step 3302303### Step 3: Generate 3 Outline + Style Variants304305Create three distinct strategy variants, each with outline structure and visual style recommendation.306307| Strategy | Filename | Focus | Recommended Style |308|----------|----------|-------|-------------------|309| A | `outline-strategy-a.md` | Product-focused | minimal, tech |310| B | `outline-strategy-b.md` | Lifestyle-focused | lifestyle, soft, natural |311| C | `outline-strategy-c.md` | Information-focused | bold, infographic-style |312313**Outline format** (YAML front matter + content):314```yaml315---316strategy: a # a, b, or c317name: Product-Focused318style: minimal319style_reason: "Clean presentation highlights product design and build quality"320scene: studio321platform: amazon322image_count: 5323---324325## P1 Hero Shot326**Type**: hero327**Purpose**: Main product image, first impression328**Visual**: Product on pure white background, professional lighting329**Platform**: Amazon main image compliant (1000x1000, pure white)330331## P2 Angle Variation332**Type**: angle333**Purpose**: Show product from different perspective334**Visual**: 45-degree angle, slight shadow for depth335336## P3 Detail Close-up337**Type**: detail338**Purpose**: Highlight key feature or quality detail339**Visual**: Macro shot of texture/material/connection point340341...342```343344**After response**: Update `analysis.md` → Step 3345346### Step 4: Confirmation 2 - Outline & Style & Platform Selection ⚠️347348**Purpose**: User chooses strategy, confirms style and platform.349350**Display each strategy**:351- Strategy name + image count + recommended style352- Image-by-image summary353354**Use AskUserQuestion** with questions:355356**Question 1: Outline Strategy**357- Strategy A (Product-focused)358- Strategy B (Lifestyle-focused)359- Strategy C (Information-focused)360- Combine: specify images from each361362**Question 2: Visual Style**363- Use strategy's recommended style364- Or select from: minimal / premium / lifestyle / bold / soft / tech / natural / luxury365- Or type custom style description366367**Question 3: Platform**368- Use strategy's recommended platform369- Or select: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo370- Custom: specify requirements371372**Question 4: Scene Type**373- Use strategy's recommended scene374- Or select: studio / lifestyle / contextual / exploded / comparison / infographic375376**After response**:377- Single strategy → copy to `outline.md` with confirmed settings378- Combination → merge specified images379- Update `outline.md` frontmatter with final settings380381### Step 5: Generate Images382383With confirmed outline + style + scene + platform:384385**Visual Consistency — Reference Image Chain**:3863871. **Check for user-provided reference images** (`--ref` option)388 - If provided: Use as primary style reference389 - If not provided: Use internal reference chain (see below)3903912. **Internal Reference Chain** (when no user ref provided):392 - **Generate image 1 (hero) FIRST** — without `--ref`393 - **Use image 1 as `--ref` for ALL remaining images** (2, 3, ..., N)394395**For each image**:3961. Save prompt to `prompts/NN-{type}-[slug].md`397 - **Backup rule**: If exists, rename to `prompts/NN-{type}-[slug]-backup-YYYYMMDD-HHMMSS.md`398 - Include reference image paths in prompt3992. Generate image:400 - **With user ref**: `--ref <user-reference.png>` for all images401 - **Image 1 (no user ref)**: Generate without `--ref` (establishes visual anchor)402 - **Images 2+ (no user ref)**: Generate with `--ref <image-01-path>`403 - **Backup rule**: If image exists, rename with timestamp4043. Report progress after each generation405406**Reference Image Best Practices**:407408| Reference Type | Usage | Effect |409|----------------|-------|--------|410| Style reference | Brand guideline images | Maintains brand consistency |411| Competitor reference | Similar product images | Matches category standards |412| Internal chain (image 1) | First generated image | Ensures series consistency |413414**Platform Compliance**:415- Apply platform-specific requirements automatically416- Amazon: Pure white background for main image417- Size adjustments based on platform418419**Session Management**:420Use consistent session ID for all images in the set: `product-{slug}-{timestamp}`421422### Step 6: Completion Report423424```425Product Image Set Complete!426427Product: [product name]428Strategy: [A/B/C/Combined]429Style: [style name]430Scene: [scene type]431Platform: [platform] (requirements applied)432Location: [directory path]433Images: N total434435✓ analysis.md436✓ outline-strategy-a.md437✓ outline-strategy-b.md438✓ outline-strategy-c.md439✓ outline.md (selected: [strategy])440441Files:442- 01-hero-[slug].png ✓ Main image ([platform] compliant)443- 02-angle-[slug].png ✓ Angle variation444- 03-detail-[slug].png ✓ Detail shot445...446```447448## Image Modification449450| Action | Steps |451|--------|-------|452| **Edit** | Update prompt file FIRST → Regenerate with same session ID |453| **Add** | Specify position → Create prompt → Generate → Renumber files |454| **Delete** | Remove files → Renumber subsequent → Update outline |455456## Platform-Specific Guidelines457458### Amazon459- Main image: Pure white background (RGB 255,255,255)460- Minimum 1000x1000 pixels for zoom feature461- Product must fill 85%+ of frame462- No text, logos, or watermarks on main image463- Additional images: lifestyle, infographic, comparison allowed464465### Shopify466- Recommended 1024x1024 or 4:3 aspect ratio467- More flexible styling468- Lifestyle images perform well469- Consistent style across all product images470471### eBay472- Minimum 500x500 pixels473- White background preferred but not required474- Up to 12 free images per listing475476## Content Breakdown Principles4774781. **Hero Image (Image 1)**: Main product shot, platform-compliant4792. **Angle Variations**: Show product from multiple perspectives4803. **Detail Shots**: Highlight quality, features, materials4814. **Lifestyle/Context**: Product in use, emotional connection4825. **Infographic**: Features, specs, benefits with callouts4836. **Comparison**: Before/after, vs alternatives4847. **Social Proof**: Reviews, testimonials (if applicable)485486## References487488Detailed templates in `references/` directory:489490**Elements**:491- `elements/scene-guide.md` - Scene types and compositions492- `elements/lighting.md` - Lighting setups and moods493- `elements/composition.md` - Framing and composition rules494495**Presets**:496- `presets/<style>.md` - Style definitions and prompts497498**Workflows**:499- `workflows/analysis-framework.md` - Product analysis500- `workflows/outline-template.md` - Outline templates501- `workflows/prompt-assembly.md` - Prompt assembly502503**Platforms**:504- `platforms/amazon.md` - Amazon requirements505- `platforms/shopify.md` - Shopify requirements506- `platforms/ebay.md` - eBay requirements507- `platforms/etsy.md` - Etsy requirements508- `platforms/taobao.md` - Taobao requirements509- `platforms/jd.md` - JD.com requirements510- `platforms/pinduoduo.md` - Pinduoduo requirements511512**Config**:513- `config/preferences-schema.md` - EXTEND.md schema514- `config/watermark-guide.md` - Watermark configuration515516## Notes517518- Auto-retry once on failure519- Platform requirements auto-applied520- Two confirmation points required (Steps 2 & 4)521- Reference image chain ensures visual consistency522523## Extension Support524525Custom configurations via EXTEND.md. See **Step 0** for paths.