AigenwayDocumentation

Google Veo / Veo 3.1 / Text to video

google_veo/veo-3.1-generate-preview/text_to_video
Async

Generate a short video from a text prompt.

Parameters

NameTypeRequiredDescriptionAllowed valuesBundle dim.
modestringnoInternal task-type marker (matches the method code).text_to_video, image_to_video
promptstring
yes
Text prompt describing the desired output.
resolutionstringno720p, 1080p, 4K
aspect_ratiostringno16:9, 9:16, 1:1
callback_urlstringnoWebhook URL invoked when async task completes.
videos_countintegerno
duration_secondsintegernoVideo duration in seconds. Pricing is PER_SECOND, so the duration is NOT part of the bundle key — total cost = perSecondUnits × duration.4, 6, 8, 10, 12

Example request

{
  "provider": "google_veo",
  "model": "veo-3.1-generate-preview",
  "method": "text_to_video",
  "params": {
    "prompt": "A dolphin leaping through ocean waves at sunset",
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "duration_seconds": 8
  }
}

Example response

null
Pricing: see your dashboard (auth required).