广告拍摄
- 作者仓库星标 5,641
- 作者仓库 claude-ads
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @AgriciDaniel · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 需要 · Vendor-specific
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
第1步:收集产品信息
询问(合并为一条消息): 产品图片:产品图片文件的路径(本地)或产品 URL 或文本描述“提供产品图片路径(例如 ./product.jpg)、URL 或描述您的产品” 产品描述:它是什么?要突出的关键功能? (有助于提示质量) 要生成的样式: 5 种样式中的哪一种? (默认:全部 5 个)
第 2 步:加载品牌简介(可选)
检查当前目录中是否有`brand-profile.json`。如果找到,提取样式注入: `colors.primary` → 注入背景和强调元素 `aesthetic.mood_keywords` → 作为氛围描述符注入 `target_audience` → 用于生活方式和使用中上下文
第三步:验证banana-claude
验证banana-claude是否已安装(运行`/banana setup`进行检查)。如果未安装,则显示安装说明并退出。
第 4 步:根据样式构建提示
对于每个选定的风格,使用模板+产品描述+品牌DNA构建提示。风格1:工作室干净,电子商务风格的产品拍摄。基础模板: 成分:居中、轻微 3/4 角或平躺。
第5步:生成图像
每个风格的域模式选择: 对 Studio、Floating 和 Ingredient 风格使用 Banana 产品模式 对 In Use 和 Lifestyle 风格使用 Banana 编辑模式 将所有世代的分辨率设置为 2K(默认) 宽高比设置: 在每代之前使用 Banana MCP `set_aspect_ratio`:
第 6 步:组织和报告
输出目录结构: 摘要:
# Ads Photoshoot: AI Product Photography
Transforms a product image or description into professional ad-ready photography
in 5 distinct visual styles. Each style generates at two sizes: 1:1 (Meta/LinkedIn)
and 9:16 (TikTok/Reels/Stories).
## Quick Reference
| Command | What it does |
|---------|-------------|
| `/ads photoshoot` | Interactive: ask for product + styles |
| `/ads photoshoot --styles studio floating` | Generate only selected styles |
| `/ads photoshoot --product shoe.jpg` | Start with a product image file |
| `/ads photoshoot --all-platforms` | Generate all 5 sizes per style |
## Environment Setup
Requires banana-claude (v1.4.1+) with nanobanana-mcp configured.
Run `/banana setup` to configure API key and MCP.
## Process
### Step 1: Collect Product Information
Ask (combine into one message):
1. **Product image**: Path to product image file (local) OR product URL OR text description
> "Provide a product image path (e.g. ./product.jpg), a URL, or describe your product"
2. **Product description**: What is it? Key features to highlight? (helps prompt quality)
3. **Styles to generate**: Which of the 5 styles? (default: all 5)
- Studio, Floating, Ingredient, In Use, Lifestyle
4. **Target platforms**: Which platforms will these run on?
- Determines output sizes (default: Meta + TikTok → 1:1 + 9:16)
### Step 2: Load Brand Profile (Optional)
Check for `brand-profile.json` in the current directory.
If found, extract for style injection:
- `colors.primary` → inject into backgrounds and accent elements
- `aesthetic.mood_keywords` → inject as atmosphere descriptors
- `target_audience` → use for Lifestyle and In Use context
- `imagery.forbidden` → exclude from all prompts
If not found, proceed with standard style templates.
### Step 3: Verify banana-claude
Verify banana-claude is installed (run `/banana setup` to check). If not installed,
display setup instructions and exit.
### Step 4: Construct Prompts per Style
For each selected style, build the prompt using the template + product description + brand DNA.
#### Style 1: Studio
Clean, e-commerce style product shot.
**Base template:**
```
"[product description], professional product photography, clean white seamless
background, even studio lighting, soft drop shadow, high detail product focus,
ecommerce style, [brand.colors.primary] subtle accent reflections if applicable,
top-down or 3/4 angle, no distractions, catalog quality"
```
**Composition:** Centered, slight 3/4 angle or flat lay.
**Output sizes:** 1080×1080, 1080×1920
#### Style 2: Floating
Dramatic levitation effect.
**Base template:**
```
"[product description] floating in mid-air, dramatic floating product shot,
[brand.colors.primary or brand.aesthetic.mood_keywords[0]] gradient background,
atmospheric shadow below product, levitation effect, product defying gravity,
clean modern aesthetic, high contrast, striking visual"
```
**Composition:** Product centered vertically, ample space above and below.
**Output sizes:** 1080×1080, 1080×1920
#### Style 3: Ingredient
Flat lay with components.
**Base template:**
```
"[product description] centered flat lay, surrounded by its key ingredients
or materials artfully arranged, top-down overhead view, clean light background,
natural texture surface, product as hero element, ingredients scattered with
intentional negative space, editorial food photography style"
```
**Composition:** Top-down, product in center, ingredients fanning out.
**Output sizes:** 1080×1080 (optimal for this style). Also generate 9:16 vertical for TikTok/Reels/Stories placements.
#### Style 4: In Use
Authentic usage context.
**Base template:**
```
"person's hands using [product description] in natural context, lifestyle
photography, focus on product-hand interaction, shallow depth of field,
warm natural window light, authentic not staged, [brand.target_audience.profession]
implied context, [brand.aesthetic.mood_keywords] atmosphere"
```
**Composition:** Hands prominent, product clearly identifiable, background soft-focus.
**Note:** Hands only; no full face (avoids model release complications).
**Output sizes:** 1080×1080, 1080×1920
#### Style 5: Lifestyle
Aspirational full-context shot.
**Base template:**
```
"[product description] in aspirational lifestyle scene, [brand.target_audience.age_range]
demographic implied environment, [brand.target_audience.profession] context,
[brand.aesthetic.mood_keywords] atmosphere, golden hour or clean natural lighting,
editorial photography style, [brand.aesthetic.negative_space] composition,
product clearly visible and prominent"
```
**Composition:** Environmental context, product as hero element within the scene.
**Output sizes:** 1080×1080, 1080×1920
### Iterative Refinement
For iterative refinement: if initial generation doesn't match brand expectations, adjust the prompt by specifying: lighting direction, color temperature, background texture, or product angle before regenerating.
### Step 5: Generate Images
**Domain mode selection per style:**
- Use banana **Product** mode for Studio, Floating, and Ingredient styles
- Use banana **Editorial** mode for In Use and Lifestyle styles
- Set resolution to 2K (default) for all generations
**Aspect ratio setup:** Use banana MCP `set_aspect_ratio` before each generation:
- For 1080x1080: set ratio to 1:1
- For 1080x1920: set ratio to 9:16
For each style x size combination, use `/banana generate` with the constructed
prompt, selected domain mode, and correct aspect ratio. Save output to
`./product-photos/[style]/[product-slug]-[style]-[WxH].png`.
Track results. If a generation fails, retry once with a simplified prompt.
### Step 6: Organize and Report
**Output directory structure:**
```
./product-photos/
studio/
product-studio-1080x1080.png
product-studio-1080x1920.png
floating/
product-floating-1080x1080.png
product-floating-1080x1920.png
ingredient/
product-ingredient-1080x1080.png
product-ingredient-1080x1920.png
in-use/
product-in-use-1080x1080.png
product-in-use-1080x1920.png
lifestyle/
product-lifestyle-1080x1080.png
product-lifestyle-1080x1920.png
```
**Summary:**
```
✓ Product photos generated: [N] images
Studio: ./product-photos/studio/ (2 sizes)
Floating: ./product-photos/floating/ (2 sizes)
Ingredient: ./product-photos/ingredient/ (2 sizes)
In Use: ./product-photos/in-use/ (2 sizes)
Lifestyle: ./product-photos/lifestyle/ (2 sizes)
Cost: see ~/.banana/costs.json for total spend
Best for:
• Meta Feed → Studio (4:5) or Lifestyle (4:5)
• TikTok/Reels → Floating (9:16) or In Use (9:16)
• LinkedIn → Studio (1:1) or Lifestyle (1:1)
• Google PMax → Studio (1:1); crop to 1.91:1 after
Run `/ads generate` to use these in a full campaign.
```
## Cost Estimate
Before generating, show:
- Number of styles selected x 2 sizes = total images
- Estimated cost based on banana pricing tiers
- If >$0.50, ask for confirmation
## Platform Recommendations
| Style | Best Platforms | Rationale |
|-------|---------------|-----------|
| Studio | Meta Feed, LinkedIn, Google PMax | Universal, clean, platform-safe |
| Floating | Meta Reels, TikTok, Stories | High visual impact on vertical placements |
| Ingredient | Meta Feed, Pinterest | Works best as square; tells product story |
| In Use | TikTok, Meta Reels, Stories | Authentic, native-feeling content |
| Lifestyle | All platforms | Aspirational, broad audience appeal |
## Reference Files
- `~/.claude/skills/ads/references/image-providers.md`: API setup and pricing
- `~/.claude/skills/ads/references/brand-dna-template.md`: Brand injection schema
- `~/.claude/skills/ads/references/meta-creative-specs.md`: Safe zone for 9:16
- `~/.claude/skills/ads/references/tiktok-creative-specs.md`: Safe zone constraints
章节与文件索引
按说明文件中的顺序排列。
快速参考
环境设置
第1步:收集产品信息
第 2 步:加载品牌简介(可选)
第三步:验证banana-claude
文件/命令 -> /ads photoshoot · /ads photoshoot --styles studio floating · /ads photoshoot --product shoe.jpg · /ads photoshoot --all-platforms · /banana setup · brand-profile.json · colors.primary · aesthetic.mood_keywords
内容校验值 -> 6036ae46eee7
当前原文的自动摘译,尚未人工审校。
快速参考
命令 · 作用
/ads photoshoot· 交互式:询问产品 + 款式/ads photoshoot --styles studio floating· 仅生成选定的款式/ads photoshoot --product shoe.jpg· 从产品图像文件开始/ads photoshoot --all-platforms· 生成每种款式的所有 5 种尺寸环境设置
需要配置了 nanobanana-mcp 的 Banana-claude (v1.4.1+)。运行
/banana setup配置API密钥和MCP。第 2 步:加载品牌简介(可选)
检查当前目录中是否有
brand-profile.json。如果找到,提取样式注入:colors.primary→ 注入背景和强调元素aesthetic.mood_keywords→ 作为氛围描述符注入target_audience→ 用于生活方式和使用上下文