Google Veo3 1 Video Generate

From 576 credits for 4 seconds
ae_veo3_1_video_generate

Generate a video with Google Veo 3.1 from a text prompt, one image, a pair of opening and closing frames, or three reference images. `request_body` always requires `prompt`. For text-to-video, leave the image fields out. To animate one image, add `image_url`. To specify both frames, use `image_url` for the first frame and `last_frame_url` for the last. With either of these image inputs, explicitly set `aspect_ratio` to `16:9` or `9:16`. For reference-image generation, provide exactly three publicly accessible image URLs in `reference_image_urls`. Do not combine them with `image_url` or `last_frame_url`. Reference-image clips are 8 seconds long in landscape (16:9), at 720p or 1080p. For text, single-image, and first-and-last-frame generation, you can set `seed` or `negative_prompt`. If you use either option with images, use HTTPS image URLs. At 720p, choose 4, 6, or 8 seconds; at 1080p or 4K, use 8 seconds. Audio is on by default (`generate_audio`). A successful submission returns a task ID. Use it with `ae_get_result` to check progress and retrieve the finished video.

VideoAudio
From 576 credits for 4 seconds

Pricing

From 576 credits for 4 seconds
Condition720P / 1080P4K
Fixed 8 seconds, audio enabled, explicit landscape or portrait1200 credits per 8 seconds2400 credits per 8 seconds
Per second, audio enabled288 credits/second432 credits/second
Per second, audio disabled144 credits/second288 credits/second
Seed or negative-prompt requests meeting the conditions below, with audio396 credits/s594 credits/s
Seed or negative-prompt requests meeting the conditions below, without audio198 credits/s396 credits/s
Three references, 720p/1080p, 8 seconds, audio off1248 credits / 8 secondsUnavailable
Three references, 720p/1080p, 8 seconds, audio on2496 credits / 8 secondsUnavailable

Charges depend on duration, resolution, audio and the applicable tier. Each task is settled once. Generation failures are free except when a content review has already incurred a charge.

Requests with a seed or negative prompt support 16:9 or 9:16 only. Use 4, 6, or 8 seconds at 720p, or 8 seconds at 1080p and 4K. Specify the aspect ratio for image-based and first/last frame requests, and use public HTTPS image URLs. Failed generations are free. Three-reference generation is 16:9, 720p or 1080p, and 8 seconds.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedintegerNoOptional random seed. Available for text, one-image, and first/last frame generation.—
request_body.promptstringYesThe text prompt describing the video you want to generate—
request_body.durationenum (4s | 6s | 8s)NoThe duration of the generated video.8s
request_body.image_urlstringConditionalAn accessible image URL. Used as the source image, or as the first frame when last_frame_url is also supplied.—
request_body.resolutionenum (720p | 1080p | 4k)NoThe resolution of the generated video.720p
request_body.aspect_ratioenum (16:9 | 9:16)ConditionalChoose 16:9 or 9:16 explicitly with image_url. Text generation defaults to 16:9. Reference images use 16:9.16:9
request_body.generate_audiobooleanNoWhether to generate audio for the video.true
request_body.last_frame_urlstringNoLast-frame image URL. Supply image_url as the first frame.—
request_body.negative_promptstringNoOptional description of what to avoid. Available for text, one-image, and first/last frame generation.—
request_body.reference_image_urlsarrayNo参考图(必填 3 张)。使用参考图生视频时,填写 3 个可公开访问的图片链接。固定 8 秒、16:9,可选 720P 或 1080P。 / For reference-image generation, enter exactly three publicly accessible image URLs. Output is 8 seconds at 16:9 and 720p or 1080p.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_veo3_1_video_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "prompt": "xxx"
    }
  }
}'

No response example available yet.