ai-avatar-generation について
ai-avatar-generation は each::sense を使うアバター作成スキルです。自撮り写真や説明から、プロ向け・カートゥーン・3D・ファンタジー・SF風の画像を作成し、プロフィールやゲーム用途に使えます。ポーズを変えてもキャラクターの一貫性を保てます。
主な機能
- 01自撮り写真からプロ向けアバターを作成
- 02カートゥーン・3D・テーマキャラクターを生成
- 03ソーシャルプラットフォーム向けアバター
- 04ポーズやスタイルをまたいだ一貫性
活用シーン
- 01自撮り写真をプロ向けヘッドショットに変換
- 02ゲームプロフィール用のファンタジーアバター作成
- 03ソーシャルアカウント用のカートゥーンアバター作成
- 04同じキャラクターの複数ポーズを生成
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ eachlabs/ skills --skill ai-avatar-generationインストール後、Claude Code で/ai-avatar-generationを入力して読み込まれたか確認します。
同梱ファイルreferences/SSE-EVENTS.md
詳細
AI アバター生成
each::sense を使って、魅力的な AI アバターを生成します。自撮り写真をプロフェッショナルなヘッドショットに変換したり、漫画風や 3D アバターを作成したり、ファンタジーキャラクターをデザインしたり、ゲーム、ソーシャルメディア、仕事で使える一貫性のあるアバターを生成したりできます。
機能
- プロフェッショナルなアバター:カジュアルな写真を洗練されたヘッドショットに変換します
- 漫画風アバター:写真をさまざまな漫画風やイラスト風のスタイルに変換します
- 3D アバター:写真や説明から 3D キャラクターのレンダリングを生成します
- ファンタジーアバター:魔法使い、騎士、エルフなどのファンタジーの人物像を作成します
- SF アバター:未来的、サイバーパンク、宇宙をテーマにしたキャラクターをデザインします
- ソーシャルメディアのプロフィール:LinkedIn、Instagram などのプラットフォームに最適化されたアバターを作成します
- ゲーム用アバター:RPG キャラクター、ストリーマー、ゲーム向けの人物像を作成します
- 一貫性のあるキャラクター:同じキャラクターを、複数のポーズやスタイルで生成します
クイックスタート
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 avatar from this selfie, make it look like a corporate headshot with studio lighting"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-selfie.jpg"]
}'
アバターのスタイルと用途
| スタイル | 最適な用途 | 出力品質 |
|---|---|---|
| プロフェッショナルなヘッドショット | LinkedIn、企業プロフィール、履歴書 | 写真のようにリアル |
| 漫画/イラスト | ソーシャルメディア、カジュアルなプラットフォーム、個人ブランディング | スタイライズ |
| 3D レンダリング | ゲーム、メタバース、仮想世界 | 3D キャラクター |
| ファンタジー/テーマ別 | ゲームプロフィール、クリエイティブコミュニティ、RPG | 芸術的 |
| アニメ/漫画 | Discord、ストリーミング、アニメコミュニティ | アニメ風 |
| ピクセルアート | ゲーム、レトロなプラットフォーム、NFT | ピクセル風 |
用途の例
1. 自撮り写真からプロフェッショナルなアバターを作成
カジュアルな自撮り写真を、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": "Transform this selfie into a professional corporate headshot. Clean studio background (soft gray gradient), perfect lighting, slight smile, confident expression. Make it suitable for LinkedIn. Keep my facial features recognizable but enhance to look polished and professional."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-selfie.jpg"]
}'
2. 漫画風アバター
写真を楽しい漫画風またはイラスト風のアバターに変換します。
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": "Convert this photo into a Pixar-style cartoon avatar. Exaggerated friendly features, big expressive eyes, smooth colorful rendering. Keep the likeness recognizable but make it fun and animated. Bright cheerful background."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
3. 3D アバターの生成
写真や説明から、3D レンダリングされたアバターキャラクターを作成します。
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": "Generate a 3D rendered avatar based on this photo. Make it look like a high-quality video game character with clean topology, subsurface skin scattering, realistic hair rendering. Neutral pose, front-facing, clean dark studio background. Suitable for metaverse or gaming profile."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/reference-photo.jpg"]
}'
4. ファンタジーをテーマにしたアバター(魔法使い、騎士)
ゲームやクリエイティブコミュニティ向けに、ファンタジーキャラクターのアバターを作成します。
# Wizard Avatar
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 photo into a powerful wizard avatar. Add a mystical purple cloak with glowing runes, a long silver beard (if male) or flowing magical hair, ancient staff, and magical energy particles around the hands. Fantasy art style, dramatic lighting with magical glow. Epic RPG character portrait."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Knight Avatar
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 photo into a noble knight avatar. Shining silver armor with gold accents, red cape, battle-worn but heroic appearance. Medieval castle background with dramatic sunset. Keep my facial features but make me look like a legendary warrior. High fantasy art style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
5. SF をテーマにしたアバター
未来的なサイバーパンクや宇宙をテーマにしたキャラクターのアバターをデザインします。
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 photo into a cyberpunk avatar. Add neon circuit tattoos, cybernetic eye implant with glowing blue iris, futuristic collar with LED strips, slick dark hair with neon highlights. Dark city background with rain and neon signs. Blade Runner aesthetic, dramatic lighting."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
6. ソーシャルメディアのプロフィール用アバター
さまざまなソーシャルネットワークに最適化されたアバターを作成します。
# Instagram Profile Avatar
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 trendy Instagram profile avatar from this photo. Modern aesthetic, soft warm filter, slight glow effect, friendly approachable expression. 1:1 square format optimized for circular crop. Pastel gradient background. Keep it authentic but polished, influencer-style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Discord/Gaming Avatar
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 cool Discord avatar from this photo. Anime-inspired style with bold outlines, vibrant colors, confident expression. Add gaming headphones, RGB lighting effects in the background. Square format, works well at small sizes. Energetic gamer aesthetic."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
7. ゲーム用アバター
ゲームプロフィールやストリーミング向けのキャラクターアバターを生成します。
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 an epic gaming avatar from this photo. Transform me into an RPG hero character - detailed armor, confident battle-ready pose, dramatic lighting with volumetric rays. Style similar to League of Legends or Valorant character art. High detail, vibrant colors, professional esports team portrait quality."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
8. 複数のアバターバリエーション
同じ人物のさまざまなスタイルのバリエーションを複数生成します。
# Initial request - set up the 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": "I want to create multiple avatar variations from this photo. Start with a professional headshot version."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "avatar-variations-001",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Second variation - cartoon 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": "Now create a cartoon/illustrated version of the same person"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "avatar-variations-001"
}'
# Third variation - 3D render
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 3D rendered version, like a video game character"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "avatar-variations-001"
}'
9. さまざまなポーズで一貫性のあるキャラクターを作成
一貫性を保ちながら、同じキャラクターを複数のポーズで生成します。
# Define the character
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 character avatar based on this photo. Professional illustration style, clean lines, distinctive features. This will be my consistent character for multiple images. Front-facing portrait first."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"session_id": "consistent-character-001",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Same character, different pose
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": "Generate the same character in a 3/4 side view, looking confident with arms crossed. Maintain exact same style, colors, and features."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "consistent-character-001"
}'
# Same character, action pose
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 show the same character waving hello, friendly expression. Keep all features consistent with previous images."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "consistent-character-001"
}'
10. 背景をカスタマイズしたアバター
特定のテーマに合わせた背景付きのアバターを作成します。
# Beach/Travel themed
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 an avatar from this photo with a beautiful tropical beach background. Sunset golden hour lighting, palm trees, ocean waves. Make it look like a premium travel profile picture. Professional color grading, dreamy atmosphere."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Studio with colored backdrop
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 avatar from this photo with a vibrant gradient background (purple to blue). Studio lighting setup, clean and modern. Perfect for a creative professional or designer profile."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Nature/Outdoor backdrop
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": "Generate an avatar with a mountain landscape background. Person in focus with bokeh effect on the scenic mountains behind. Adventure/outdoor enthusiast vibe. Natural lighting, authentic feel."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
ベストプラクティス
写真入力のヒント
- 顔がはっきり見えること:顔が十分に明るく、はっきり見えるようにしてください
- 正面向きがおすすめ:正面または少し斜めから撮影した写真で最良の結果が得られます
- 高解像度:入力画像の解像度が高いほど、出力品質が向上します
- シンプルな背景:背景がシンプルだと、被写体を切り出しやすくなります
アバター向けプロンプトのヒント
- スタイルを明確に指定する:漫画風、3D、リアル、アニメ風など
- 希望する特徴を説明する:照明、表情、ポーズ
- プラットフォームを指定する:LinkedIn、Instagram、ゲームなど。最適化の内容に影響します
- 背景の希望を含める:スタジオ、グラデーション、テーマ別など
- 一貫性を求める:複数のアバターを作成する場合は、session_id を使い、以前の出力を参照します
スタイルの一貫性
同じ人物のアバターを複数作成する場合:
- リクエスト間のコンテキストを維持するには、
session_idを使用します - 新しいポーズをリクエストするときは、以前に生成したものを参照します
- 一貫性を保つ特徴を具体的に指定します
モードの選択
生成する前にユーザーに確認してください:
「速度と低コストを優先しますか、それとも高品質を優先しますか?」
| モード | 最適な用途 | 速度 | 品質 |
|---|---|---|---|
max | 最終版のアバター、プロフェッショナルなヘッドショット、細部まで描き込んだファンタジーキャラクター | 遅め | 最高 |
eco | 手早いプレビュー、スタイルの検討、大量のバリエーション作成 | 速め | 良好 |
複数ターンでのアバターの調整
session_id を使用して、アバターを繰り返し調整できます。
# Initial avatar
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 avatar from this photo"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "my-avatar-project",
"image_urls": ["https://example.com/my-photo.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 add a slight smile"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "my-avatar-project"
}'
# Try a different 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": "Can you make a cartoon version of this same avatar?"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "my-avatar-project"
}'
エラー処理
| エラー | 原因 | 解決策 |
|---|---|---|
Failed to create prediction: HTTP 422 | 残高不足 | eachlabs.ai でチャージします |
| コンテンツポリシー違反 | 禁止されているコンテンツ | 写真とプロンプトがコンテンツポリシーに準拠していることを確認します |
| タイムアウト | 生成が複雑 | クライアントのタイムアウトを最低 10 分に設定します |
| 似ていない | 入力画像の品質が低い | 解像度が高く、顔がはっきり写った明るい写真を使用します |
関連スキル
each-sense- コア API ドキュメントproduct-photo-generation- E コマース向けの商品写真meta-ad-creative-generation- ソーシャルメディア広告のクリエイティブ