Loading...
Loading...
Generate photorealistic digital twins and avatar clones using each::sense AI. Create AI-powered digital representations for video calls, corporate communications, customer service, and multilingual content.
npx skill4agent add eachlabs/skills digital-twin-generationcurl -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"
}'| 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 |
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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'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"
}'# 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"
}'
# 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"
}'
# 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"
}'
# 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"
}'maxecosession_idsession_id| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final digital twins, production assets | Slower | Highest |
| Quick previews, concept exploration | Faster | Good |
session_id# 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"
}'
# 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"
}'
# 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"
}'| 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 |
each-senseface-swapvideo-generationimage-generation