From wix-ecom-cowork
Analyzes uploaded product image using vision AI to generate complete listing: name, SEO description, pricing, categories, tags, SKU, inventory, and metadata.
How this command is triggered — by the user, by Claude, or both
Slash command
/wix-ecom-cowork:product-from-imageThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Product from Image - AI-Powered Product Creation Create complete product listings automatically by uploading product images. Claude analyzes the image to generate product names, descriptions, pricing suggestions, categories, and more. ## Command Pattern ## Purpose Leverage Claude's vision capabilities to automatically generate complete, optimized product listings from product images. Saves time and ensures professional, SEO-optimized product descriptions. ## Skills Referenced - **ai-product-from-image**: Vision analysis and product data generation - **product-workflow-guide**: Bes...
Create complete product listings automatically by uploading product images. Claude analyzes the image to generate product names, descriptions, pricing suggestions, categories, and more.
Create a product from this image: [image path or URL]
Analyze this product photo and create a listing
Generate product details from image
Upload product image and create listing
Create product from: /path/to/image.jpg
Leverage Claude's vision capabilities to automatically generate complete, optimized product listings from product images. Saves time and ensures professional, SEO-optimized product descriptions.
Claude analyzes the product image to identify:
Visual Attributes:
Generated Metadata:
📸 Analyzing product image...
🔍 Product Analysis:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Product Type: Ceramic Mug
Primary Color: Deep Blue
Material: Ceramic/Pottery
Style: Handmade, Artisan
Quality: High (professional product photo)
Notable Features: Unique glaze pattern, comfortable handle
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ Generated Product Data:
Name:
"Handcrafted Blue Ceramic Mug - Artisan Coffee Cup"
Description:
"Beautiful handcrafted ceramic mug featuring a unique blue
glaze finish. Perfect for your morning coffee or afternoon tea.
Each mug is individually made, making yours truly one-of-a-kind.
Key Features:
• Handmade ceramic construction
• Vibrant blue glaze finish
• Comfortable handle design
• Microwave and dishwasher safe
• 12 oz capacity
Perfect for coffee lovers, tea enthusiasts, or as a thoughtful gift."
Pricing:
Suggested Price: $24.99
Compare-at Price: $32.99
Suggested Cost: $12.00
Profit Margin: 52%
Category:
Primary: Kitchen & Dining
Secondary: Home & Living, Gifts
Tags:
mug, ceramic, handmade, blue, coffee, tea, artisan, pottery
Ribbon:
"Handmade"
SKU:
"MUG-CERAMIC-BLUE-001"
Inventory:
Suggested Quantity: 5 (handmade item)
Track Inventory: Yes
Weight:
0.8 lbs (for shipping)
SEO:
Title: "Handcrafted Blue Ceramic Mug | Artisan Coffee Cup"
Meta: "Unique handmade blue ceramic mug perfect for coffee or tea.
Dishwasher safe, 12 oz capacity. Each piece is one-of-a-kind."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Would you like to:
1. Create product with these details
2. Modify any details before creating
3. Add variants or options
Allow user to review and modify AI-generated data before creation.
Execute the optimal API sequence:
4.1 Get Categories and Tax Groups
SITE_ID=$(node -e "const { getActiveSiteId } = require('./wix-store-optimizer/lib/site-storage'); console.log(getActiveSiteId());")
API_KEY="${WIX_API_KEY}"
# Get categories
categories=$(curl -s -X GET "https://www.wixapis.com/_api/wix-ecommerce-renderer-web/store-manager/categories" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}")
# Get tax groups
tax_groups=$(curl -s -X POST "https://www.wixapis.com/_api/tax-groups/v1/taxGroups/query" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{"query": {}}')
# Extract default tax group
TAX_GROUP_ID=$(echo "$tax_groups" | jq -r '.taxGroups[] | select(.default == true) | .id')
4.2 Create Product
product_response=$(curl -s -X POST "https://www.wixapis.com/stores/v1/products" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"product": {
"name": "AI_GENERATED_NAME",
"description": "AI_GENERATED_DESCRIPTION",
"price": AI_SUGGESTED_PRICE,
"comparePrice": AI_SUGGESTED_COMPARE_PRICE,
"cost": {"price": AI_SUGGESTED_COST},
"productType": "physical",
"sku": "AI_GENERATED_SKU",
"visible": false,
"ribbon": "AI_SUGGESTED_RIBBON",
"weight": AI_SUGGESTED_WEIGHT,
"stock": {
"trackInventory": true,
"quantity": AI_SUGGESTED_QUANTITY
},
"categoryIds": ["MATCHED_CATEGORY_ID"],
"taxGroupId": "'"${TAX_GROUP_ID}"'"
}
}')
PRODUCT_ID=$(echo "$product_response" | jq -r '.product.id')
echo "✅ Created product: $PRODUCT_ID"
4.3 Upload and Attach Image
# Attach the analyzed image as main product image
curl -s -X PATCH "https://www.wixapis.com/stores/v1/products/${PRODUCT_ID}" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"product": {
"media": {
"mainMedia": {
"image": {
"url": "UPLOADED_IMAGE_URL",
"altText": "AI_GENERATED_ALT_TEXT"
}
}
}
}
}' | jq '{message: "✅ Image added"}'
4.4 Set SEO Data
curl -s -X PATCH "https://www.wixapis.com/stores/v1/products/${PRODUCT_ID}" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"product": {
"seoData": {
"tags": [
{
"type": "title",
"children": "AI_GENERATED_SEO_TITLE",
"custom": true
},
{
"type": "meta",
"props": {
"name": "description",
"content": "AI_GENERATED_META_DESCRIPTION"
}
}
]
}
}
}' | jq '{message: "✅ SEO data added"}'
4.5 Make Visible
curl -s -X PATCH "https://www.wixapis.com/stores/v1/products/${PRODUCT_ID}" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{"product": {"visible": true}}' | jq '{
productId: .product.id,
name: .product.name,
slug: .product.slug,
message: "🎉 Product is now live in your store!"
}'
Image: Photo of a red cotton t-shirt
AI Output:
{
"name": "Classic Red Cotton T-Shirt - Unisex Crew Neck",
"description": "Comfortable 100% cotton t-shirt in vibrant red...",
"price": 19.99,
"comparePrice": 24.99,
"category": "Apparel > T-Shirts",
"tags": ["t-shirt", "red", "cotton", "casual", "unisex"],
"variants": {
"suggested": true,
"options": [
{"name": "Size", "values": ["XS", "S", "M", "L", "XL", "XXL"]}
]
}
}
Image: Photo of wireless earbuds in case
AI Output:
{
"name": "Wireless Bluetooth Earbuds - Premium Sound Quality",
"description": "High-fidelity wireless earbuds with active noise cancellation...",
"price": 89.99,
"comparePrice": 129.99,
"category": "Electronics > Audio",
"tags": ["earbuds", "wireless", "bluetooth", "audio", "headphones"],
"ribbon": "Tech"
}
Image: Photo of a decorative wall print
AI Output:
{
"name": "Abstract Mountain Landscape Art Print - Modern Wall Decor",
"description": "Stunning abstract interpretation of mountain landscapes...",
"price": 45.00,
"comparePrice": 65.00,
"category": "Home & Living > Wall Art",
"tags": ["art print", "wall decor", "mountain", "landscape", "modern"],
"ribbon": "Art",
"variants": {
"suggested": true,
"options": [
{"name": "Size", "values": ["8x10", "11x14", "16x20", "24x36"]}
]
}
}
Upload multiple product images for enhanced analysis:
Upload multiple product images to create multiple products:
for image in /path/to/images/*.jpg; do
# Claude analyzes each image
# Generates unique product data
# Creates products automatically
done
Claude evaluates image suitability:
Output:
📸 Image Quality Assessment:
Resolution: 1200x1200px ✓ (Excellent)
Background: White ✓ (Professional)
Lighting: Well-lit ✓
Composition: Centered ✓
Overall Grade: A (Professional quality)
💡 Recommendation: Perfect for main product image
{
"analysis": {
"productType": "Ceramic Mug",
"confidence": 0.95,
"primaryColor": "Blue",
"materials": ["Ceramic", "Pottery"],
"style": "Handmade"
},
"generatedProduct": {
"id": "new-product-id-123",
"name": "Handcrafted Blue Ceramic Mug",
"price": 24.99,
"status": "created",
"visible": true
},
"recommendations": [
"Consider creating variants for different colors",
"Add product to 'Handmade' collection",
"Enable gift wrapping option"
],
"message": "🎉 Product created successfully from image analysis!"
}
npx claudepluginhub wix/wix-ecom-cowork --plugin wix-ecom-cowork/ai-image-generatorGenerates AI images using Gemini or GPT APIs from a description, with optional purpose like hero, icon, og, or illustration.
/gbp-optimizeGenerates a complete Google Business Profile optimization bundle: checklist, keyword-rich description, post ideas, Q&A seed entries, photo shot list, category/attribute recommendations, and review strategy.
/gen-imageGenerates a brand-aligned AI image by selecting the optimal tool (Midjourney, DALL-E, Ideogram, Firefly, Stable Diffusion), composing a full multi-element prompt, and providing variation prompts plus seed strategy.
/product-managerAnalyzes product idea or requirements to generate a Product Requirements Document (PRD).