Skip to content
Docs menu

Video models

Veo 3.1

On this page

State-of-the-art text & image to video with native audio.

modelIdveo-3-1
Modalityvideo
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to videoPOST /api/v1/generateBase generation from a text prompt.
Image to videoPOST /api/v1/generateCondition on a reference image — upload it via /api/v1/files/upload and pass the URL.
ExtendPOST /api/v1/generateContinue an existing clip
Get 4KPOST /api/v1/generateUpscale the generated video to 4K
Get 1080pPOST /api/v1/generateRender at native 1080p
Poll taskGET /api/v1/task/{id}?model=veo-3-1Retrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
generationTypeselectrequiredText to Video, Image to Video, Reference to Video
modelselectrequiredVeo 3.1, Veo 3.1 Fast
prompttextarearequiredA cinematic aerial shot of a coastal town at golden hour, waves crashing on cliffs…
imageUrlsimageoptional
aspectRatioselectrequiredAuto, 16:9, 9:16
resolutionselectrequired720p, 1080p, 4k
durationselectrequired4s, 6s, 8s

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"veo-3-1","input":{"generationType":"Text to Video","model":"Veo 3.1","prompt":"A paper boat sails down a rain-swollen gutter after a storm, city lights reflecting in the stream. Audio: gentle rain, distant traffic.","aspectRatio":"Auto","resolution":"720p","duration":"8s"}}'