curl --request POST \
--url https://api.maxapi.ai/hailuo/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-2.3"
}
'{
"task_id": "task_1234567890abcdef",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter: prompt is required"
}
}{
"base_resp": {
"status_code": 1002,
"status_msg": "Invalid API key"
}
}{
"base_resp": {
"status_code": 5000,
"status_msg": "Internal server error"
}
}videoGenerate (API)
Use this endpoint to call the provider-compatible videogenerate (api) operation through MaxAPI.
POST
https://api.maxapi.ai
/
hailuo
/
v1
/
video_generation
curl --request POST \
--url https://api.maxapi.ai/hailuo/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-Hailuo-2.3"
}
'{
"task_id": "task_1234567890abcdef",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}{
"base_resp": {
"status_code": 1001,
"status_msg": "Invalid parameter: prompt is required"
}
}{
"base_resp": {
"status_code": 1002,
"status_msg": "Invalid API key"
}
}{
"base_resp": {
"status_code": 5000,
"status_msg": "Internal server error"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Available options:
MiniMax-Hailuo-02, MiniMax-Hailuo-2.3, MiniMax-Hailuo-2.3-Fast, T2V-01-Director, T2V-01, I2V-01-Director, I2V-01-live, I2V-01, S2V-01 Example:
"MiniMax-Hailuo-2.3"
Maximum string length:
2000Example:
"一只可爱的小猫在阳光下玩耍[推进],然后跳跃[跟随]"
Example:
"https://example.com/image.jpg"
Example:
"https://example.com/last.jpg"
Example:
"https://example.com/subject.jpg"
Available options:
6, 10 Example:
6
Available options:
720P, 768P, 1080P Example:
"1080P"
Example:
true
Example:
false
Example:
"https://your-domain.com/callback"
Example:
false