ai-avatar-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAI Avatar Generation
AI头像生成
Generate stunning AI avatars using each::sense. Transform selfies into professional headshots, create cartoon or 3D avatars, design fantasy characters, and generate consistent avatars for gaming, social media, and professional use.
使用each::sense生成精美AI头像。你可以将自拍转换为专业头像,创建卡通或3D头像,设计奇幻角色,还能生成适用于游戏、社交媒体和职业场景的一致性头像。
Features
功能特性
- Professional Avatars: Transform casual photos into polished headshots
- Cartoon Avatars: Convert photos to various cartoon and illustration styles
- 3D Avatars: Generate 3D character renders from photos or descriptions
- Fantasy Avatars: Create wizard, knight, elf, and other fantasy personas
- Sci-Fi Avatars: Design futuristic, cyberpunk, and space-themed characters
- Social Media Profiles: Platform-optimized avatars for LinkedIn, Instagram, etc.
- Gaming Avatars: RPG characters, streamers, and gaming personas
- Consistent Characters: Generate the same character across multiple poses and styles
- 专业头像:将日常随手拍的照片转换为精致的职业形象照
- 卡通头像:将照片转换为多种卡通、插画风格
- 3D头像:根据照片或描述生成3D角色渲染图
- 奇幻头像:创建巫师、骑士、精灵等各类奇幻人设
- 科幻头像:设计未来感、赛博朋克、太空主题的角色
- 社交媒体头像:适配LinkedIn、Instagram等平台的优化版头像
- 游戏头像:RPG角色、主播形象、游戏人设
- 一致性角色:生成同一角色的多姿势、多风格版本,保持人物特征统一
Quick Start
快速开始
bash
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"]
}'bash
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"]
}'Avatar Styles & Use Cases
头像风格与适用场景
| Style | Best For | Output Quality |
|---|---|---|
| Professional Headshot | LinkedIn, corporate profiles, resumes | Photorealistic |
| Cartoon/Illustration | Social media, casual platforms, personal branding | Stylized |
| 3D Render | Gaming, metaverse, virtual worlds | 3D Character |
| Fantasy/Themed | Gaming profiles, creative communities, RPG | Artistic |
| Anime/Manga | Discord, streaming, anime communities | Anime style |
| Pixel Art | Gaming, retro platforms, NFTs | Pixel style |
| 风格 | 最佳适用场景 | 输出质量 |
|---|---|---|
| 职业形象照 | LinkedIn、企业档案、简历 | 照片级写实 |
| 卡通/插画 | 社交媒体、休闲平台、个人品牌 | 风格化设计 |
| 3D渲染 | 游戏、元宇宙、虚拟世界 | 3D角色 |
| 奇幻/主题定制 | 游戏档案、创意社区、RPG | 艺术化创作 |
| 动漫/漫画 | Discord、直播、动漫社区 | 动漫风格 |
| 像素画 | 游戏、复古平台、NFT | 像素风格 |
Use Case Examples
用例示例
1. Professional Avatar from Selfie
1. 自拍生成职业头像
Transform a casual selfie into a polished professional headshot suitable for LinkedIn or corporate profiles.
bash
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"]
}'将日常自拍转换为适配LinkedIn或企业档案的精致职业形象照。
bash
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. Cartoon Style Avatar
2. 卡通风格头像
Convert a photo into a fun cartoon or illustrated avatar.
bash
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"]
}'将照片转换为趣味卡通或插画风格头像。
bash
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 Avatar Generation
3. 3D头像生成
Create a 3D rendered avatar character from a photo or description.
bash
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"]
}'根据照片或描述创建3D渲染的角色头像。
bash
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. Fantasy Themed Avatars (Wizard, Knight)
4. 奇幻主题头像(巫师、骑士)
Create fantasy character avatars for gaming or creative communities.
bash
undefined为游戏或创意社区创建奇幻角色头像。
bash
undefinedWizard 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"] }'
-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"] }'
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"] }'
-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"] }'
-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"] }'
undefinedcurl -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"] }'
-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"] }'
undefined5. Sci-Fi Themed Avatars
5. 科幻主题头像
Design futuristic cyberpunk or space-themed character avatars.
bash
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"]
}'设计未来感赛博朋克或太空主题的角色头像。
bash
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. Social Media Profile Avatars
6. 社交媒体档案头像
Create platform-optimized avatars for various social networks.
bash
undefined为各类社交网络创建平台优化的头像。
bash
undefinedInstagram Profile Avatar
Instagram档案头像
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"] }'
-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"] }'
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"] }'
-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
Discord/游戏头像
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"] }'
-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"] }'
undefinedcurl -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"] }'
-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"] }'
undefined7. Gaming Avatars
7. 游戏头像
Generate character avatars for gaming profiles and streaming.
bash
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"]
}'为游戏档案和直播生成角色头像。
bash
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. Multiple Avatar Variations
8. 多版本头像生成
Generate several different style variations of the same person.
bash
undefined为同一个人生成多种不同风格的头像版本。
bash
undefinedInitial 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"] }'
-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"] }'
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"] }'
-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" }'
-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" }'
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" }'
-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
第三个版本 - 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": "Create a 3D rendered version, like a video game character"}], "model": "eachsense/beta", "stream": true, "session_id": "avatar-variations-001" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined9. Consistent Character Across Poses
9. 多姿势一致性角色生成
Generate the same character in multiple poses while maintaining consistency.
bash
undefined生成同一角色的多个姿势版本,同时保持人物特征统一。
bash
undefinedDefine 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"] }'
-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"] }'
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"] }'
-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" }'
-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" }'
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" }'
-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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefined10. Avatar with Custom Backgrounds
10. 自定义背景头像
Create avatars with specific themed backgrounds.
bash
undefined创建带有特定主题背景的头像。
bash
undefinedBeach/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"] }'
-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"] }'
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"] }'
-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"] }'
-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"] }'
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"] }'
-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"] }'
-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"] }'
undefinedcurl -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"] }'
-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"] }'
undefinedBest Practices
最佳实践
Photo Input Tips
输入照片建议
- Clear face visibility: Ensure face is well-lit and clearly visible
- Front-facing preferred: Best results with front or slight angle photos
- Good resolution: Higher resolution input = better output quality
- Neutral background: Simpler backgrounds help isolate the subject
- 面部清晰可见:确保面部光线充足、清晰无遮挡
- 优先正面角度:正面或微侧角度的照片效果最佳
- 高分辨率:输入分辨率越高,输出质量越好
- 简洁背景:简单的背景更便于主体识别
Prompt Tips for Avatars
头像Prompt编写建议
- Specify style clearly: Cartoon, 3D, realistic, anime, etc.
- Describe desired features: Lighting, expression, pose
- Mention the platform: LinkedIn, Instagram, gaming - affects optimization
- Include background preferences: Studio, gradient, themed, etc.
- Request consistency: For multiple avatars, use session_id and reference previous outputs
- 明确指定风格:卡通、3D、写实、动漫等
- 描述期望特征:光线、表情、姿势
- 说明使用平台:LinkedIn、Instagram、游戏场景会影响优化方向
- 包含背景偏好:工作室、渐变、主题背景等
- 要求一致性:生成多版本头像时,使用session_id并引用之前的输出
Style Consistency
风格一致性
For creating multiple avatars of the same person:
- Use to maintain context across requests
session_id - Reference previous generations when requesting new poses
- Be specific about which features to keep consistent
为同一个人生成多个头像时:
- 使用在多个请求中保持上下文
session_id - 请求新姿势时引用之前生成的结果
- 明确说明需要保持一致的特征
Mode Selection
模式选择
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final avatars, professional headshots, detailed fantasy characters | Slower | Highest |
| Quick previews, style exploration, bulk variations | Faster | Good |
生成前可询问用户:
“你需要速度快成本低的版本,还是高质量版本?”
| 模式 | 最佳适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终输出头像、职业形象照、细节丰富的奇幻角色 | 较慢 | 最高 |
| 快速预览、风格探索、批量生成多版本 | 较快 | 良好 |
Multi-Turn Avatar Refinement
多轮头像优化
Use to iterate and refine your avatar:
session_idbash
undefined使用迭代优化你的头像:
session_idbash
undefinedInitial 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"] }'
-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"] }'
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"] }'
-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" }'
-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" }'
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" }'
-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" }'
-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" }'
undefinedcurl -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" }'
-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" }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Ensure photo and prompt comply with content policies |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Poor likeness | Low quality input | Use higher resolution, well-lit photo with clear face |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 前往eachlabs.ai充值 |
| 内容政策违规 | 包含禁止内容 | 确保照片和Prompt符合内容政策要求 |
| 请求超时 | 生成任务复杂 | 将客户端超时时间设置为至少10分钟 |
| 人物相似度低 | 输入质量差 | 使用分辨率更高、光线充足、面部清晰的照片 |
Related Skills
相关技能
- - Core API documentation
each-sense - - E-commerce product shots
product-photo-generation - - Social media ad creatives
meta-ad-creative-generation
- - 核心API文档
each-sense - - 电商产品图生成
product-photo-generation - - 社交媒体广告创意生成
meta-ad-creative-generation