mcpField
P
product-photography

product-photography

github.com/bankai-skills创意与媒体025.8k 次安装12 周前更新
代码仓库

关于 product-photography

面向电商与品牌内容创作者的产品摄影技能,提供使用 inference.sh CLI 生成产品图的提示词指导与拍摄方案,涵盖多种镜头类型、构图、光线和背景。

主要功能

  1. 01生成主视觉与白底商品图
  2. 02规划生活方式及尺度照片
  3. 03突出产品细节与材质
  4. 04设计多商品组合构图
  5. 05提供电商图片组建议

适用场景

  1. 01制作电商平台商品主图
  2. 02为产品页面补充使用场景图
  3. 03展示商品尺寸与工艺细节

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/bankai-skills/superpowers --skill product-photography

安装后在 Claude Code 中输入/product-photography确认已加载。

详细介绍

安装 belt CLI 技能: npx skills add belt-sh/cli

产品摄影

通过 inference.sh CLI 使用 AI 创建专业产品图片。

快速开始

需要 inference.sh CLI(belt)。安装说明

belt login

# Clean studio packshot
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. 主视觉图(主图)

客户首先看到的主图。简洁、聚焦、引人向往。

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. 商品白底图(电商白底图)

Amazon、Shopify 和大多数电商平台都要求纯白背景。

# Pure white background packshot
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"
}'

Amazon 要求:

  • 纯白背景(RGB 255, 255, 255)
  • 产品占据画面的 85% 以上
  • 不得有道具、文字、Logo 或水印
  • 最长边至少 1000px(建议 1600px 以上以支持缩放)
  • 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"
四分之三角度用途广泛,展现纵深感"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"

阴影类型

阴影效果适用场景
无阴影简洁,呈悬浮效果Amazon/电商平台要求
接触阴影产品与表面接触处的细微阴影让产品显得稳固,同时保持画面简洁
投影产品下方的柔和阴影增加纵深感,显得专业
戏剧性阴影修长、具有方向性的阴影杂志风格、奢华、营造氛围
倒影下方呈镜面效果的表面科技、奢华、高端质感

背景指南

背景最适合提示词关键词
纯白(#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口碑证明叠加评分,或附带说明文字的生活方式图
# Generate a complete e-commerce set
# 1. Hero packshot
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. Lifestyle
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. Detail
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. Scale
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

产品类别

食品与饮料
Key: overhead angles, natural light, visible texture, steam/freshness cues
Prompt add: "food photography, appetizing, fresh, natural daylight, shallow depth of field"
Avoid: artificial-looking colors, perfectly symmetrical plating (looks fake)
珠宝与配饰
Key: macro detail, reflective surfaces, black or gradient backgrounds
Prompt add: "jewelry photography, macro, sparkle, reflective surface, luxury"
Avoid: flat lighting (kills sparkle), busy backgrounds
电子产品与科技
Key: clean lines, dark or gradient backgrounds, rim lighting
Prompt add: "tech product photography, sleek, modern, rim lighting, premium"
Avoid: warm/rustic backgrounds (wrong aesthetic)
化妆品与美容
Key: flat lay or slight angle, marble/clean surfaces, soft pastels
Prompt add: "beauty product photography, clean, minimal, soft light, editorial"
Avoid: harsh shadows, dark moody lighting (unless luxury/niche)
服装与时尚
Key: on model or flat lay, lifestyle context, brand mood
Prompt add: "fashion photography, editorial, styled, natural pose"
Avoid: pure white background for lifestyle (save for e-commerce only)

图片编辑工作流

# Generate base product image
belt app run bytedance/seedream-4-5 --input '{
  "prompt": "premium headphones on white background, studio product photography",
  "size": "2K"
}'

# Edit: change background to lifestyle
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"
}'

# Upscale for print
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

评论

支持 Markdown