Text-to-Speech Lip Sync Guide
Combine text-to-speech with lip sync to create talking head videos from just text and a source video. Type a script, pick a voice, and sync. labs generates a video where the speaker’s lips match the spoken words.
Choose the right dubbing workflow
dubParams uses the source video’s audio for automatic dubbing. Use the text-input workflow when you need to select a specific ElevenLabs voice.
Using the Built-in ElevenLabs Integration
sync. labs’ ElevenLabs integration handles TTS and lip sync in a single API call.
Free built-in text-to-speech accepts up to 320 characters and 20 seconds of speech per request. The resulting video must also fit the free plan’s 15-second limit. See Free-tier limits.
ElevenLabs Provider Parameters
Enable the ElevenLabs integration from your Integrations settings. You can use sync. labs’ built-in integration or provide your own ElevenLabs API key (Creator plan or higher).
Some ElevenLabs voices require verification before they can be used for TTS. If a generation fails with a message that the voice may violate ElevenLabs Terms of Service or requires verification, try a different verified voice or complete verification with ElevenLabs before retrying.
Using External TTS Providers
If you use a TTS provider other than ElevenLabs — Google Cloud TTS, Amazon Polly, Azure Speech, or any other service — generate the audio first, host it at a public URL, then pass it to sync. labs.
This approach works with any TTS provider. The only requirement is that the audio file is accessible via a public URL.
Voice Cloning Workflow
Clone a speaker’s voice with ElevenLabs, then use that cloned voice ID with sync. labs’ integration. The result: a video where the speaker looks AND sounds like themselves — speaking entirely new words.
Best Practices
Multi-Segment TTS
For longer scripts or multi-speaker scenarios, use the Segments API with multiple TTS inputs:
Troubleshooting TTS
Why did my TTS generation fail?
Most failures come from an invalid voice ID, an oversized script or a missing integration setting. Check, in order:
- The
voiceIdis a valid, non-empty ElevenLabs voice ID. An empty string ("") returns a 422 error. A voice ID stops working if the voice is deleted from your ElevenLabs account, or if it’s a shared voice that is no longer available. - The
scriptfits the 5,000-character maximum. Free built-in text-to-speech is limited to 320 characters and 20 seconds of speech; see free-tier limits. - The ElevenLabs integration is enabled in your Integrations settings.
For the exact error code and message, check the response from GET /v2/generate/{id}.
How do I find my ElevenLabs voice ID?
In the ElevenLabs dashboard, open Voices and select the voice. Its ID is in the URL bar or the voice settings panel, and looks like EXAVITQu4vr4xnSDxMaL. You can also get voice IDs from the ElevenLabs List Voices endpoint. A cloned voice’s ID is returned when you create the clone.
Copy the ID exactly, since it’s case-sensitive, and pass it as voiceId in your sync. labs API request. On a free account with the built-in ElevenLabs integration, you can use any default ElevenLabs voice without your own ElevenLabs account.
Can I use TTS in languages other than English?
Yes. ElevenLabs multilingual voice models speak over 29 languages, including Spanish, French, German, Portuguese, Japanese, Chinese, Arabic and Hindi. Choose a voice that supports your target language (the ElevenLabs voice library labels multilingual voices), then write your script in that language.
sync. labs’ lip sync models are language-agnostic, so they match lip movements to the generated audio in any language. For the best results, pick a voice that is native to your target language rather than one voice for every language.
Next Steps
- Integrations — Full ElevenLabs setup and troubleshooting
- React Models — Add emotion and expressions to talking head videos
- Video Dubbing API Guide — Build dubbing pipelines
- Segments Guide — Handle multi-speaker and long-form content
Support Knowledge Base
- How to use TTS with sync. labs — Step-by-step setup guide
- Internal Server Error during TTS — TTS error troubleshooting
- ElevenLabs Terms of Service error — Voice policy issues

