Google Veo3 1 Video Generate
使用 Google Veo 3.1 从文字、单张图片、首尾帧图片或三张参考图生成视频。 `request_body` 中的 `prompt` 始终必填。文生视频不传图片字段;单图生视频添加 `image_url`;首尾帧生视频用 `image_url` 指定首帧,再用 `last_frame_url` 指定尾帧。单图和首尾帧都必须显式将 `aspect_ratio` 设为 `16:9` 或 `9:16`。 参考图生视频时,须在 `reference_image_urls` 中填写恰好 3 个可公开访问的图片链接,不能同时传 `image_url` 或 `last_frame_url`。成片固定为 16:9 横屏、8 秒,分辨率可选 720p 或 1080p。 文生、单图和首尾帧生视频支持随机种子 `seed` 和负面提示词 `negative_prompt`。使用任一选项时,如有图片链接,请使用 HTTPS。这三种用法在 720p 下可选 4、6 或 8 秒,在 1080p 或 4K 下固定为 8 秒。`generate_audio` 默认开启。 提交成功后会返回任务 ID。用该 ID 调用 `ae_get_result`,即可查询进度并在完成后获取成片。
价格说明
| 条件 | 720P/1080P | 4K |
|---|---|---|
| 固定 8 秒,有声,指定横屏或竖屏 | 1200 积分/8 秒 | 2400 积分/8 秒 |
| 按秒,有声 | 288 积分/秒 | 432 积分/秒 |
| 按秒,静音 | 144 积分/秒 | 288 积分/秒 |
| 符合下方条件的随机种子或负面提示词请求,有声 | 396 积分/秒 | 594 积分/秒 |
| 符合下方条件的随机种子或负面提示词请求,静音 | 198 积分/秒 | 396 积分/秒 |
| 三图参考 720P/1080P,8 秒,静音 | 1248 积分/8 秒 | 不适用 |
| 三图参考 720P/1080P,8 秒,有声 | 2496 积分/8 秒 | 不适用 |
费用由时长、分辨率、音频和使用的档位决定。费用仅结算一次。普通生成失败不收费,内容审核已产生费用的情形按实际计费。
单图和首尾帧需明确选择 16:9 或 9:16,并提供可访问的图片链接。三图参考只支持 16:9、720P 或 1080P、8 秒。使用随机种子或负面提示词时,720P 可选 4、6 或 8 秒,1080P 和 4K 仅支持 8 秒。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.seed | integer | 否 | Optional random seed. Available for text, one-image, and first/last frame generation. | — |
request_body.prompt | string | 是 | The text prompt describing the video you want to generate | — |
request_body.duration | enum (4s | 6s | 8s) | 否 | The duration of the generated video. | 8s |
request_body.image_url | string | 条件必填 | 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) | 否 | The resolution of the generated video. | 720p |
request_body.aspect_ratio | enum (16:9 | 9:16) | 条件必填 | 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 | 否 | Whether to generate audio for the video. | true |
request_body.last_frame_url | string | 否 | Last-frame image URL. Supply image_url as the first frame. | — |
request_body.negative_prompt | string | 否 | Optional description of what to avoid. Available for text, one-image, and first/last frame generation. | — |
request_body.reference_image_urls | array | 否 | 参考图(必填 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. | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
/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"
}
}
}'暂无返回示例。






