veo-video
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVeo Video Generation
Veo视频生成
Generate AI videos through AceDataCloud's Google Veo API.
Setup: See authentication for token setup.
通过AceDataCloud的Google Veo API生成AI视频。
设置: 请查看身份验证了解令牌设置方法。
Quick Start
快速开始
bash
curl -X POST https://api.acedata.cloud/veo/videos \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "text2video", "prompt": "a whale breaching in slow motion at golden hour", "model": "veo3", "callback_url": "https://api.acedata.cloud/health"}'Async: See async task polling. Poll viawithPOST /veo/tasks. This returns a task ID immediately. Poll for the result:{"id": "..."}
bash
curl -X POST https://api.acedata.cloud/veo/tasks \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "<task_id from above>"}'bash
curl -X POST https://api.acedata.cloud/veo/videos \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "text2video", "prompt": "a whale breaching in slow motion at golden hour", "model": "veo3", "callback_url": "https://api.acedata.cloud/health"}'异步处理: 请查看异步任务轮询。通过接口并传入POST /veo/tasks进行轮询。该接口会立即返回一个任务ID,之后可轮询获取结果:{"id": "..."}
bash
curl -X POST https://api.acedata.cloud/veo/tasks \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "<task_id from above>"}'Models
模型
| Model | Audio | Best For |
|---|---|---|
| No | Fast, cost-effective generation (default) |
| Yes (native) | Full audiovisual generation |
| Yes (native) | Faster audiovisual generation |
| Yes (native) | Veo 3.1, highest quality |
| Yes (native) | Veo 3.1 fast variant |
| Yes (native) | Veo 3.1 fast, ingredient mode |
| 模型 | 音频支持 | 适用场景 |
|---|---|---|
| 否 | 快速、高性价比生成(默认) |
| 是(原生) | 全视听内容生成 |
| 是(原生) | 更快的视听内容生成 |
| 是(原生) | Veo 3.1,最高画质 |
| 是(原生) | Veo 3.1快速版 |
| 是(原生) | Veo 3.1快速版,素材混合模式 |
Workflows
工作流
1. Text-to-Video
1. 文本转视频
json
POST /veo/videos
{
"action": "text2video",
"prompt": "cinematic aerial shot of the Northern Lights over Iceland",
"model": "veo3",
"resolution": "1080p"
}json
POST /veo/videos
{
"action": "text2video",
"prompt": "cinematic aerial shot of the Northern Lights over Iceland",
"model": "veo3",
"resolution": "1080p"
}2. Image-to-Video
2. 图片转视频
Animate still images into video.
json
POST /veo/videos
{
"action": "image2video",
"prompt": "the scene gently comes to life with wind and subtle motion",
"image_urls": ["https://example.com/landscape.jpg"],
"model": "veo2-fast",
"aspect_ratio": "16:9"
}将静态图片动化为视频。
json
POST /veo/videos
{
"action": "image2video",
"prompt": "the scene gently comes to life with wind and subtle motion",
"image_urls": ["https://example.com/landscape.jpg"],
"model": "veo2-fast",
"aspect_ratio": "16:9"
}3. Ingredients-to-Video (Multi-Image Blend)
3. 多素材混合转视频
Blend 1–3 reference images into a video (only ).
veo31-fast-ingredientsjson
POST /veo/videos
{
"action": "ingredients2video",
"image_urls": [
"https://example.com/img1.jpg",
"https://example.com/img2.jpg"
],
"model": "veo31-fast-ingredients"
}将1-3张参考图片融合为视频(仅支持)。
veo31-fast-ingredientsjson
POST /veo/videos
{
"action": "ingredients2video",
"image_urls": [
"https://example.com/img1.jpg",
"https://example.com/img2.jpg"
],
"model": "veo31-fast-ingredients"
}4. Upscale to 1080p
4. 升频至1080p
Convert a previously generated video to full 1080p resolution.
json
POST /veo/videos
{
"action": "get1080p",
"video_id": "your-video-id",
"model": "veo3"
}将已生成的视频转换为全1080p分辨率。
json
POST /veo/videos
{
"action": "get1080p",
"video_id": "your-video-id",
"model": "veo3"
}Parameters
参数
| Parameter | Values | Description |
|---|---|---|
| | Generation mode |
| see Models table | Model to use (default: |
| | Output resolution (default: 720p) |
| | Aspect ratio — only valid for |
| array of strings | Reference image URLs — for |
| string | Video to upscale — only for |
| | Auto-translate prompt to English (default: false) |
| 参数 | 可选值 | 描述 |
|---|---|---|
| | 生成模式 |
| 见模型表格 | 使用的模型(默认: |
| | 输出分辨率(默认:720p) |
| | 宽高比 — 仅对 |
| 字符串数组 | 参考图片URL — 适用于 |
| 字符串 | 待升频的视频ID — 仅适用于 |
| | 自动将提示词翻译为英文(默认:false) |
Post-Generation Endpoints
生成后处理接口
After generating a video, use these endpoints to further process it:
视频生成完成后,可使用以下接口进行进一步处理:
Upsample (POST /veo/upsample
)
POST /veo/upsample升采样(POST /veo/upsample
)
POST /veo/upsampleUpscale a generated video to 1080p, 4K, or convert to GIF.
json
POST /veo/upsample
{
"video_id": "your-video-id",
"action": "4k"
}| Parameter | Values | Description |
|---|---|---|
| string | Task ID from |
| | Upsample target |
将生成的视频升频至1080p、4K,或转换为GIF。
json
POST /veo/upsample
{
"video_id": "your-video-id",
"action": "4k"
}| 参数 | 可选值 | 描述 |
|---|---|---|
| 字符串 | 来自 |
| | 升采样目标 |
Extend (POST /veo/extend
)
POST /veo/extend延长视频(POST /veo/extend
)
POST /veo/extendContinue an existing video — AI auto-generates the next segment.
json
POST /veo/extend
{
"video_id": "your-video-id",
"model": "veo31-fast",
"prompt": "the camera slowly zooms out"
}| Parameter | Values | Description |
|---|---|---|
| string | Task ID from |
| | Only Veo 3.1 series is supported |
| string | Optional: guides the extended segment |
延续现有视频——AI自动生成后续片段。
json
POST /veo/extend
{
"video_id": "your-video-id",
"model": "veo31-fast",
"prompt": "the camera slowly zooms out"
}| 参数 | 可选值 | 描述 |
|---|---|---|
| 字符串 | 来自 |
| | 仅支持Veo 3.1系列 |
| 字符串 | 可选:引导后续片段的生成 |
Reshoot (POST /veo/reshoot
)
POST /veo/reshoot重拍视频(POST /veo/reshoot
)
POST /veo/reshootRe-render a video keeping the same content but applying new camera motion.
json
POST /veo/reshoot
{
"video_id": "your-video-id",
"motion_type": "LEFT_TO_RIGHT"
}| Parameter | Values | Description |
|---|---|---|
| string | Task ID from |
| see table below | Camera motion to apply |
motion_typeSTATIONARYSTATIONARY_UPSTATIONARY_DOWNSTATIONARY_LEFTSTATIONARY_RIGHTSTATIONARY_DOLLY_IN_ZOOM_OUTSTATIONARY_DOLLY_OUT_ZOOM_INUPDOWNLEFT_TO_RIGHTRIGHT_TO_LEFTFORWARDBACKWARDDOLLY_IN_ZOOM_OUTDOLLY_OUT_ZOOM_IN重新渲染视频,保留原有内容但应用新的镜头运动。
json
POST /veo/reshoot
{
"video_id": "your-video-id",
"motion_type": "LEFT_TO_RIGHT"
}| 参数 | 可选值 | 描述 |
|---|---|---|
| 字符串 | 来自 |
| 见下表 | 应用的镜头运动类型 |
motion_typeSTATIONARYSTATIONARY_UPSTATIONARY_DOWNSTATIONARY_LEFTSTATIONARY_RIGHTSTATIONARY_DOLLY_IN_ZOOM_OUTSTATIONARY_DOLLY_OUT_ZOOM_INUPDOWNLEFT_TO_RIGHTRIGHT_TO_LEFTFORWARDBACKWARDDOLLY_IN_ZOOM_OUTDOLLY_OUT_ZOOM_INObjects (POST /veo/objects
)
POST /veo/objects物体编辑(POST /veo/objects
)
POST /veo/objectsInsert or remove objects in a video using mask-based inpainting.
json
POST /veo/objects
{
"video_id": "your-video-id",
"action": "insert",
"prompt": "add a flying bird"
}json
POST /veo/objects
{
"video_id": "your-video-id",
"action": "remove",
"image_mask": "https://example.com/mask.jpg"
}| Parameter | Values | Description |
|---|---|---|
| string | Task ID (cannot use |
| | Operation type |
| string | Required for |
| string | URL or base64 JPEG — white pixels = target region. Required for |
基于蒙版的修复技术在视频中插入或移除物体。
json
POST /veo/objects
{
"video_id": "your-video-id",
"action": "insert",
"prompt": "add a flying bird"
}json
POST /veo/objects
{
"video_id": "your-video-id",
"action": "remove",
"image_mask": "https://example.com/mask.jpg"
}| 参数 | 可选值 | 描述 |
|---|---|---|
| 字符串 | 任务ID(不可使用 |
| | 操作类型 |
| 字符串 | |
| 字符串 | URL或base64格式的JPEG图片——白色像素代表目标区域。 |
Gotchas
注意事项
- Veo 3 and 3.1 models generate native audio — does NOT support audio
veo2-fast - The action uses
get1080p(from a prior generation), not a URLvideo_id - is only valid for the
aspect_ratioactionimage2video - accepts an array — up to 2 images for
image_urls, up to 3 forimage2videoingredients2video - requires image input — it cannot do text-only generation
veo31-fast-ingredients - Documented values are only
aspect_ratioand"16:9""9:16" - auto-translates Chinese or other non-English prompts before sending to Veo
translation: true - Task polling uses (not
id) in thetask_idrequest body/veo/tasks - Task states use (not "completed") — check for this value when polling
"succeeded" - output cannot be used as input for
/veo/extendor/veo/reshoot/veo/objects
MCP:| Hosted:pip install mcp-veo| See all MCP servershttps://veo.mcp.acedata.cloud/mcp
- Veo 3和3.1模型会生成原生音频——不支持音频
veo2-fast - 操作使用
get1080p(来自之前的生成任务),而非URLvideo_id - 仅对
aspect_ratio操作有效image2video - 接受数组——
image_urls最多2张图片,image2video最多3张ingredients2video - 必须传入图片输入——不支持纯文本生成
veo31-fast-ingredients - 文档中记录的可选值仅为
aspect_ratio和"16:9""9:16" - 会自动将中文或其他非英文提示词翻译为英文后发送给Veo
translation: true - 任务轮询时,请求体中使用
/veo/tasks(而非id)task_id - 任务状态使用(而非"completed")——轮询时需检查该值
"succeeded" - 的输出不可作为
/veo/extend或/veo/reshoot的输入/veo/objects
MCP:| 托管地址:pip install mcp-veo| 查看所有MCP服务器https://veo.mcp.acedata.cloud/mcp