jpskill.com
🎨 画像AI コミュニティ

商品写真AI生成

ads-photoshoot

商品の写真から、スタジオ撮影風、浮遊感のある写真、使用イメージなど、広告に使えるプロのような高品質な写真をAIで自動生成し、商品イメージを効果的に高めるSkill。

📜 元の英語説明(参考)

Product photography enhancement for ad creatives using AI image generation. Takes a product image and generates 5 professional photography styles for ad use: Studio, Floating, Ingredient, In Use, and Lifestyle. Requires GOOGLE_API_KEY or configured ADS_IMAGE_PROVIDER. Triggers on: "product photo", "product photography", "photoshoot", "enhance product image", "product shoot", "product photos for ads", "generate product photos", "studio shot", "lifestyle photo".

🇯🇵 日本人クリエイター向け解説

一言でいうと

商品の写真から、スタジオ撮影風、浮遊感のある写真、使用イメージなど、広告に使えるプロのような高品質な写真をAIで自動生成し、商品イメージを効果的に高めるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o ads-photoshoot.zip https://jpskill.com/download/10504.zip && unzip -o ads-photoshoot.zip && rm ads-photoshoot.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10504.zip -OutFile "$d\ads-photoshoot.zip"; Expand-Archive "$d\ads-photoshoot.zip" -DestinationPath $d -Force; ri "$d\ads-photoshoot.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して ads-photoshoot.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → ads-photoshoot フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] ads-photoshoot

広告写真撮影 — AIによる製品写真

製品の画像または説明を、広告にすぐに使えるプロフェッショナルな写真に、5つの異なるビジュアルスタイルで変換します。各スタイルは、1:1 (Meta/LinkedIn) と 9:16 (TikTok/Reels/Stories) の2つのサイズで生成されます。

クイックリファレンス

コマンド 説明
/ads photoshoot インタラクティブ: 製品とスタイルを尋ねます
/ads photoshoot --styles studio floating 選択したスタイルのみを生成します
/ads photoshoot --product shoe.jpg 製品画像ファイルから開始します
/ads photoshoot --all-platforms スタイルごとに5つのサイズすべてを生成します

環境設定

export GOOGLE_API_KEY="your-key"
# 代替プロバイダーについては /ads generate を参照してください

プロセス

ステップ 1: 製品情報を収集する

以下を(1つのメッセージにまとめて)尋ねます。

  1. 製品画像: 製品画像ファイルへのパス (ローカル) または製品 URL またはテキストによる説明

    "製品画像のパス (例: ./product.jpg)、URL を指定するか、製品を説明してください"

  2. 製品説明: それは何ですか?強調すべき主な機能は? (プロンプトの品質に役立ちます)
  3. 生成するスタイル: 5つのスタイルのうちどれですか? (デフォルト: 5つすべて)
    • Studio, Floating, Ingredient, In Use, Lifestyle
  4. ターゲットプラットフォーム: これらはどのプラットフォームで実行されますか?
    • 出力サイズを決定します (デフォルト: Meta + TikTok → 1:1 + 9:16)

ステップ 2: ブランドプロファイルをロードする (オプション)

現在のディレクトリに brand-profile.json があるかどうかを確認します。

見つかった場合は、スタイル注入のために抽出します。

  • colors.primary → 背景とアクセント要素に注入します
  • aesthetic.mood_keywords → 雰囲気の記述子として注入します
  • target_audience → Lifestyle および In Use のコンテキストに使用します
  • imagery.forbidden → すべてのプロンプトから除外します

見つからない場合は、標準のスタイルテンプレートで続行します。

ステップ 3: APIキーを確認する

生成する前に、必要な環境変数が設定されていることを確認します。

python3 -c "
import os, sys
provider = os.environ.get('ADS_IMAGE_PROVIDER', 'gemini')
keys = {'gemini': 'GOOGLE_API_KEY', 'openai': 'OPENAI_API_KEY',
        'stability': 'STABILITY_API_KEY', 'replicate': 'REPLICATE_API_TOKEN'}
env_var = keys.get(provider, 'GOOGLE_API_KEY')
if not os.environ.get(env_var):
    print(f'Error: {env_var} not set (provider: {provider})', file=sys.stderr)
    sys.exit(1)
print(f'OK: {env_var} is set')
"

これがコード 1 で終了する場合は、~/.claude/skills/ads/references/image-providers.md から設定手順を表示して停止します。

ステップ 4: スタイルごとにプロンプトを構築する

選択したスタイルごとに、テンプレート + 製品説明 + ブランドDNA を使用してプロンプトを構築します。

スタイル 1: Studio

クリーンな、eコマーススタイルの製品ショット。

基本テンプレート:

"[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"

構成: 中央揃え、わずかに3/4の角度またはフラットレイ。 出力サイズ: 1080×1080, 1080×1920

スタイル 2: Floating

劇的な浮揚効果。

基本テンプレート:

"[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"

構成: 製品は垂直方向に中央揃え、上下に十分なスペース。 出力サイズ: 1080×1080, 1080×1920

スタイル 3: Ingredient

コンポーネントとのフラットレイ。

基本テンプレート:

"[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"

構成: トップダウン、製品は中央、材料が扇状に広がっています。 出力サイズ: 1080×1080 (このスタイルに最適)

スタイル 4: In Use

本物の使用状況のコンテキスト。

基本テンプレート:

"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"

構成: 手が目立つ、製品が明確に識別可能、背景はソフトフォーカス。 注: 手のみ — 顔全体は含めない (モデルリリースの複雑さを回避)。 出力サイズ: 1080×1080, 1080×1920

スタイル 5: Lifestyle

意欲的なフルコンテキストショット。

基本テンプレート:

"[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"

構成: 環境コンテキスト、製品はシーン内のヒーロー要素として。 出力サイズ: 1080×1080, 1080×1920

ステップ 5: 画像を生成する

スタイル × サイズの組み合わせごとに:

python ~/.claude/skills/ads/scripts/generate_image.py \
  "[constructed prompt]" \
  --size [WxH] \
  --output ./product-photos/[style]/[product-slug]-[style]-[WxH].png \
  --json

結果を追跡します。生成が失敗した場合は、簡略化されたプロンプトで一度再試行します。

ステップ 6: 整理とレポート

出力ディレクトリ構造:

./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
  in-use/
    product-in-use-1080x1080.png
    product-in-use-1080x1920.png
  lifestyle/
    product-lifestyle-1080x1080.png
    product-lifestyle-1080x1920.png

概要:

✓ 生成された製品写真: [N

(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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

export GOOGLE_API_KEY="your-key"
# See /ads generate for alternative providers

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: Check API Key

Verify the required environment variable is set before generating:

python3 -c "
import os, sys
provider = os.environ.get('ADS_IMAGE_PROVIDER', 'gemini')
keys = {'gemini': 'GOOGLE_API_KEY', 'openai': 'OPENAI_API_KEY',
        'stability': 'STABILITY_API_KEY', 'replicate': 'REPLICATE_API_TOKEN'}
env_var = keys.get(provider, 'GOOGLE_API_KEY')
if not os.environ.get(env_var):
    print(f'Error: {env_var} not set (provider: {provider})', file=sys.stderr)
    sys.exit(1)
print(f'OK: {env_var} is set')
"

If this exits with code 1, show setup instructions from ~/.claude/skills/ads/references/image-providers.md and stop.

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)

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

Step 5: Generate Images

For each style × size combination:

python ~/.claude/skills/ads/scripts/generate_image.py \
  "[constructed prompt]" \
  --size [WxH] \
  --output ./product-photos/[style]/[product-slug]-[style]-[WxH].png \
  --json

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
  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/ (1 size — square only)
  In Use:     ./product-photos/in-use/ (2 sizes)
  Lifestyle:  ./product-photos/lifestyle/ (2 sizes)

  Estimated cost: [N] images × $0.067 = ~$[total]

  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 × 2 sizes = total images
  • "$[N] images × $0.067 = ~$[total] (Gemini default)"
  • 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