ai-product-photography
AI Product Photography
Generate professional product photography via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
infsh). Install instructions
infsh login
# Generate product shot
infsh 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
| Model | App ID | Best For |
|---|---|---|
| FLUX Dev | falai/flux-dev |
High quality, detailed |
| FLUX Schnell | falai/flux-schnell |
Fast iterations |
| Imagen 3 | google/imagen-3 |
Photorealistic |
| Grok | xai/grok-imagine-image |
Creative variations |
| Seedream | bytedance/seedream-3-0 |
Commercial quality |
Product Photography Styles
Studio White Background
infsh 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
infsh 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
infsh 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
infsh 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
infsh 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
infsh 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
infsh app run falai/flux-dev --input '{
"prompt": "Fashion product photography of leather handbag, studio setting, soft shadows, luxury brand aesthetic, Vogue style"
}'
Beauty / Cosmetics
infsh 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
infsh 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
infsh 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
infsh 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
infsh app run falai/flux-dev --input '{
"prompt": "Product photo with soft diffused studio lighting, minimal shadows, clean and professional, commercial photography"
}'
Dramatic / Rim Light
infsh app run falai/flux-dev --input '{
"prompt": "Product photo with dramatic rim lighting, dark background, glowing edges, premium tech aesthetic"
}'
Natural Window Light
infsh app run falai/flux-dev --input '{
"prompt": "Product photo with natural window light, soft shadows, lifestyle setting, warm and inviting"
}'
Hard Light / High Contrast
infsh 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
infsh 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
infsh 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
infsh 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
infsh 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
infsh app run falai/flux-dev --input '{
"prompt": "Product photo of headphones..."
}' > product.json
# 2. Upscale for high resolution
infsh app run falai/topaz-image-upscaler --input '{
"image_url": "<product-url>",
"scale": 2
}' > upscaled.json
# 3. Remove background if needed
infsh app run falai/birefnet --input '{
"image_url": "<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
- Consistent style - Match brand aesthetic across all images
- High resolution - Use quality models, upscale if needed
- Multiple angles - Generate front, side, detail views
- Context matters - Lifestyle images convert better than plain white
- Props and staging - Add relevant props for visual interest
- 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: infsh app list --category image
More from inference-sh/agent-skills-registry
agent-tools
Run 150+ AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
19agent-browser
Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video
19python-sdk
Python SDK for inference.sh - run AI apps, build agents, and integrate with 150+ models. Package: inferencesh (pip install inferencesh). Supports sync/async, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, and human approval. Use for: Python integration, AI apps, agent development, RAG pipelines, automation. Triggers: python sdk, inferencesh, pip install, python api, python client, async inference, python agent, tool builder python, programmatic ai, python integration, sdk python
15javascript-sdk
JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate 150+ models. Package: @inferencesh/sdk (npm install). Full TypeScript support, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, human approval. Use for: JavaScript integration, TypeScript, Node.js, React, Next.js, frontend apps. Triggers: javascript sdk, typescript sdk, npm install, node.js api, js client, react ai, next.js ai, frontend sdk, @inferencesh/sdk, typescript agent, browser sdk, js integration
15ai-video-generation
Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative
8prompt-engineering
Master prompt engineering for AI models: LLMs, image generators, video models. Techniques: chain-of-thought, few-shot, system prompts, negative prompts. Models: Claude, GPT-4, Gemini, FLUX, Veo, Stable Diffusion prompting. Use for: better AI outputs, consistent results, complex tasks, optimization. Triggers: prompt engineering, how to prompt, better prompts, prompt tips, prompting guide, llm prompting, image prompt, ai prompting, prompt optimization, prompt template, prompt structure, effective prompts, prompt techniques
8