mcpField
A
ai-product-photography

ai-product-photography

github.com/inference-shCreative & media7891.1k installsUpdated 2w ago
Repository

About ai-product-photography

A skill for generating product photography with image models through inference.sh CLI. It covers product styles, lighting, e-commerce templates, batch angles, and post-processing such as upscaling.

Key features

  1. 01Generate product photos with image models
  2. 02Choose from listed image models
  3. 03Create studio and lifestyle styles
  4. 04Use e-commerce image templates
  5. 05Generate multiple product angles
  6. 06Upscale generated images

Use cases

  1. 01Create e-commerce listing images
  2. 02Produce lifestyle product visuals
  3. 03Generate consistent product-line imagery
  4. 04Prepare product images for campaigns

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/inference-sh/skills --skill ai-product-photography

After installing, type/ai-product-photographyin Claude Code to confirm it loaded.

Details

From the project README

Install the belt CLI skill: npx skills add belt-sh/cli

AI Product Photography

Generate professional product photography via inference.sh CLI.

AI Product Photography

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Generate product shot
belt app run falai/flux-dev --input '{
  "prompt": "Professional product photo of wireless earbuds on white surface, soft studio lighting, commercial photography, high detail"
}'

Available Models

ModelApp IDBest For
FLUX Devfalai/flux-devHigh quality, detailed
FLUX Schnellfalai/flux-schnellFast iterations
Imagen 3google/imagen-3Photorealistic
Grokxai/grok-imagine-imageCreative variations
Seedreambytedance/seedream-3-0-t2iCommercial quality

Product Photography Styles

Studio White Background
belt app run falai/flux-dev --input '{
  "prompt": "Product photography of a luxury watch on pure white background, professional studio lighting, sharp focus, e-commerce style, high resolution"
}'
Lifestyle Context
belt app run falai/flux-dev --input '{
  "prompt": "Lifestyle product photo of coffee mug on wooden desk, morning sunlight through window, cozy home office setting, Instagram aesthetic"
}'
Hero Shot
belt app run falai/flux-dev --input '{
  "prompt": "Hero product shot of smartphone floating at angle, dramatic lighting, gradient background, tech advertising style, premium feel"
}'
Flat Lay
belt app run falai/flux-dev --input '{
  "prompt": "Flat lay product photography of skincare products arranged aesthetically, marble surface, eucalyptus leaves as props, beauty brand style"
}'
In-Use / Action
belt app run falai/flux-dev --input '{
  "prompt": "Action shot of running shoes mid-stride, motion blur background, athletic lifestyle, Nike advertisement style"
}'

Product Categories

Electronics
belt app run falai/flux-dev --input '{
  "prompt": "Professional product photo of wireless headphones, matte black finish, floating on dark gradient background, rim lighting, tech product photography"
}'
Fashion / Apparel
belt app run falai/flux-dev --input '{
  "prompt": "Fashion product photography of leather handbag, studio setting, soft shadows, luxury brand aesthetic, Vogue style"
}'
Beauty / Cosmetics
belt app run falai/flux-dev --input '{
  "prompt": "Beauty product photography of lipstick with color swatches, clean white background, soft lighting, high-end cosmetics advertising"
}'
Food & Beverage
belt app run falai/flux-dev --input '{
  "prompt": "Food photography of craft beer bottle with condensation, rustic wooden table, warm lighting, artisanal brand aesthetic"
}'
Home & Furniture
belt app run falai/flux-dev --input '{
  "prompt": "Interior product photo of modern armchair in minimalist living room, natural lighting, Scandinavian design style, lifestyle context"
}'
Jewelry
belt app run falai/flux-dev --input '{
  "prompt": "Jewelry product photography of diamond ring, black velvet surface, dramatic spotlight, sparkle and reflection, luxury advertising"
}'

Lighting Techniques

Soft Studio Light
belt app run falai/flux-dev --input '{
  "prompt": "Product photo with soft diffused studio lighting, minimal shadows, clean and professional, commercial photography"
}'
Dramatic / Rim Light
belt app run falai/flux-dev --input '{
  "prompt": "Product photo with dramatic rim lighting, dark background, glowing edges, premium tech aesthetic"
}'
Natural Window Light
belt app run falai/flux-dev --input '{
  "prompt": "Product photo with natural window light, soft shadows, lifestyle setting, warm and inviting"
}'
Hard Light / High Contrast
belt app run falai/flux-dev --input '{
  "prompt": "Product photo with hard directional lighting, strong shadows, bold contrast, editorial style"
}'

E-Commerce Templates

Amazon Main Image
belt app run falai/flux-dev --input '{
  "prompt": "Amazon product listing main image, pure white background RGB 255 255 255, product fills 85% of frame, professional studio lighting, no text or graphics"
}'
Amazon Lifestyle Image
belt app run falai/flux-dev --input '{
  "prompt": "Amazon lifestyle product image, product in natural use context, relatable setting, shows scale and use case"
}'
Shopify Hero
belt app run falai/flux-dev --input '{
  "prompt": "Shopify hero banner product image, lifestyle context, space for text overlay on left, premium brand aesthetic"
}'

Batch Generation

# Generate multiple angles
PRODUCT="luxury watch"
ANGLES=("front view" "45 degree angle" "side profile" "detail shot of face")

for angle in "${ANGLES[@]}"; do
  belt app run falai/flux-dev --input "{
    \"prompt\": \"Professional product photography of $PRODUCT, $angle, white background, studio lighting\"
  }" > "product_${angle// /_}.json"
done

Post-Processing Workflow

# 1. Generate base product image
belt app run falai/flux-dev --input '{
  "prompt": "Product photo of headphones..."
}' > product.json

# 2. Upscale for high resolution
belt app run falai/topaz-image-upscaler --input '{
  "image": "<product-url>",
  "upscale_factor": 2
}' > upscaled.json

# 3. Remove background if needed
belt app run infsh/birefnet --input '{
  "image": "<upscaled-url>"
}' > cutout.json

Prompt Formula

[Product Type] + [Setting/Background] + [Lighting] + [Style] + [Technical]
Examples
"Wireless earbuds on white marble surface, soft studio lighting, Apple advertising style, 8K, sharp focus"

"Sneakers floating on gradient background, dramatic rim lighting, Nike campaign aesthetic, commercial photography"

"Skincare bottle with water droplets, spa setting with stones, natural lighting, luxury beauty brand style"

Best Practices

  1. Consistent style - Match brand aesthetic across all images
  2. High resolution - Use quality models, upscale if needed
  3. Multiple angles - Generate front, side, detail views
  4. Context matters - Lifestyle images convert better than plain white
  5. Props and staging - Add relevant props for visual interest
  6. Lighting consistency - Same lighting style across product line

Related Skills

# Image generation models
npx skills add inference-sh/skills@ai-image-generation

# FLUX specific
npx skills add inference-sh/skills@flux-image

# Image upscaling
npx skills add inference-sh/skills@image-upscaling

# Background removal
npx skills add inference-sh/skills@background-removal

# Full platform skill
npx skills add inference-sh/skills@infsh-cli

Browse all image apps: belt app list --category image

Comments

Markdown supported