VEED Lipsync 2.0 API, VEED Fabric 1.0 API, Veed API: Pricing, Documentation
by Veed
VEED provides professional AI video processing capabilities including the Fabric model for video enhancement and intelligent background removal. Through Pixazo's API, developers can implement advanced video processing features that automatically improve video quality and remove backgrounds without green screens. The API is designed for content creators and video platforms needing automated video enhancement at scale.

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).
Veed Fabric 1.0 Fast API Documentation
Turn one photo and a voice recording into a talking video: Veed Fabric 1.0 Fast makes the person in the photo speak the audio you send, with matching lip movement and expressions, at 480p or 720p. It is the faster version of Veed Fabric 1.0. To have the photo speak a written script instead, use Veed Fabric 1.0 Text (POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video). 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/veed-fabric-1-0-fast/v1/image-to-videoAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Audio to Video - Veed Fabric 1.0 Fast
Request Code
POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3",
"resolution": "480p"
}import requests
url = "https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3",
"resolution": "480p"
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3",
"resolution": "480p"
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3", "resolution": "480p"}'Output
{
"request_id": "veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-fast_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/veed-fabric-1-0-fast/v1/image-to-video' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3", "resolution": "480p"}'Callback Payload (success)
{
"request_id": "veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-fast",
"error": null,
"output": {
"media_url": [
"https://cdn.pixazo.ai/v1/veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-11-27T12:27:07.545Z",
"updated_at": "2026-11-27 12:27:50",
"completed_at": "2026-11-27 12:27:49"
}Failure callback shape
{
"request_id": "veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-fabric-1-0-fast",
"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 |
|---|---|---|---|---|
image_url | Yesrequired | string | — | A public https URL of a JPG or PNG image |
| The person who speaks: one clearly visible face, ideally facing the camera. | ||||
audio_url | Yesrequired | string | — | A public https URL of an MP3, WAV, M4A or AAC file under 10 MB, 1 to 60 seconds long |
| The speech the person says. The video is as long as this audio, and the audio is its soundtrack (mix any music into this file first). | ||||
resolution | Yesrequired | string | — | 480p, 720p |
| The size of the video, and the rate it is billed at. The sizes measured at launch are in the output section. | ||||
How long the output is
The video is as long as your audio: at most 60 seconds per request. Split a longer recording into parts and send one request per part.
How usage is measured
Billed per second of the delivered video, at the rate of the resolution you choose. A part of a second counts as a whole second. When you submit, the audio's length is reserved from your balance (60 seconds when the file does not state its length); the final charge is for the delivered video, which is as long as the audio. The rates are in the pricing panel on this page. Nothing is charged for a request that fails.
Parameters not supported
Rejected with 400
Checked when you submit: the request is rejected before it is queued.
| Parameter | Why |
|---|---|
audio_url shorter than 1 second or longer than 60 seconds | Rejected when you submit, when the file states its length. Nothing is queued or charged. |
aspect_ratio, width, height | Not supported: the video keeps the photo's shape, sized by 'resolution' (480p or 720p). |
audio | Not accepted. Send the speech as 'audio_url': a public URL (or a base64 data URI) of an mp3, wav, m4a or aac file under 10 MB. |
audio_urls | Not accepted: send one speech file. Send the speech as 'audio_url': a public URL (or a base64 data URI) of an mp3, wav, m4a or aac file under 10 MB. |
avatar_id | Not accepted. Send the photo to animate as 'image_url'. |
batch_size, num_images, number_of_images, n, count, num_outputs, num_videos | Not supported: each request returns one video. Send one request per video. |
callback_url, webhook_url | Not accepted in the JSON body. Send it as the X-Webhook-URL request header instead. |
content | Not accepted. Send the photo in 'image_url' and the speech in 'audio_url'. |
duration, seconds, num_frames, frames_per_second, fps, music_length_ms | Not accepted: the video is as long as the audio in 'audio_url' (1 to 60 seconds). |
image | Not accepted. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
images, image_urls, reference_images | Not accepted: Fabric animates one photo. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
model, engine | Not accepted: this endpoint always runs VEED Fabric 1.0 Fast. For Fabric 1.0 Text use POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video. |
negative_prompt | Not supported: Fabric takes no prompt. |
output_format | Not supported: the video is always an MP4. |
parameters, input | Not accepted: send the fields at the top level of the JSON body. |
prompt | Not accepted: Fabric takes no prompt. The photo performs the speech in 'audio_url'. |
seed | Not supported on VEED Fabric 1.0 Fast. |
stream | Not supported on this API: the result is delivered when the job completes. |
sync_mode | Not accepted: the gateway stores the result and returns it when the job completes. |
text, script, voice_description | Not accepted: VEED Fabric 1.0 Fast animates the speech in 'audio_url'. To have the photo speak a script, use VEED Fabric 1.0 Text (POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video). |
video_url, video | Not supported: Fabric animates a photo. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
voice, voice_id, speed | Not supported: the photo performs the speech in 'audio_url' as recorded. |
webhook_mode | Not accepted in the JSON body. Send it as the X-Webhook-Mode request header instead. |
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 |
|---|---|
image_url, audio_url | The file cannot be downloaded or read. |
image_url, audio_url | The content is blocked by the safety rules. |
Accepted but ignored
Any other parameter is dropped and has no effect.
The output video
output.media_url is one MP4 (H.264) at 25 frames per second, with the audio you sent as its soundtrack.
Measured at launch, from a 1920×1080 (16:9) photo:
| Model | Inputs | Resolution | Size | Length | Frame rate | Sound |
|---|---|---|---|---|---|---|
| Veed Fabric 1.0 Fast | 1920×1080 photo + 6 s audio | 480p | 864×480 | 6.00 s | 25 fps | Yes |
| Veed Fabric 1.0 Text | 1920×1080 photo + a 66-character script | 720p | 1312×736 | 4.80 s | 25 fps | Yes |
Timing
At launch, a 6-second 480p video took about 40 seconds from submit to completion. Polling the status endpoint every 5 to 10 seconds is enough, or use a Webhook.
Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3",
"resolution": "480p"
}Example Response
{
"request_id": "veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}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) and was not queued. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the amount this request reserves. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Error Responses
A 400 names every rejected parameter in violations. These were captured at launch.
Missing audio_url: sent {"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "resolution": "480p"}
{
"error": "Invalid request parameters",
"message": "'audio_url' is required",
"violations": [
"'audio_url' is required"
]
}Text instead of audio: sent {"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "resolution": "480p", "text": "Hello! Welcome to Pixazo. Today we will show you three quick tips."}
{
"error": "Invalid request parameters",
"message": "'audio_url' is required; 'text' is not supported by this model; remove it from the request (got \"Hello! Welcome to Pixazo. Today we will show you three quick tips.\"); 'text' is not accepted: VEED Fabric 1.0 Fast animates the speech in 'audio_url'. To have the photo speak a script, use VEED Fabric 1.0 Text (POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video).",
"violations": [
"'audio_url' is required",
"'text' is not supported by this model; remove it from the request (got \"Hello! Welcome to Pixazo. Today we will show you three quick tips.\")",
"'text' is not accepted: VEED Fabric 1.0 Fast animates the speech in 'audio_url'. To have the photo speak a script, use VEED Fabric 1.0 Text (POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video)."
]
}Retrieving Results
Poll the status endpoint with the request_id until status is COMPLETED or ERROR, then download the video from output.media_url.
curl 'https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
Captured from a real Veed Fabric 1.0 Fast request at launch; the request id is masked.
{
"request_id": "veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-fast",
"error": null,
"output": {
"media_url": [
"https://cdn.pixazo.ai/v1/veed-fabric-1-0-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-11-27T12:27:07.545Z",
"updated_at": "2026-11-27 12:27:50",
"completed_at": "2026-11-27 12:27:49"
}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. |
| 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. |
| updated_at | string | Last status change 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/veed-fabric-1-0-fast/v1/image-to-video. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 5 to 10 seconds, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
Veed Fabric 1.0 Fast API Pricing — Per-Second Rates
Billed per second of video at the requested resolution (480p or 720p). The video is as long as the audio you send, up to 60 seconds.
| Resolution | Price (USD) |
|---|---|
| 480p | $0.105/sec |
| 720p | $0.21/sec |
Veed Fabric 1.0 Text API Documentation
Turn one photo and a written script into a talking video: Veed Fabric 1.0 Text voices your script in a voice it makes to suit the person in the photo (describe the voice you want in voice_description) and makes the person speak it, with matching lip movement and expressions, at 480p or 720p. To use your own recording instead, use Veed Fabric 1.0 Fast (POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video). 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/veed-fabric-1-0-text/v1/text-to-videoAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Text to Video - Veed Fabric 1.0 Text
Request Code
POST https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.",
"resolution": "720p",
"voice_description": "Warm, friendly, calm pace."
}import requests
url = "https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.",
"resolution": "720p",
"voice_description": "Warm, friendly, calm pace."
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.",
"resolution": "720p",
"voice_description": "Warm, friendly, calm pace."
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/veed-fabric-1-0-text/v1/text-to-video' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.", "resolution": "720p", "voice_description": "Warm, friendly, calm pace."}'Output
{
"request_id": "veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-text_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/veed-fabric-1-0-text/v1/text-to-video' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.", "resolution": "720p", "voice_description": "Warm, friendly, calm pace."}'Callback Payload (success)
{
"request_id": "veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-text",
"error": null,
"output": {
"media_url": [
"https://cdn.pixazo.ai/v1/veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-11-27T12:39:33.485Z",
"updated_at": "2026-11-27 12:40:53",
"completed_at": "2026-11-27 12:40:52"
}Failure callback shape
{
"request_id": "veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-fabric-1-0-text",
"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 |
|---|---|---|---|---|
image_url | Yesrequired | string | — | A public https URL of a JPG or PNG image |
| The person who speaks: one clearly visible face, ideally facing the camera. | ||||
text | Yesrequired | string | — | Up to 2,000 characters |
| The script the person speaks, in the language you write it in. Each request makes at most 60 seconds of video, so keep the script to about a minute of speech (at launch, a 66-character script made 4.8 seconds). | ||||
voice_description | No | string | made from the photo | Free text |
Adds to the voice that is made from the photo: for example accent, age, tone or pace ("Warm, friendly, calm pace."). | ||||
resolution | Yesrequired | string | — | 480p, 720p |
| The size of the video, and the rate it is billed at. The sizes measured at launch are in the output section. | ||||
How long the output is
The video is as long as the speech made from text: at most 60 seconds per request. Split a longer script into parts and send one request per part.
How usage is measured
Billed per second of the delivered video, at the rate of the resolution you choose. A part of a second counts as a whole second (at launch, a 4.8-second video was billed as 5 seconds). The length of the speech is known only once it is made, so when you submit, 60 seconds at that rate are reserved from your balance, and your balance must cover them; the final charge is for the delivered video, and the rest is released. The rates are in the pricing panel on this page. Nothing is charged for a request that fails.
Parameters not supported
Rejected with 400
Checked when you submit: the request is rejected before it is queued.
| Parameter | Why |
|---|---|
text longer than 2,000 characters | Rejected when you submit. Nothing is queued or charged. |
aspect_ratio, width, height | Not supported: the video keeps the photo's shape, sized by 'resolution' (480p or 720p). |
audio_url, audio, audio_urls | Not accepted: VEED Fabric 1.0 Text speaks the script in 'text' with a voice it makes. To animate your own recording, use VEED Fabric 1.0 Fast (POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video). |
avatar_id | Not accepted. Send the photo to animate as 'image_url'. |
batch_size, num_images, number_of_images, n, count, num_outputs, num_videos | Not supported: each request returns one video. Send one request per video. |
callback_url, webhook_url | Not accepted in the JSON body. Send it as the X-Webhook-URL request header instead. |
content | Not accepted. Send the photo in 'image_url' and the words to speak in 'text'. |
duration, seconds, num_frames, frames_per_second, fps, music_length_ms | Not accepted: the video is as long as the speech Fabric makes from 'text' (at most 60 seconds). |
image | Not accepted. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
images, image_urls, reference_images | Not accepted: Fabric animates one photo. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
language | Not supported: Fabric speaks 'text' as written. Write the text in the language to speak. |
model, engine | Not accepted: this endpoint always runs VEED Fabric 1.0 Text. For Fabric 1.0 Fast use POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video. |
negative_prompt | Not supported: Fabric takes no prompt. |
output_format | Not supported: the video is always an MP4. |
parameters, input | Not accepted: send the fields at the top level of the JSON body. |
prompt | Not accepted. Send the words to speak as 'text'; describe the voice in 'voice_description'. |
script | Not accepted. Send the words to speak as 'text' (1 to 2,000 characters). |
speed, seed | Not supported on VEED Fabric 1.0 Text. |
stream | Not supported on this API: the result is delivered when the job completes. |
sync_mode | Not accepted: the gateway stores the result and returns it when the job completes. |
video_url, video | Not supported: Fabric animates a photo. Send the photo as 'image_url': a public URL (or a base64 data URI) of a JPEG or PNG file. |
voice | Not supported: Fabric picks the voice from the photo. Describe it in 'voice_description' (e.g. 'British accent, calm'). |
voice_id, voice_settings | Not supported: Fabric picks the voice from the photo. Describe it in 'voice_description'. |
webhook_mode | Not accepted in the JSON body. Send it as the X-Webhook-Mode request header instead. |
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 |
|---|---|
image_url | The file cannot be downloaded or read. |
image_url, text | The content is blocked by the safety rules. |
Accepted but ignored
Any other parameter is dropped and has no effect.
The output video
output.media_url is one MP4 (H.264) at 25 frames per second, with the speech made from your script as its soundtrack.
Measured at launch, from a 1920×1080 (16:9) photo:
| Model | Inputs | Resolution | Size | Length | Frame rate | Sound |
|---|---|---|---|---|---|---|
| Veed Fabric 1.0 Fast | 1920×1080 photo + 6 s audio | 480p | 864×480 | 6.00 s | 25 fps | Yes |
| Veed Fabric 1.0 Text | 1920×1080 photo + a 66-character script | 720p | 1312×736 | 4.80 s | 25 fps | Yes |
Timing
At launch, a 4.8-second 720p video took about 80 seconds from submit to completion. Polling the status endpoint every 5 to 10 seconds is enough, or use a Webhook.
Example Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg",
"text": "Hello! Welcome to Pixazo. Today we will show you three quick tips.",
"resolution": "720p",
"voice_description": "Warm, friendly, calm pace."
}Example Response
{
"request_id": "veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}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) and was not queued. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the amount this request reserves. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Error Responses
A 400 names every rejected parameter in violations. These were captured at launch.
Missing text: sent {"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "resolution": "720p"}
{
"error": "Invalid request parameters",
"message": "'text' is required",
"violations": [
"'text' is required"
]
}Audio_url instead of text: sent {"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-frame.jpg", "resolution": "720p", "audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3"}
{
"error": "Invalid request parameters",
"message": "'text' is required; 'audio_url' is not supported by this model; remove it from the request (got \"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3\"); 'audio_url' is not accepted: VEED Fabric 1.0 Text speaks the script in 'text' with a voice it makes. To animate your own recording, use VEED Fabric 1.0 Fast (POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video).",
"violations": [
"'text' is required",
"'audio_url' is not supported by this model; remove it from the request (got \"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/speech-6s.mp3\")",
"'audio_url' is not accepted: VEED Fabric 1.0 Text speaks the script in 'text' with a voice it makes. To animate your own recording, use VEED Fabric 1.0 Fast (POST https://gateway.pixazo.ai/veed-fabric-1-0-fast/v1/image-to-video)."
]
}Retrieving Results
Poll the status endpoint with the request_id until status is COMPLETED or ERROR, then download the video from output.media_url.
curl 'https://gateway.pixazo.ai/v2/requests/status/veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
Captured from a real Veed Fabric 1.0 Text request at launch; the request id is masked.
{
"request_id": "veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-text",
"error": null,
"output": {
"media_url": [
"https://cdn.pixazo.ai/v1/veed-fabric-1-0-text_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-11-27T12:39:33.485Z",
"updated_at": "2026-11-27 12:40:53",
"completed_at": "2026-11-27 12:40:52"
}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. |
| 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. |
| updated_at | string | Last status change 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/veed-fabric-1-0-text/v1/text-to-video. - Save the
request_idfrom the202response. - Poll
GET /v2/requests/status/{request_id}every 5 to 10 seconds, or use a Webhook instead. - When
statusisCOMPLETED, download the video fromoutput.media_url.
Veed Fabric 1.0 Text API Pricing — Per-Second Rates
Billed per second of video at the requested resolution (480p or 720p). The video is as long as the speech made from your script, up to 60 seconds.
| Resolution | Price (USD) |
|---|---|
| 480p | $0.084/sec |
| 720p | $0.1575/sec |
Veed Dubbing API Documentation
POST https://gateway.pixazo.ai/veed-dubbing/v1/video-to-video/dubbing
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 to Video - VEED Dubbing
Request Code
POST https://gateway.pixazo.ai/veed-dubbing/v1/video-to-video/dubbing
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",
"target_language": "es"
}
import requests
url = "https://gateway.pixazo.ai/veed-dubbing/v1/video-to-video/dubbing"
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",
"target_language": "es"
}
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/veed-dubbing/v1/video-to-video/dubbing", {
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",
target_language: "es"
})
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/veed-dubbing/v1/video-to-video/dubbing" \
-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",
"target_language": "es"
}'
Output
{
"request_id": "veed-dubbing_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-dubbing_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/veed-dubbing/v1/video-to-video/dubbing" \
-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", "target_language": "es" }'
Callback Payload (success)
{
"request_id": "veed-dubbing_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-dubbing",
"output": {
"media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-dubbing_019dxxxx.../output.mp4"],
"media_type": "video/mp4"
}
}
Failure callback shape
{
"request_id": "veed-dubbing_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 | — | — |
Public https URL of the video to dub: MP4 or MOV, with speech in its audio track, up to 10 minutes. There is no fixed file-size limit: only the length counts. Host the file where it can be read in parts (HTTP Range requests, as S3, Google Cloud Storage, Cloudflare R2 and most CDNs allow) and where it reports its size; a large video on a host that does neither may not be measurable and is then refused with a 400 before any hold. Its length is measured when you submit. The speech is translated into the target language in the speakers' own cloned voices, and their lips are synced to the new speech. | ||||
target_language | Yesrequired | string | — | 86 codes (below) |
Language to dub into, written exactly as listed below (lower case), e.g. es, hi, ja. This model has no regional accents. | ||||
source_language | No | string | auto | auto or a code from the source list below |
Language spoken in the video. auto detects it; set it explicitly if detection picks the wrong language. | ||||
keyterms | No | string[] | [] | up to 1,000 terms |
Names and terms to get right in the dub, such as brand, product or people's names: they help the speech recognition catch these words and the translation keep them as written. Each term at most 50 characters and 5 words, without the characters < > { } [ ] \. | ||||
Supported languages
target_language and source_language (86; source also takes auto): af, ar, as, ast, az, be, bg, bn, bs, ca, ceb, cs, cy, da, de, el, en, es, et, fa, fi, fil, fr, ga, gl, gu, ha, he, hi, hr, hu, hy, id, is, it, ja, jv, ka, kk, kn, ko, ky, lb, ln, lt, lv, mi, mk, ml, mn, mr, ms, mt, my, ne, nl, no, ny, oc, or, pa, pl, ps, pt, ro, ru, sd, sk, sl, so, sr, sv, sw, ta, te, tg, th, tl, tr, uk, ur, uz, vi, yo, yue, zh.
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | mp4, mov · ≤ 10 min · no fixed file size | Source video with speech in its audio track. |
Output
One MP4 video per request: your video with its speech translated into the target language in the original speakers' cloned voices, and their lips synced to the new speech. The result is about as long as your video. The API has no quality or bitrate setting.
How usage is measured
Billed per second of your input video. When you submit, the length of your video is measured and a hold for it is placed, rounded up to whole seconds (a fraction under 0.05 s is not counted, minimum one second). The charge is then settled on the finished video's length, up or down, in the same whole seconds; the unused part of a hold is released. A video whose length cannot be measured (only MP4 and MOV can be) is rejected with a 400 before any hold, and one longer than 10 minutes is rejected with a 400 (Input too long). Your balance must cover the hold, and any extra if the result runs longer. The rate is in the pricing panel on this page.
Not accepted
These fields are rejected with a 400 before the request is queued: duration, seconds, num_frames, frames_per_second, text, content and music_length_ms (the result is as long as your video), audio_url (the speech comes from your video), n, count, batch_size, num_images and number_of_images (one video per request), and model, input and parameters, voice_cloning_strength (VEED Dubbing Pro only). A value outside the listed languages is rejected too. Send video_url and target_language, plus optionally source_language, and keyterms.
Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
"target_language": "es"
}
Example Response
{
"request_id": "veed-dubbing_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-dubbing_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 'veed-dubbing' not found or is disabled" }
// generation failure (via status / webhook)
{ "request_id": "veed-dubbing_019dxxxx...", "status": "ERROR", "error": "Failed to download the input file." }
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://gateway.pixazo.ai/v2/requests/status/veed-dubbing_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "veed-dubbing_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-dubbing",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-dubbing_019dxxxx-xxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique identifier for the request. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request (veed-dubbing). |
| error | string | null | Error message when the request fails; null otherwise. |
| output.media_url | string[] | Array of URLs to the dubbed 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 dubbing job is running. |
| COMPLETED | Done — output.media_url contains the dubbed video. |
| ERROR | Generation failed — see error. |
Typical workflow
QUEUED → PROCESSING → COMPLETED (or 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.
Veed Dubbing API Pricing
Veed Dubbing Pro API Documentation
POST https://gateway.pixazo.ai/veed-dubbing-pro/v1/video-to-video/dubbing
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 to Video - VEED Dubbing Pro
Request Code
POST https://gateway.pixazo.ai/veed-dubbing-pro/v1/video-to-video/dubbing
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",
"target_language": "es"
}
import requests
url = "https://gateway.pixazo.ai/veed-dubbing-pro/v1/video-to-video/dubbing"
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",
"target_language": "es"
}
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/veed-dubbing-pro/v1/video-to-video/dubbing", {
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",
target_language: "es"
})
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/veed-dubbing-pro/v1/video-to-video/dubbing" \
-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",
"target_language": "es"
}'
Output
{
"request_id": "veed-dubbing-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-dubbing-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/veed-dubbing-pro/v1/video-to-video/dubbing" \
-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", "target_language": "es" }'
Callback Payload (success)
{
"request_id": "veed-dubbing-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-dubbing-pro",
"output": {
"media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-dubbing-pro_019dxxxx.../output.mp4"],
"media_type": "video/mp4"
}
}
Failure callback shape
{
"request_id": "veed-dubbing-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 | — | — |
Public https URL of the video to dub: MP4 or MOV, with speech in its audio track, up to 529 seconds (8 min 49 s). There is no fixed file-size limit: only the length counts. Host the file where it can be read in parts (HTTP Range requests, as S3, Google Cloud Storage, Cloudflare R2 and most CDNs allow) and where it reports its size; a large video on a host that does neither may not be measurable and is then refused with a 400 before any hold. Its length is measured when you submit. The speech is translated into the target language in the speakers' own cloned voices, and their lips are synced to the new speech. | ||||
target_language | Yesrequired | string | — | 108 codes (below) |
Language to dub into, written exactly as listed below (case-sensitive), e.g. es, hi, ja, or a regional accent such as es-MX or pt-BR. | ||||
source_language | No | string | auto | auto or a code from the source list below |
Language spoken in the video. auto detects it; set it explicitly if detection picks the wrong language. | ||||
voice_cloning_strength | No | integer | 7 | 0 – 10 |
| How closely the dubbed voices match the original speakers. Higher keeps more of each speaker's voice and accent; lower sounds more natural in the target language. | ||||
keyterms | No | string[] | [] | up to 1,000 terms |
Names and terms to get right in the dub, such as brand, product or people's names: they help the speech recognition catch these words and the translation keep them as written. Each term at most 50 characters and 5 words, without the characters < > { } [ ] \. | ||||
Supported languages
target_language (108): af, ak, am, ar, ar-EG, as, az, be, bg, bo, bs, ca, ceb, cmn, cs, cy, da, de, dgo, el, en, en-AU, en-CA, en-GB, en-US, es, es-AR, es-CL, es-ES, es-MX, et, eu, fa, fi, fil, fr, fr-CA, fr-FR, gl, gu, ha, he, hi, hr, hu, hy, id, is, it, ja, jv, ka, ki, kk, kn, ko, ky, lg, lt, lv, mk, ml, mn, mr, ms, my, ne, nl, no, nso, pa, pl, pt, pt-BR, pt-PT, rn, ro, ru, rw, sd, sk, sl, sq, ss, st, su, sv, sw, ta, te, tg, th, tn, tr, ts, ug, uk, ur, uz, ve, vi, war, wo, yo, yue, zh, zh-TW, zu.
Regional accents (14): ar-EG, en-AU, en-CA, en-GB, en-US, es-AR, es-CL, es-ES, es-MX, fr-CA, fr-FR, pt-BR, pt-PT, zh-TW.
source_language: auto or one of (94): af, ak, am, ar, as, az, be, bg, bo, bs, ca, ceb, cmn, cs, cy, da, de, dgo, el, en, es, et, eu, fa, fi, fil, fr, gl, gu, ha, he, hi, hr, hu, hy, id, is, it, ja, jv, ka, ki, kk, kn, ko, ky, lg, lt, lv, mk, ml, mn, mr, ms, my, ne, nl, no, nso, pa, pl, pt, rn, ro, ru, rw, sd, sk, sl, sq, ss, st, su, sv, sw, ta, te, tg, th, tn, tr, ts, ug, uk, ur, uz, ve, vi, war, wo, yo, yue, zh, zu.
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | mp4, mov · ≤ 529 s (8 min 49 s) · no fixed file size | Source video with speech in its audio track. |
Output
One MP4 video per request: your video with its speech translated into the target language in the original speakers' cloned voices, and their lips synced to the new speech. The result is about as long as your video. The API has no quality or bitrate setting.
How usage is measured
Billed per second of your input video. When you submit, the length of your video is measured and a hold for it is placed, rounded up to whole seconds (a fraction under 0.05 s is not counted, minimum one second). The charge is then settled on the finished video's length, up or down, in the same whole seconds; the unused part of a hold is released. A video whose length cannot be measured (only MP4 and MOV can be) is rejected with a 400 before any hold, and one longer than 529 seconds is rejected with a 400. Your balance must cover the hold, and any extra if the result runs longer. The rate is in the pricing panel on this page.
Not accepted
These fields are rejected with a 400 before the request is queued: duration, seconds, num_frames, frames_per_second, text, content and music_length_ms (the result is as long as your video), audio_url (the speech comes from your video), n, count, batch_size, num_images and number_of_images (one video per request), and model, input and parameters. A value outside the listed languages is rejected too. Send video_url and target_language, plus optionally source_language, voice_cloning_strength and keyterms.
Example Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/lipsync/talking-head-17s.mp4",
"target_language": "es"
}
Example Response
{
"request_id": "veed-dubbing-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-dubbing-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 'veed-dubbing-pro' not found or is disabled" }
// generation failure (via status / webhook)
{ "request_id": "veed-dubbing-pro_019dxxxx...", "status": "ERROR", "error": "Failed to download the input file." }
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://gateway.pixazo.ai/v2/requests/status/veed-dubbing-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "veed-dubbing-pro_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-dubbing-pro",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-dubbing-pro_019dxxxx-xxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique identifier for the request. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request (veed-dubbing-pro). |
| error | string | null | Error message when the request fails; null otherwise. |
| output.media_url | string[] | Array of URLs to the dubbed 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 dubbing job is running. |
| COMPLETED | Done — output.media_url contains the dubbed video. |
| ERROR | Generation failed — see error. |
Typical workflow
QUEUED → PROCESSING → COMPLETED (or 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.
Veed Dubbing Pro API Pricing
Veed Clean Audio API Documentation
Remove background noise from speech with VEED Clean Audio: send one recording — any audio or video file up to 30 minutes — and get back a cleaned, loudness-normalized 48 kHz mono audio file in FLAC or WAV. Asynchronous: submit returns a request_id; poll the status endpoint until the request is COMPLETED, then download the audio from output.media_url.
POST https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audioAuthentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Audio to Audio - VEED Clean Audio
Request Code
POST https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audio
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav",
"output_format": "flac",
"target_lufs": -19,
"strength": 0.874
}import requests
url = "https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audio"
headers = {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav",
"output_format": "flac",
"target_lufs": -19,
"strength": 0.874
}
resp = requests.post(url, json=data, headers=headers)
print(resp.json())const res = await fetch("https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audio", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify({
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav",
"output_format": "flac",
"target_lufs": -19,
"strength": 0.874
})
});
console.log(await res.json());curl -X POST 'https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audio' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--data-raw '{"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav", "output_format": "flac", "target_lufs": -19, "strength": 0.874}'Output
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-clean-audio_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/veed-clean-audio/v1/clean-audio' \
-H 'Content-Type: application/json' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
-H 'X-Webhook-URL: https://your-server.com/webhook' \
--data-raw '{"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav", "output_format": "flac", "target_lufs": -19, "strength": 0.874}'Callback Payload (success)
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-clean-audio",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.flac"
],
"media_type": "audio/flac"
},
"created_at": "2026-10-06T16:09:09.763Z",
"completed_at": "2026-10-06 16:10:18"
}Failure callback shape
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-clean-audio",
"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 |
|---|---|---|---|---|
audio_url | Yesrequired | string | — | One audio or video file, up to 30 minutes and 512 MB: a publicly reachable https URL that serves the file itself (no redirects), or a data URI for a small file (a data URI over 50 MB is refused) |
| The recording to clean. Any format ffmpeg can decode — for example WAV, MP3, M4A, AAC, OGG, FLAC, MP4, MOV or WebM. For a video file, its audio track is cleaned; multi-channel audio is mixed down to mono. | ||||
output_format | No | string | "flac" | flac, wav |
| Container for the cleaned audio, always 48 kHz mono 16-bit. FLAC is lossless at about half the size of WAV. Values are case-sensitive. | ||||
target_lufs | No | number or null | -19 | −40 to −8, or null |
Loudness target for the output, in LUFS (ITU-R BS.1770 integrated loudness). The true peak is capped at −1.1 dBTP, so a recording with sharp peaks can come out quieter than the target. Send null to skip loudness normalization and keep the input level. | ||||
strength | No | number | 0.874 | 0 to 1 |
How strongly noise under speech is suppressed: the suppression floor is 1 − strength. Lower values keep more room tone behind the voice; silence between words is always cleaned. | ||||
Good to know
- Each request cleans one recording.
batch_size,num_images,number_of_images,n,countare rejected — send one request per file. - Send the file as
audio_urlonly;audio_urlsandvideo_urlare rejected. For a video, send its URL asaudio_url: the audio track is cleaned and returned as an audio file. - There is no length field:
duration,seconds,num_frames,frames_per_second,music_length_msare rejected. The billed length is measured from the file. - The model takes no prompt. Send every field at the top level of the JSON body;
parameters,content,textare rejected. - Values are case-sensitive: use
flac, notFLAC. - When you leave a field out, the defaults apply:
flac, a loudness target of −19 LUFS and astrengthof 0.874. - Only
target_lufsacceptsnull. Omit the other optional fields you do not use — do not send them asnull. - There is no
seedparameter. - Webhooks are set with the
X-Webhook-URL/X-Webhook-Modeheaders;webhook_urlandwebhook_modein the JSON body are rejected.
Input Audio
- Send exactly one file in
audio_url: a publicly reachablehttpsURL that serves the file itself (no redirects), or a data URI such asdata:audio/wav;base64,.... Use a URL for anything large: a data URI over 50 MB is refused. A list of files is rejected. - Any audio or video format ffmpeg can decode works — for example WAV, MP3, M4A, AAC, OGG, FLAC, MP4, MOV or WebM. For a video, its audio track is cleaned and returned as an audio file; the video itself is not returned.
- Multi-channel audio is mixed down to mono.
- Up to 30 minutes and 512 MB per file. A longer recording whose file states its length is refused when you submit; split it into shorter segments.
- The link is checked when you submit: a URL that cannot be downloaded, or that returns a web page or an empty file instead of a recording, is refused at once with a
400and its hold is released. Large files are fetched when processing starts, so keep the link valid until the request completes.
Example: send the recording as a data URI
{
"audio_url": "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEA...",
"output_format": "wav"
}Output Audio
The cleaned recording is 48 kHz, mono, 16-bit, and the same length as the input, give or take a fraction of a second. Background noise is removed from the speech, and the loudness is normalized — aimed at target_lufs, within a true-peak cap (see Loudness below) — unless you send null.
| output_format | File | output.media_type | Notes |
|---|---|---|---|
flac | output.flac | audio/flac | The default. Lossless, about half the size of WAV. |
wav | output.wav | audio/wav | Uncompressed PCM. |
Loudness
The default target is −19 LUFS integrated, and the true peak is capped at −1.1 dBTP. When the cap is reached first, the output comes out quieter than the target. To keep the original level and skip loudness normalization, send "target_lufs": null:
{
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav",
"output_format": "wav",
"target_lufs": null
}Strength
strength sets how much of the background stays under the voice: at the default 0.874 the noise floor is held about 18 dB down. Lower it to keep more of the room's sound behind the speaker.
Example Request
{
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/doc-assets/audio/transcribe-sample.wav",
"output_format": "flac",
"target_lufs": -19,
"strength": 0.874
}Example Response
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}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 | Invalid request — a required field is missing, a value has the wrong type, is out of range or is not one of the allowed values, or the recording could not be downloaded or is longer than 30 minutes. The message says what to fix. |
| 401 | Unauthorized — missing or invalid subscription key. |
| 402 | Insufficient balance for the hold this request needs. |
| 429 | Too many requests. |
| 500 | Internal server error. |
Parameter problems are caught when you submit and returned as a 400, before any hold is placed on your balance. A recording that cannot be downloaded is also refused at submit with a 400, and its hold is released at once. Problems that need the model to run are reported through the status endpoint as status: "ERROR", with a message in error saying what went wrong. Failed requests are not billed — the hold is released in full.
| Condition | How it surfaces |
|---|---|
| Missing or invalid subscription key | synchronous 401 |
| Balance too low for the hold | synchronous 402 |
Missing or empty audio_url, or audio_url sent as anything other than a single string | synchronous 400 |
An audio_url that cannot be downloaded when you submit, or that returns a web page or an empty file instead of a recording, or a data URI over 50 MB (the hold is released at once) | synchronous 400 |
| A recording longer than 30 minutes whose file states its length — for example WAV, FLAC, MP4, MOV or M4A (refused before any hold) | synchronous 400 |
output_format not one of the allowed values (values are case-sensitive) | synchronous 400 |
target_lufs not a number from −40 to −8 (a JSON null is accepted), or strength not a number from 0 to 1 — for example the string "0.5" | synchronous 400 |
batch_size, num_images, number_of_images, n, count (one recording per request) | synchronous 400 |
duration, seconds, num_frames, frames_per_second, music_length_ms (the billed length is measured from the file) | synchronous 400 |
parameters, content, text (no prompt; send the fields at the top level of the JSON body) | synchronous 400 |
audio_urls, video_url (send one file, as audio_url) | synchronous 400 |
webhook_url or webhook_mode in the JSON body (use the X-Webhook-URL / X-Webhook-Mode headers) | synchronous 400 |
| A file the model cannot use: no audio track, audio that cannot be decoded, or a file over 512 MB | status: "ERROR" |
| A recording longer than 30 minutes whose length could not be read when you submitted it | status: "ERROR" |
| A large file the model cannot fetch when processing starts — for example a link that redirects, has expired or is not publicly reachable | status: "ERROR" |
Missing audio_url (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'audio_url' is required",
"violations": [
"'audio_url' is required"
]
}A value that is not allowed (synchronous 400)
{
"error": "Invalid request parameters",
"message": "'output_format' must be one of: \"flac\", \"wav\" (got \"FLAC\")",
"violations": [
"'output_format' must be one of: \"flac\", \"wav\" (got \"FLAC\")"
]
}A recording longer than 30 minutes (synchronous 400, no hold)
{
"error": "Input too long",
"message": "The source media is 2400s. This API accepts inputs up to 1800s — split it into shorter segments.",
"max_input_seconds": 1800,
"input_seconds": 2400
}A file that cannot be downloaded (synchronous 400, hold released)
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"error": "Asset proxy failed",
"message": "Failed to proxy asset https://example.com/recording.wav: 404 Not Found",
"failures": [
{
"url": "https://example.com/recording.wav",
"error": "404 Not Found"
}
]
}Retrieving Results
Poll the status endpoint with the request_id from the submit response until status is COMPLETED or ERROR, then download the audio from output.media_url. Treat any status other than QUEUED, PROCESSING or COMPLETED as a failure. Longer recordings take longer to process.
Endpoint
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/veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
-H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'Completed response
{
"request_id": "veed-clean-audio_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-clean-audio",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/{request_id}/output.flac"
],
"media_type": "audio/flac"
},
"created_at": "2026-10-06T16:09:09.763Z",
"completed_at": "2026-10-06 16:10:18"
}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 — veed-clean-audio for this endpoint. |
| output.media_url | array of strings | URL of the cleaned audio (one file per request). |
| output.media_type | string | audio/flac, or audio/wav when output_format is wav. |
| created_at | string | Request creation timestamp. |
| completed_at | string | Completion timestamp. |
| error | string | Error message when status is ERROR. |
| polling_url | string | Status URL for this request (submit response only). |
Status Values & Flow
QUEUED → PROCESSING → COMPLETED (success) or ERROR (failure).
Typical workflow
- Send the request to
POST https://gateway.pixazo.ai/veed-clean-audio/v1/clean-audio. - 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 audio fromoutput.media_url.
How billing is measured
Billing is measured per minute of input audio: the length of the recording you send, rounded to whole seconds and then up to the next full minute, with a one-minute minimum — a 4-minute 10-second file is billed as 5 minutes, a 20-second file as 1 minute. For a video file, the length of its audio track is billed. output_format, target_lufs and strength do not change the amount.
When you submit, a hold is placed on your balance: for the file's length when the file states it (WAV, FLAC, MP4, MOV, M4A, and MP3 with a length header), otherwise for the 30-minute maximum. When the request completes, the charge is settled to the measured length and the rest of the hold is released. A failed request is not billed — its hold is released in full.
The current rate is shown in the pricing panel on this page.
Veed Clean Audio API Pricing
Billed on the length of the recording you send: rounded to whole seconds, then up to the next full minute, with a one-minute minimum. A video file is billed on its audio track; the output format, loudness target and strength do not change the price.
Veed Lipsync 2.0 API Documentation
POST https://gateway.pixazo.ai/veed-lipsync-v2/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 - VEED Lipsync v2
Request Code
POST https://gateway.pixazo.ai/veed-lipsync-v2/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"
}
import requests
url = "https://gateway.pixazo.ai/veed-lipsync-v2/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"
}
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/veed-lipsync-v2/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"
})
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/veed-lipsync-v2/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"
}'
Output
{
"request_id": "veed-lipsync-v2_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-lipsync-v2_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/veed-lipsync-v2/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": "veed-lipsync-v2_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-lipsync-v2",
"output": {
"media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-lipsync-v2_019dxxxx.../output.mp4"],
"media_type": "video/mp4"
}
}
Failure callback shape
{
"request_id": "veed-lipsync-v2_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 | — | — |
Public https URL (or a base64 data: URI) of the talking-head video whose lips are re-synced to your audio: mp4, mov, webm, m4v or gif, up to 4K, 10 minutes and 5 GB. The result keeps this video's resolution and frame rate. | ||||
audio_url | Yesrequired | string | — | — |
Public https URL (or a base64 data: URI) of the new speech to sync the lips to: mp3, wav, m4a, aac or ogg, up to 10 minutes and 5 GB. | ||||
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | mp4, mov, webm, m4v, gif · up to 4K · ≤ 10 min · ≤ 5 GB | Source video. |
| audio | 1 | mp3, ogg, wav, m4a, aac · ≤ 10 min · ≤ 5 GB | Voice / audio track. |
Output
One MP4 video (H.264 video, AAC audio) per request, at the same resolution and frame rate as your video: a 1080p source gives a 1080p result, and a 4K source gives a 4K result. Only the mouth and lower face are re-rendered; the rest of the frame stays as it was. The file is compressed for delivery, so it is much smaller than a high-bitrate master such as ProRes (for example, a 47-second 1080p clip came back as a 22 MB MP4, about 3.7 Mbps). The API has no quality or bitrate setting.
How usage is measured
Billed per second of the output video. When you submit, the length of your video is measured, and of your audio too when its file states its length, and a hold for the longer of the two is placed. The charge is then settled on the finished video's length, up or down, rounded up to whole seconds (a fraction under 0.05 s is not counted, minimum one second); the unused part of a hold is released. If your video's length cannot be measured (for example a webm or gif video), the hold is for the 10-minute maximum. An input measured longer than 10 minutes is rejected with a 400 (Input too long) before any hold. Your balance must cover the hold, and a result longer than the hold. The rate is in the pricing panel on this page.
Not accepted
These fields are rejected with a 400 before the request is queued: duration, seconds, num_frames, frames_per_second, text, content and music_length_ms (the result is as long as your input), and n, count, batch_size, num_images and number_of_images (one video per request). Send video_url and audio_url only.
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"
}
Example Response
{
"request_id": "veed-lipsync-v2_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-lipsync-v2_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 'veed-lipsync-v2' not found or is disabled" }
// generation failure (via status / webhook)
{ "request_id": "veed-lipsync-v2_019dxxxx...", "status": "ERROR", "error": "Failed to download the input file." }
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://gateway.pixazo.ai/v2/requests/status/veed-lipsync-v2_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "veed-lipsync-v2_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-lipsync-v2",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-lipsync-v2_019dxxxx-xxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique identifier for the request. |
| status | string | QUEUED, PROCESSING, COMPLETED or ERROR. |
| model_id | string | The model that handled the request (veed-lipsync-v2). |
| 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. |
| ERROR | Generation failed — see error. |
Typical workflow
QUEUED → PROCESSING → COMPLETED (or 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.
Veed Lipsync 2.0 API Pricing
Veed Fabric 1.0 API Documentation
https://gateway.pixazo.ai/veed-fabric-1-0-api-130/v1/veed-fabric-1-0-api-request
Authentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
VEED Fabric 1.0 API generate request - VEED Fabric 1.0
Request Code
POST /veed-fabric-1-0-api-request HTTP/1.1
Host: gateway.pixazo.ai
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
"resolution": "720p"
}
import requests
url = "https://gateway.pixazo.ai/veed-fabric-1-0-api-130/v1/veed-fabric-1-0-api-request"
headers = {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
"resolution": "720p"
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const url = "https://gateway.pixazo.ai/veed-fabric-1-0-api-130/v1/veed-fabric-1-0-api-request";
const data = {
image_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
audio_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
resolution: "720p"
};
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
},
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
curl -X POST "https://gateway.pixazo.ai/veed-fabric-1-0-api-130/v1/veed-fabric-1-0-api-request" \
-H "Content-Type: application/json" \
-H "Cache-Control: no-cache" \
-H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
--data-raw '{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
"resolution": "720p"
}'
Output
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "/v2/requests/status/veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Webhook (Optional)
Add the X-Webhook-URL header to your submit request to receive a POST callback when the job completes — no polling required.
Using curl? These are HTTP request headers — pass each with -H, e.g. -H "X-Webhook-URL: https://your-server.com/webhook/callback". Do not paste them as bare lines, and end every line of a multi-line command with \.
Webhook Headers
| Header | Required | Default | Description |
|---|---|---|---|
X-Webhook-URL | Yes (to enable) | — | HTTPS endpoint on your server that will receive the POST callback. Must respond 2xx within a few seconds (process async if needed). |
X-Webhook-Mode | No | terminal | terminal — fires once at the final status (COMPLETED/FAILED/ERROR). sync — fires on every poll cycle plus the terminal event, and caps the queue’s polling delay at 15s for tighter progress updates. |
Example: enable webhook
X-Webhook-URL: https://your-server.com/webhook/callback
X-Webhook-Mode: terminal
Callback Payload
Your endpoint receives a POST application/json with the same shape as the GET /v2/requests/status/{request_id} response. Example terminal callback (mode terminal):
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-api-130",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.png"
],
"media_type": "image/png"
},
"created_at": "2026-05-22T13:17:32.110Z",
"updated_at": "2026-05-22 13:19:23",
"completed_at": "2026-05-22 13:19:23"
}
Failure callback shape
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-fabric-1-0-api-130",
"error": "Description of the error",
"output": null,
"created_at": "...",
"updated_at": "...",
"completed_at": "..."
}
Delivery semantics
- terminal mode (default) — exactly one
POSTwhen the request reaches a terminal status. No callback duringPROCESSING. - sync mode —
POSTon every status poll (with delay capped at ~15s) plus a finalPOSTat terminal status. Use when you want progress updates. - Idempotency — use
request_idas your idempotency key. Network retries can deliver the same callback more than once; your handler must tolerate duplicates. - Response — respond
200 OKwithin a few seconds. The queue does not block on slow handlers, but persistent failures may stop further deliveries. - HTTPS required — plain
http://URLs are rejected.
Request Parameters - VEED Fabric 1.0 API generate request
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
image_url | Yesrequired | string | — | Publicly accessible HTTPS URL (max 2083 characters) |
| Source image containing the face / avatar to animate. The face is animated and lip-synced to the supplied audio. Supported formats: JPG, PNG, WEBP. | ||||
audio_url | Yesrequired | string | — | Publicly accessible HTTPS URL (max 2083 characters) |
| Audio track that drives the lip-sync and facial motion. The length of this audio determines the length of the generated video. Supported formats: MP3, WAV. | ||||
resolution | Yesrequired | string | — | "480p", "720p" |
| Output resolution of the generated video. Required by the provider — there is no server-side default, so send it explicitly with every request. | ||||
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| image | 1 | JPG, PNG, WEBP | Portrait / avatar image. |
| audio | 1 | MP3, WAV | Voice / audio track. |
Minimum Request
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
"resolution": "720p"
}
Full Request (all options)
{
"image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/input_model.png",
"audio_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/Oz_g4AwQvXtXpUHL3Pa7u_Hope.mp3",
"resolution": "720p"
}
Response
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "/v2/requests/status/veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Request Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Cache-Control | no-cache |
| Ocp-Apim-Subscription-Key | Your subscription key |
Response Handling
Common status codes for VEED Fabric 1.0 API generate request.
| Code | Meaning |
|---|---|
| 202 | Accepted — Request queued |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
Error Responses
Queue system errors and model validation errors.
Queue System Errors
// 402 — Insufficient balance
{
"error": "Insufficient Balance",
"message": "Your wallet does not have enough balance."
}
// 400 — Model not found
{
"error": "Model not found",
"message": "Model 'veed-fabric-1-0-api-130' not found or is disabled"
}
Error via Status/Webhook
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-fabric-1-0-api-130",
"error": "Description of the error",
"output": null
}
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET /v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"/v2/requests/status/veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "veed-fabric-1-0-api-130_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-fabric-1-0-api-130",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-fabric-1-0-api-130_019dxxxx-xxxx/output.ext"
],
"media_type": "application/octet-stream"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier |
| status | string | QUEUED, PROCESSING, COMPLETED, FAILED, or ERROR |
| model_id | string | Model that processed the request |
| error | string|null | Error message if failed |
| output.media_url | array | URLs to generated media (R2 CDN) |
| output.media_type | string | MIME type of the output |
| created_at | string | When request was created |
| completed_at | string|null | When request completed |
| polling_url | string | Status URL (initial response only) |
Status Values
| Status | Description |
|---|---|
| QUEUED | Request accepted, waiting to be processed |
| PROCESSING | Being processed by the model |
| COMPLETED | Done — output contains the result |
| FAILED | Failed — check error field |
| ERROR | System error — not charged |
Status Flow
QUEUED → PROCESSING → COMPLETED
→ FAILED
→ ERROR
Typical Workflow
- Send a generate request to the API endpoint
- Save the
request_idfrom the response - Poll every 5-10 seconds:
GET /v2/requests/status/{request_id} - When
statusis"COMPLETED", download fromoutput.media_url
Tip: Use X-Webhook-URL header to get a callback instead of polling.
Veed Fabric 1.0 API Pricing
| Resolution | Price (USD) |
|---|---|
| 480p / per second | $0.08 |
| 720p / per second | $0.15 |
Veed 1.0 API Documentation
https://gateway.pixazo.ai/veed-video-background-remover-541/v1/veed-video-background-remover-request
Authentication
All requests require an API key passed via header.
| Header | Type | Required | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | string | Yes | Your API subscription key |
Veed Video Background Remover generate request - Veed Video Background Remover
Request Code
POST https://gateway.pixazo.ai/veed-video-background-remover-541/v1/veed-video-background-remover-request
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"output_codec": "vp9",
"refine_foreground_edges": true,
"subject_is_person": true
}
import requests
url = "https://gateway.pixazo.ai/veed-video-background-remover-541/v1/veed-video-background-remover-request"
headers = {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"output_codec": "vp9",
"refine_foreground_edges": true,
"subject_is_person": true
}
response = requests.post(url, json=data, headers=headers)
print(response.json())
const url = "https://gateway.pixazo.ai/veed-video-background-remover-541/v1/veed-video-background-remover-request";
const headers = {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
"Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
};
const data = {
video_url: "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
output_codec: "vp9",
refine_foreground_edges: true,
subject_is_person: true
};
fetch(url, {
method: "POST",
headers: headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
curl -X POST "https://gateway.pixazo.ai/veed-video-background-remover-541/v1/veed-video-background-remover-request" \
-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/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"output_codec": "vp9",
"refine_foreground_edges": true,
"subject_is_person": true
}'
Output
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Webhook (Optional)
Add the X-Webhook-URL header to your submit request to receive a POST callback when the job completes — no polling required.
Using curl? These are HTTP request headers — pass each with -H, e.g. -H "X-Webhook-URL: https://your-server.com/webhook/callback". Do not paste them as bare lines, and end every line of a multi-line command with \.
Webhook Headers
| Header | Required | Default | Description |
|---|---|---|---|
X-Webhook-URL | Yes (to enable) | — | HTTPS endpoint on your server that will receive the POST callback. Must respond 2xx within a few seconds (process async if needed). |
X-Webhook-Mode | No | terminal | terminal — fires once at the final status (COMPLETED/FAILED/ERROR). sync — fires on every poll cycle plus the terminal event, and caps the queue’s polling delay at 15s for tighter progress updates. |
Example: enable webhook
X-Webhook-URL: https://your-server.com/webhook/callback
X-Webhook-Mode: terminal
Callback Payload
Your endpoint receives a POST application/json with the same shape as the GET /v2/requests/status/{request_id} response. Example terminal callback (mode terminal):
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-video-background-remover-541",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
],
"media_type": "video/mp4"
},
"created_at": "2026-05-22T13:17:32.110Z",
"updated_at": "2026-05-22 13:19:23",
"completed_at": "2026-05-22 13:19:23"
}
Failure callback shape
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-video-background-remover-541",
"error": "Description of the error",
"output": null,
"created_at": "...",
"updated_at": "...",
"completed_at": "..."
}
Delivery semantics
- terminal mode (default) — exactly one
POSTwhen the request reaches a terminal status. No callback duringPROCESSING. - sync mode —
POSTon every status poll (with delay capped at ~15s) plus a finalPOSTat terminal status. Use when you want progress updates. - Idempotency — use
request_idas your idempotency key. Network retries can deliver the same callback more than once; your handler must tolerate duplicates. - Response — respond
200 OKwithin a few seconds. The queue does not block on slow handlers, but persistent failures may stop further deliveries. - HTTPS required — plain
http://URLs are rejected.
Request Parameters - Veed Video Background Remover generate request
| Parameter | Required | Type | Default | Allowed values / range |
|---|---|---|---|---|
video_url | Yesrequired | string | — | Public HTTP(S) URL, max 2,083 characters |
| The video to remove the background from. Must be a publicly accessible URL (no authentication required). | ||||
output_codec | No | string | vp9 | vp9, h264 |
| Codec of the returned video. vp9 returns a single VP9 video with an alpha channel; h264 returns two videos (RGB and alpha) and is recommended for better RGB quality. | ||||
refine_foreground_edges | No | boolean | true | true, false |
| Improves the quality of the extracted subject’s edges. Set to false to skip edge refinement. | ||||
subject_is_person | No | boolean | true | true, false |
| Optimizes segmentation for human subjects. Set to false when the subject is not a person (for example a product or an object). | ||||
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | MP4, MOV | Video to remove the background from. |
Minimum Request
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4"
}
Full Request (all options)
{
"video_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/kandinsky-5-0-pro-953/ijNirwcnwvZ0VLVPIylDF_output.mp4",
"output_codec": "vp9",
"refine_foreground_edges": true,
"subject_is_person": true
}
Response
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Request Headers
| Header | Value |
|---|---|
| Content-Type | application/json |
| Cache-Control | no-cache |
| Ocp-Apim-Subscription-Key | Your API subscription key |
Response Handling
Common status codes for Veed Video Background Remover generate request.
| Code | Meaning |
|---|---|
| 202 | Accepted — Request queued |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
Error Responses
Queue system errors and model validation errors.
Queue System Errors
// 402 — Insufficient balance
{
"error": "Insufficient Balance",
"message": "Your wallet does not have enough balance."
}
// 400 — Model not found
{
"error": "Model not found",
"message": "Model 'veed-video-background-remover-541' not found or is disabled"
}
Error via Status/Webhook
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "ERROR",
"model_id": "veed-video-background-remover-541",
"error": "Description of the error",
"output": null
}
Retrieving Results
Poll the universal status endpoint to check progress and retrieve results.
Endpoint
GET https://gateway.pixazo.ai/v2/requests/status/{request_id}
Ocp-Apim-Subscription-Key: YOUR_API_KEY
cURL Example
curl -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://gateway.pixazo.ai/v2/requests/status/veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Response (Completed)
{
"request_id": "veed-video-background-remover-541_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-video-background-remover-541",
"error": null,
"output": {
"media_url": [
"https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-video-background-remover-541_019dxxxx-xxxx/output.ext"
],
"media_type": "application/octet-stream"
},
"created_at": "2026-03-31T10:00:00.000Z",
"updated_at": "2026-03-31T10:00:15.000Z",
"completed_at": "2026-03-31T10:00:15.000Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| request_id | string | Unique request identifier |
| status | string | QUEUED, PROCESSING, COMPLETED, FAILED, or ERROR |
| model_id | string | Model that processed the request |
| error | string|null | Error message if failed |
| output.media_url | array | URLs to generated media (R2 CDN) |
| output.media_type | string | MIME type of the output |
| created_at | string | When request was created |
| completed_at | string|null | When request completed |
| polling_url | string | Status URL (initial response only) |
Status Values
| Status | Description |
|---|---|
| QUEUED | Request accepted, waiting to be processed |
| PROCESSING | Being processed by the model |
| COMPLETED | Done — output contains the result |
| FAILED | Failed — check error field |
| ERROR | System error — not charged |
Status Flow
QUEUED → PROCESSING → COMPLETED
→ FAILED
→ ERROR
Typical Workflow
- Send a generate request to the API endpoint
- Save the
request_idfrom the response - Poll every 5-10 seconds:
GET /v2/requests/status/{request_id} - When
statusis"COMPLETED", download fromoutput.media_url
Tip: Use X-Webhook-URL header to get a callback instead of polling.
Veed 1.0 API Pricing
| Mode | Price (USD) |
|---|---|
| Refine edges ON / per second | $0.0225 |
| Refine edges OFF / per second | $0.015 |
Veed Lipsync API Documentation
POST https://gateway.pixazo.ai/veed-lipsync/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 - VEED Lipsync
Request Code
POST https://gateway.pixazo.ai/veed-lipsync/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"
}
import requests
url = "https://gateway.pixazo.ai/veed-lipsync/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"
}
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/veed-lipsync/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"
})
});
const data = await res.json();
console.log(data); // { request_id, status: "QUEUED", polling_url }
curl -X POST "https://gateway.pixazo.ai/veed-lipsync/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"
}'
Output
{
"request_id": "veed-lipsync_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-lipsync_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/veed-lipsync/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": "veed-lipsync_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-lipsync",
"output": {
"media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-lipsync_019dxxxx.../output.mp4"],
"media_type": "video/mp4"
}
}
Failure callback shape
{
"request_id": "veed-lipsync_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 | — | — |
Public https URL (or a base64 data: URI) of the talking-head video whose lips are re-synced to your audio: mp4, mov, webm, m4v or gif. | ||||
audio_url | Yesrequired | string | — | — |
Public https URL (or a base64 data: URI) of the new speech to sync the lips to: mp3, wav, m4a, aac or ogg. | ||||
Content Item Types & Limits
| Type | Max | Format / Size | Description |
|---|---|---|---|
| video | 1 | mp4, mov, webm, m4v, gif | Source video. |
| audio | 1 | mp3, ogg, wav, m4a, aac | Voice / audio track. |
Output
One MP4 video per request. The API has no quality, resolution or bitrate setting.
How usage is measured
Billed per second of the output video. When you submit, the length of your video is measured, and of your audio too when its file states its length, and a hold for the longer of the two is placed. The charge is then settled on the finished video's length, up or down, rounded up to whole seconds (a fraction under 0.05 s is not counted, minimum one second); the unused part of a hold is released. If your video's length cannot be measured (for example a webm or gif video), the hold is for 600 seconds, and the charge is still settled on the finished video's length. Your balance must cover the hold, and a result longer than the hold. The rate is in the pricing panel on this page.
Not accepted
These fields are rejected with a 400 before the request is queued: duration, seconds, num_frames, frames_per_second, text, content and music_length_ms (the result is as long as your input), and n, count, batch_size, num_images and number_of_images (one video per request). Send video_url and audio_url only.
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"
}
Example Response
{
"request_id": "veed-lipsync_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "QUEUED",
"polling_url": "https://gateway.pixazo.ai/v2/requests/status/veed-lipsync_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 'veed-lipsync' not found or is disabled" }
// generation failure (via status / webhook)
{ "request_id": "veed-lipsync_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 ERROR).
curl -X GET "https://gateway.pixazo.ai/v2/requests/status/veed-lipsync_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
-H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY"
Completed response
{
"request_id": "veed-lipsync_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"status": "COMPLETED",
"model_id": "veed-lipsync",
"error": null,
"output": {
"media_url": ["https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veed-lipsync_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 or ERROR. |
| model_id | string | The model that handled the request (veed-lipsync). |
| 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. |
| ERROR | Generation failed — see error. |
Typical workflow
QUEUED → PROCESSING → COMPLETED (or 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.
Veed Lipsync 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.