Sync Lipsync 3 API
sync/lipsync-3/video-to-videoSync Lipsync 3 API for video to video replaces the lip movements in an existing video so they match a new audio track, for dubbing, dialogue fixes and localized ads. It is Sync Labs' sync-3 model: send a video and an audio file of up to 300 seconds each, choose how a length mismatch is handled, and get back the re-synced MP4.
Drag and drop files, paste from clipboard, or provide a URL. Required. The video whose lips are re-synced, up to 300 seconds and 200 MB.
Drag and drop files, paste from clipboard, or provide a URL. Required. Speech or song audio up to 300 seconds and 50 MB.
REST API
Quick Start
Make your first Sync Lipsync 3 video-to-video request in three steps.
Connect to the Vidgo API
Create an API key, keep it on your server, and send it in the Authorization header as a Bearer token.
- Endpoint
- POST
https://api.vidgo.ai/api/generate/submit - Authentication
- Authorization: Bearer VIDGO_API_KEY
Submit one lip-sync task
Replace the two example URLs with your own public video and audio files.
curl --request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "sync/lipsync-3/video-to-video",
"input": {
"video_url": "https://example.com/interview.mp4",
"audio_url": "https://example.com/dubbed-line.mp3",
"sync_mode": "cut_off"
}
}'Wait for the result
Use the returned task_id until the task reaches finished or failed. On success, read data.files[].file_url.
Track status
GET https://api.vidgo.ai/api/generate/status/{task_id}Poll about every 5 seconds while the status is not_started or running. Stop on finished or failed; on success, read data.files[].file_url. Add callback_url to receive the result asynchronously.
not_startedrunningfinishedfailed{
"code": 200,
"data": {
"task_id": "TASK_ID",
"status": "not_started",
"created_time": "2026-11-25T08:00:00"
}
}{
"code": 200,
"data": {
"task_id": "TASK_ID",
"status": "finished",
"files": [
{
"file_url": "https://cdn.vidgo.ai/.../output.mp4",
"file_type": "video"
}
],
"created_time": "2026-11-25T08:00:00",
"error_message": null,
"progress": 100
}
}Complete runnable example
Submission, polling, terminal-state handling and result extraction in one script.
set -euo pipefail
: "${VIDGO_API_KEY:?Set VIDGO_API_KEY in your environment}"
REQUEST_BODY=$(cat <<'JSON'
{
"model": "sync/lipsync-3/video-to-video",
"input": {
"video_url": "https://example.com/interview.mp4",
"audio_url": "https://example.com/dubbed-line.mp3",
"sync_mode": "cut_off"
}
}
JSON
)
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
--request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data "$REQUEST_BODY")
TASK_ID=$(printf '%s' "$SUBMIT_RESPONSE" | jq -r '.data.task_id // .task_id // empty')
if [ -z "$TASK_ID" ]; then
printf 'Submit response did not include task_id:
%s
' "$SUBMIT_RESPONSE" >&2
exit 1
fi
while true; do
STATUS_RESPONSE=$(curl --silent --show-error --fail-with-body \
--url "https://api.vidgo.ai/api/generate/status/$TASK_ID" \
--header "Authorization: Bearer $VIDGO_API_KEY")
STATUS=$(printf '%s' "$STATUS_RESPONSE" | jq -r '.data.status // .status // empty')
case "$STATUS" in
finished)
printf '%s' "$STATUS_RESPONSE" | jq -r '(.data.files // .files // [])[]?.file_url'
break
;;
failed)
printf '%s' "$STATUS_RESPONSE" | jq -r '.data.error_message // .error_message // "Generation failed"' >&2
exit 1
;;
not_started|running)
sleep 2
;;
*)
printf 'Unexpected task status: %s
' "$STATUS" >&2
exit 1
;;
esac
doneRequest Parameters
model and callback_url belong at the request root; lip-sync parameters belong inside input.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | Fixed to sync/lipsync-3/video-to-video. |
| callback_url | string (URL) | No | — | A public HTTP(S) URL for task completion notifications. |
| input | object | Yes | — | Lip-sync parameters. |
| input.video_url | string (URL) | Yes | — | The video to re-sync, up to 300 seconds and 200 MB. |
| input.audio_url | string (URL) | Yes | — | The new audio, up to 300 seconds and 50 MB. |
| input.sync_mode | string | No | cut_off | cut_off, loop, bounce, silence or remap. |
Response Fields
Submission returns the task identity immediately. Status responses add progress, the output video or a failure message.
| Field | Type | Description |
|---|---|---|
| code | integer | Application result code. Success uses 0 or 200. |
| message | string | Response or error message when present. |
| data.task_id | string | Task identifier used in the status endpoint. |
| data.status | string | not_started, running, finished or failed. |
| data.created_time | string | Task creation time. |
| data.progress | number | Completion percentage when progress is available. |
| data.files[].file_url | string | Public URL of the lip-synced MP4 video. |
| data.files[].file_type | string | File type, here video. |
| data.error_message | string | null | Failure detail when status is failed. |
Task Lifecycle
not_started and running are in progress; finished and failed are terminal, so stop polling on either.
not_startedThe task is accepted and queued.
runningThe video is being generated. Keep polling.
finishedDone. Read the video from data.files[].file_url.
failedGeneration failed. Read data.error_message; the credits are refunded.
Polling and Errors
- Authentication401 means a missing or invalid Bearer API key; check it in the dashboard.
- Validation400 means invalid parameters, or media that could not be measured or runs longer than 300 seconds.
- Polling intervalPoll every 5–10 seconds; lip-sync renders take longer than short audio tasks.
- Terminal statesStop polling on finished or failed.
- Callback optionProvide callback_url to receive a notification when the task finishes.
Model Specifications
| Specification | Value | Description |
|---|---|---|
| Model | sync/lipsync-3/video-to-video | Model ID for asynchronous Sync Lipsync 3 video-to-video lip sync. |
| Video | ≤300 s, ≤200 MB | The performance to re-sync. |
| Audio | ≤300 s, ≤50 MB | The new speech. |
| Sync modes | cut_off / loop / bounce / silence / remap | cut_off by default. |
| Pricing | 1,600 credits per minute | About 26.67 credits ($0.133) per second of output. |
Related Models
Sync Lipsync 3 API FAQ
What is the Sync Lipsync 3 API for video to video?
Sync Lipsync 3 is Sync Labs' sync-3 lip-sync model, released on April 6, 2026. The Sync Lipsync 3 API for video to video regenerates the lip movements in a video of up to 300 seconds to match new audio, keeping the rest of the performance. Call it with the model ID sync/lipsync-3/video-to-video, or try it in the Playground above.
How much does the Sync Lipsync 3 API cost?
Video to video costs 1,600 credits ($8) per minute of expected output, about 26.67 credits ($0.133) per second, rounded up to whole seconds. With cut_off, a 10-second video and 10-second audio cost about 266.67 credits ($1.33).
What do the sync modes in the Sync Lipsync 3 API do?
They decide what happens when video and audio lengths differ. cut_off (default) ends at the shorter input; loop repeats the video, bounce plays it back and forth, and silence pads the audio, so these three run to the longer input; remap follows the audio length.
How long can the inputs be for the Sync Lipsync 3 API?
The video can be up to 300 seconds and 200 MB, and the audio up to 300 seconds and 50 MB.
Which languages does the Sync Lipsync 3 API support?
Sync Labs lists 95+ languages for sync-3. The lips follow whatever language is spoken in the new audio.
How is video to video different from image to video in the Sync Lipsync 3 API?
Video to video keeps an existing performance and replaces only the lip movements. Image to video animates one still face with your audio.
How do I call the Sync Lipsync 3 API?
Send a POST request to https://api.vidgo.ai/api/generate/submit with model sync/lipsync-3/video-to-video, video_url and audio_url, then poll /api/generate/status/{task_id} or pass a callback_url.


