ai-headshot-generation について
写真またはテキストの説明から、each::sense でプロ向けの AI ヘッドショットを作成するスキルです。背景、服装、表情、画像形式を調整でき、個人用からチームで統一した肖像まで対応します。
主な機能
- 01写真や説明から肖像を生成
- 02企業・経営幹部向けの肖像スタイル
- 03背景と服装の変更
- 04表情のバリエーション作成
- 05チーム写真のスタイル統一
- 06複数プラットフォーム向け形式
活用シーン
- 01LinkedIn のプロフィール写真を用意
- 02企業サイト用の社員肖像を作成
- 03チーム向けに統一感のある写真を作成
- 04履歴書や登壇者プロフィール用の肖像を作成
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ eachlabs/ skills --skill ai-headshot-generationインストール後、Claude Code で/ai-headshot-generationを入力して読み込まれたか確認します。
同梱ファイルreferences/SSE-EVENTS.md
詳細
AI ヘッドショットの生成
each::sense を使用して、カジュアルな写真やテキストの説明から、プロフェッショナルな AI ヘッドショットを生成します。このスキルでは、企業での使用、ソーシャルメディアのプロフィール、履歴書、マーケティング資料に適した、洗練されたプロフェッショナルなポートレートを作成します。
特長
- 企業向けヘッドショット:企業のウェブサイトやディレクトリに掲載するプロフェッショナルなポートレート
- LinkedIn の写真:ビジネスネットワーキングに最適化されたヘッドショット
- エグゼクティブポートレート:経営幹部やリーダー向けのプレミアムなヘッドショット
- チーム写真:複数のチームメンバーで統一されたスタイル
- 背景の選択肢:オフィス、スタジオ、グラデーション、またはカスタム背景
- 服装の変更:カジュアルな服装をプロフェッショナルなビジネスウェアに変換
- 表情のバリエーション:同じ元画像から複数の表情を生成
- 複数プラットフォーム対応:さまざまなアスペクト比や用途に合わせて最適化
クイックスタート
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional corporate headshot from this casual photo. Clean background, professional lighting, business appropriate appearance."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/casual-photo.jpg"]
}'
ヘッドショットの形式とサイズ
| 用途 | アスペクト比 | 推奨サイズ | 備考 |
|---|---|---|---|
| 1:1 | 400x400 to 800x800 | 正方形にトリミングし、頭から肩までを含めます | |
| 企業ウェブサイト | 3:4 | 600x800 | 標準的なポートレートの向きです |
| 履歴書/CV | 1:1 or 3:4 | 300x300 or 300x400 | シンプルで、背景を最小限にします |
| メール署名 | 1:1 | 150x150 to 300x300 | 小さくても見分けやすくします |
| スピーカープロフィール | 1:1 or 16:9 | 800x800 or 1920x1080 | カンファレンスやイベントで使用します |
| チームページ | 1:1 | 500x500 | チーム全体で統一します |
ユースケースの例
1. カジュアルな写真から企業向けヘッドショットを作成
カジュアルな自撮り写真や個人写真を、洗練された企業向けヘッドショットに変換します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Transform this casual photo into a professional corporate headshot. Use a clean neutral gray background, soft professional studio lighting, and ensure the subject looks polished and approachable. Keep the likeness accurate."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/casual-selfie.jpg"]
}'
2. LinkedIn プロフィール用ヘッドショット
プロフェッショナルさと親しみやすさが伝わる、LinkedIn 専用に最適化されたヘッドショットを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a LinkedIn-optimized professional headshot from this photo. Square 1:1 format, friendly but professional expression, clean blurred office background, warm natural lighting. The subject should appear confident and approachable."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/source-photo.jpg"]
}'
3. エグゼクティブ向けヘッドショット
経営幹部、取締役、シニアリーダー向けのプレミアム品質のヘッドショットです。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a premium executive headshot from this photo. Dark sophisticated background with subtle gradient, dramatic professional lighting, formal business attire appearance. The subject should convey authority, confidence, and leadership. Magazine cover quality."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/ceo-casual.jpg"]
}'
4. チーム向けヘッドショット(統一されたスタイル)
チームメンバーのヘッドショットを同じスタイルで生成し、組織全体で一貫した見た目にします。
# First team member - establish the style
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional team headshot with these specifications: light gray background, soft diffused lighting from the left, 1:1 square format, head and shoulders framing. Professional but friendly expression. This will be the template style for our entire team."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "team-headshots-2024",
"mode": "max",
"image_urls": ["https://example.com/team-member-1.jpg"]
}'
# Second team member - maintain consistency
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a headshot for this team member using the exact same style as the previous one - same background, lighting, framing, and overall aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "team-headshots-2024",
"mode": "max",
"image_urls": ["https://example.com/team-member-2.jpg"]
}'
# Third team member
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a headshot for this team member matching our established team style."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "team-headshots-2024",
"mode": "max",
"image_urls": ["https://example.com/team-member-3.jpg"]
}'
5. 背景を変えたヘッドショット
同じヘッドショットを、さまざまな背景の選択肢で生成します。
# Office background
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional headshot with a blurred modern office background. Glass windows, city view visible but out of focus. Natural daylight feel."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "background-variations",
"mode": "max",
"image_urls": ["https://example.com/source-photo.jpg"]
}'
# Studio gradient background
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Now create the same headshot but with a classic studio gradient background - deep blue fading to lighter blue. Keep the same professional lighting on the subject."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "background-variations",
"mode": "max"
}'
# Nature/outdoor background
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create another variation with a natural outdoor background - soft green foliage, blurred bokeh effect, golden hour lighting. More relaxed professional vibe."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "background-variations",
"mode": "max"
}'
6. 服装を変えたヘッドショット
プロフェッショナルな服装の選択肢を使って、被写体の見た目を変えます。
# Navy suit
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional headshot from this casual photo. Dress the subject in a classic navy blue business suit with a white dress shirt and subtle tie. Clean gray background, professional studio lighting."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "outfit-variations",
"mode": "max",
"image_urls": ["https://example.com/casual-photo.jpg"]
}'
# Business casual
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create another version with business casual attire - a blazer over a smart polo shirt or open-collar dress shirt. Same background and lighting as before."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "outfit-variations",
"mode": "max"
}'
# Creative professional
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a version for creative industry - stylish but professional, perhaps a dark turtleneck or modern collarless jacket. Contemporary creative professional look."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "outfit-variations",
"mode": "max"
}'
7. 履歴書/CV 用ヘッドショット
就職への応募や CV に最適化された、シンプルでプロフェッショナルなヘッドショットです。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a clean, professional headshot suitable for a resume or CV. Simple solid light background (white or very light gray), professional attire, friendly and confident expression. The photo should be conservative and appropriate for any industry. Square format, head and shoulders framing."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/applicant-photo.jpg"]
}'
8. スピーカー/著者向けヘッドショット
カンファレンスのスピーカー、著者、オピニオンリーダー向けの、印象的なヘッドショットです。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a compelling speaker/author headshot. The subject should appear engaging, confident, and dynamic. Use dramatic lighting with a dark background to create visual impact. Slight smile, eyes that connect with the viewer. This should work well on book covers, conference websites, and keynote slides. High contrast, memorable, professional."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/author-source.jpg"]
}'
9. 不動産エージェント向けヘッドショット
不動産業界のプロフェッショナル向けの、親しみやすく信頼感のあるヘッドショットです。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a real estate agent headshot. The subject should appear trustworthy, friendly, and professional. Warm lighting, genuine smile, approachable expression. Background should be a subtle blurred interior of an upscale home or modern building. Professional but not stiff - someone you would trust to help you buy a home."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/agent-photo.jpg"]
}'
10. 表情のバリエーションを複数生成
同じ元写真から、表情の異なる候補を複数生成します。
# Confident/serious
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional headshot with a confident, serious expression. Professional and authoritative, suitable for a law firm or financial services. Neutral gray background, classic professional lighting."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "expression-variations",
"mode": "max",
"image_urls": ["https://example.com/source-photo.jpg"]
}'
# Friendly/approachable
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Now create a variation with a warm, friendly smile. Approachable and welcoming, suitable for customer-facing roles or consulting. Same background and lighting setup."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "expression-variations",
"mode": "max"
}'
# Thoughtful/engaged
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create another variation with a thoughtful, engaged expression - slight smile, intelligent and curious look. Good for tech industry or academia. Same background and lighting."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "expression-variations",
"mode": "max"
}'
ベストプラクティス
写真入力のガイドライン
- 顔の見えやすさ:顔がはっきりと見え、明るく、隠れていないことを確認してください
- 解像度:最良の結果を得るには、512x512 ピクセル以上の元写真を使用してください
- 角度:正面向き、または少し角度をつけた(3/4 ビュー)写真が最適です
- 照明:元写真では、強い影や極端な逆光を避けてください
- 表情:元写真は、無表情または自然な表情が最もよい変換結果につながります
プロフェッショナルなヘッドショットの基準
- 構図:頭から肩までを含め、顔が縦方向の空間の60~70%を占めるようにします
- アイコンタクト:被写体が見る人を見ているようにします
- 背景:シンプルで気が散らず、被写体を引き立てるものにします
- 照明:強い影を抑える、柔らかく魅力的な光を使います
- 服装:業界や役割にふさわしいものを選びます
業界別のおすすめ
| 業界 | スタイル | 背景 | 服装 |
|---|---|---|---|
| 金融/法律 | 保守的、フォーマル | ニュートラルなグレー/ブルー | ダークスーツ、伝統的 |
| テクノロジー | モダン、親しみやすい | シンプルなグラデーションまたはオフィス | スマートカジュアルからビジネススタイル |
| クリエイティブ | ダイナミック、個性的 | 大胆または芸術的 | 現代的、スタイリッシュ |
| 医療 | 信頼感があり、温かみのある | 明るく、臨床的またはニュートラル | プロフェッショナル、白衣は任意 |
| 不動産 | 親しみやすく、信頼感のある | ぼかした住宅の内装 | ビジネススタイル |
| 学術 | 思慮深く、信頼性のある | 図書館またはニュートラル | ビジネスカジュアルからフォーマル |
モードの選択
生成する前に、ユーザーに尋ねます。
「速くて低コストなものと、高品質なもののどちらがよいですか?」
| モード | おすすめの用途 | 速度 | 品質 |
|---|---|---|---|
max | 最終的なヘッドショット、クライアントへの納品物、役員のポートレート | 遅め | 最高 |
eco | 手早いプレビュー、スタイルのテスト、大量のドラフト作成 | 速め | 良好 |
複数ターンでのヘッドショットの調整
session_id を使ってヘッドショットを繰り返し調整し、完成度を高めます。
# Initial generation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a professional headshot from this photo with a blue gradient background"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "headshot-refinement",
"mode": "max",
"image_urls": ["https://example.com/source.jpg"]
}'
# Refine based on feedback
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Make the lighting warmer and the expression slightly more friendly. Keep the same background."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "headshot-refinement",
"mode": "max"
}'
# Final adjustments
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Perfect. Now generate 2 more slight variations of this final result."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "headshot-refinement",
"mode": "max"
}'
チーム向け一括生成
チーム全体のヘッドショットを効率的に、統一感を保って生成します。
# Define team style first
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "I need to create headshots for a team of 10 people. Our brand colors are navy blue and white. We want: 1:1 square format, light gray background, soft professional lighting, business casual attire, friendly but professional expressions. First, create a headshot for this team member to establish the style."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "acme-corp-team",
"mode": "max",
"image_urls": ["https://example.com/team/person-1.jpg"]
}'
# Continue with remaining team members using same session
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create headshot for next team member, matching established style"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "acme-corp-team",
"mode": "eco",
"image_urls": ["https://example.com/team/person-2.jpg"]
}'
エラー処理
| エラー | 原因 | 解決方法 |
|---|---|---|
Failed to create prediction: HTTP 422 | 残高不足 | eachlabs.ai でチャージしてください |
| 顔が検出されない | 元画像で顔が見えていない | 顔がはっきり見える、より鮮明な写真を使用してください |
| 類似度が低い | 元画像の品質が低い | より高解像度の元画像(512x512 以上)を使用してください |
| タイムアウト | 生成処理が複雑 | クライアントのタイムアウトを最低 10 分に設定してください |
関連スキル
each-sense- コア API のドキュメントproduct-photo-generation- E コマースの商品写真撮影meta-ad-creative-generation- ソーシャルメディア広告のクリエイティブ