digital-twin-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Digital 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 CaseDescriptionRecommended Photos
Video CallsVirtual meeting representation3-5 front-facing photos
Corporate SpokespersonBrand communications5-10 professional photos
Customer ServiceSupport avatar3-5 neutral expression photos
Multilingual ContentTranslated video content5+ varied angle photos
Social MediaConsistent online presence5-10 diverse photos
Training VideosEducational content delivery5+ 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
undefined

Initial 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" }'
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" }'

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" }'
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" }'

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" }'
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" }'

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" }'
undefined
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" }'
undefined

Best 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
    max
    for final assets,
    eco
    for rapid prototyping
  • Iterative Refinement: Use
    session_id
    to refine twins across multiple requests
  • 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
    session_id
    for all variations of one twin
  • 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?"
ModeBest ForSpeedQuality
max
Final digital twins, production assetsSlowerHighest
eco
Quick previews, concept explorationFasterGood
生成前请询问用户:
"您想要快速低成本,还是高质量?"
模式适用场景速度质量
max
最终数字孪生体、生产资产较慢最高
eco
快速预览、概念探索较快良好

Multi-Turn Twin Development

多轮孪生体开发

Use
session_id
to iteratively develop and refine digital twins:
bash
undefined
使用
session_id
迭代开发和优化数字孪生体:
bash
undefined

Initial 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" }'
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" }'

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" }'
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" }'

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" }'
undefined
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" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentEnsure photos have proper consent
TimeoutComplex generationSet client timeout to minimum 10 minutes
Low quality outputPoor reference photosProvide higher quality, well-lit photos
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在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

相关技能

  • each-sense
    - Core API documentation
  • face-swap
    - Face replacement in existing images
  • video-generation
    - Create videos from images
  • image-generation
    - General image generation
  • each-sense
    - 核心API文档
  • face-swap
    - 现有图像中的人脸替换
  • video-generation
    - 通过图像创建视频
  • image-generation
    - 通用图像生成