Google 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.
Pricing
| Condition | 720P / 1080P | 4K |
|---|---|---|
| Fixed 8 seconds, audio enabled, explicit landscape or portrait | 1200 credits per 8 seconds | 2400 credits per 8 seconds |
| Per second, audio enabled | 288 credits/second | 432 credits/second |
| Per second, audio disabled | 144 credits/second | 288 credits/second |
| Seed or negative-prompt requests meeting the conditions below, with audio | 396 credits/s | 594 credits/s |
| Seed or negative-prompt requests meeting the conditions below, without audio | 198 credits/s | 396 credits/s |
| Three references, 720p/1080p, 8 seconds, audio off | 1248 credits / 8 seconds | Unavailable |
| Three references, 720p/1080p, 8 seconds, audio on | 2496 credits / 8 seconds | Unavailable |
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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.seed | integer | No | Optional random seed. Available for text, one-image, and first/last frame generation. | — |
request_body.prompt | string | Yes | The text prompt describing the video you want to generate | — |
request_body.duration | enum (4s | 6s | 8s) | No | The duration of the generated video. | 8s |
request_body.image_url | string | Conditional | An accessible image URL. Used as the source image, or as the first frame when last_frame_url is also supplied. | — |
request_body.resolution | enum (720p | 1080p | 4k) | No | The resolution of the generated video. | 720p |
request_body.aspect_ratio | enum (16:9 | 9:16) | Conditional | Choose 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_audio | boolean | No | Whether to generate audio for the video. | true |
request_body.last_frame_url | string | No | Last-frame image URL. Supply image_url as the first frame. | — |
request_body.negative_prompt | string | No | Optional description of what to avoid. Available for text, one-image, and first/last frame generation. | — |
request_body.reference_image_urls | array | No | 参考图(必填 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 templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --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.






