curl --request POST \
--url https://api.maxapi.ai/vidu/ent/v2/img2video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "viduq2-turbo"
}
'{
"task_id": "vidu_task_123456789",
"state": "pending",
"model": "viduq2-turbo",
"prompt": "一只可爱的小猫在草地上玩耍",
"duration": 8,
"resolution": "1080p",
"credits": 11,
"created_at": "2025-10-29T10:30:00Z"
}{
"code": 400,
"reason": "BadRequest",
"message": "Invalid parameter: model is required"
}{
"code": 401,
"reason": "Unauthorized",
"message": "Invalid or missing token"
}{
"code": 403,
"reason": "Forbidden",
"message": "Insufficient credits"
}Generate video from image
Use this endpoint to call the provider-compatible generate video from image operation through MaxAPI.
POST
https://api.maxapi.ai
/
vidu
/
ent
/
v2
/
img2video
curl --request POST \
--url https://api.maxapi.ai/vidu/ent/v2/img2video \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "viduq2-turbo"
}
'{
"task_id": "vidu_task_123456789",
"state": "pending",
"model": "viduq2-turbo",
"prompt": "一只可爱的小猫在草地上玩耍",
"duration": 8,
"resolution": "1080p",
"credits": 11,
"created_at": "2025-10-29T10:30:00Z"
}{
"code": 400,
"reason": "BadRequest",
"message": "Invalid parameter: model is required"
}{
"code": 401,
"reason": "Unauthorized",
"message": "Invalid or missing token"
}{
"code": 403,
"reason": "Forbidden",
"message": "Insufficient credits"
}授权
请求体
application/json
响应
Request succeeded.