curl --request POST \
--url https://api.maxapi.ai/veo/v1/api/video/submit \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "一只橘色的猫咪在蓝天白云中飞翔,阳光洒在它的毛发上,画面唯美而梦幻"
}
'{
"success": true,
"data": {
"taskId": "veo3:a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"pollingUrl": "https://asyncdata.net/source/veo3:a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "processing",
"message": "任务提交成功,正在处理中"
}
}{
"success": false,
"message": "不支持的模型类型",
"error_code": "INVALID_MODEL"
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter"
}
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter"
}
}Create a video generation task
Use this endpoint to call the provider-compatible create a video generation task operation through MaxAPI.
POST
https://api.maxapi.ai
/
veo
/
v1
/
api
/
video
/
submit
curl --request POST \
--url https://api.maxapi.ai/veo/v1/api/video/submit \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "一只橘色的猫咪在蓝天白云中飞翔,阳光洒在它的毛发上,画面唯美而梦幻"
}
'{
"success": true,
"data": {
"taskId": "veo3:a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"pollingUrl": "https://asyncdata.net/source/veo3:a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "processing",
"message": "任务提交成功,正在处理中"
}
}{
"success": false,
"message": "不支持的模型类型",
"error_code": "INVALID_MODEL"
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter"
}
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter"
}
}请求体
application/json
Maximum string length:
2000示例:
"一只橘色的猫咪在蓝天白云中飞翔,阳光洒在它的毛发上,画面唯美而梦幻"
可用选项:
veo2, veo2-fast, veo2-fast-components, veo2-fast-frames, veo2-pro, veo3, veo3-fast, veo3-pro, veo3-pro-frames 示例:
"veo3"
Maximum array length:
5示例:
[
"https://example.com/reference1.jpg",
"https://example.com/reference2.jpg"
]
示例:
true
响应
Request succeeded.