Quickstart
Generate realistic lip sync videos by syncing mouth movements to custom audio using Tavus’s Lipsync service.
Prerequisites
Before using the Lipsync service, make sure your input files meet the following requirements:
-
File Requirements:
- Video:
.mp4
format, max 5 minutes. - Audio:
.mp3
or.wav
format, max 5 minutes.
- Video:
-
Quality Recommendations:
- The video should clearly show the speaker’s mouth, facing the camera (“talking head” style).
- Avoid cartoon or animated characters.
- Use good lighting and minimal background clutter.
- Audio should be clear, well-recorded, and free of background noise.
- Use single-speaker, natural speech (avoid singing, whispering, or overlapping voices).
Ensure that the URLs you provide for the video and audio files are publicly accessible.
Create a Lip Sync Video
Step 1: Get an API Key
- Go to the Tavus platform and select API Key from the sidebar menu.
- Click Create New Key to begin generating your API key.
- Enter a name for the key and (optional) specify allowed IP addresses, then click Create API Key.
- Copy your newly created API key and store it securely.
We cannot recover your API Key if you lose it.
Step 2: Make a Request
Use the following request to start processing the video:
original_video_url
and source_audio_url
are required.
Step 3: Check Video Status
You can monitor the processing status using the Get Lipsync endpoint:
Step 4: Download the Video
Once the video is generated, you’ll receive a response containing the video_url
. Use this URL to download your video.
The download link for your video expires after 1 week. To get a new download link, use the Get Lipsync endpoint.