curl --request POST \
--url https://tavusapi.com/v2/lipsync \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"original_video_url": "https://example.com/video.mp4",
"source_audio_url": "https://example.com/audio.mp3",
"lipsync_name": "My Lipsync Video",
"callback_url": "https://your-callback-url.com"
}'
{
"lipsync_id": "wf85407a7ba9d",
"lipsync_name": "My Lipsync Video",
"status": "started",
"callback_url": "https://your-callback-url.com",
"request_id": "wf85407a7ba9d",
"request_name": "My Lipsync Video"
}
Create a new lipsync video by providing a video URL and an audio URL. The service will synchronize the speaker’s mouth movements with the provided audio.
curl --request POST \
--url https://tavusapi.com/v2/lipsync \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"original_video_url": "https://example.com/video.mp4",
"source_audio_url": "https://example.com/audio.mp3",
"lipsync_name": "My Lipsync Video",
"callback_url": "https://your-callback-url.com"
}'
{
"lipsync_id": "wf85407a7ba9d",
"lipsync_name": "My Lipsync Video",
"status": "started",
"callback_url": "https://your-callback-url.com",
"request_id": "wf85407a7ba9d",
"request_name": "My Lipsync Video"
}
The response is of type object
.