Video
Veo 3.1 Quality Official video
Veo 3.1 Quality Official. Texto, imagem, primeiro/ultimo quadro e tres referencias. 4s, 6s ou 8s com audio nativo opcional.
Category: Create · veo-3-1-quality-official
How to use & limits
- The final-take variant: text, image, first/last frame, or up to three references, with optional native audio.
- prompt and duration are required; duration only accepts 4, 6, or 8 seconds.
- With 2 images, use generation_type: frame for first and last frame. With 3 images, use generation_type: reference and duration: 8.
- aspect_ratio accepts 16:9, 9:16, or auto. Auto requires one or two images; do not use it with text-only input or three references.
- resolution accepts 720p, 1080p, or 4k. sound enables or disables native audio.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
frame_mode Frame mode | Yes |
video_edit Video edit | — |
native_audio Native audio | Yes |
featuredModes FeaturedModes | |
text_to_video Text-to-video | Yes |
image_to_video Image-to-video | Yes |
reference_mode Reference mode | Yes |
allowed_durations Allowed durations | 4, 6, 8 |
reference_to_video Reference-to-video | Yes |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Required | — | — | — | Scene direction. Required. |
image_urls | Image references | multi_select | Optional | — | — | — – 3 | Optional: up to 3 images. Two are first/last frame; three require reference mode and 8 seconds. |
generation_type | Generation mode | select | Optional | — | frame · reference | — | frame for first/last frame; reference for exactly 3 references. Optional when the mode can be inferred. |
duration | Duration | select | Required | 8 | — | — | 4, 6, or 8 seconds. Three references require 8 seconds. |
aspect_ratio | Aspect ratio | select | Optional | 16:9 | 16:9 · 9:16 · auto | — | 16:9, 9:16, or auto. auto requires one or two images. |
resolution | Resolution | select | Optional | 720p | 720p · 1080p · 4k | — | 720p, 1080p, or 4k. |
sound | Generate native audio | boolean | Optional | true | — | — | Enables native video audio. Default: enabled. |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3-1-quality-official",
"prompt": "Cinematic shot of a woman walking through an empty art gallery, warm side light, smooth dolly camera, and subtle ambient sound.",
"params": {
"duration": 8,
"aspect_ratio": "16:9",
"resolution": "4k",
"sound": true
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "veo-3-1-quality-official",
"prompt": "Cinematic shot of a woman walking through an empty art gallery, warm side light, smooth dolly camera, and subtle ambient sound.",
"params": {
"duration": 8,
"aspect_ratio": "16:9",
"resolution": "4k",
"sound": true
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "veo-3-1-quality-official",
"type": "video",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.mp4",
"type": "video"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |