digital-twin-generation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDigital Twin Generation
数字孪生体生成
Generate photorealistic digital twins and avatar clones using each::sense. This skill creates AI-powered digital representations of real people for video calls, corporate communications, customer service, and multilingual content delivery.
借助each::sense生成逼真的数字孪生体和虚拟形象克隆。该技能可为视频通话、企业沟通、客户服务以及多语言内容交付创建基于AI的真人数字化呈现。
Features
功能特性
- Photo-Based Digital Twins: Create digital clones from reference photos
- Photorealistic Avatars: Generate lifelike avatar representations
- Video Call Twins: Digital twins optimized for virtual meetings
- Corporate Spokespersons: Professional digital representatives for brand communication
- Customer Service Avatars: Consistent AI representatives for support interactions
- Multilingual Twins: Digital twins that can speak multiple languages
- Expressive Twins: Avatars with natural facial expressions and emotions
- Full-Body Twins: Complete digital representations including body and gestures
- Animated Videos: Bring digital twins to life with video generation
- Cross-Platform Consistency: Maintain identical appearance across all platforms
- 基于照片的数字孪生体:通过参考照片创建数字克隆
- 逼真虚拟形象:生成栩栩如生的虚拟形象呈现
- 视频通话专用孪生体:针对虚拟会议优化的数字孪生体
- 企业代言人:用于品牌沟通的专业数字化代表
- 客户服务虚拟形象:用于支持交互的一致性AI代表
- 多语言孪生体:可使用多种语言的数字孪生体
- 富有表现力的孪生体:具备自然面部表情和情绪的虚拟形象
- 全身孪生体:包含身体和手势的完整数字化呈现
- 动画视频:通过视频生成让数字孪生体动起来
- 跨平台一致性:在所有平台上保持一致的外观
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 photorealistic digital twin from these reference photos. Generate a professional headshot suitable for corporate use."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/person-photo1.jpg", "https://example.com/person-photo2.jpg"],
"mode": "max"
}'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 photorealistic digital twin from these reference photos. Generate a professional headshot suitable for corporate use."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/person-photo1.jpg", "https://example.com/person-photo2.jpg"],
"mode": "max"
}'Digital Twin Use Cases
数字孪生体使用场景
| Use Case | Description | Recommended Photos |
|---|---|---|
| Video Calls | Virtual meeting representation | 3-5 front-facing photos |
| Corporate Spokesperson | Brand communications | 5-10 professional photos |
| Customer Service | Support avatar | 3-5 neutral expression photos |
| Multilingual Content | Translated video content | 5+ varied angle photos |
| Social Media | Consistent online presence | 5-10 diverse photos |
| Training Videos | Educational content delivery | 5+ photos with expressions |
| 使用场景 | 描述 | 推荐照片 |
|---|---|---|
| 视频通话 | 虚拟会议中的个人呈现 | 3-5张正面照片 |
| 企业代言人 | 品牌传播 | 5-10张专业照片 |
| 客户服务 | 客服虚拟形象 | 3-5张中性表情照片 |
| 多语言内容 | 翻译后的视频内容 | 5张以上不同角度照片 |
| 社交媒体 | 统一的线上形象 | 5-10张多样化照片 |
| 培训视频 | 教学内容交付 | 5张以上带表情的照片 |
Use Case Examples
使用场景示例
1. Create Digital Twin from Photos
1. 通过照片创建数字孪生体
Generate a digital twin based on reference photographs for consistent identity representation.
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 digital twin from these reference photos. The twin should capture the exact likeness, skin tone, and facial features. Generate a high-quality portrait with professional studio lighting on a neutral gray background."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/reference-front.jpg",
"https://example.com/reference-angle.jpg",
"https://example.com/reference-side.jpg"
],
"mode": "max"
}'基于参考照片生成数字孪生体,实现一致的身份呈现。
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 digital twin from these reference photos. The twin should capture the exact likeness, skin tone, and facial features. Generate a high-quality portrait with professional studio lighting on a neutral gray background."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/reference-front.jpg",
"https://example.com/reference-angle.jpg",
"https://example.com/reference-side.jpg"
],
"mode": "max"
}'2. Photorealistic Avatar Clone
2. 逼真虚拟形象克隆
Create a highly detailed photorealistic avatar for digital presence across platforms.
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 photorealistic avatar clone from these photos. The avatar should be indistinguishable from a real photograph. Include fine details like skin texture, hair strands, and eye reflections. Output as a 1:1 square format suitable for profile pictures."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/subject-photo1.jpg",
"https://example.com/subject-photo2.jpg"
],
"mode": "max"
}'创建高度精细的逼真虚拟形象,用于跨平台的数字化展示。
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 photorealistic avatar clone from these photos. The avatar should be indistinguishable from a real photograph. Include fine details like skin texture, hair strands, and eye reflections. Output as a 1:1 square format suitable for profile pictures."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/subject-photo1.jpg",
"https://example.com/subject-photo2.jpg"
],
"mode": "max"
}'3. Digital Twin for Video Calls
3. 视频通话专用数字孪生体
Create an optimized digital twin for virtual meeting environments.
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 digital twin optimized for video calls. The twin should look natural in a home office setting with soft natural lighting. Include a subtle depth-of-field blur on the background. The person should have a friendly, approachable expression suitable for professional meetings."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/ceo-headshot.jpg",
"https://example.com/ceo-casual.jpg"
],
"mode": "max",
"session_id": "videocall-twin-001"
}'创建针对虚拟会议环境优化的数字孪生体。
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 digital twin optimized for video calls. The twin should look natural in a home office setting with soft natural lighting. Include a subtle depth-of-field blur on the background. The person should have a friendly, approachable expression suitable for professional meetings."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/ceo-headshot.jpg",
"https://example.com/ceo-casual.jpg"
],
"mode": "max",
"session_id": "videocall-twin-001"
}'4. Corporate Spokesperson Twin
4. 企业代言人孪生体
Generate a professional digital spokesperson for brand communications.
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 corporate spokesperson digital twin from these executive photos. The twin should appear authoritative yet approachable. Professional business attire, confident posture, clean corporate background with subtle brand colors (navy blue). Suitable for investor presentations and company announcements."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/exec-professional.jpg",
"https://example.com/exec-speaking.jpg",
"https://example.com/exec-portrait.jpg"
],
"mode": "max"
}'生成用于品牌传播的专业数字化代言人。
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 corporate spokesperson digital twin from these executive photos. The twin should appear authoritative yet approachable. Professional business attire, confident posture, clean corporate background with subtle brand colors (navy blue). Suitable for investor presentations and company announcements."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/exec-professional.jpg",
"https://example.com/exec-speaking.jpg",
"https://example.com/exec-portrait.jpg"
],
"mode": "max"
}'5. Customer Service Avatar
5. 客户服务虚拟形象
Create a consistent, friendly avatar for customer support interactions.
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 customer service avatar digital twin. The avatar should have a warm, helpful expression with a genuine smile. Professional but approachable appearance. Clean, minimal background. The twin will be used for chat support and help desk interfaces, so it should feel trustworthy and friendly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/support-rep-photo.jpg"
],
"mode": "max"
}'创建用于客户支持交互的一致、友好虚拟形象。
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 customer service avatar digital twin. The avatar should have a warm, helpful expression with a genuine smile. Professional but approachable appearance. Clean, minimal background. The twin will be used for chat support and help desk interfaces, so it should feel trustworthy and friendly."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/support-rep-photo.jpg"
],
"mode": "max"
}'6. Multilingual Digital Twin
6. 多语言数字孪生体
Create a digital twin designed for multilingual content delivery.
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 digital twin for multilingual video content. Generate the twin with a neutral mouth position that works well for lip-sync dubbing. Include multiple angles: front-facing, slight left turn, and slight right turn. The lighting should be even and consistent to ensure seamless video dubbing across different languages."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/presenter-front.jpg",
"https://example.com/presenter-left.jpg",
"https://example.com/presenter-right.jpg"
],
"mode": "max",
"session_id": "multilingual-twin-project"
}'创建专为多语言内容交付设计的数字孪生体。
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 digital twin for multilingual video content. Generate the twin with a neutral mouth position that works well for lip-sync dubbing. Include multiple angles: front-facing, slight left turn, and slight right turn. The lighting should be even and consistent to ensure seamless video dubbing across different languages."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/presenter-front.jpg",
"https://example.com/presenter-left.jpg",
"https://example.com/presenter-right.jpg"
],
"mode": "max",
"session_id": "multilingual-twin-project"
}'7. Digital Twin with Expressions
7. 带表情的数字孪生体
Generate a digital twin with various facial expressions for dynamic content.
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 digital twin with multiple expressions from these reference photos. Generate 4 variations: 1) Neutral professional expression, 2) Warm genuine smile, 3) Thoughtful/listening expression, 4) Enthusiastic/excited expression. All variations should maintain perfect identity consistency."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/person-neutral.jpg",
"https://example.com/person-smiling.jpg",
"https://example.com/person-serious.jpg"
],
"mode": "max",
"session_id": "expressive-twin-set"
}'生成具备多种面部表情的数字孪生体,用于动态内容。
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 digital twin with multiple expressions from these reference photos. Generate 4 variations: 1) Neutral professional expression, 2) Warm genuine smile, 3) Thoughtful/listening expression, 4) Enthusiastic/excited expression. All variations should maintain perfect identity consistency."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/person-neutral.jpg",
"https://example.com/person-smiling.jpg",
"https://example.com/person-serious.jpg"
],
"mode": "max",
"session_id": "expressive-twin-set"
}'8. Full-Body Digital Twin
8. 全身数字孪生体
Create a complete full-body digital representation including posture and gestures.
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 full-body digital twin from these reference photos. Include accurate body proportions, clothing style, and natural standing posture. The twin should be shown in a professional presentation pose with hands visible. Full-length view suitable for virtual events and digital stage presentations."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/fullbody-front.jpg",
"https://example.com/fullbody-side.jpg",
"https://example.com/headshot-detail.jpg"
],
"mode": "max"
}'创建包含姿势和手势的完整全身数字化呈现。
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 full-body digital twin from these reference photos. Include accurate body proportions, clothing style, and natural standing posture. The twin should be shown in a professional presentation pose with hands visible. Full-length view suitable for virtual events and digital stage presentations."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/fullbody-front.jpg",
"https://example.com/fullbody-side.jpg",
"https://example.com/headshot-detail.jpg"
],
"mode": "max"
}'9. Animated Digital Twin Video
9. 数字孪生体动画视频
Generate an animated video featuring the digital twin speaking or presenting.
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 10-second animated video of my digital twin. The twin should appear to be speaking naturally with subtle head movements and natural blinking. Professional office background with soft lighting. The animation should loop seamlessly for use as a video call placeholder."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/my-photo-front.jpg",
"https://example.com/my-photo-speaking.jpg"
],
"mode": "max"
}'生成包含数字孪生体说话或演示的动画视频。
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 10-second animated video of my digital twin. The twin should appear to be speaking naturally with subtle head movements and natural blinking. Professional office background with soft lighting. The animation should loop seamlessly for use as a video call placeholder."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": [
"https://example.com/my-photo-front.jpg",
"https://example.com/my-photo-speaking.jpg"
],
"mode": "max"
}'10. Consistent Twin Across Platforms
10. 跨平台一致孪生体
Create multiple format variations of a digital twin for cross-platform consistency.
bash
undefined创建数字孪生体的多种格式变体,确保跨平台一致性。
bash
undefinedInitial twin creation
Initial twin creation
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 digital twin master image from these photos. This will be the base for generating consistent avatars across multiple platforms. High resolution, neutral background, perfect lighting for easy adaptation."}], "model": "eachsense/beta", "stream": true, "image_urls": [ "https://example.com/master-photo1.jpg", "https://example.com/master-photo2.jpg", "https://example.com/master-photo3.jpg" ], "mode": "max", "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a digital twin master image from these photos. This will be the base for generating consistent avatars across multiple platforms. High resolution, neutral background, perfect lighting for easy adaptation."}], "model": "eachsense/beta", "stream": true, "image_urls": [ "https://example.com/master-photo1.jpg", "https://example.com/master-photo2.jpg", "https://example.com/master-photo3.jpg" ], "mode": "max", "session_id": "cross-platform-twin" }'
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 digital twin master image from these photos. This will be the base for generating consistent avatars across multiple platforms. High resolution, neutral background, perfect lighting for easy adaptation."}], "model": "eachsense/beta", "stream": true, "image_urls": [ "https://example.com/master-photo1.jpg", "https://example.com/master-photo2.jpg", "https://example.com/master-photo3.jpg" ], "mode": "max", "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a digital twin master image from these photos. This will be the base for generating consistent avatars across multiple platforms. High resolution, neutral background, perfect lighting for easy adaptation."}], "model": "eachsense/beta", "stream": true, "image_urls": [ "https://example.com/master-photo1.jpg", "https://example.com/master-photo2.jpg", "https://example.com/master-photo3.jpg" ], "mode": "max", "session_id": "cross-platform-twin" }'
LinkedIn format (1:1 square)
LinkedIn format (1:1 square)
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": "Using the digital twin we just created, generate a 1:1 square format version optimized for LinkedIn. Professional appearance with a subtle corporate background."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Using the digital twin we just created, generate a 1:1 square format version optimized for LinkedIn. Professional appearance with a subtle corporate background."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
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": "Using the digital twin we just created, generate a 1:1 square format version optimized for LinkedIn. Professional appearance with a subtle corporate background."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Using the digital twin we just created, generate a 1:1 square format version optimized for LinkedIn. Professional appearance with a subtle corporate background."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
Twitter/X format (circular crop friendly)
Twitter/X format (circular crop friendly)
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 circular-crop-friendly version of the twin for Twitter/X profile. Center the face with enough margin for circular cropping. Slightly more casual than LinkedIn."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Generate a circular-crop-friendly version of the twin for Twitter/X profile. Center the face with enough margin for circular cropping. Slightly more casual than LinkedIn."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
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 circular-crop-friendly version of the twin for Twitter/X profile. Center the face with enough margin for circular cropping. Slightly more casual than LinkedIn."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Generate a circular-crop-friendly version of the twin for Twitter/X profile. Center the face with enough margin for circular cropping. Slightly more casual than LinkedIn."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
Video thumbnail format (16:9)
Video thumbnail format (16: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 16:9 landscape version of the twin suitable for YouTube thumbnails and video call backgrounds. Position the twin on the right third with space for text on the left."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a 16:9 landscape version of the twin suitable for YouTube thumbnails and video call backgrounds. Position the twin on the right third with space for text on the left."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
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 16:9 landscape version of the twin suitable for YouTube thumbnails and video call backgrounds. Position the twin on the right third with space for text on the left."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a 16:9 landscape version of the twin suitable for YouTube thumbnails and video call backgrounds. Position the twin on the right third with space for text on the left."}], "model": "eachsense/beta", "stream": true, "session_id": "cross-platform-twin" }'
undefinedBest Practices
最佳实践
Reference Photo Guidelines
参考照片指南
- Quantity: Provide 3-10 reference photos for best results
- Angles: Include front, 3/4, and profile views when possible
- Lighting: Use well-lit photos without harsh shadows
- Resolution: Higher resolution photos produce better twins
- Consistency: Photos should show the same person at similar age
- Expressions: Include variety for expressive twin generation
- 数量:提供3-10张参考照片以获得最佳效果
- 角度:尽可能包含正面、3/4侧面和侧面视图
- 光线:使用光线充足、无强烈阴影的照片
- 分辨率:高分辨率照片能生成更优质的孪生体
- 一致性:照片应展示同一位年龄相近的人物
- 表情:包含多种表情以生成富有表现力的孪生体
Quality Optimization
质量优化
- Mode Selection: Use for final assets,
maxfor rapid prototypingeco - Iterative Refinement: Use to refine twins across multiple requests
session_id - Specific Details: Describe exact requirements for lighting, background, expression
- Format Specification: Always specify aspect ratio and intended use
- 模式选择:最终资产使用模式,快速原型制作使用
max模式eco - 迭代优化:使用在多次请求中优化孪生体
session_id - 细节描述:明确描述光线、背景、表情等具体要求
- 格式指定:始终指定宽高比和预期用途
Identity Consistency
身份一致性
- Session Continuity: Use same for all variations of one twin
session_id - Reference Anchoring: Include original photos when requesting variations
- Style Lock: Describe consistent elements (lighting, background) across requests
- 会话连续性:同一孪生体的所有变体使用相同的
session_id - 参考锚定:请求变体时包含原始照片
- 风格锁定:在多次请求中描述一致的元素(光线、背景)
Mode Selection
模式选择
Ask your users before generating:
"Do you want fast & cheap, or high quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final digital twins, production assets | Slower | Highest |
| Quick previews, concept exploration | Faster | Good |
生成前请询问用户:
"您想要快速低成本,还是高质量?"
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终数字孪生体、生产资产 | 较慢 | 最高 |
| 快速预览、概念探索 | 较快 | 良好 |
Multi-Turn Twin Development
多轮孪生体开发
Use to iteratively develop and refine digital twins:
session_idbash
undefined使用迭代开发和优化数字孪生体:
session_idbash
undefinedInitial twin generation
Initial twin 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 digital twin from these photos for corporate communications"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/ceo-photo1.jpg", "https://example.com/ceo-photo2.jpg"], "mode": "max", "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a digital twin from these photos for corporate communications"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/ceo-photo1.jpg", "https://example.com/ceo-photo2.jpg"], "mode": "max", "session_id": "ceo-digital-twin" }'
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 digital twin from these photos for corporate communications"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/ceo-photo1.jpg", "https://example.com/ceo-photo2.jpg"], "mode": "max", "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create a digital twin from these photos for corporate communications"}], "model": "eachsense/beta", "stream": true, "image_urls": ["https://example.com/ceo-photo1.jpg", "https://example.com/ceo-photo2.jpg"], "mode": "max", "session_id": "ceo-digital-twin" }'
Refine based on feedback
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 expression slightly more serious and add subtle rim lighting for more dimension"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the expression slightly more serious and add subtle rim lighting for more dimension"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
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 expression slightly more serious and add subtle rim lighting for more dimension"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Make the expression slightly more serious and add subtle rim lighting for more dimension"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
Generate variations
Generate variations
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 3 variations with different backgrounds: 1) Modern office, 2) Gradient blue, 3) Pure white"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create 3 variations with different backgrounds: 1) Modern office, 2) Gradient blue, 3) Pure white"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
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 3 variations with different backgrounds: 1) Modern office, 2) Gradient blue, 3) Pure white"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create 3 variations with different backgrounds: 1) Modern office, 2) Gradient blue, 3) Pure white"}], "model": "eachsense/beta", "stream": true, "session_id": "ceo-digital-twin" }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Content policy violation | Prohibited content | Ensure photos have proper consent |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Low quality output | Poor reference photos | Provide higher quality, well-lit photos |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai充值 |
| 内容政策违规 | 包含禁止内容 | 确保照片获得适当授权 |
| 超时 | 生成任务复杂 | 将客户端超时设置为至少10分钟 |
| 输出质量低 | 参考照片质量差 | 提供更高质量、光线充足的照片 |
Privacy & Consent
隐私与授权
When creating digital twins, ensure:
- You have explicit consent from the person being cloned
- Digital twins are used only for authorized purposes
- Generated content complies with applicable laws and regulations
- Deepfake/synthetic media is clearly disclosed when required
创建数字孪生体时,请确保:
- 获得被克隆者的明确授权
- 数字孪生体仅用于授权用途
- 生成内容符合适用法律法规
- 必要时明确披露深度伪造/合成媒体
Related Skills
相关技能
- - Core API documentation
each-sense - - Face replacement in existing images
face-swap - - Create videos from images
video-generation - - General image generation
image-generation
- - 核心API文档
each-sense - - 现有图像中的人脸替换
face-swap - - 通过图像创建视频
video-generation - - 通用图像生成
image-generation