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.4---56# E-commerce Product Image Generator78Create professional product images optimized for e-commerce platforms with platform-specific requirements and multiple visual styles.910## Usage1112```bash13# Auto-select style based on product14/product-image-generator product-description.md1516# Specify style17/product-image-generator product.md --style minimal1819# Specify platform (auto-adjusts image requirements)20/product-image-generator product.md --platform amazon2122# Specify scene type23/product-image-generator product.md --scene studio2425# Combine options26/product-image-generator product.md --style premium --platform shopify --scene lifestyle2728# Direct input29/product-image-generator30[paste product description]3132# Direct input with options33/product-image-generator --style minimal --scene studio34[paste product description]3536# With reference image (for style consistency)37/product-image-generator product.md --ref brand-style.png3839# Multiple reference images40/product-image-generator product.md --ref style.png --ref competitor.jpg41```4243## Options4445| Option | Description |46|--------|-------------|47| `--style <name>` | Visual style (see Style Gallery) |48| `--scene <type>` | Scene type (see Scene Gallery) |49| `--platform <name>` | E-commerce platform (auto-adjusts requirements) |50| `--ref <path>` | Reference image(s) for style consistency |5152## Three Dimensions5354| Dimension | Controls | Options |55|-----------|----------|---------|56| **Style** | Visual aesthetics: mood, color treatment | minimal, premium, lifestyle, bold, soft, tech, natural, luxury |57| **Scene** | Background and context | studio, lifestyle, contextual, exploded, comparison, infographic |58| **Platform** | Technical requirements | amazon, shopify, ebay, etsy, taobao, jd, pinduoduo |5960Style × Scene × Platform can be freely combined. Example: `--style premium --scene lifestyle --platform amazon` creates a high-end lifestyle shot meeting Amazon's image requirements.6162## Style Gallery6364| Style | Description | Best For |65|-------|-------------|----------|66| `minimal` (Default) | Clean, white background, focus on product | Electronics, accessories, professional products |67| `premium` | Sophisticated, elegant lighting, subtle shadows | Luxury goods, jewelry, high-end cosmetics |68| `lifestyle` | Product in natural use context | Home goods, fashion, outdoor products |69| `bold` | High contrast, vibrant, attention-grabbing | Sports products, gaming, youth-oriented items |70| `soft` | Gentle lighting, pastel tones, warm | Baby products, skincare, wellness items |71| `tech` | Futuristic, sleek, modern | Electronics, gadgets, software, AI products |72| `natural` | Organic, eco-friendly, earthy tones | Sustainable products, food, natural cosmetics |73| `luxury` | Gold accents, dramatic lighting, rich colors | Premium brands, jewelry, high-end fashion |7475Detailed style definitions: `references/presets/<style>.md`7677## Scene Gallery7879| Scene | Description | Image Count |80|-------|-------------|-------------|81| `studio` (Default) | Pure white/gradient background, professional studio lighting | 1-3 images |82| `lifestyle` | Product in real-life usage scenario | 2-5 images |83| `contextual` | Product in environment, staged setting | 2-4 images |84| `exploded` | Component breakdown, features highlighted | 3-6 images |85| `comparison` | Before/after, product vs alternatives | 2-4 images |86| `infographic` | Features, specs, benefits with text overlays | 2-5 images |8788Detailed scene definitions: `references/elements/scene-guide.md`8990## Platform Requirements9192| Platform | Main Image | Additional Images | Notes |93|----------|------------|-------------------|-------|94| `amazon` | 1000x1000+, pure white | Up to 9 images | Main image must be on pure white background |95| `shopify` | 1024x1024+ recommended | Unlimited | Flexible, but 1:1 or 4:3 recommended |96| `ebay` | 500x500+ minimum | Up to 12 free | White background preferred |97| `etsy` | 760x760+ | Up to 10 images | Lifestyle shots perform well |98| `taobao` | 800x800+ | Up to 15 images | Infographic style popular |99| `jd` | 800x800+ | Up to 15 images | Clean, professional style |100| `pinduoduo` | 750x750+ | Up to 10 images | Value-focused presentation |101102Platform-specific guidelines: `references/platforms/<platform>.md`103104## Auto Selection105106| Product Category | Style | Scene |107|------------------|-------|-------|108| Electronics, gadgets | `tech` or `minimal` | studio + exploded |109| Fashion, accessories | `premium` or `lifestyle` | lifestyle + contextual |110| Beauty, cosmetics | `soft` or `premium` | studio + lifestyle |111| Home, furniture | `lifestyle` or `natural` | contextual + lifestyle |112| Sports, outdoor | `bold` or `lifestyle` | lifestyle + contextual |113| Jewelry, luxury | `luxury` or `premium` | studio + lifestyle |114| Baby, kids | `soft` or `natural` | lifestyle + contextual |115| Food, supplements | `natural` or `minimal` | studio + infographic |116| Tools, hardware | `bold` or `tech` | exploded + infographic |117118## Outline Strategies119120### Strategy A: Product-Focused (产品聚焦型)121122| Aspect | Description |123|--------|-------------|124| **Concept** | Product as hero, clean presentation |125| **Features** | Multiple angles, detail shots, pure backgrounds |126| **Best for** | Electronics, accessories, luxury items |127| **Structure** | Hero shot → Angle variations → Detail close-ups → Scale/context |128129### Strategy B: Lifestyle-Focused (场景融入型)130131| Aspect | Description |132|--------|-------------|133| **Concept** | Product in natural use environment |134| **Features** | Context-rich, emotional connection, aspirational |135| **Best for** | Home goods, fashion, outdoor products |136| **Structure** | Lifestyle hero → Usage scenario → Benefits in context → Social proof |137138### Strategy C: Information-Focused (信息传达型)139140| Aspect | Description |141|--------|-------------|142| **Concept** | Features and benefits clearly communicated |143| **Features** | Text overlays, callouts, comparisons |144| **Best for** | Complex products, tools, supplements |145| **Structure** | Hero with key benefit → Feature breakdown → Comparison → Specs/usage |146147## File Structure148149Each session creates an independent directory named by product slug:150151```152product-images/{product-slug}/153├── source-{slug}.{ext} # Source files (description, reference images)154├── analysis.md # Product analysis + positioning155├── outline-strategy-a.md # Strategy A: Product-focused156├── outline-strategy-b.md # Strategy B: Lifestyle-focused157├── outline-strategy-c.md # Strategy C: Information-focused158├── outline.md # Final selected/merged outline159├── prompts/160│ ├── 01-hero-[slug].md161│ ├── 02-detail-[slug].md162│ └── ...163├── 01-hero-[slug].png164├── 02-detail-[slug].png165└── NN-infographic-[slug].png166```167168**Slug Generation**:1691. Extract product name (2-4 words, kebab-case)1702. Example: "无线蓝牙耳机" → `wireless-earbuds`171172**Conflict Resolution**:173If `product-images/{product-slug}/` already exists:174- Append timestamp: `{product-slug}-YYYYMMDD-HHMMSS`175176## Workflow177178### Progress Checklist179180```181Product Image Generation Progress:182- [ ] Step 0: Check preferences (EXTEND.md) ⛔ BLOCKING183- [ ] Step 1: Analyze product → analysis.md184- [ ] Step 2: Confirmation 1 - Product understanding ⚠️ REQUIRED185- [ ] Step 3: Generate 3 outline + style variants186- [ ] Step 4: Confirmation 2 - Outline & style & platform ⚠️ REQUIRED187- [ ] Step 5: Generate images (sequential)188- [ ] Step 6: Completion report189```190191### Flow192193```194Input → [Step 0: Preferences] ─┬─ Found → Continue195 │196 └─ Not found → First-Time Setup ⛔ BLOCKING197 │198 └─ Complete setup → Save EXTEND.md → Continue199 │200 ┌─────────────────────────────────────────────────────────────────────────────┘201 ↓202Analyze → [Confirm 1] → 3 Outlines → [Confirm 2: Outline + Style + Platform] → Generate → Complete203```204205### Step 0: Load Preferences (EXTEND.md) ⛔ BLOCKING206207**Purpose**: Load user preferences or run first-time setup.208209**CRITICAL**: If EXTEND.md not found, MUST complete first-time setup before ANY other steps.210211Use Bash to check EXTEND.md existence:212213```bash214# Check project-level first215test -f .teamclaw-skills/product-image-generator/EXTEND.md && echo "project"216217# Then user-level218test -f "$HOME/.teamclaw-skills/product-image-generator/EXTEND.md" && echo "user"219```220221| Result | Action |222|--------|--------|223| Found | Read, parse, display summary → Continue to Step 1 |224| Not found | ⛔ BLOCKING: Run first-time setup → Save EXTEND.md → Step 1 |225226**First-Time Setup** (when EXTEND.md not found):227228Use AskUserQuestion with ALL questions in ONE call:2292301. **Default platform preference**: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo / no preference2312. **Default style preference**: minimal / premium / lifestyle / bold / soft / tech / natural / luxury2323. **Watermark**: Enable / Disable (if enable, specify text and position)2334. **Language**: Chinese / English / Auto-detect234235Schema: `references/config/preferences-schema.md`236237### Step 1: Analyze Product → `analysis.md`238239**Actions**:2401. **Save source content**:241 - If file path provided: use as-is242 - If pasted content: save to `source.md`243 - **Backup rule**: If exists, rename to `source-backup-YYYYMMDD-HHMMSS.md`2442. Read and analyze product information2453. **Product analysis**:246 - Category identification247 - Target audience248 - Key features and selling points249 - Competitive positioning250 - Visual opportunities2514. Detect product language2525. Determine recommended image count and types2536. **Generate clarifying questions** (see Step 2)2547. **Save to `analysis.md`**255256### Step 2: Confirmation 1 - Product Understanding ⚠️257258**Purpose**: Validate understanding + collect missing info.259260**Display summary**:261- Product category identified262- Key features extracted263- Target audience264- Recommended platform match265266**Use AskUserQuestion** for:2671. **Primary selling point** (multiSelect: true):268 - Design/aesthetics269 - Functionality/features270 - Price/value271 - Quality/durability272 - Brand/status273 - Innovation/technology274 - Sustainability/eco-friendly275 - Convenience/ease of use2762772. **Target customer**:278 - Budget-conscious279 - Quality-focused280 - Luxury/premium281 - Tech-savvy282 - Eco-conscious283 - Family-oriented284 - Professional/business285 - Youth/trend-focused2862873. **Main use scenario**:288 - Indoor/home289 - Outdoor290 - Office/work291 - Travel292 - Sports/fitness293 - Social/events294 - Auto2952964. **Additional context** (optional)297298**After response**: Update `analysis.md` → Step 3299300### Step 3: Generate 3 Outline + Style Variants301302Create three distinct strategy variants, each with outline structure and visual style recommendation.303304| Strategy | Filename | Focus | Recommended Style |305|----------|----------|-------|-------------------|306| A | `outline-strategy-a.md` | Product-focused | minimal, tech |307| B | `outline-strategy-b.md` | Lifestyle-focused | lifestyle, soft, natural |308| C | `outline-strategy-c.md` | Information-focused | bold, infographic-style |309310**Outline format** (YAML front matter + content):311```yaml312---313strategy: a # a, b, or c314name: Product-Focused315style: minimal316style_reason: "Clean presentation highlights product design and build quality"317scene: studio318platform: amazon319image_count: 5320---321322## P1 Hero Shot323**Type**: hero324**Purpose**: Main product image, first impression325**Visual**: Product on pure white background, professional lighting326**Platform**: Amazon main image compliant (1000x1000, pure white)327328## P2 Angle Variation329**Type**: angle330**Purpose**: Show product from different perspective331**Visual**: 45-degree angle, slight shadow for depth332333## P3 Detail Close-up334**Type**: detail335**Purpose**: Highlight key feature or quality detail336**Visual**: Macro shot of texture/material/connection point337338...339```340341**After response**: Update `analysis.md` → Step 3342343### Step 4: Confirmation 2 - Outline & Style & Platform Selection ⚠️344345**Purpose**: User chooses strategy, confirms style and platform.346347**Display each strategy**:348- Strategy name + image count + recommended style349- Image-by-image summary350351**Use AskUserQuestion** with questions:352353**Question 1: Outline Strategy**354- Strategy A (Product-focused)355- Strategy B (Lifestyle-focused)356- Strategy C (Information-focused)357- Combine: specify images from each358359**Question 2: Visual Style**360- Use strategy's recommended style361- Or select from: minimal / premium / lifestyle / bold / soft / tech / natural / luxury362- Or type custom style description363364**Question 3: Platform**365- Use strategy's recommended platform366- Or select: amazon / shopify / ebay / etsy / taobao / jd / pinduoduo367- Custom: specify requirements368369**Question 4: Scene Type**370- Use strategy's recommended scene371- Or select: studio / lifestyle / contextual / exploded / comparison / infographic372373**After response**:374- Single strategy → copy to `outline.md` with confirmed settings375- Combination → merge specified images376- Update `outline.md` frontmatter with final settings377378### Step 5: Generate Images379380With confirmed outline + style + scene + platform:381382**Visual Consistency — Reference Image Chain**:3833841. **Check for user-provided reference images** (`--ref` option)385 - If provided: Use as primary style reference386 - If not provided: Use internal reference chain (see below)3873882. **Internal Reference Chain** (when no user ref provided):389 - **Generate image 1 (hero) FIRST** — without `--ref`390 - **Use image 1 as `--ref` for ALL remaining images** (2, 3, ..., N)391392**For each image**:3931. Save prompt to `prompts/NN-{type}-[slug].md`394 - **Backup rule**: If exists, rename to `prompts/NN-{type}-[slug]-backup-YYYYMMDD-HHMMSS.md`395 - Include reference image paths in prompt3962. Generate image:397 - **With user ref**: `--ref <user-reference.png>` for all images398 - **Image 1 (no user ref)**: Generate without `--ref` (establishes visual anchor)399 - **Images 2+ (no user ref)**: Generate with `--ref <image-01-path>`400 - **Backup rule**: If image exists, rename with timestamp4013. Report progress after each generation402403**Reference Image Best Practices**:404405| Reference Type | Usage | Effect |406|----------------|-------|--------|407| Style reference | Brand guideline images | Maintains brand consistency |408| Competitor reference | Similar product images | Matches category standards |409| Internal chain (image 1) | First generated image | Ensures series consistency |410411**Platform Compliance**:412- Apply platform-specific requirements automatically413- Amazon: Pure white background for main image414- Size adjustments based on platform415416**Session Management**:417Use consistent session ID for all images in the set: `product-{slug}-{timestamp}`418419### Step 6: Completion Report420421```422Product Image Set Complete!423424Product: [product name]425Strategy: [A/B/C/Combined]426Style: [style name]427Scene: [scene type]428Platform: [platform] (requirements applied)429Location: [directory path]430Images: N total431432✓ analysis.md433✓ outline-strategy-a.md434✓ outline-strategy-b.md435✓ outline-strategy-c.md436✓ outline.md (selected: [strategy])437438Files:439- 01-hero-[slug].png ✓ Main image ([platform] compliant)440- 02-angle-[slug].png ✓ Angle variation441- 03-detail-[slug].png ✓ Detail shot442...443```444445## Image Modification446447| Action | Steps |448|--------|-------|449| **Edit** | Update prompt file FIRST → Regenerate with same session ID |450| **Add** | Specify position → Create prompt → Generate → Renumber files |451| **Delete** | Remove files → Renumber subsequent → Update outline |452453## Platform-Specific Guidelines454455### Amazon456- Main image: Pure white background (RGB 255,255,255)457- Minimum 1000x1000 pixels for zoom feature458- Product must fill 85%+ of frame459- No text, logos, or watermarks on main image460- Additional images: lifestyle, infographic, comparison allowed461462### Shopify463- Recommended 1024x1024 or 4:3 aspect ratio464- More flexible styling465- Lifestyle images perform well466- Consistent style across all product images467468### eBay469- Minimum 500x500 pixels470- White background preferred but not required471- Up to 12 free images per listing472473## Content Breakdown Principles4744751. **Hero Image (Image 1)**: Main product shot, platform-compliant4762. **Angle Variations**: Show product from multiple perspectives4773. **Detail Shots**: Highlight quality, features, materials4784. **Lifestyle/Context**: Product in use, emotional connection4795. **Infographic**: Features, specs, benefits with callouts4806. **Comparison**: Before/after, vs alternatives4817. **Social Proof**: Reviews, testimonials (if applicable)482483## References484485Detailed templates in `references/` directory:486487**Elements**:488- `elements/scene-guide.md` - Scene types and compositions489- `elements/lighting.md` - Lighting setups and moods490- `elements/composition.md` - Framing and composition rules491492**Presets**:493- `presets/<style>.md` - Style definitions and prompts494495**Workflows**:496- `workflows/analysis-framework.md` - Product analysis497- `workflows/outline-template.md` - Outline templates498- `workflows/prompt-assembly.md` - Prompt assembly499500**Platforms**:501- `platforms/amazon.md` - Amazon requirements502- `platforms/shopify.md` - Shopify requirements503- `platforms/ebay.md` - eBay requirements504- `platforms/etsy.md` - Etsy requirements505- `platforms/taobao.md` - Taobao requirements506- `platforms/jd.md` - JD.com requirements507- `platforms/pinduoduo.md` - Pinduoduo requirements508509**Config**:510- `config/preferences-schema.md` - EXTEND.md schema511- `config/watermark-guide.md` - Watermark configuration512513## Notes514515- Auto-retry once on failure516- Platform requirements auto-applied517- Two confirmation points required (Steps 2 & 4)518- Reference image chain ensures visual consistency519520## Extension Support521522Custom configurations via EXTEND.md. See **Step 0** for paths.