video-localization
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVideo Localization
视频本地化
Localize and dub videos into multiple languages using each::sense. This skill handles audio translation, voice cloning, lip synchronization, and subtitle generation for global content distribution.
使用each::sense将视频本地化并配音为多种语言。该技能可处理音频翻译、语音克隆、唇形同步和字幕生成,助力内容全球分发。
Features
功能特性
- AI Dubbing: Translate and dub video audio into any language
- Voice Cloning: Preserve speaker identity across languages
- Lip Sync: Synchronize lip movements with translated audio
- Subtitle Generation: Auto-generate subtitles in source or target languages
- Multi-Language Versions: Create localized versions for multiple markets
- Marketing Localization: Adapt ad content for regional audiences
- E-Learning Translation: Translate training and educational content
- YouTube Localization: Prepare videos for international audiences
- AI配音:将视频音频翻译并配音为任意语言
- 语音克隆:跨语言保留说话者身份特征
- 唇形同步:使唇部动作与翻译后的音频同步
- 字幕生成:自动生成源语言或目标语言的字幕
- 多语言版本:为不同市场创建本地化版本
- 营销内容本地化:为区域受众适配广告内容
- 在线学习内容翻译:翻译培训与教育类内容
- YouTube视频本地化:为国际受众准备视频内容
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": "Dub this English video into Spanish with lip sync"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/my-video.mp4"]
}'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": "Dub this English video into Spanish with lip sync"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/my-video.mp4"]
}'Supported Languages
支持语言
| Language | Code | Dubbing | Subtitles | Voice Cloning |
|---|---|---|---|---|
| English | en | Yes | Yes | Yes |
| Spanish | es | Yes | Yes | Yes |
| French | fr | Yes | Yes | Yes |
| German | de | Yes | Yes | Yes |
| Italian | it | Yes | Yes | Yes |
| Portuguese | pt | Yes | Yes | Yes |
| Chinese | zh | Yes | Yes | Yes |
| Japanese | ja | Yes | Yes | Yes |
| Korean | ko | Yes | Yes | Yes |
| Hindi | hi | Yes | Yes | Yes |
| Arabic | ar | Yes | Yes | Yes |
| 语言 | 代码 | 配音 | 字幕 | 语音克隆 |
|---|---|---|---|---|
| 英语 | en | 支持 | 支持 | 支持 |
| 西班牙语 | es | 支持 | 支持 | 支持 |
| 法语 | fr | 支持 | 支持 | 支持 |
| 德语 | de | 支持 | 支持 | 支持 |
| 意大利语 | it | 支持 | 支持 | 支持 |
| 葡萄牙语 | pt | 支持 | 支持 | 支持 |
| 中文 | zh | 支持 | 支持 | 支持 |
| 日语 | ja | 支持 | 支持 | 支持 |
| 韩语 | ko | 支持 | 支持 | 支持 |
| 印地语 | hi | 支持 | 支持 | 支持 |
| 阿拉伯语 | ar | 支持 | 支持 | 支持 |
Use Case Examples
使用案例示例
1. English to Spanish Dubbing
1. 英语转西班牙语配音
Basic dubbing with natural voice synthesis.
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": "Translate and dub this English video into Spanish. Use a natural-sounding voice that matches the original speaker tone and energy."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/english-video.mp4"]
}'使用自然语音合成完成基础配音。
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": "Translate and dub this English video into Spanish. Use a natural-sounding voice that matches the original speaker tone and energy."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/english-video.mp4"]
}'2. Video Translation with Lip Sync
2. 带唇形同步的视频翻译
Full localization with lip movement synchronization for professional results.
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": "Translate this video from English to French with full lip sync. The lip movements should match the French audio perfectly. Maintain the original background music and sound effects."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/presentation-video.mp4"]
}'通过唇部动作同步实现专业级完整本地化效果。
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": "Translate this video from English to French with full lip sync. The lip movements should match the French audio perfectly. Maintain the original background music and sound effects."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/presentation-video.mp4"]
}'3. Subtitle Generation
3. 字幕生成
Generate accurate subtitles in source or translated languages.
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 subtitles for this video. First transcribe the English audio, then create Spanish subtitles. Output both SRT files and a video with burned-in Spanish subtitles."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/interview.mp4"]
}'为源语言或翻译后的语言生成精准字幕。
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 subtitles for this video. First transcribe the English audio, then create Spanish subtitles. Output both SRT files and a video with burned-in Spanish subtitles."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/interview.mp4"]
}'4. Multi-Language Video Versions
4. 多语言视频版本
Create localized versions for multiple markets in a single workflow.
bash
undefined在单一工作流中为多个市场创建本地化版本。
bash
undefinedStart multi-language localization session
Start multi-language localization 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 need to localize this product video into Spanish, French, and German. Start with Spanish dubbing with lip sync."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001", "video_urls": ["https://example.com/product-demo.mp4"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "I need to localize this product video into Spanish, French, and German. Start with Spanish dubbing with lip sync."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001", "video_urls": ["https://example.com/product-demo.mp4"] }'
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 need to localize this product video into Spanish, French, and German. Start with Spanish dubbing with lip sync."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001", "video_urls": ["https://example.com/product-demo.mp4"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "I need to localize this product video into Spanish, French, and German. Start with Spanish dubbing with lip sync."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001", "video_urls": ["https://example.com/product-demo.mp4"] }'
Continue with French version
Continue with French version
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 the French version with the same quality settings."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-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 the French version with the same quality settings."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-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 the French version with the same quality settings."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-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 the French version with the same quality settings."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001" }'
Continue with German version
Continue with German version
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": "Finally, create the German version."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Finally, create the German version."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-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": "Finally, create the German version."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Finally, create the German version."}], "model": "eachsense/beta", "stream": true, "mode": "max", "session_id": "localization-project-001" }'
undefined5. Voice Cloning for Dubbing
5. 用于配音的语音克隆
Preserve the original speaker's voice characteristics in the dubbed version.
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": "Dub this video from English to Japanese using voice cloning. Clone the original speaker voice so they sound like themselves speaking Japanese. Maintain their unique voice characteristics, tone, and speaking style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/ceo-message.mp4"]
}'在配音版本中保留原说话者的语音特征。
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": "Dub this video from English to Japanese using voice cloning. Clone the original speaker voice so they sound like themselves speaking Japanese. Maintain their unique voice characteristics, tone, and speaking style."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/ceo-message.mp4"]
}'6. Marketing Video Localization
6. 营销视频本地化
Adapt marketing content for regional audiences with cultural considerations.
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": "Localize this marketing video for the Latin American market. Translate to Spanish with a neutral Latin American accent, not Spain Spanish. Apply lip sync and ensure the messaging resonates with the target audience. Keep the energy and excitement of the original."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/brand-ad.mp4"]
}'结合文化考量为区域受众适配营销内容。
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": "Localize this marketing video for the Latin American market. Translate to Spanish with a neutral Latin American accent, not Spain Spanish. Apply lip sync and ensure the messaging resonates with the target audience. Keep the energy and excitement of the original."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/brand-ad.mp4"]
}'7. Training Video Translation
7. 培训视频翻译
Translate corporate training and educational 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": "Translate this employee training video from English to Mandarin Chinese. Use clear, professional narration suitable for corporate training. Include both dubbed audio and Chinese subtitles for accessibility. Technical terms should be accurately translated."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/onboarding-training.mp4"]
}'翻译企业培训与教育类内容。
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": "Translate this employee training video from English to Mandarin Chinese. Use clear, professional narration suitable for corporate training. Include both dubbed audio and Chinese subtitles for accessibility. Technical terms should be accurately translated."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/onboarding-training.mp4"]
}'8. YouTube Video Localization
8. YouTube视频本地化
Prepare content for international YouTube audiences.
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": "Localize this YouTube video for Portuguese-speaking audiences (Brazilian Portuguese). Dub the narration with lip sync, generate Portuguese subtitles in SRT format, and create a localized thumbnail with Portuguese text overlay."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/youtube-tutorial.mp4"]
}'为国际YouTube受众准备内容。
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": "Localize this YouTube video for Portuguese-speaking audiences (Brazilian Portuguese). Dub the narration with lip sync, generate Portuguese subtitles in SRT format, and create a localized thumbnail with Portuguese text overlay."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/youtube-tutorial.mp4"]
}'9. Ad Creative Localization
9. 广告创意本地化
Adapt advertising content for different regional markets.
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": "Localize this 30-second ad for the German market. Translate and dub to German with lip sync. Ensure the call-to-action is culturally appropriate. Keep the same pacing and emotional impact as the original English version."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/product-ad-30s.mp4"]
}'为不同区域市场适配广告内容。
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": "Localize this 30-second ad for the German market. Translate and dub to German with lip sync. Ensure the call-to-action is culturally appropriate. Keep the same pacing and emotional impact as the original English version."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/product-ad-30s.mp4"]
}'10. E-Learning Content Translation
10. 在线学习内容翻译
Translate educational courses and learning materials.
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": "Translate this e-learning module from English to Korean. The instructor should be dubbed with voice cloning to maintain authenticity. Generate Korean subtitles and ensure all on-screen text references are noted for manual localization. Educational terminology must be accurately translated."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/course-module-1.mp4"]
}'翻译课程与学习材料。
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": "Translate this e-learning module from English to Korean. The instructor should be dubbed with voice cloning to maintain authenticity. Generate Korean subtitles and ensure all on-screen text references are noted for manual localization. Educational terminology must be accurately translated."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_urls": ["https://example.com/course-module-1.mp4"]
}'Best Practices
最佳实践
Video Quality
视频质量
- Source Quality: Use high-quality source videos (1080p or higher recommended)
- Clear Audio: Ensure source audio is clear with minimal background noise
- Single Speaker: Best results with single-speaker content; multi-speaker requires more processing
- 源视频质量:使用高质量源视频(推荐1080p及以上)
- 音频清晰度:确保源音频清晰,背景噪音最小
- 单一说话者:单一说话者内容效果最佳;多说话者内容需要更多处理
Dubbing Tips
配音技巧
- Natural Pacing: AI adjusts speech rate to match lip movements
- Preserve Emotion: Original emotional tone is maintained in translations
- Background Audio: Original music and sound effects are preserved
- 自然语速:AI会调整语速以匹配唇部动作
- 保留情感:翻译时保留原内容的情感基调
- 背景音频:保留原音乐和音效
Lip Sync Optimization
唇形同步优化
- Face Visibility: Ensure speaker's face is clearly visible
- Consistent Lighting: Well-lit faces produce better lip sync results
- Front-Facing: Best results with front-facing or slight angle shots
- 面部可见性:确保说话者面部清晰可见
- 光线一致:光线良好的面部能产生更好的唇形同步效果
- 正面拍摄:正面或轻微角度拍摄的视频效果最佳
Subtitle Best Practices
字幕最佳实践
- Reading Speed: Subtitles are timed for comfortable reading
- Line Breaks: Proper segmentation for readability
- Timing Sync: Accurate sync with audio and scene changes
- 阅读速度:字幕时长设置为便于阅读的节奏
- 换行规则:合理分段提升可读性
- 时间同步:与音频和场景变化精准同步
Mode Selection
模式选择
Choose the appropriate mode based on your needs:
| Mode | Best For | Speed | Quality |
|---|---|---|---|
| Final production, client deliverables, broadcast | Slower | Highest quality lip sync and voice |
| Drafts, internal review, quick previews | Faster | Good quality, faster turnaround |
Recommendation: Use mode for initial reviews and mode for final deliverables.
ecomax根据需求选择合适的模式:
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
| 最终制作、客户交付内容、广播级内容 | 较慢 | 最高质量的唇形同步和语音效果 |
| 草稿、内部审核、快速预览 | 较快 | 良好质量,周转更快 |
推荐:初始审核使用模式,最终交付使用模式。
ecomaxMulti-Turn Localization Workflow
多轮本地化工作流
Use to iterate on localization projects:
session_idbash
undefined使用迭代本地化项目:
session_idbash
undefinedInitial localization request
Initial localization request
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": "Dub this video into Spanish with lip sync"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz", "video_urls": ["https://example.com/source-video.mp4"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Dub this video into Spanish with lip sync"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz", "video_urls": ["https://example.com/source-video.mp4"] }'
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": "Dub this video into Spanish with lip sync"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz", "video_urls": ["https://example.com/source-video.mp4"] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Dub this video into Spanish with lip sync"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz", "video_urls": ["https://example.com/source-video.mp4"] }'
Request adjustments based on review
Request adjustments based on review
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": "The voice sounds too formal. Can you make it more conversational and energetic?"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "The voice sounds too formal. Can you make it more conversational and energetic?"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
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": "The voice sounds too formal. Can you make it more conversational and energetic?"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "The voice sounds too formal. Can you make it more conversational and energetic?"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
Add subtitles to the approved version
Add subtitles to the approved version
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": "Add Spanish subtitles to this dubbed version"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add Spanish subtitles to this dubbed version"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
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": "Add Spanish subtitles to this dubbed version"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Add Spanish subtitles to this dubbed version"}], "model": "eachsense/beta", "stream": true, "session_id": "dubbing-project-xyz" }'
undefinedBatch Localization
批量本地化
Process multiple videos or languages efficiently:
bash
undefined高效处理多个视频或多种语言:
bash
undefinedUse eco mode for batch processing drafts
Use eco mode for batch processing drafts
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 Spanish dubbed versions of these 3 marketing videos with subtitles"}], "model": "eachsense/beta", "stream": true, "mode": "eco", "video_urls": [ "https://example.com/video1.mp4", "https://example.com/video2.mp4", "https://example.com/video3.mp4" ] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create Spanish dubbed versions of these 3 marketing videos with subtitles"}], "model": "eachsense/beta", "stream": true, "mode": "eco", "video_urls": [ "https://example.com/video1.mp4", "https://example.com/video2.mp4", "https://example.com/video3.mp4" ] }'
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 Spanish dubbed versions of these 3 marketing videos with subtitles"}], "model": "eachsense/beta", "stream": true, "mode": "eco", "video_urls": [ "https://example.com/video1.mp4", "https://example.com/video2.mp4", "https://example.com/video3.mp4" ] }'
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "messages": [{"role": "user", "content": "Create Spanish dubbed versions of these 3 marketing videos with subtitles"}], "model": "eachsense/beta", "stream": true, "mode": "eco", "video_urls": [ "https://example.com/video1.mp4", "https://example.com/video2.mp4", "https://example.com/video3.mp4" ] }'
undefinedError Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| Insufficient balance | Top up at eachlabs.ai |
| Source video exceeds limits | Split into shorter segments |
| No speech in video | Ensure video contains speech audio |
| No visible face for lip sync | Use videos with visible speakers |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 余额不足 | 在eachlabs.ai充值 |
| 源视频超过限制 | 分割为较短片段 |
| 视频中无语音 | 确保视频包含语音音频 |
| 无可见面部用于唇形同步 | 使用包含可见说话者的视频 |
| Timeout | 生成过程复杂 | 将客户端超时设置为至少10分钟 |
Technical Notes
技术说明
- Client Timeout: Set HTTP client timeout to minimum 10 minutes for video processing
- Video Length: Optimal length is under 10 minutes per segment for best results
- Output Format: Generated videos are MP4 with H.264 encoding
- Subtitle Format: SRT files are provided for subtitle outputs
- 客户端超时:将HTTP客户端超时设置为至少10分钟以适配视频处理
- 视频长度:每段视频最佳长度为10分钟以内,以获得最佳效果
- 输出格式:生成的视频为H.264编码的MP4格式
- 字幕格式:字幕输出为SRT文件
Related Skills
相关技能
- - Core API documentation
each-sense - - Create original video content
video-generation - - Edit and enhance videos
video-edit - - Voice synthesis and audio generation
voice-audio
- - 核心API文档
each-sense - - 创建原创视频内容
video-generation - - 编辑与增强视频
video-edit - - 语音合成与音频生成
voice-audio