Avatar
虚拟形象助手:集成 Simli 视频渲染和 ElevenLabs TTS 的交互式 AI 虚拟形象
Interactive AI avatar with Simli video rendering and ElevenLabs TTS
clawhub install avatarAI 虚拟形象生成:根据照片或文本描述使用 AI 技术生成虚拟人物形象。
Generate AI avatars from photos or text descriptions using each::sense.
也可通过以下平台安装:
clawhub install ai-avatar-generation# 安装 Skill npx skills add eachlabs/skills@ai-avatar-generation # 安装后 Claude Code 会自动识别并使用
# 同样的安装命令,兼容所有支持 SKILL.md 的 AI 编程工具 npx skills add eachlabs/skills@ai-avatar-generation
需调用 each::sense API,可能产生 API 调用费用,需注册密钥
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a professional avatar from this selfie, make it look like a corporate headshot with studio lighting",
"mode": "max",
"image_urls": ["https://example.com/my-selfie.jpg"]
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-selfie.jpg"]
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/reference-photo.jpg"]
}'
# Wizard Avatar
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Knight Avatar
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Instagram Profile Avatar
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Discord/Gaming Avatar
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Initial request - set up the session
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "I want to create multiple avatar variations from this photo. Start with a professional headshot version.",
"mode": "max",
"session_id": "avatar-variations-001",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Second variation - cartoon style
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now create a cartoon/illustrated version of the same person",
"session_id": "avatar-variations-001"
}'
# Third variation - 3D render
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a 3D rendered version, like a video game character",
"session_id": "avatar-variations-001"
}'
# Define the character
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"session_id": "consistent-character-001",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Same character, different pose
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Generate the same character in a 3/4 side view, looking confident with arms crossed. Maintain exact same style, colors, and features.",
"session_id": "consistent-character-001"
}'
# Same character, action pose
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now show the same character waving hello, friendly expression. Keep all features consistent with previous images.",
"session_id": "consistent-character-001"
}'
# Beach/Travel themed
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Studio with colored backdrop
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Nature/Outdoor backdrop
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "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.",
"mode": "max",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
session_id to maintain context across requestsmax | Final avatars, professional headshots, detailed fantasy characters | Slower | Highest |
| eco | Quick previews, style exploration, bulk variations | Faster | Good |session_id to iterate and refine your avatar:# Initial avatar
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a professional avatar from this photo",
"session_id": "my-avatar-project",
"image_urls": ["https://example.com/my-photo.jpg"]
}'
# Refine based on feedback
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Make the lighting warmer and add a slight smile",
"session_id": "my-avatar-project"
}'
# Try a different style
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Can you make a cartoon version of this same avatar?",
"session_id": "my-avatar-project"
}'
Failed to create prediction: HTTP 422 | 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 |each-sense - Core API documentationproduct-photo-generation - E-commerce product shotsmeta-ad-creative-generation - Social media ad creatives```bash
# 安装并配置
npx skills add eachlabs/skills@ai-avatar-generation
export EACH_SENSE_API_KEY='your_api_key'
# 从照片生成虚拟形象
avatar generate \
--photo profile.jpg \
--style realistic \
--emotion happy \
--output avatar.png
# 从文本生成多个变体
avatar create \
--description "商务风格亚洲女性" \
--variations 3 \
--output avatar_{n}.png
```虚拟形象助手:集成 Simli 视频渲染和 ElevenLabs TTS 的交互式 AI 虚拟形象
Interactive AI avatar with Simli video rendering and ElevenLabs TTS
clawhub install avatarAI Avatar Generation:从照片或文字描述生成专业的 AI 虚拟人物,包括真人头像、卡通形象、3D 角色等。
Generate AI avatars from photos or text descriptions using each::sense. Create professional headshots, cartoon avatars, 3D characters, fantasy personas, gami...
clawhub install ai-avatar-generation