安裝 belt CLI 技能:
npx skills add belt-sh/cli
AI 產品攝影
透過 inference.sh CLI 生成專業的產品攝影照片。

快速開始
需要 inference.sh CLI(
belt)。安裝說明
belt login
# 生成產品照
belt app run falai/flux-dev --input '{
"prompt": "Professional product photo of wireless earbuds on white surface, soft studio lighting, commercial photography, high detail"
}'
可用模型
| 模型 | App ID | 最佳用途 |
|---|---|---|
| FLUX Dev | falai/flux-dev | 高品質、細節豐富 |
| FLUX Schnell | falai/flux-schnell | 快速迭代 |
| Imagen 3 | google/imagen-3 | 擬真攝影感 |
| Grok | xai/grok-imagine-image | 創意變化 |
| Seedream | bytedance/seedream-3-0 | 商業級品質 |
產品攝影風格
棚拍白色背景
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"
}'
生活情境
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"
}'
英雄鏡頭
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"
}'
平面擺拍
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"
}'
使用中 / 動態
belt app run falai/flux-dev --input '{
"prompt": "Action shot of running shoes mid-stride, motion blur background, athletic lifestyle, Nike advertisement style"
}'
產品類別
電子產品
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"
}'
時尚 / 服飾
belt app run falai/flux-dev --input '{
"prompt": "Fashion product photography of leather handbag, studio setting, soft shadows, luxury brand aesthetic, Vogue style"
}'
美妝 / 保養品
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"
}'
食品與飲料
belt app run falai/flux-dev --input '{
"prompt": "Food photography of craft beer bottle with condensation, rustic wooden table, warm lighting, artisanal brand aesthetic"
}'
居家與家具
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"
}'
珠寶
belt app run falai/flux-dev --input '{
"prompt": "Jewelry product photography of diamond ring, black velvet surface, dramatic spotlight, sparkle and reflection, luxury advertising"
}'
燈光技巧
柔和棚燈
belt app run falai/flux-dev --input '{
"prompt": "Product photo with soft diffused studio lighting, minimal shadows, clean and professional, commercial photography"
}'
戲劇化 / 輪廓光
belt app run falai/flux-dev --input '{
"prompt": "Product photo with dramatic rim lighting, dark background, glowing edges, premium tech aesthetic"
}'
自然窗光
belt app run falai/flux-dev --input '{
"prompt": "Product photo with natural window light, soft shadows, lifestyle setting, warm and inviting"
}'
硬光 / 高對比
belt app run falai/flux-dev --input '{
"prompt": "Product photo with hard directional lighting, strong shadows, bold contrast, editorial style"
}'
電子商務模板
Amazon 主圖
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 生活情境圖
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 英雄橫幅
belt app run falai/flux-dev --input '{
"prompt": "Shopify hero banner product image, lifestyle context, space for text overlay on left, premium brand aesthetic"
}'
批次生成
# 生成多個角度
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
後製工作流程
# 1. 生成基礎產品圖片
belt app run falai/flux-dev --input '{
"prompt": "Product photo of headphones..."
}' > product.json
# 2. 放大至高解析度
belt app run falai/topaz-image-upscaler --input '{
"image_url": "<product-url>",
"scale": 2
}' > upscaled.json
# 3. 如有需要,移除背景
belt app run falai/birefnet --input '{
"image_url": "<upscaled-url>"
}' > cutout.json
提示詞公式
[產品類型] + [場景/背景] + [燈光] + [風格] + [技術細節]
範例
"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"
最佳實踐
- 風格一致 - 讓所有圖片符合品牌視覺調性
- 高解析度 - 使用優質模型,必要時進行放大
- 多個角度 - 生成正面、側面、細節等不同視角
- 情境重要 - 生活情境圖的轉換率通常高於純白背景
- 道具與場景佈置 - 加入相關道具以增加視覺吸引力
- 燈光一致性 - 同一產品線使用相同的燈光風格
相關技能
# 圖片生成模型
npx skills add inference-sh/skills@ai-image-generation
# FLUX 專用
npx skills add inference-sh/skills@flux-image
# 圖片放大
npx skills add inference-sh/skills@image-upscaling
# 背景移除
npx skills add inference-sh/skills@background-removal
# 完整平台技能
npx skills add inference-sh/skills@infsh-cli
瀏覽所有圖片應用:belt app list --category image