安装 belt CLI 技能:
npx skills add belt-sh/cli
产品摄影
通过 inference.sh CLI 使用 AI 创建专业产品图片。
快速开始
需要 inference.sh CLI (
belt)。安装说明
belt login
# 干净的工作室包装图
belt app run bytedance/seedream-4-5 --input '{
"prompt": "professional product photography, single premium wireless headphone on clean white background, soft studio lighting with subtle shadow, commercial e-commerce style, sharp focus, 4K quality",
"size": "2K"
}'
拍摄类型
1. 主图(Hero Shot)
顾客最先看到的主图。干净、聚焦、令人向往。
belt app run bytedance/seedream-4-5 --input '{
"prompt": "hero product shot, premium smartwatch floating at slight angle, clean gradient background transitioning from white to light grey, dramatic rim lighting, subtle reflection below, commercial photography, magazine quality, sharp details",
"size": "2K"
}'
| 规则 | 原因 |
|---|---|
| 产品占据画幅 80% | 最大化视觉冲击力 |
| 轻微角度(15-30 度) | 相比正面平拍增加立体感 |
| 一盏主光 + 辅光 | 营造层次感,避免生硬阴影 |
| 中性色或品牌色背景 | 保持焦点在产品上 |
2. 包装图(电商纯白背景)
亚马逊、Shopify 和大多数电商平台要求纯白背景。
# 纯白背景包装图
belt app run bytedance/seedream-4-5 --input '{
"prompt": "product packshot, leather wallet standing upright at slight angle on pure white background #FFFFFF, soft even studio lighting, no shadows, e-commerce product photography, Amazon listing style, clean sharp focus",
"size": "2K"
}'
亚马逊要求:
- 纯白背景(RGB 255, 255, 255)
- 产品占据画幅 85% 以上
- 无道具、文字、徽标或水印
- 最长边至少 1000 像素(建议 1600 像素以上,支持缩放)
- JPEG 或 PNG,sRGB 色彩空间
3. 生活方式场景图
产品处于使用环境中——展示其使用方式或摆放位置。
belt app run bytedance/seedream-4-5 --input '{
"prompt": "lifestyle product photography, premium coffee mug on rustic wooden table beside an open book and reading glasses, morning sunlight streaming through window, cozy home atmosphere, shallow depth of field, warm tones, editorial style",
"size": "2K"
}'
4. 尺寸参照图
将产品放在熟悉物体或人手中以展示其大小。
belt app run falai/flux-dev-lora --input '{
"prompt": "product scale photography, compact portable speaker held in one hand, person showing how small and portable it is, clean blurred background, natural lighting, lifestyle tech photography",
"width": 1024,
"height": 1024
}'
5. 细节/特写图
突出纹理、材质质量或特定功能。
belt app run bytedance/seedream-4-5 --input '{
"prompt": "extreme close-up product detail, premium leather bag stitching and grain texture, macro photography, shallow depth of field, soft directional lighting highlighting texture, luxury product photography, editorial quality",
"size": "2K"
}'
6. 组合/合集图
多个产品或变体一起展示。
belt app run bytedance/seedream-4-5 --input '{
"prompt": "product collection flat lay photography, three skincare bottles arranged in triangular composition on marble surface, minimal props, soft overhead lighting, beauty product photography, editorial style, coordinated brand aesthetic",
"size": "2K"
}'
相机角度
| 角度 | 适用场景 | 提示词关键词 |
|---|---|---|
| 平视 | 大多数产品,真实感 | "eye level shot", "straight on" |
| 轻微俯视(30°) | 俯拍、食品、化妆品 | "overhead angle", "45 degree angle" |
| 俯视(90°) | 俯拍构图 | "flat lay", "top down", "overhead" |
| 低角度 | 让产品看起来更强大/高端 | "low angle", "looking up at product" |
| 3/4 角度 | 最多功能,展示深度 | "three-quarter view", "slight angle" |
布光方案
| 方案 | 效果 | 提示词关键词 |
|---|---|---|
| 柔光箱(漫射) | 均匀,阴影少 | "soft studio lighting", "diffused light" |
| 边缘光/轮廓光 | 戏剧性轮廓发光 | "rim lighting", "edge light", "backlit" |
| 自然窗光 | 温暖、真实、生活方式 | "natural window light", "golden hour" |
| 硬朗方向光 | 强阴影,编辑风格 | "dramatic directional lighting", "hard shadow" |
| 均匀/平光 | 电商,无阴影 | "even lighting", "no shadows", "flat light" |
阴影类型
| 阴影 | 效果 | 使用时机 |
|---|---|---|
| 无阴影 | 干净,悬浮感 | 亚马逊/电商要求 |
| 接触阴影 | 产品与表面接触处的微小阴影 | 接地但干净 |
| 悬浮阴影 | 产品下方柔和的阴影 | 增加深度,专业感 |
| 戏剧性阴影 | 长而方向性的阴影 | 编辑、奢华、情绪感 |
| 倒影 | 产品下方镜面效果 | 科技、奢华、高端感 |
背景指南
| 背景 | 适用场景 | 提示词关键词 |
|---|---|---|
| 纯白(#FFFFFF) | 电商、平台 | "pure white background" |
| 浅灰渐变 | 主图、高端 | "gradient background white to grey" |
| 大理石/石材 | 奢华、美妆、珠宝 | "marble surface" |
| 木质/乡村 | 手作、食品、天然产品 | "rustic wooden table" |
| 彩色(品牌色) | 品牌一致性 | "background color [hex]" |
| 生活方式环境 | 场景图 | "kitchen counter", "desk", "bathroom shelf" |
构图规则
| 规则 | 应用 |
|---|---|
| 三分法 | 生活场景图中将产品放在交叉点 |
| 中心主体 | 电商/包装图——产品绝对居中 |
| 留白 | 如果是营销用途,预留文字叠加空间 |
| 引导线 | 利用桌边、阴影引导视线到产品 |
| 奇数原则 | 3 或 5 件产品的组合比 2 或 4 件更好看 |
| 三角形构图 | 将 3 件物品排列成三角形以达到平衡 |
电商图片设置
一个完整的产品列表需要按此顺序包含 7-9 张图片:
| 位置 | 图片类型 | 用途 |
|---|---|---|
| 1 | 主图 / 包装图 | 主要列表图片,白色背景 |
| 2 | 生活方式场景图 | 产品使用/环境 |
| 3 | 功能标注图 | 突出关键特性 |
| 4 | 尺寸参照图 | 放在手中或与已知物体对比 |
| 5 | 细节特写图 | 材质质量、工艺 |
| 6 | 其他角度图 | 背面或侧面视图 |
| 7 | 信息图表 | 尺寸、规格、包含物品 |
| 8 | 包装图 | 开箱体验 |
| 9 | 社交证明图 | 评分叠加或带说明的文字生活方式图 |
# 生成完整的电商图片集
# 1. 主包装图
belt app run bytedance/seedream-4-5 --input '{
"prompt": "product packshot, premium bluetooth speaker on pure white background, slight angle, soft studio lighting, subtle contact shadow, e-commerce photography, sharp, 4K",
"size": "2K"
}' --no-wait
# 2. 生活方式场景图
belt app run bytedance/seedream-4-5 --input '{
"prompt": "lifestyle product photography, bluetooth speaker on poolside table, summer setting, sunglasses and drink nearby, warm natural light, vacation vibes, editorial style",
"size": "2K"
}' --no-wait
# 3. 细节图
belt app run bytedance/seedream-4-5 --input '{
"prompt": "extreme close-up of speaker grille texture and premium materials, macro product photography, soft lighting, showing build quality, sharp detail",
"size": "2K"
}' --no-wait
# 4. 尺寸参照图
belt app run falai/flux-dev-lora --input '{
"prompt": "person holding compact bluetooth speaker in one hand, showing portable size, clean blurred background, natural light, lifestyle tech photography",
"width": 1024,
"height": 1024
}' --no-wait
产品类别
食品与饮料
要点:俯拍角度、自然光、可见纹理、蒸汽/新鲜感暗示
提示词附加:"food photography, appetizing, fresh, natural daylight, shallow depth of field"
避免:人造色彩、完美对称摆盘(显得假)
珠宝与配饰
要点:微距细节、反光表面、黑色或渐变背景
提示词附加:"jewelry photography, macro, sparkle, reflective surface, luxury"
避免:均匀照明(扼杀闪光感)、杂乱背景
电子产品与科技
要点:干净线条、深色或渐变背景、边缘光
提示词附加:"tech product photography, sleek, modern, rim lighting, premium"
避免:温暖/乡村背景(错误的美学)
化妆品与美妆
要点:俯拍或轻微角度、大理石/干净表面、柔和粉彩
提示词附加:"beauty product photography, clean, minimal, soft light, editorial"
避免:生硬阴影、暗调氛围光(除非是高端/小众)
服装与时装
要点:模特上身或平铺、生活方式环境、品牌氛围
提示词附加:"fashion photography, editorial, styled, natural pose"
避免:生活方式图使用纯白背景(仅限电商使用)
图像编辑工作流
# 生成基础产品图像
belt app run bytedance/seedream-4-5 --input '{
"prompt": "premium headphones on white background, studio product photography",
"size": "2K"
}'
# 编辑:将背景改为生活方式场景
belt app run bytedance/seededit-3-0-i2i --input '{
"prompt": "change the background to a modern minimalist desk setup with warm afternoon light, keep the headphones exactly the same",
"image": "headphones-white.png"
}'
# 放大用于印刷
belt app run falai/topaz-image-upscaler --input '{
"image": "headphones-lifestyle.png"
}'
常见错误
| 错误 | 问题 | 修复 |
|---|---|---|
| 杂乱背景 | 产品被淹没 | 干净简洁的背景——产品才是主角 |
| 正面平拍 | 像证件照 | 轻微 15-30° 角度增加立体感 |
| 类别混淆的光源 | 科技产品配乡村木桌、食品配冷光 | 根据产品类别惯例匹配光源 |
| 道具过多 | 分散产品注意力 | 生活方式场景图最多 2-3 个辅助道具 |
| 整组图片风格不一致 | 显得不专业 | 相同的布光方案、相同的背景系列 |
| 无尺寸参照 | 顾客无法判断大小 | 至少包含一张有手或已知物体的图片 |
| 低分辨率 | 无法缩放,显得业余 | 以 2K+ 生成,必要时放大 |
| 全部完美居中 | 静态、乏味的布局 | 生活方式图使用三分法,仅包装图居中 |
相关技能
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@prompt-engineering
浏览所有应用:belt app list