curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "veo3",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "海浪轻柔地涌动,太阳慢慢落下",
"ratio": "16:9",
"imageUrls": ["https://example.com/beach.jpg"]
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
}
}
Veo 3 图片生成视频 — 为图片添加动画或从图片参考创建视频
curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "veo3",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "海浪轻柔地涌动,太阳慢慢落下",
"ratio": "16:9",
"imageUrls": ["https://example.com/beach.jpg"]
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
}
}
veo3 · veo3_fast
单图生成(I2V)— 1 张图片
首尾帧视频(I2V-FL)— 2 张图片
参考图生成(R2V)— 1-3 张图片
mode 字段覆盖自动推断(例如:使用 1 张图片时指定 mode: "r2v" 作为风格参考而非首帧控制)veo3、veo3_fast。隐藏 properties
16:9、9:16。默认值:16:9。i2v、i2v-fl 或 r2v。可选 — 不提供时系统会根据图片数量自动推断。当需要覆盖自动推断时使用(例如:使用 1 张图片时指定 mode: "r2v" 作为风格参考)。1080p、4k。不传则为默认分辨率(不放大)。注意:I2V 单图模式不支持分辨率放大,传入会被忽略。curl --request POST \
--url https://api.maxapi.io/api/v1/task/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "veo3",
"callBackUrl": "https://example.com/webhook",
"input": {
"prompt": "海浪轻柔地涌动,太阳慢慢落下",
"ratio": "16:9",
"imageUrls": ["https://example.com/beach.jpg"]
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
}
}
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "SUCCESS",
"input": {
"model": "veo3",
"prompt": "海浪轻柔地涌动,太阳慢慢落下",
"ratio": "16:9",
"imageUrls": ["https://example.com/beach.jpg"]
},
"result": {
"type": "video",
"urls": [
"https://example.com/output/video-b2c3d4e5.mp4"
]
},
"created_at": "2026-02-12T11:00:00.000000Z",
"updated_at": "2026-02-12T11:02:45.000000Z"
}
}
ratio 参数匹配veo3 模型,将自动回退到 Fast 模式。建议明确使用 veo3_fast。