SuperAPI AI 工具集

ai-product-photography

设计与创作

查看项目

更新于 10-15 08:51

技能介绍

用途

该技能用于生成专业级 AI 产品摄影和商业图片,通过 inference.sh CLI(belt)调用多种图像生成模型,帮助制作用于电商、广告、品牌宣传等场景的产品图。

主要能力

  • 支持多种模型:FLUX Dev(高质量、细节丰富)、FLUX Schnell(快速迭代)、Imagen 3(照片级真实)、Grok(创意变体)、Seedream(商业品质)。
  • 覆盖多种产品摄影风格:纯白背景工作室、生活场景、主视觉(Hero Shot)、平铺(Flat Lay)、使用中/动作场景。
  • 覆盖多个产品类别:电子产品、时尚/服装、美妆/化妆品、食品饮料、家居家具、珠宝。
  • 提供灯光技巧:柔和影棚光、戏剧性/轮廓光、自然窗光、硬光/高对比。
  • 提供电商模板:Amazon 主图、Amazon 生活场景图、Shopify 主视觉横幅。
  • 支持批量生成多角度图片。
  • 提供后期处理工作流:生成基础图、放大、去背景。

使用方式

需先安装 inference.sh CLI(belt),安装命令为 npx skills add belt-sh/cli,然后执行 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。

批量生成多角度示例:

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"

适用场景

  • 电商产品图制作(Amazon、Shopify 等平台)。
  • 品牌广告与营销视觉素材生成。
  • 需要多角度、多风格产品展示的场景。
  • 需要批量生成产品图的场景。

限制

  • 需安装并登录 inference.sh CLI(belt)才能使用。
  • 具体收费、价格、平台支持范围、生成效果等资料暂未提供。
  • 各模型的具体参数、输出格式、速率限制等资料暂未提供。

最佳实践(来自资料)

  • 保持风格一致,匹配品牌美学。
  • 使用高质量模型,必要时放大。
  • 生成多个角度:正面、侧面、细节。
  • 生活场景图通常比纯白背景转化更好。
  • 添加相关道具和布景以增加视觉趣味。
  • 产品线保持灯光风格一致。

相关技能

# 图像生成模型
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