ai-product-photography
运用AI技术生成高质量产品摄影图,帮助企业在营销中展示产品最佳面貌,吸引潜在客户。
npx skills add https://github.com/inferen-sh/skills --skill ai-product-photographyBefore / After 效果对比
1 组传统产品摄影需要场地、设备和专业摄影师,成本高昂且周期长,难以满足电商平台对大量高质量图片的需求。
此技能利用AI技术,快速生成逼真且富有吸引力的产品图片,支持多种场景和风格,显著降低成本,提升营销效率。
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
Weekly Installs4.4KRepositoryinferen-sh/skillsGitHub Stars159First Seen6 days agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled onclaude-code3.5Kgemini-cli3.1Kcodex3.1Kamp3.1Kkimi-cli3.1Kgithub-copilot3.1K
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分