Sync Lipsync React-1 API, Sync Lipsync V3 API, Sync Lipsync V2 Pro API: Pricing, Documentation

by Sync.so

Sync Lipsync API is a powerful, automated solution designed to perfectly synchronize character and avatar lip movements with provided audio tracks. By leveraging advanced artificial intelligence, it eliminates manual frame-by-frame animation, drastically reducing production time. Developers can seamlessly integrate this tool to deliver highly realistic, localized, and expressive facial animations across gaming, film, and virtual communication platforms.

Get API Key
Sync Lipsync API

Models Version

WELCOME BONUS

Get 10% Cashback on Your First Payment (up to $500)

Add funds and get 10% cashback on your first payment (up to $500).

Claim Your Cashback →

Sync Lipsync React-1 API Documentation

Re-sync a talking-head video to new speech and give it feeling: Sync Lipsync React-1 redraws the speaker's lips to match the speech in audio_url and, by default, the rest of the face to act out the emotion you choose (happy, sad, angry, disgusted, surprised or neutral). Set model_mode to head to add natural head movement, or to lips to change the lips only. The video and the speech can each be up to 15 seconds long. For lip-sync without an emotion and for longer videos, use Sync Lipsync v3 (https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync). Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the video from output.media_url.

POST https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Video + Audio to Video - Sync Lipsync React-1

Request Code

POST https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3",
  "emotion": "neutral"
}
import requests

url = "https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3",
  "emotion": "neutral"
}

resp = requests.post(url, json=data, headers=headers)
print(resp.json())
const res = await fetch("https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3",
  "emotion": "neutral"
})
});
console.log(await res.json());
curl -X POST 'https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync' \
  -H 'Content-Type: application/json' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
  --data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3", "emotion": "neutral"}'

Output

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

Instead of polling, you can receive a Webhook callback when the request reaches a terminal state. Provide a Webhook URL via header on the submit request.

HeaderRequiredDescription
X-Webhook-URLTo enableHTTPS URL to receive the Webhook callback.
X-Webhook-ModeNoterminal (default, one callback on COMPLETED/ERROR) or sync (per-poll callbacks).

Example: enable Webhook

curl -X POST 'https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync' \
  -H 'Content-Type: application/json' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
  -H 'X-Webhook-URL: https://your-server.com/webhook' \
  --data-raw '{"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3", "emotion": "neutral"}'

Callback Payload (success)

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-react-1",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-20T14:47:40.045Z",
  "updated_at": "2026-11-20 14:49:58",
  "completed_at": "2026-11-20 14:49:57"
}

Failure callback shape

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "sync-lipsync-react-1",
  "error": "Description of the failure"
}

Delivery semantics

  • terminal mode: one Webhook callback when the request is COMPLETED or ERROR.
  • sync mode: a Webhook callback on every poll while the request is processing (status PROCESSING), plus the final COMPLETED/ERROR callback.
  • Callbacks are idempotent on request_id — de-duplicate on it.
  • Respond 200 within a few seconds; the Webhook endpoint must be HTTPS.

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
video_urlYesrequiredstring—One publicly reachable http(s) URL of a video file (MP4 recommended), up to 15 seconds
The talking-head video. It must show the speaker's face clearly, facing the camera.
audio_urlYesrequiredstring—One publicly reachable http(s) URL of an audio file (MP3 or WAV), up to 15 seconds
The new speech. It becomes the video's sound track.
emotionYesrequiredstring—happy, sad, angry, disgusted, surprised, neutral
The feeling the face acts out while speaking. One word from the list.
model_modeNostring"face"lips, face, head
What may move: lips re-syncs the lips only, with little change to the face; face also changes the facial expression to match emotion; head adds head movement on top.
lipsync_modeNostring"bounce"cut_off, loop, bounce, silence, remap
What happens when the video and the speech have different lengths (see Video, Audio and Length).
temperatureNonumber0.50 to 1
How expressive the performance is: lower is calmer, higher is livelier.
enable_safety_checkerNobooleantruetrue, false
Check the inputs and the result against the content policy.

Good to know

  • Each request returns one video. Send one request per video.
  • Use the JSON types shown: true / false without quotes for the switch, a number for temperature. Omit a field instead of sending null.
  • Use only videos and voices you have the right to use: your own, or those of a person who has agreed.

Parameters not supported

Rejected with 400

Checked when you submit: the request is rejected before it is queued, and nothing is held or charged.

ParameterWhy
video_url or audio_url longer than 15 secondsMeasured when you submit (error: Input too long). Nothing is queued or charged.
ParameterWhy
audioNot a field here: send the speech as 'audio_url'.
durationNot accepted: the output length follows the video and the audio (each up to 15 seconds) and 'lipsync_mode'.
modeNot a field here: use 'model_mode' (lips, face or head) for what moves, or 'lipsync_mode' for how different lengths are handled.
model, input, parameters, seconds, length, video_length, num_frames, frames_per_second, fps, image, image_url, image_urls, images, videos, video_urls, audio_urls, text, script, content, voice, voice_id, resolution, aspect_ratio, width, height, size, seed, negative_promptNot a field of this API.
n, num_outputs, num_videos, num_images, number_of_images, batch_size, countNot supported: each request returns one video. Send one request per video.
prompt, emotion_promptNot accepted: React-1 takes one word in 'emotion' (happy, sad, angry, disgusted, surprised or neutral).
sync_modeNot a field here: React-1 calls it 'lipsync_mode' (cut_off, loop, bounce, silence or remap).
videoNot a field here: send the talking-head video as 'video_url'.

Accepted, then the request fails

These pass the submit check, so the submit returns 202, but the request then fails with status: "ERROR". Nothing is charged.

ParameterWhen the request fails
video_urlThe file is not a readable video, or no face can be found in it.
audio_urlThe file is not readable audio.
video_url, audio_urlThe content is blocked by the safety rules.

Accepted but ignored

Any other parameter is dropped and has no effect.

Video, Audio and Length

  • Send each file as one direct, publicly reachable link: the video in video_url, the speech in audio_url.
  • Each file can be at most 15 seconds long. Both are measured when you submit; a longer file is refused with a 400 (error: Input too long), and nothing is charged. Split longer material into parts, or use Sync Lipsync v3.
  • Use a video of one person whose face is clearly visible, and a clean recording of one voice.
  • When the two have different lengths, lipsync_mode decides what happens: cut_off ends the output where the shorter one ends; loop repeats the video from the start, and bounce (the default) plays it forward and backward, until the speech ends; silence lets the video run on silently after the speech; remap speeds the video up or slows it down to the speech's length.

Measured at launch with a 5-second video and an 8-second recording:

lipsync_modeOutput length
cut_off5 s
bounce (default)8 s

The output video

output.media_url is one MP4: your video with the lips re-synced, the expression (and with head, the head) acting out the emotion, and your speech as its sound track.

Measured at launch, from a 5-second 1920×1080 25 fps video:

RequestSizeLengthFrame rateSound
emotion neutral, model_mode face (default)1920×10805 s25 fpsYes
emotion happy, model_mode head, temperature 0.81920×10805 s25 fpsYes
emotion neutral, model_mode lips, lipsync_mode cut_off1920×10805 s25 fpsYes
emotion neutral, model_mode face (default)1920×10808 s25 fpsYes

Timing

At launch, the 5-second videos took about 2 minutes with emotion neutral, model_mode face (default); about 2 minutes with emotion happy, model_mode head, temperature 0.8; about 3 minutes with emotion neutral, model_mode lips, lipsync_mode cut_off. Longer inputs take longer. Poll the status endpoint every 10 seconds or so, or use a Webhook.

Example Request

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3",
  "emotion": "neutral"
}

Example Response

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Example: head movement with a happy delivery

Request

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3",
  "emotion": "happy",
  "model_mode": "head",
  "temperature": 0.8
}

Completed response

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-react-1",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-20T14:47:44.607Z",
  "updated_at": "2026-11-20 14:50:04",
  "completed_at": "2026-11-20 14:50:03"
}

Request Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
Ocp-Apim-Subscription-KeyYesYour API subscription key.
X-Webhook-URLNoEnable Webhook callbacks (see Webhook section).
X-Webhook-ModeNoterminal (default) or sync (see Webhook section).

Response Handling

Status CodeMeaning
202Accepted — request queued; returns request_id and polling_url.
400Bad request — the body failed the submit check (see Request Parameters), or a file is longer than 15 seconds; nothing was queued.
401Unauthorized — missing or invalid subscription key.
402Insufficient balance for the hold this request needs.
429Too many requests.
500Internal server error.

Error Responses

A refused body names every rejected parameter in violations; a file that is too long is reported with its measured length.

Missing emotion: sent {"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3"}

{
  "error": "Invalid request parameters",
  "message": "'emotion' is required",
  "violations": [
    "'emotion' is required"
  ]
}

Emotion not in the list: sent {"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-5s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3", "emotion": "excited"}

{
  "error": "Invalid request parameters",
  "message": "'emotion' must be one of: \"happy\", \"sad\", \"angry\", \"disgusted\", \"surprised\", \"neutral\" (got \"excited\")",
  "violations": [
    "'emotion' must be one of: \"happy\", \"sad\", \"angry\", \"disgusted\", \"surprised\", \"neutral\" (got \"excited\")"
  ]
}

Video longer than 15 seconds: sent {"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-5s.mp3", "emotion": "neutral"}

{
  "error": "Input too long",
  "message": "The source media is 18s. This API accepts inputs up to 15s — split it into shorter segments.",
  "max_input_seconds": 15,
  "input_seconds": 18
}

Retrieving Results

Poll the status endpoint with the request_id until status is COMPLETED or ERROR, then download the video from output.media_url.

GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

cURL example

curl 'https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'

Completed response

Captured from a real Sync Lipsync React-1 request at launch; the request id is masked.

{
  "request_id": "sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-react-1",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-react-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-20T14:47:40.045Z",
  "updated_at": "2026-11-20 14:49:58",
  "completed_at": "2026-11-20 14:49:57"
}

Response Fields

FieldTypeDescription
request_idstringUnique request identifier.
statusstringQUEUED, PROCESSING, COMPLETED or ERROR.
model_idstringThe model that handled the request — sync-lipsync-react-1 for this endpoint.
errorstring or nullError message when status is ERROR; otherwise null.
output.media_urlarray of stringsURL of the MP4 (one per request). Download it and keep your own copy.
output.media_typestringvideo/mp4.
created_atstringRequest creation timestamp.
completed_atstringCompletion timestamp.
polling_urlstringStatus URL for this request (in the submit response).

Status Values & Flow

QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).

Typical workflow

  1. Send the request to POST https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync.
  2. Save the request_id from the 202 response.
  3. Poll GET /v2/requests/status/{request_id} every 10 seconds or so, or use a Webhook instead.
  4. When status is COMPLETED, download the video from output.media_url.

How Billing Is Measured

Billing is measured per second of the output video: the charge is the per-second rate times the length of the output video in whole seconds. The length is rounded up to the next whole second, except that up to a twentieth of a second past a whole second is not counted, and every video counts at least 1 second: a 5.03-second video is billed as 5 seconds, a 5.2-second video as 6 seconds. emotion, model_mode, temperature and lipsync_mode do not change the per-second rate, but lipsync_mode can change how long the output is. A hold is placed when the request is submitted, sized from the longer of your video and your recording (15 seconds when a length cannot be read); when the video is ready you are charged for its real length and the rest of the hold is released. The hold is released in full if the request fails. The current rate is shown in the pricing panel on this page.

Sync Lipsync React-1 API Pricing

Your request will cost $0.175 per second of output video.
5-second clip ≈ $0.88
2. Sync Lipsync v3

Sync Lipsync v3 API Documentation

POST https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Video + Audio to Video - Sync Lipsync v3

Request Code

POST https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
  "sync_mode": "cut_off"
}
import requests

url = "https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
payload = {
    "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    "sync_mode": "cut_off"
}

resp = requests.post(url, headers=headers, json=payload)
print(resp.json())  # { "request_id": "...", "status": "QUEUED", "polling_url": "..." }
const res = await fetch("https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
    video_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    audio_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    sync_mode: "cut_off"
  })
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync" \
  -H "Content-Type: application/json" \
  -H "Cache-Control: no-cache" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
  --data-raw '{
    "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    "sync_mode": "cut_off"
  }'

Output

{
  "request_id": "sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

Instead of polling, you can receive a callback when the request reaches a terminal state. Pass the webhook headers on the submit request; the gateway will POST the result to your URL.

HeaderTypeRequiredDescription
X-Webhook-URLstringNoHTTPS URL to receive the callback. Providing it enables webhook delivery.
X-Webhook-ModestringNoterminal (default) fires once on COMPLETED/ERROR; sync fires on each status transition.

Example: enable webhook

curl -X POST "https://gateway.pixazo.ai/sync-lipsync-v3/v1/video-to-video/lip-sync" \
  -H "Content-Type: application/json" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
  -H "X-Webhook-URL: https://your-server.com/webhooks/pixazo" \
  -H "X-Webhook-Mode: terminal" \
  --data-raw '{ "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3" }'

Callback Payload (success)

{
  "request_id": "sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-v3",
  "output": {
    "media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-v3_019dxxxx.../output.mp4"],
    "media_type": "video/mp4"
  }
}

Failure callback shape

{
  "request_id": "sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "error": "Failed to download the file. Please check if the URL is accessible."
}
  • terminal mode delivers one callback on COMPLETED or ERROR; sync mode delivers on each status transition.
  • Deliveries are keyed by request_id — make your handler idempotent.
  • Respond with HTTP 200 within a few seconds; non-2xx responses are retried.
  • The webhook URL must be HTTPS and publicly reachable.

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
video_urlYesrequiredstring——
Upload the talking-head video clip whose lips will be re-synced to your audio.
audio_urlYesrequiredstring——
Upload the audio track to sync the video's lips to.
sync_modeNostringcut_offcut_off, loop, bounce, silence, remap
How to handle a duration mismatch between the audio and video. cut_off truncates the longer stream; loop repeats the shorter stream; bounce plays forward then backward; silence pads with silence; remap time-stretches the audio to match the video.
optionsNoobject——
Optional container for advanced Sync.so generation settings (see the options.* rows below). If options.sync_mode is set, it overrides the top-level sync_mode.
options.sync_modeNostring—cut_off, loop, bounce, silence, remap
How to handle a duration mismatch between the audio and video; overrides the top-level sync_mode when provided.
options.model_modeNostring—lips, face, head, lipsync, emotion, talking_head
Edit region for the model. A Sync.so option primarily used by react-1.
options.promptNostring—happy, sad, angry, disgusted, surprised, neutral
Emotion prompt for generation. A Sync.so option primarily used by react-1.
options.temperatureNofloat—0 – 1
Controls how expressive the lipsync can be; 0 is least expressive, 1 is most expressive. Sync.so handles this natively for sync-3, so this option is ignored by this model.
options.active_speaker_detectionNoobject——
Active-speaker detection settings for videos with multiple people. Supports auto_detect (boolean), v3 (boolean), frame_number (integer), coordinates ([x, y]), bounding_boxes (per-frame [x1, y1, x2, y2]), bounding_boxes_url (JSON file URL), and face_image (base64) for manual speaker selection.
options.occlusion_detection_enabledNoboolean—true, false
Whether to detect occlusion during generation. Sync.so handles this automatically for sync-3, so this option is ignored by this model.

Content Item Types & Limits

TypeMaxFormat / SizeDescription
video1MP4, MOVSource video.
audio1MP3, WAVVoice / audio track.

Example Request

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
  "sync_mode": "cut_off"
}

Example Response

{
  "request_id": "sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

HeaderRequiredDescription
Ocp-Apim-Subscription-KeyYesYour API subscription key.
Content-TypeYesMust be application/json.
X-Webhook-URLNoHTTPS callback URL (see Webhook section).

Response Handling

Common status codes returned by the submit endpoint.

Status CodeMeaning
202 AcceptedRequest queued. Returns request_id, status: "QUEUED", and polling_url.
400 Bad RequestInvalid request body or unknown model.
401 UnauthorizedMissing or invalid subscription key.
402 Payment RequiredInsufficient wallet balance.
403 ForbiddenSubscription not permitted to access this API.
429 Too Many RequestsRate limit exceeded.
500 Internal Server ErrorUnexpected gateway error.

Error Responses

Queue-system errors are returned at submit time; generation errors are surfaced via the status endpoint / webhook with status: "ERROR".

// 402 — insufficient balance
{ "error": "Insufficient balance", "message": "Wallet balance is too low for this request." }

// 400 — model not found / invalid body
{ "error": "Model not found", "message": "Model 'sync-lipsync-v3' not found or is disabled" }

// generation failure (via status / webhook)
{ "request_id": "sync-lipsync-v3_019dxxxx...", "status": "ERROR", "error": "Failed to download the input file." }

Retrieving Results

Poll the status endpoint with the request_id until status is COMPLETED (or FAILED/ERROR).

curl -X GET "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY"

Completed response

{
  "request_id": "sync-lipsync-v3_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-v3",
  "error": null,
  "output": {
    "media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-v3_019dxxxx.../output.mp4"],
    "media_type": "video/mp4"
  },
  "created_at": "2026-06-30T09:20:33.812Z",
  "completed_at": "2026-06-30T09:22:19.000Z"
}

Response Fields

FieldTypeDescription
request_idstringUnique identifier for the request.
statusstringQUEUED, PROCESSING, COMPLETED, FAILED, or ERROR.
model_idstringThe model that handled the request (sync-lipsync-v3).
errorstring | nullError message when the request fails; null otherwise.
output.media_urlstring[]Array of URLs to the generated lip-synced MP4 video.
output.media_typestringMIME type of the output (video/mp4).
created_atstringISO-8601 timestamp when the request was created.
completed_atstringISO-8601 timestamp when the request reached a terminal state.
polling_urlstringURL to poll for status (returned on submit).

Status Values & Flow

StatusMeaning
QUEUEDRequest accepted and waiting to be processed.
PROCESSINGThe lip-sync job is running.
COMPLETEDDone — output.media_url contains the synced video.
FAILED / ERRORGeneration failed — see error.

Typical workflow

QUEUED → PROCESSING → COMPLETED (or FAILED / ERROR). Submit the request, then poll GET /v2/requests/status/{request_id} (or use a webhook) until the status is terminal, then download the video from output.media_url.

Sync Lipsync v3 API Pricing

Your request will cost $0.1333 per second of output video.
5-second clip ≈ $0.67
3. Sync Lipsync v2 Pro

Sync Lipsync v2 Pro API Documentation

POST https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Video + Audio to Video - Sync Lipsync v2 Pro

Request Code

POST https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
  "sync_mode": "cut_off"
}
import requests

url = "https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
payload = {
    "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    "sync_mode": "cut_off"
}

resp = requests.post(url, headers=headers, json=payload)
print(resp.json())  # { "request_id": "...", "status": "QUEUED", "polling_url": "..." }
const res = await fetch("https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
    video_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    audio_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    sync_mode: "cut_off"
  })
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync" \
  -H "Content-Type: application/json" \
  -H "Cache-Control: no-cache" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
  --data-raw '{
    "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
    "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
    "sync_mode": "cut_off"
  }'

Output

{
  "request_id": "sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

Instead of polling, you can receive a callback when the request reaches a terminal state. Pass the webhook headers on the submit request; the gateway will POST the result to your URL.

HeaderTypeRequiredDescription
X-Webhook-URLstringNoHTTPS URL to receive the callback. Providing it enables webhook delivery.
X-Webhook-ModestringNoterminal (default) fires once on COMPLETED/ERROR; sync fires on each status transition.

Example: enable webhook

curl -X POST "https://gateway.pixazo.ai/sync-lipsync-v2-pro/v1/video-to-video/lip-sync" \
  -H "Content-Type: application/json" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
  -H "X-Webhook-URL: https://your-server.com/webhooks/pixazo" \
  -H "X-Webhook-Mode: terminal" \
  --data-raw '{ "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3" }'

Callback Payload (success)

{
  "request_id": "sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-v2-pro",
  "output": {
    "media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-v2-pro_019dxxxx.../output.mp4"],
    "media_type": "video/mp4"
  }
}

Failure callback shape

{
  "request_id": "sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "error": "Failed to download the file. Please check if the URL is accessible."
}
  • terminal mode delivers one callback on COMPLETED or ERROR; sync mode delivers on each status transition.
  • Deliveries are keyed by request_id — make your handler idempotent.
  • Respond with HTTP 200 within a few seconds; non-2xx responses are retried.
  • The webhook URL must be HTTPS and publicly reachable.

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
video_urlYesrequiredstring——
Upload the talking-head video clip whose lips will be re-synced to your audio.
audio_urlYesrequiredstring——
Upload the audio track to sync the video's lips to.
sync_modeNostringcut_offcut_off, loop, bounce, silence, remap
How to handle a duration mismatch between the audio and video. cut_off truncates the longer stream; loop repeats the shorter stream; bounce plays forward then backward; silence pads with silence; remap time-stretches the audio to match the video.

Content Item Types & Limits

TypeMaxFormat / SizeDescription
video1MP4, MOVSource video.
audio1MP3, WAVVoice / audio track.

Example Request

{
  "video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
  "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/test-audio/hg_audio17.mp3",
  "sync_mode": "cut_off"
}

Example Response

{
  "request_id": "sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

HeaderRequiredDescription
Ocp-Apim-Subscription-KeyYesYour API subscription key.
Content-TypeYesMust be application/json.
X-Webhook-URLNoHTTPS callback URL (see Webhook section).

Response Handling

Common status codes returned by the submit endpoint.

Status CodeMeaning
202 AcceptedRequest queued. Returns request_id, status: "QUEUED", and polling_url.
400 Bad RequestInvalid request body or unknown model.
401 UnauthorizedMissing or invalid subscription key.
402 Payment RequiredInsufficient wallet balance.
403 ForbiddenSubscription not permitted to access this API.
429 Too Many RequestsRate limit exceeded.
500 Internal Server ErrorUnexpected gateway error.

Error Responses

Queue-system errors are returned at submit time; generation errors are surfaced via the status endpoint / webhook with status: "ERROR".

// 402 — insufficient balance
{ "error": "Insufficient balance", "message": "Wallet balance is too low for this request." }

// 400 — model not found / invalid body
{ "error": "Model not found", "message": "Model 'sync-lipsync-v2-pro' not found or is disabled" }

// generation failure (via status / webhook)
{ "request_id": "sync-lipsync-v2-pro_019dxxxx...", "status": "ERROR", "error": "Failed to download the input file." }

Retrieving Results

Poll the status endpoint with the request_id until status is COMPLETED (or FAILED/ERROR).

curl -X GET "https://gateway.pixazo.ai/v2/requests/status/sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY"

Completed response

{
  "request_id": "sync-lipsync-v2-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "sync-lipsync-v2-pro",
  "error": null,
  "output": {
    "media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/sync-lipsync-v2-pro_019dxxxx.../output.mp4"],
    "media_type": "video/mp4"
  },
  "created_at": "2026-06-30T09:20:33.812Z",
  "completed_at": "2026-06-30T09:22:19.000Z"
}

Response Fields

FieldTypeDescription
request_idstringUnique identifier for the request.
statusstringQUEUED, PROCESSING, COMPLETED, FAILED, or ERROR.
model_idstringThe model that handled the request (sync-lipsync-v2-pro).
errorstring | nullError message when the request fails; null otherwise.
output.media_urlstring[]Array of URLs to the generated lip-synced MP4 video.
output.media_typestringMIME type of the output (video/mp4).
created_atstringISO-8601 timestamp when the request was created.
completed_atstringISO-8601 timestamp when the request reached a terminal state.
polling_urlstringURL to poll for status (returned on submit).

Status Values & Flow

StatusMeaning
QUEUEDRequest accepted and waiting to be processed.
PROCESSINGThe lip-sync job is running.
COMPLETEDDone — output.media_url contains the synced video.
FAILED / ERRORGeneration failed — see error.

Typical workflow

QUEUED → PROCESSING → COMPLETED (or FAILED / ERROR). Submit the request, then poll GET /v2/requests/status/{request_id} (or use a webhook) until the status is terminal, then download the video from output.media_url.

Sync Lipsync v2 Pro API Pricing

Your request will cost $0.0833 per second of output video.
10-second clip ≈ $0.83

⚡ Performance

Live usage measured on Pixazo's gateway, split by model version. Generation time is how long a generation takes end-to-end (lower is better). Success rate is the percent of generations that complete (higher is better).

Show data for the last
Generations
2,700last 30d
~90 per day
Success rate
96.3%
of completed generations
Generation time
3.5minavg
p95 3.1min
Requests
Nov 1max 500Nov 30
Sync Lipsync v3Avg 63/day
Sync Lipsync React-1Avg 17/day
Sync Lipsync v2 ProAvg 10/day
Generation Time
Nov 1max 8.5minNov 30
Sync Lipsync v3Avg 3.7min
Sync Lipsync React-1Avg 3.0min
Sync Lipsync v2 ProAvg 2.7min
Error Rate
Nov 1max 20.0%Nov 30
Sync Lipsync v3Avg 0.0%
Sync Lipsync React-1Avg 20.0%
Sync Lipsync v2 ProAvg 0.0%

〰 Uptime

Percent of generations that succeeded over the selected period, per model version.

Avg. Success Rate (30d)
96.30%
across all generations of this model family
Uptime
Nov 1max 100%Nov 30
Sync Lipsync v3Avg 100.00%
Sync Lipsync React-1Avg 80.00%
Sync Lipsync v2 ProAvg 100.00%