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.

Models Version
Get 10% Cashback on Your First Payment (up to $500)
Add funds and get 10% cashback on your first payment (up to $500).
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-syncAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your 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.
| Header | Required | Description |
|---|---|---|
| X-Webhook-URL | To enable | HTTPS URL to receive the Webhook callback. |
| X-Webhook-Mode | No | terminal (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
200within a few seconds; the Webhook endpoint must be HTTPS.
Request Parameters
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | 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_url | Yesrequired | string | — | 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. | ||||
emotion | Yesrequired | string | — | happy, sad, angry, disgusted, surprised, neutral |
| The feeling the face acts out while speaking. One word from the list. | ||||
model_mode | No | string | "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_mode | No | string | "bounce" | cut_off, loop, bounce, silence, remap |
| What happens when the video and the speech have different lengths (see Video, Audio and Length). | ||||
temperature | No | number | 0.5 | 0 to 1 |
| How expressive the performance is: lower is calmer, higher is livelier. | ||||
enable_safety_checker | No | boolean | true | true, 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/falsewithout quotes for the switch, a number fortemperature. Omit a field instead of sendingnull. - 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.
| Parameter | Why |
|---|---|
video_url or audio_url longer than 15 seconds | Measured when you submit (error: Input too long). Nothing is queued or charged. |
| Parameter | Why |
|---|---|
audio | Not a field here: send the speech as 'audio_url'. |
duration | Not accepted: the output length follows the video and the audio (each up to 15 seconds) and 'lipsync_mode'. |
mode | Not 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_prompt | Not a field of this API. |
n, num_outputs, num_videos, num_images, number_of_images, batch_size, count | Not supported: each request returns one video. Send one request per video. |
prompt, emotion_prompt | Not accepted: React-1 takes one word in 'emotion' (happy, sad, angry, disgusted, surprised or neutral). |
sync_mode | Not a field here: React-1 calls it 'lipsync_mode' (cut_off, loop, bounce, silence or remap). |
video | Not 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.
| Parameter | When the request fails |
|---|---|
video_url | The file is not a readable video, or no face can be found in it. |
audio_url | The file is not readable audio. |
video_url, audio_url | The 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 inaudio_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_modedecides what happens:cut_offends the output where the shorter one ends;looprepeats the video from the start, andbounce(the default) plays it forward and backward, until the speech ends;silencelets the video run on silently after the speech;remapspeeds 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_mode | Output length |
|---|---|
cut_off | 5 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:
| Request | Size | Length | Frame rate | Sound |
|---|---|---|---|---|
emotion neutral, model_mode face (default) | 1920×1080 | 5 s | 25 fps | Yes |
emotion happy, model_mode head, temperature 0.8 | 1920×1080 | 5 s | 25 fps | Yes |
emotion neutral, model_mode lips, lipsync_mode cut_off | 1920×1080 | 5 s | 25 fps | Yes |
emotion neutral, model_mode face (default) | 1920×1080 | 8 s | 25 fps | Yes |
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
| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | application/json |
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| X-Webhook-URL | No | Enable Webhook callbacks (see Webhook section). |
| X-Webhook-Mode | No | terminal (default) or sync (see Webhook section). |
Response Handling
| Status Code | Meaning |
|---|---|
| 202 | Accepted — request queued; returns request_id and polling_url. |
| 400 | Bad request — the body failed the submit check (see Request Parameters), or a file is longer than 15 seconds; nothing was queued. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal 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_KEYcURL 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
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request — sync-lipsync-react-1 for this endpoint. |
| error | string or null | Error message when status is ERROR; otherwise null. |
| output.media_url | array of strings | URL of the MP4 (one per request). Download it and keep your own copy. |
| output.media_type | string | video/mp4. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| polling_url | string | Status URL for this request (in the submit response). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/sync-lipsync-react-1/v1/video-to-video/lip-sync. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 10 seconds or so, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.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
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.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your 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.
| Header | Type | Required | Description |
|---|---|---|---|
| X-Webhook-URL | string | No | HTTPS URL to receive the callback. Providing it enables webhook delivery. |
| X-Webhook-Mode | string | No | terminal (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
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | — |
| Upload the talking-head video clip whose lips will be re-synced to your audio. | ||||
audio_url | Yesrequired | string | — | — |
| Upload the audio track to sync the video's lips to. | ||||
sync_mode | No | string | cut_off | cut_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. | ||||
options | No | object | — | — |
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_mode | No | string | — | 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_mode | No | string | — | lips, face, head, lipsync, emotion, talking_head |
| Edit region for the model. A Sync.so option primarily used by react-1. | ||||
options.prompt | No | string | — | happy, sad, angry, disgusted, surprised, neutral |
| Emotion prompt for generation. A Sync.so option primarily used by react-1. | ||||
options.temperature | No | float | — | 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_detection | No | object | — | — |
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_enabled | No | boolean | — | 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
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | MP4, MOV | Source video. |
| audio | 1 | MP3, WAV | Voice / 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
| Header | Required | Description |
|---|---|---|
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| Content-Type | Yes | Must be application/json. |
| X-Webhook-URL | No | HTTPS callback URL (see Webhook section). |
Response Handling
Common status codes returned by the submit endpoint.
| Status Code | Meaning |
|---|---|
| 202 Accepted | Request queued. Returns request_id, status: "QUEUED", and polling_url. |
| 400 Bad Request | Invalid request body or unknown model. |
| 401 Unauthorized | Missing or invalid subscription key. |
| 402 Payment Required | Insufficient wallet balance. |
| 403 Forbidden | Subscription not permitted to access this API. |
| 429 Too Many Requests | Rate limit exceeded. |
| 500 Internal Server Error | Unexpected 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
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique identifier for the request. |
| status | string | QUEUED, PROCESSING, COMPLETED, FAILED, or ERROR. |
| model_id | string | The model that handled the request (sync-lipsync-v3). |
| error | string | null | Error message when the request fails; null otherwise. |
| output.media_url | string[] | Array of URLs to the generated lip-synced MP4 video. |
| output.media_type | string | MIME type of the output (video/mp4). |
| created_at | string | ISO-8601 timestamp when the request was created. |
| completed_at | string | ISO-8601 timestamp when the request reached a terminal state. |
| polling_url | string | URL to poll for status (returned on submit). |
Status Values & Flow
| Status | Meaning |
|---|---|
| QUEUED | Request accepted and waiting to be processed. |
| PROCESSING | The lip-sync job is running. |
| COMPLETED | Done — output.media_url contains the synced video. |
| FAILED / ERROR | Generation 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
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.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your 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.
| Header | Type | Required | Description |
|---|---|---|---|
| X-Webhook-URL | string | No | HTTPS URL to receive the callback. Providing it enables webhook delivery. |
| X-Webhook-Mode | string | No | terminal (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
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | — |
| Upload the talking-head video clip whose lips will be re-synced to your audio. | ||||
audio_url | Yesrequired | string | — | — |
| Upload the audio track to sync the video's lips to. | ||||
sync_mode | No | string | cut_off | cut_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
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | MP4, MOV | Source video. |
| audio | 1 | MP3, WAV | Voice / 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
| Header | Required | Description |
|---|---|---|
| Ocp-Apim-Subscription-Key | Yes | Your API subscription key. |
| Content-Type | Yes | Must be application/json. |
| X-Webhook-URL | No | HTTPS callback URL (see Webhook section). |
Response Handling
Common status codes returned by the submit endpoint.
| Status Code | Meaning |
|---|---|
| 202 Accepted | Request queued. Returns request_id, status: "QUEUED", and polling_url. |
| 400 Bad Request | Invalid request body or unknown model. |
| 401 Unauthorized | Missing or invalid subscription key. |
| 402 Payment Required | Insufficient wallet balance. |
| 403 Forbidden | Subscription not permitted to access this API. |
| 429 Too Many Requests | Rate limit exceeded. |
| 500 Internal Server Error | Unexpected 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
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique identifier for the request. |
| status | string | QUEUED, PROCESSING, COMPLETED, FAILED, or ERROR. |
| model_id | string | The model that handled the request (sync-lipsync-v2-pro). |
| error | string | null | Error message when the request fails; null otherwise. |
| output.media_url | string[] | Array of URLs to the generated lip-synced MP4 video. |
| output.media_type | string | MIME type of the output (video/mp4). |
| created_at | string | ISO-8601 timestamp when the request was created. |
| completed_at | string | ISO-8601 timestamp when the request reached a terminal state. |
| polling_url | string | URL to poll for status (returned on submit). |
Status Values & Flow
| Status | Meaning |
|---|---|
| QUEUED | Request accepted and waiting to be processed. |
| PROCESSING | The lip-sync job is running. |
| COMPLETED | Done — output.media_url contains the synced video. |
| FAILED / ERROR | Generation 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
⚡ 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).
〰 Uptime
Percent of generations that succeeded over the selected period, per model version.