generate_product
Create marketplace-compliant e-commerce product photos with category-specific style optimization for online store catalogs.
Instructions
Generate professional e-commerce product photography that drives purchases with automatic style optimization.
Use this when:
Creating product photos for online stores
Need marketplace-compliant images (Amazon, Shopee, Tokopedia)
Want consistent catalog photography
Need category-optimized shots (food, fashion, electronics, jewelry, furniture)
NOT for:
Artistic or creative images (use generate_image instead)
Logos or branding assets (use generate_logo instead)
Icons or small visual assets (use generate_icon instead)
Editing existing product photos (use edit_image instead)
Chain with: If user requests specific pixel dimensions for marketplace requirements, chain with resize_image after generation.
Example: "generate_product productDescription='handmade leather wallet' style='premium'"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productDescription": "<productDescription>",
"background": "<background>",
"lighting": "<lighting>",
"platform": "<platform>",
"productCategory": "<productCategory>",
"aspectRatio": "<aspectRatio>",
"outputFormat": "<outputFormat>"
},
"name": "generate_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| context | No | ||
| lighting | Yes | studio | |
| platform | Yes | general | |
| background | Yes | white | |
| aspectRatio | Yes | 1:1 | |
| outputFormat | Yes | png | |
| outputFilename | No | ||
| productCategory | Yes | general | |
| productDescription | Yes |