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",
"resolution": "1080p"
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
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",
"resolution": "1080p"
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
veo3 · veo3_fast
Quality 质量模式(默认)— veo3
Fast 快速模式 — veo3_fast
veo3、veo3_fast。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",
"resolution": "1080p"
}
}'
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
{
"code": 0,
"msg": "ok",
"data": {
"taskId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "SUCCESS",
"input": {
"model": "veo3",
"prompt": "黄金时刻,海浪拍打着岩石海岸",
"ratio": "16:9",
"resolution": "1080p"
},
"result": {
"type": "video",
"urls": [
"https://example.com/output/video-a1b2c3d4.mp4"
]
},
"created_at": "2026-02-12T10:00:00.000000Z",
"updated_at": "2026-02-12T10:02:30.000000Z"
}
}
mode 参数 — 系统会根据图片数量自动识别生成模式。