Video Dubbing API Guide
Video dubbing combines translated audio with lip-synced video so dubbed content looks natural in the target language. Sync handles the lipsync step — you provide the video and translated audio, and the API generates matching lip movements.
Prerequisites
- A Sync API key
- A source video (URL or uploaded asset)
- Translated audio in the target language (from a TTS service or human voice actor)
Install the SDK for your language:
Set your API key:
Basic Dubbing Pipeline
Prepare your translated audio
Generate translated audio using a text-to-speech service like ElevenLabs, Google Cloud TTS, or Amazon Polly. You can also use a human voice actor. The audio must be hosted at a publicly accessible URL.
If you already have a translated audio file, upload it to your hosting service and grab the URL.
Submit to Sync API
Send the source video and translated audio to the Sync API. The API generates new lip movements matching the translated audio.
Poll for completion
Check the generation status until it completes. For production systems, use webhooks instead of polling.
Using the ElevenLabs Integration
Sync has a built-in ElevenLabs integration that handles text-to-speech and lipsync in a single API call. Instead of generating audio separately, you pass the translated text directly.
The script field has a maximum of 5,000 characters per generation. For longer scripts, split them into segments. See the Integrations page for ElevenLabs setup details.
Supported Languages
Sync’s lipsync models are language-agnostic. They work with audio in any language — the models analyze mouth shapes from the audio waveform, not the language itself. If your translated audio is clear and well-produced, the lipsync output will match.
For a complete translation pipeline walkthrough (transcription, translation, TTS, and lipsync), see the Video Translation API Guide.
Multi-Speaker Dubbing
For videos with multiple speakers, use the segments API to assign different audio tracks to different time ranges. Each segment can reference a separate audio input with a distinct voice.
See the Segments Guide for full documentation and more examples.
Performance Tips
Replace polling with webhooks for production pipelines. You receive a POST notification when the job completes, eliminating wasted API calls.
Dubbing an entire video library? The Batch API lets you submit up to 500 generations in a single operation with a 24-hour turnaround.
Use lipsync-2 for most dubbing jobs. Switch to lipsync-2-pro for premium content where detail around beards, teeth, and facial features matters. Use lipsync-1.9.0-beta when speed is the priority.
Set sync_mode to control what happens when audio and video lengths differ. cut_off trims excess audio. bounce loops the video to match audio length. See sync mode options for details.
Next Steps
- Video Translation API Guide — Build a full transcription-to-lipsync pipeline
- Batch API — Process hundreds of dubbing jobs at once
- Segments Guide — Handle multi-speaker videos
- Text-to-Speech Lip Sync Guide — Combine TTS with lipsync

