Veo 3.1 Fast API, Veo 3.1 Lite API, Veo 3.1 Standard API: Pricing, Documentation

by Google

Veo by Google represents cutting-edge AI video generation with exceptional quality and understanding of physical world dynamics. Through Pixazo's API, developers can access Veo 3.1 for generating videos that accurately depict motion, lighting, and real-world physics. The API leverages Google's DeepMind research to produce videos with remarkable realism, suitable for professional video production and creative applications.

Get API Key
Veo Video API
View in Playground

Models Version

WELCOME BONUS

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

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

Claim Your Cashback →

Veo 3.1 Lite API Documentation

Describe a scene and get a video of it, with sound generated to match. Veo 3.1 Lite is the fastest, lowest-cost Veo 3.1 model: 4, 6 or 8 second videos at 720p or 1080p, landscape or portrait. 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/veo-3-1-lite/v1/text-to-video

The other Veo 3.1 Lite modes: POST https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video (image to video) and POST https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video (first & last frame to video).

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Text to Video - Veo 3.1 Lite

Request Code

POST https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"
}
import requests

url = "https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
  "prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"
}

resp = requests.post(url, json=data, headers=headers)
print(resp.json())
const res = await fetch("https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
  "prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"
})
});
console.log(await res.json());
curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video' \
  -H 'Content-Type: application/json' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
  --data-raw '{"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"}'

Output

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

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

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

Example: enable Webhook

curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/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 '{"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"}'

Callback Payload (success)

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:43.059Z",
  "updated_at": "2026-11-27 12:17:56",
  "completed_at": "2026-11-27 12:17:55"
}

Failure callback shape

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1-lite",
  "error": "Description of the failure"
}

Delivery semantics

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

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
promptYesrequiredstring—Text, in English
What happens in the video: the subject, the action, the setting, the camera and the sound. Only adult people are generated.
durationNointeger84, 6, 8
Length of the video in seconds.
aspect_ratioNostring"16:9""16:9" (landscape), "9:16" (portrait)
The shape of the video.
resolutionNostring"720p""720p", "1080p"
The size of the video. 1080p works at every duration.
generate_audioNobooleantruetrue, false
Generate sound with the video (speech, sound effects, ambience or music, as the prompt describes). Set false for a video without generated sound.
negative_promptNostring—Text
What to keep out of the video.
seedNointegerrandom0 to 4,294,967,295
Send the same seed with the same request to get the same or a very similar video again.

How long the video is

Exactly duration seconds (4, 6 or 8; 8 when left out), one video per request.

How usage is measured

Billed per second of the video, at the rate for its resolution, which is higher with sound on. The charge is the duration you ask for times that rate, reserved from your balance when you submit; a request that sets nothing is 8 seconds at 720p with sound. 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.

ParameterWhy
prompt left outRequired.
aspectRatioNot supported: use aspect_ratio ("16:9" or "9:16").
content, textNot supported: put the description in prompt.
first_frame_url, last_frame_urlNot used by text-to-video: send it to /first-last-frame-to-video instead.
generateAudioNot supported: use generate_audio (true or false; default true).
generate_audio_switchNot supported by Veo 3.1 Lite: use generate_audio (true or false; default true).
imageNot supported: send the picture as image_url to /image-to-video, or as first_frame_url to /first-last-frame-to-video.
image_urlNot used by text-to-video: send it to /image-to-video instead.
image_urlsNot supported: send one picture as image_url to /image-to-video.
instancesNot supported: send prompt and the other settings at the top level.
last_frameNot supported: send first_frame_url and last_frame_url to /first-last-frame-to-video.
n, num_outputs, num_videos, num_images, number_of_images, batch_size, count, sample_count, sampleCountNot supported: Veo 3.1 Lite returns one video per request. Send one request per video.
negativePromptNot supported: use negative_prompt.
num_frames, frames_per_second, music_length_msNot a field of this API.
parametersNot supported: send each setting at the top level (duration, resolution, aspect_ratio, generate_audio, negative_prompt, seed).
reference_imagesNot supported: Veo 3.1 Lite has no reference-images mode.
seconds, durationSecondsNot supported: use duration (4, 6 or 8; default 8).

Accepted, then the request fails

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

ParameterWhen the request fails
promptThe safety filters block the video. The reason is in error.

Accepted but ignored

Any other parameter is dropped and has no effect.

The output video

output.media_url is one MP4 at 24 frames per second, with the generated sound unless you set generate_audio to false.

Measured at launch:

RequestSizeLengthFrame rateSound
Text to Video, 8 s, 720p, 16:9, sound on1280×7208.00 s24 fpsYes
Text to Video, 4 s, 720p, 9:16, sound off720×12804.00 s24 fpsNo
Image to Video, 4 s, 720p, 16:9, sound on1280×7204.01 s24 fpsYes
First & Last Frame to Video, 4 s, 1080p, 16:9, sound off1920×10804.00 s24 fpsNo

Timing

At launch, the 4 test requests (4 and 8 second videos) each took about 40 seconds to 2 minutes from submit to completion. Polling the status endpoint every 10 seconds is enough, or use a Webhook.

Example Request

{
  "prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound"
}

Example Response

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

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

Response Handling

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

Error Responses

A 400 names every rejected parameter in violations.

Duration 5: sent {"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound", "duration": 5}

{
  "error": "Invalid request parameters",
  "message": "'duration' must be one of: 4, 6, 8 (got 5)",
  "violations": [
    "'duration' must be one of: 4, 6, 8 (got 5)"
  ]
}

Duration "8" (a string): sent {"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound", "duration": "8"}

{
  "error": "Invalid request parameters",
  "message": "'duration' must be integer (got string)",
  "violations": [
    "'duration' must be integer (got string)"
  ]
}

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/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'

Completed response

Captured from a real Veo 3.1 Lite request at launch; the request id is masked.

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:43.059Z",
  "updated_at": "2026-11-27 12:17:56",
  "completed_at": "2026-11-27 12:17:55"
}

Response Fields

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

Status Values & Flow

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

Typical workflow

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

Veo 3.1 Lite API Pricing — Per-Second Rates

Billed per second of video, by resolution and whether sound is on. A request that sets nothing makes an 8-second 720p video with sound. Nothing is charged for a request that fails.

Resolution · AudioPrice (USD)
720p, audio off$0.0315/sec
720p, audio on$0.0525/sec
1080p, audio off$0.0525/sec
1080p, audio on$0.084/sec
Example total for a 8s video: 720p, audio off $0.25 · 720p, audio on $0.42 · 1080p, audio off $0.42 · 1080p, audio on $0.67
Valid durations: 4s, 6s, 8s
Image to Video

Veo 3.1 Lite API Documentation

Bring a picture to life: the video starts on your image and moves the way your prompt describes, with sound generated to match. Veo 3.1 Lite is the fastest, lowest-cost Veo 3.1 model: 4, 6 or 8 second videos at 720p or 1080p, landscape or portrait. 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/veo-3-1-lite/v1/image-to-video

The other Veo 3.1 Lite modes: POST https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video (text to video) and POST https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video (first & last frame to video).

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Image to Video - Veo 3.1 Lite

Request Code

POST https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience",
  "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "duration": 4
}
import requests

url = "https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
  "prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience",
  "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "duration": 4
}

resp = requests.post(url, json=data, headers=headers)
print(resp.json())
const res = await fetch("https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
  "prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience",
  "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "duration": 4
})
});
console.log(await res.json());
curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video' \
  -H 'Content-Type: application/json' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
  --data-raw '{"prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience", "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png", "duration": 4}'

Output

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

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

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

Example: enable Webhook

curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/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 '{"prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience", "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png", "duration": 4}'

Callback Payload (success)

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:52.542Z",
  "updated_at": "2026-11-27 12:18:06",
  "completed_at": "2026-11-27 12:18:06"
}

Failure callback shape

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1-lite",
  "error": "Description of the failure"
}

Delivery semantics

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

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
promptYesrequiredstring—Text, in English
What happens after the first frame: the motion, the camera and the sound. Only adult people are generated.
image_urlYesrequiredstring—A public http(s) URL of a PNG or JPEG image, up to 20 MB
The first frame of the video. For the best result use a picture of 1280×720 or larger in the video's shape (16:9, or 9:16 for portrait); a picture of another shape is cropped or resized to fit.
durationNointeger84, 6, 8
Length of the video in seconds.
aspect_ratioNostring"16:9""16:9" (landscape), "9:16" (portrait)
The shape of the video. Send the shape of your picture: a portrait picture needs "9:16".
resolutionNostring"720p""720p", "1080p"
The size of the video. 1080p works at every duration.
generate_audioNobooleantruetrue, false
Generate sound with the video (speech, sound effects, ambience or music, as the prompt describes). Set false for a video without generated sound.
negative_promptNostring—Text
What to keep out of the video.
seedNointegerrandom0 to 4,294,967,295
Send the same seed with the same request to get the same or a very similar video again.

How long the video is

Exactly duration seconds (4, 6 or 8; 8 when left out), one video per request.

How usage is measured

Billed per second of the video, at the rate for its resolution, which is higher with sound on. The charge is the duration you ask for times that rate, reserved from your balance when you submit; a request that sets nothing is 8 seconds at 720p with sound. 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.

ParameterWhy
prompt or image_url left outRequired.
aspectRatioNot supported: use aspect_ratio ("16:9" or "9:16").
content, textNot supported: put the description in prompt.
first_frame_urlNot used by image-to-video: send image_url, or use /first-last-frame-to-video for a first and a last frame.
generateAudioNot supported: use generate_audio (true or false; default true).
generate_audio_switchNot supported by Veo 3.1 Lite: use generate_audio (true or false; default true).
imageNot supported: send the picture as image_url to /image-to-video, or as first_frame_url to /first-last-frame-to-video.
image_urlsNot supported: send one picture as image_url to /image-to-video.
instancesNot supported: send prompt and the other settings at the top level.
last_frameNot supported: send first_frame_url and last_frame_url to /first-last-frame-to-video.
last_frame_urlNot used by image-to-video: use /first-last-frame-to-video for a first and a last frame.
n, num_outputs, num_videos, num_images, number_of_images, batch_size, count, sample_count, sampleCountNot supported: Veo 3.1 Lite returns one video per request. Send one request per video.
negativePromptNot supported: use negative_prompt.
num_frames, frames_per_second, music_length_msNot a field of this API.
parametersNot supported: send each setting at the top level (duration, resolution, aspect_ratio, generate_audio, negative_prompt, seed).
reference_imagesNot supported: Veo 3.1 Lite has no reference-images mode.
seconds, durationSecondsNot supported: use duration (4, 6 or 8; default 8).

Accepted, then the request fails

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

ParameterWhen the request fails
prompt, image_urlThe safety filters block the video. The reason is in error.

Accepted but ignored

Any other parameter is dropped and has no effect.

The output video

output.media_url is one MP4 at 24 frames per second, with the generated sound unless you set generate_audio to false.

Measured at launch:

RequestSizeLengthFrame rateSound
Text to Video, 8 s, 720p, 16:9, sound on1280×7208.00 s24 fpsYes
Text to Video, 4 s, 720p, 9:16, sound off720×12804.00 s24 fpsNo
Image to Video, 4 s, 720p, 16:9, sound on1280×7204.01 s24 fpsYes
First & Last Frame to Video, 4 s, 1080p, 16:9, sound off1920×10804.00 s24 fpsNo

Timing

At launch, the 4 test requests (4 and 8 second videos) each took about 40 seconds to 2 minutes from submit to completion. Polling the status endpoint every 10 seconds is enough, or use a Webhook.

Example Request

{
  "prompt": "Snow begins to fall softly around the oak, a light breeze, quiet winter ambience",
  "image_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "duration": 4
}

Example Response

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

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

Response Handling

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

Error Responses

A 400 names every rejected parameter in violations.

Image-to-video without image_url: sent {"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound", "duration": 4}

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

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/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'

Completed response

Captured from a real Veo 3.1 Lite request at launch; the request id is masked.

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:52.542Z",
  "updated_at": "2026-11-27 12:18:06",
  "completed_at": "2026-11-27 12:18:06"
}

Response Fields

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

Status Values & Flow

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

Typical workflow

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

Veo 3.1 Lite API Pricing — Per-Second Rates

Billed per second of video, by resolution and whether sound is on. A request that sets nothing makes an 8-second 720p video with sound. Nothing is charged for a request that fails.

Resolution · AudioPrice (USD)
720p, audio off$0.0315/sec
720p, audio on$0.0525/sec
1080p, audio off$0.0525/sec
1080p, audio on$0.084/sec
Example total for a 8s video: 720p, audio off $0.25 · 720p, audio on $0.42 · 1080p, audio off $0.42 · 1080p, audio on $0.67
Valid durations: 4s, 6s, 8s
Image to Video (First & Last Frame to Video)

Veo 3.1 Lite API Documentation

Give the first and the last frame: the video starts on one picture, ends on the other, and your prompt describes what happens in between, with sound generated to match. Veo 3.1 Lite is the fastest, lowest-cost Veo 3.1 model: 4, 6 or 8 second videos at 720p or 1080p, landscape or portrait. 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/veo-3-1-lite/v1/first-last-frame-to-video

The other Veo 3.1 Lite modes: POST https://gateway.pixazo.ai/veo-3-1-lite/v1/text-to-video (text to video) and POST https://gateway.pixazo.ai/veo-3-1-lite/v1/image-to-video (image to video).

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

First & Last Frame to Video - Veo 3.1 Lite

Request Code

POST https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video
Content-Type: application/json
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "prompt": "The seasons change: snow melts away and the oak bursts into spring blossom",
  "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png",
  "duration": 4,
  "resolution": "1080p",
  "generate_audio": false
}
import requests

url = "https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
  "prompt": "The seasons change: snow melts away and the oak bursts into spring blossom",
  "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png",
  "duration": 4,
  "resolution": "1080p",
  "generate_audio": false
}

resp = requests.post(url, json=data, headers=headers)
print(resp.json())
const res = await fetch("https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
  },
  body: JSON.stringify({
  "prompt": "The seasons change: snow melts away and the oak bursts into spring blossom",
  "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png",
  "duration": 4,
  "resolution": "1080p",
  "generate_audio": false
})
});
console.log(await res.json());
curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-to-video' \
  -H 'Content-Type: application/json' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
  --data-raw '{"prompt": "The seasons change: snow melts away and the oak bursts into spring blossom", "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png", "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png", "duration": 4, "resolution": "1080p", "generate_audio": false}'

Output

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Webhook (Optional)

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

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

Example: enable Webhook

curl -X POST 'https://gateway.pixazo.ai/veo-3-1-lite/v1/first-last-frame-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 '{"prompt": "The seasons change: snow melts away and the oak bursts into spring blossom", "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png", "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png", "duration": 4, "resolution": "1080p", "generate_audio": false}'

Callback Payload (success)

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:57.716Z",
  "updated_at": "2026-11-27 12:18:47",
  "completed_at": "2026-11-27 12:18:46"
}

Failure callback shape

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1-lite",
  "error": "Description of the failure"
}

Delivery semantics

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

Request Parameters

ParameterRequiredTypeDefaultAllowed values / range
promptYesrequiredstring—Text, in English
What happens between the two frames: the change, the camera and the sound. Only adult people are generated.
first_frame_urlYesrequiredstring—A public http(s) URL of a PNG or JPEG image, up to 20 MB
The video starts on this picture. For the best result use a picture of 1280×720 or larger in the video's shape (16:9, or 9:16 for portrait); a picture of another shape is cropped or resized to fit.
last_frame_urlYesrequiredstring—A public http(s) URL of a PNG or JPEG image, up to 20 MB
The video ends on this picture. Use the same shape as the first frame.
durationNointeger84, 6, 8
Length of the video in seconds.
aspect_ratioNostring"16:9""16:9" (landscape), "9:16" (portrait)
The shape of the video. Send the shape of your picture: a portrait picture needs "9:16".
resolutionNostring"720p""720p", "1080p"
The size of the video. 1080p works at every duration.
generate_audioNobooleantruetrue, false
Generate sound with the video (speech, sound effects, ambience or music, as the prompt describes). Set false for a video without generated sound.
negative_promptNostring—Text
What to keep out of the video.
seedNointegerrandom0 to 4,294,967,295
Send the same seed with the same request to get the same or a very similar video again.

How long the video is

Exactly duration seconds (4, 6 or 8; 8 when left out), one video per request.

How usage is measured

Billed per second of the video, at the rate for its resolution, which is higher with sound on. The charge is the duration you ask for times that rate, reserved from your balance when you submit; a request that sets nothing is 8 seconds at 720p with sound. 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.

ParameterWhy
prompt or first_frame_url or last_frame_url left outRequired.
aspectRatioNot supported: use aspect_ratio ("16:9" or "9:16").
content, textNot supported: put the description in prompt.
generateAudioNot supported: use generate_audio (true or false; default true).
generate_audio_switchNot supported by Veo 3.1 Lite: use generate_audio (true or false; default true).
imageNot supported: send the picture as image_url to /image-to-video, or as first_frame_url to /first-last-frame-to-video.
image_urlNot used by first-last-frame-to-video: send first_frame_url and last_frame_url.
image_urlsNot supported: send one picture as image_url to /image-to-video.
instancesNot supported: send prompt and the other settings at the top level.
last_frameNot supported: send first_frame_url and last_frame_url to /first-last-frame-to-video.
n, num_outputs, num_videos, num_images, number_of_images, batch_size, count, sample_count, sampleCountNot supported: Veo 3.1 Lite returns one video per request. Send one request per video.
negativePromptNot supported: use negative_prompt.
num_frames, frames_per_second, music_length_msNot a field of this API.
parametersNot supported: send each setting at the top level (duration, resolution, aspect_ratio, generate_audio, negative_prompt, seed).
reference_imagesNot supported: Veo 3.1 Lite has no reference-images mode.
seconds, durationSecondsNot supported: use duration (4, 6 or 8; default 8).

Accepted, then the request fails

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

ParameterWhen the request fails
prompt, first_frame_url, last_frame_urlThe safety filters block the video. The reason is in error.

Accepted but ignored

Any other parameter is dropped and has no effect.

The output video

output.media_url is one MP4 at 24 frames per second, with the generated sound unless you set generate_audio to false.

Measured at launch:

RequestSizeLengthFrame rateSound
Text to Video, 8 s, 720p, 16:9, sound on1280×7208.00 s24 fpsYes
Text to Video, 4 s, 720p, 9:16, sound off720×12804.00 s24 fpsNo
Image to Video, 4 s, 720p, 16:9, sound on1280×7204.01 s24 fpsYes
First & Last Frame to Video, 4 s, 1080p, 16:9, sound off1920×10804.00 s24 fpsNo

Timing

At launch, the 4 test requests (4 and 8 second videos) each took about 40 seconds to 2 minutes from submit to completion. Polling the status endpoint every 10 seconds is enough, or use a Webhook.

Example Request

{
  "prompt": "The seasons change: snow melts away and the oak bursts into spring blossom",
  "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png",
  "last_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f2.png",
  "duration": 4,
  "resolution": "1080p",
  "generate_audio": false
}

Example Response

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

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

Response Handling

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

Error Responses

A 400 names every rejected parameter in violations.

First-last without last_frame_url: sent {"prompt": "A slow cinematic push-in on a lone oak tree in a wide field, soft wind moving the grass, gentle ambient sound", "first_frame_url": "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/f1.png"}

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

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/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY'

Completed response

Captured from a real Veo 3.1 Lite request at launch; the request id is masked.

{
  "request_id": "veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-lite",
  "error": null,
  "output": {
    "media_url": [
      "https://cdn.pixazo.ai/v1/veo-3-1-lite_01a2xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-11-27T12:16:57.716Z",
  "updated_at": "2026-11-27 12:18:47",
  "completed_at": "2026-11-27 12:18:46"
}

Response Fields

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

Status Values & Flow

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

Typical workflow

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

Veo 3.1 Lite API Pricing — Per-Second Rates

Billed per second of video, by resolution and whether sound is on. A request that sets nothing makes an 8-second 720p video with sound. Nothing is charged for a request that fails.

Resolution · AudioPrice (USD)
720p, audio off$0.0315/sec
720p, audio on$0.0525/sec
1080p, audio off$0.0525/sec
1080p, audio on$0.084/sec
Example total for a 8s video: 720p, audio off $0.25 · 720p, audio on $0.42 · 1080p, audio off $0.42 · 1080p, audio on $0.67
Valid durations: 4s, 6s, 8s
2. Veo 3.1 Fast

Veo 3.1 Fast API Documentation

https://gateway.pixazo.ai/veo31f/v1/veo-3.1-fast/generate

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Veo 3.1 Fast Video Generation Request - Veo 3.1 Fast API

Request Code

POST https://gateway.pixazo.ai/veo31f/v1/veo-3.1-fast/generate HTTP/1.1
Content-Type: application/json
Cache-Control: no-cache
Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY

{
  "prompt": "A snow-covered tree gradually transforms as winter melts away, snow dripping from branches as green leaves emerge and colorful flowers bloom around the base, transitioning from a cold white landscape to a vibrant lush green meadow full of life",
  "duration": 8,
  "aspect_ratio": "16:9",
  "resolution": "1080p",
  "negative_prompt": "blurry, low quality, distorted, artifacts, text, watermark",
  "generate_audio": true,
  "seed": 42
}
import requests

url = "https://gateway.pixazo.ai/veo31f/v1/veo-3.1-fast/generate"
headers = {
    "Content-Type": "application/json",
    "Cache-Control": "no-cache",
    "Ocp-Apim-Subscription-Key": "YOUR_SUBSCRIPTION_KEY"
}
data = {
    "prompt": "A snow-covered tree gradually transforms as winter melts away, snow dripping from branches as green leaves emerge and colorful flowers bloom around the base, transitioning from a cold white landscape to a vibrant lush green meadow full of life",
    "duration": 8,
    "aspect_ratio": "16:9",
    "resolution": "1080p",
    "negative_prompt": "blurry, low quality, distorted, artifacts, text, watermark",
    "generate_audio": True,
    "seed": 42
}

response = requests.post(url, json=data, headers=headers)
print(response.json())
const url = 'https://gateway.pixazo.ai/veo31f/v1/veo-3.1-fast/generate';
const headers = {
  'Content-Type': 'application/json',
  'Cache-Control': 'no-cache',
  'Ocp-Apim-Subscription-Key': 'YOUR_SUBSCRIPTION_KEY'
};
const data = {
  prompt: 'A snow-covered tree gradually transforms as winter melts away, snow dripping from branches as green leaves emerge and colorful flowers bloom around the base, transitioning from a cold white landscape to a vibrant lush green meadow full of life',
  duration: 8,
  aspect_ratio: '16:9',
  resolution: '1080p',
  negative_prompt: 'blurry, low quality, distorted, artifacts, text, watermark',
  generate_audio: true,
  seed: 42
};

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/veo31f/v1/veo-3.1-fast/generate" \
  -H "Content-Type: application/json" \
  -H "Cache-Control: no-cache" \
  -H "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" \
  --data-raw '{
    "prompt": "A snow-covered tree gradually transforms as winter melts away, snow dripping from branches as green leaves emerge and colorful flowers bloom around the base, transitioning from a cold white landscape to a vibrant lush green meadow full of life",
    "duration": 8,
    "aspect_ratio": "16:9",
    "resolution": "1080p",
    "negative_prompt": "blurry, low quality, distorted, artifacts, text, watermark",
    "generate_audio": true,
    "seed": 42
  }'

Output

{
  "request_id": "veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-fast_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

HeaderRequiredDefaultDescription
X-Webhook-URLYes (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-ModeNoterminalterminal — 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": "veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1-fast",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veo-3-1-fast_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": "veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1-fast",
  "error": "Description of the error",
  "output": null,
  "created_at": "...",
  "updated_at": "...",
  "completed_at": "..."
}

Delivery semantics

  • terminal mode (default) — exactly one POST when the request reaches a terminal status. No callback during PROCESSING.
  • sync mode — POST on every status poll (with delay capped at ~15s) plus a final POST at terminal status. Use when you want progress updates.
  • Idempotency — use request_id as your idempotency key. Network retries can deliver the same callback more than once; your handler must tolerate duplicates.
  • Response — respond 200 OK within 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 - Veo 3.1 Fast Video Generation

This single endpoint covers three modes depending on which images you send: prompt only → text-to-video; + image → image-to-video (image is the starting frame); + image and last_frame → first→last-frame transition (both frames must share the same dimensions and aspect ratio).

ParameterRequiredTypeDefaultAllowed values / range
promptYesrequiredstring——
Text prompt describing the desired video content, motion, mood, or style.
imageNostring—HTTP(S) URL
Input image to start generating from (used as the first frame). Ideal images are 16:9 or 9:16 at 1280×720 or 720×1280, matching the aspect_ratio you choose.
last_frameNostring—HTTP(S) URL
Ending image for interpolation. When provided together with image, the model creates a transition from the first frame to this last frame. Requires image; for best results use the same dimensions and aspect ratio as image.
durationNointeger84, 6, 8 (seconds)
Length of the generated video.
aspect_ratioNostring"16:9""16:9", "9:16"
Output aspect ratio.
resolutionNostring"1080p""720p", "1080p"
Output resolution. 1080p requires duration = 8.
negative_promptNostring——
Elements to avoid (e.g. "blurry, low quality, distorted, artifacts, text, watermark").
generate_audioNobooleantruetrue, false
Generate synchronized audio alongside the video.
seedNointeger——
Random seed that controls the generation's randomness. Reuse the same seed with identical settings to reproduce the same result; leave it empty for a different output each time.

Content Item Types & Limits

TypeMaxFormat / SizeDescription
image1JPG, PNG, WEBPStarting or ending frame image.

First→last frame transition (optional): to interpolate between two key images, send image (start frame) and last_frame (end frame). Both images must have the same dimensions and aspect ratio, must match the requested aspect_ratio, and should use a standard size (1280×720 for 720p, 1920×1080 for 1080p). Supported formats: JPEG, PNG, WebP. Mismatched or oversized frames cause the generation to fail.

Output: MP4, 24 fps, with an embedded Google SynthID watermark. 1080p output requires duration = 8.

Example Request

{
  "prompt": "A snow-covered tree gradually transforms as winter melts away, snow dripping from branches as green leaves emerge and colorful flowers bloom around the base, transitioning from a cold white landscape to a vibrant lush green meadow full of life",
  "duration": 8,
  "aspect_ratio": "16:9",
  "resolution": "1080p",
  "negative_prompt": "blurry, low quality, distorted, artifacts, text, watermark",
  "generate_audio": true,
  "seed": 42
}

Response

{
  "request_id": "veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Request Headers

Header Value
Content-Typeapplication/json
Cache-Controlno-cache
Ocp-Apim-Subscription-KeyYOUR_SUBSCRIPTION_KEY

Response Handling

Common status codes.

CodeMeaning
202Accepted — Request queued
Bad Request
401Unauthorized
402Insufficient Balance
403Forbidden
Too Many Requests
500Internal 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. Required: $0.01"
}
// 400 — Model not found
{
  "error": "Model not found",
  "message": "Model 'veo-3-1-fast' not found or is disabled"
}

Error via Status/Webhook

{
  "request_id": "veo-3-1-fast_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1-fast",
  "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/veo-3-1-fast_019d42ce-ae71-7999-24c9-5d76447ecafb4"

Response (Completed)

{
  "request_id": "veo-3-1-fast_019d42ce-ae71-7999-24c9-5d76447ecafb4",
  "status": "COMPLETED",
  "model_id": "veo-3-1-fast",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veo-3-1-fast_019d42ce-ae71-7999-24c9-5d76447ecafb4/output.mp4"
    ],
    "media_type": "video/mp4"
  },
  "created_at": "2026-04-01T07:32:03.749Z",
  "updated_at": "2026-04-01T07:32:20.000Z",
  "completed_at": "2026-04-01T07:32:20.000Z"
}

Response Fields

FieldTypeDescription
request_idstringUnique request identifier
statusstringQUEUED, PROCESSING, COMPLETED, FAILED, or ERROR
model_idstringModel that processed the request
errorstring|nullError message if failed
output.media_urlarrayURLs to generated media (R2 CDN)
output.media_typestringMIME type (video/mp4)
created_atstringWhen request was created
completed_atstring|nullWhen request completed
polling_urlstringStatus URL (initial response only)

Status Values

StatusDescription
QUEUEDRequest accepted, waiting to be processed
PROCESSINGBeing processed by the model
COMPLETEDDone — output contains the result
FAILEDFailed — check error field
ERRORSystem error — not charged

Status Flow

QUEUED → PROCESSING → COMPLETED
                    → FAILED
                    → ERROR

Typical Workflow

  1. Send a generate request to the API endpoint
  2. Save the request_id from the response
  3. Poll every 5-10 seconds: GET /v2/requests/status/{request_id}
  4. When status is "COMPLETED", download from output.media_url

Tip: Use X-Webhook-URL header to get a callback instead of polling.

Veo 3.1 Fast API Pricing — Per-Second Rates

Per-second pricing for 720p / 1080p — audio off: $0.10/sec, audio on: $0.15/sec (audio adds ~50%). Example: a 5-second clip ≈ $0.50 (audio off) or $0.75 (audio on). 4K available — pricing rolling out soon.

AudioPrice (USD)
On$0.15/sec
Off$0.10/sec
3. Veo 3.1 Standard

Veo 3.1 Standard API Documentation

https://gateway.pixazo.ai/veo/v1/veo-3.1/generate

Authentication

All requests require an API key passed via header.

HeaderTypeRequiredDescription
Ocp-Apim-Subscription-KeystringYesYour API subscription key

Video Generation Request - Veo 3.1 API

Request Code

POST https://gateway.pixazo.ai/veo/v1/veo-3.1/generate
Content-Type: application/json
Ocp-Apim-Subscription-Key: your-subscription-key

{
  "prompt": "A serene lake with mountains in the background at sunset",
  "aspect_ratio": "16:9",
  "duration": 8,
  "resolution": "1080p",
  "generate_audio": true,
  "negative_prompt": "blur, distortion, low quality",
  "webhook": "https://your-server.com/webhook"
}
import requests

url = "https://gateway.pixazo.ai/veo/v1/veo-3.1/generate"
headers = {
    "Content-Type": "application/json",
    "Ocp-Apim-Subscription-Key": "your-subscription-key"
}
data = {
    "prompt": "A serene lake with mountains in the background at sunset",
    "aspect_ratio": "16:9",
    "duration": 8,
    "resolution": "1080p",
    "generate_audio": True,
    "negative_prompt": "blur, distortion, low quality",
    "webhook": "https://your-server.com/webhook"
}

response = requests.post(url, json=data, headers=headers)
print(response.json())
// Node.js example
const response = await fetch('https://gateway.pixazo.ai/veo/v1/veo-3.1/generate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Ocp-Apim-Subscription-Key': 'your-subscription-key'
  },
  body: JSON.stringify({
    prompt: 'A serene lake with mountains in the background at sunset',
    aspect_ratio: '16:9',
    duration: 8,
    resolution: '1080p',
    generate_audio: true,
    negative_prompt: 'blur, distortion, low quality',
    webhook: 'https://your-server.com/webhook'
  })
});

const data = await response.json();
console.log('Video ID:', data.id);
console.log('Status:', data.status);
curl -X POST https://gateway.pixazo.ai/veo/v1/veo-3.1/generate \
  -H "Content-Type: application/json" \
  -H "Ocp-Apim-Subscription-Key: your-subscription-key" \
  -d '{
    "prompt": "A serene lake with mountains in the background at sunset",
    "aspect_ratio": "16:9",
    "duration": 8,
    "resolution": "1080p",
    "generate_audio": true,
    "negative_prompt": "blur, distortion, low quality",
    "webhook": "https://your-server.com/webhook"
  }'

Output

{
  "request_id": "veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "QUEUED",
  "polling_url": "https://gateway.pixazo.ai/v2/requests/status/veo-3-1_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

HeaderRequiredDefaultDescription
X-Webhook-URLYes (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-ModeNoterminalterminal — 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": "veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veo-3-1_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": "veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1",
  "error": "Description of the error",
  "output": null,
  "created_at": "...",
  "updated_at": "...",
  "completed_at": "..."
}

Delivery semantics

  • terminal mode (default) — exactly one POST when the request reaches a terminal status. No callback during PROCESSING.
  • sync mode — POST on every status poll (with delay capped at ~15s) plus a final POST at terminal status. Use when you want progress updates.
  • Idempotency — use request_id as your idempotency key. Network retries can deliver the same callback more than once; your handler must tolerate duplicates.
  • Response — respond 200 OK within 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 - Video Generation Request

ParameterRequiredTypeDefaultAllowed values / range
promptYesrequiredstring——
Text description of the video to generate.
aspect_ratioNostring"16:9""16:9", "9:16"
Output aspect ratio.
durationNointeger84, 6, 8 (seconds)
Video duration in seconds. Must be 8 when resolution is "1080p" or when reference_images are supplied.
resolutionNostring"1080p""720p", "1080p"
Output resolution. 1080p requires duration = 8.
generate_audioNobooleantruetrue, false
Generate synchronized audio with the video.
negative_promptNostring——
Elements to exclude from the generated video.
imageNostring—HTTP(S) URL
Starting frame for image-to-video. Ideal images are 16:9 or 9:16 at 1280×720 or 720×1280, matching the aspect_ratio you choose.
last_frameNostring—HTTP(S) URL
Ending frame for interpolation. When supplied together with image, the model generates a transition between the two frames. Ignored if reference_images is provided.
reference_imagesNoarray—1–3 HTTP(S) URLs
Reference images for subject-consistent generation (reference-to-video, or R2V). Only works with aspect_ratio = "16:9" and duration = 8; when supplied, last_frame is ignored.
seedNointeger—Integer ≥ 0
Random seed that controls the generation's randomness. Reuse the same seed with identical settings to reproduce the same result; omit it for a different output each time.
webhookNostring—HTTPS URL
Webhook URL for completion notifications.
webhook_events_filterNoarray—["start", "completed"]
Event types to receive on the webhook.

Content Item Types & Limits

TypeMaxFormat / SizeDescription
image1JPG, PNG, WEBPStarting or ending frame image.

First→last frame transition (optional): to interpolate between two key images, send image (start frame) and last_frame (end frame). Both images must have the same dimensions and aspect ratio, must match the requested aspect_ratio, and should use a standard size (1280×720 for 720p, 1920×1080 for 1080p). Supported formats: JPEG, PNG, WebP. Mismatched or oversized frames cause the generation to fail.

Output: MP4, 24 fps, with an embedded Google SynthID watermark. 1080p output requires duration = 8.

Example Request

{
  "prompt": "A serene lake with mountains in the background at sunset",
  "aspect_ratio": "16:9",
  "duration": 8,
  "resolution": "1080p",
  "generate_audio": true,
  "negative_prompt": "blur, distortion, low quality",
  "webhook": "https://your-server.com/webhook"
}

Response

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

Request Headers

Header Value
Content-Typeapplication/json
Ocp-Apim-Subscription-KeyYour subscription key

Response Handling

Common status codes.

CodeMeaning
202Accepted — Request queued
Bad Request
401Unauthorized
402Insufficient Balance
403Forbidden
Too Many Requests
500Internal 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 'veo-3-1' not found or is disabled"
}

Error via Status/Webhook

{
  "request_id": "veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "ERROR",
  "model_id": "veo-3-1",
  "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/veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Response (Completed)

{
  "request_id": "veo-3-1_019dxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "COMPLETED",
  "model_id": "veo-3-1",
  "error": null,
  "output": {
    "media_url": [
      "https://pub-582b7213209642b9b995c96c95a30381.r2.dev/v1/veo-3-1_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

FieldTypeDescription
request_idstringUnique request identifier
statusstringQUEUED, PROCESSING, COMPLETED, FAILED, or ERROR
model_idstringModel that processed the request
errorstring|nullError message if failed
output.media_urlarrayURLs to generated media (R2 CDN)
output.media_typestringMIME type of the output
created_atstringWhen request was created
completed_atstring|nullWhen request completed
polling_urlstringStatus URL (initial response only)

Status Values

StatusDescription
QUEUEDRequest accepted, waiting to be processed
PROCESSINGBeing processed by the model
COMPLETEDDone — output contains the result
FAILEDFailed — check error field
ERRORSystem error — not charged

Status Flow

QUEUED → PROCESSING → COMPLETED
                    → FAILED
                    → ERROR

Typical Workflow

  1. Send a generate request to the API endpoint
  2. Save the request_id from the response
  3. Poll every 5-10 seconds: GET /v2/requests/status/{request_id}
  4. When status is "COMPLETED", download from output.media_url

Tip: Use X-Webhook-URL header to get a callback instead of polling.

Veo 3.1 Standard API Pricing

Your request will cost $0.40 per second of output video with audio.
Audio off: $0.20/sec · same rate at 720p and 1080p · 8-second clip (default) = $3.20 with audio, $1.60 without

⚡ Performance

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

Show data for the last
Generations
800last 30d
~27 per day
Success rate
100.0%
of completed generations
Generation time
78.1savg
p95 74.7s
Requests
Nov 1max 600Nov 30
Veo 3.1 LiteAvg 27/day
Generation Time
Nov 1max 87.4sNov 30
Veo 3.1 LiteAvg 78.1s
Error Rate
Nov 1max 5.0%Nov 30
Veo 3.1 LiteAvg 0.0%

〰 Uptime

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

Avg. Success Rate (30d)
100.00%
across all generations of this model family
Uptime
Nov 1max 100%Nov 30
SuccessfulAvg 100.00%