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.
  • 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

1

Step 1: Get an API Key

  1. Go to the Tavus platform and select API Key from the sidebar menu.
  2. Click Create New Key to begin generating your API key.
  3. Enter a name for the key and (optional) specify allowed IP addresses, then click Create API Key.
  4. Copy your newly created API key and store it securely.

We cannot recover your API Key if you lose it.

2

Step 2: Make a Request

Use the following request to start processing the video:

curl --request POST \
  --url https://tavusapi.com/v2/lipsync \
  -H "Content-Type: application/json" \
  -H "x-api-key: <api-key>" \
  -d '{
    "original_video_url": "https://example.com/video.mp4",
    "source_audio_url": "https://example.com/audio.mp3",
    "lipsync_name": "<your_lipsync_name>",
    "callback_url": "<your_callback_url>"
}'

original_video_url and source_audio_url are required.

3

Step 3: Check Video Status

You can monitor the processing status using the Get Lipsync endpoint:

curl --request GET \
  --url https://tavusapi.com/v2/lipsync/{lipsync_id} \
  --header 'x-api-key: <api-key>'
4

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.

200
{
  "request_id": "<your_request_id>",
  "name": "<your_lipsync_name>",
  "status": "completed",
  "created_at": "Tue, 24 Jun 2025 07:23:36 GMT",
  "lipsync_id": "<your_lipsync_id>",
  "lipsync_name": "<your_lipsync_name>",
  "video_url": "<your_video_url>"
}

The download link for your video expires after 1 week. To get a new download link, use the Get Lipsync endpoint.