- 路径
/minimaxi/v1/video_generation - 与官网一致:本页所有请求体、字段命名与返回结构与 MiniMax 官网保持一致。
- 字段详解:请参考 官网权威文档。
场景一:文生视频
Copy
curl --request POST \
--url https://models.rivus.cn/minimaxi/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "MiniMax-Hailuo-2.3",
"prompt": "A man picks up a book [Pedestal up], then reads [Static shot].",
"duration": 6,
"resolution": "1080P"
}'
Copy
{
"task_id": "106916112212032",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}
场景二:首帧图像驱动
Copy
curl --request POST \
--url https://models.rivus.cn/minimaxi/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A mouse runs toward the camera, smiling and blinking.",
"first_frame_image": "https://cdn.hailuoai.com/prod/2024-09-18-16/user/multi_chat_file/9c0b5c14-ee88-4a5b-b503-4f626f018639.jpeg",
"model": "MiniMax-Hailuo-2.3",
"duration": 6,
"resolution": "1080P"
}'
场景三:首帧+末帧
Copy
curl --request POST \
--url https://models.rivus.cn/minimaxi/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A little girl grow up.",
"first_frame_image": "https://filecdn.minimax.chat/public/fe9d04da-f60e-444d-a2e0-18ae743add33.jpeg",
"last_frame_image": "https://filecdn.minimax.chat/public/97b7cd08-764e-4b8b-a7bf-87a0bd898575.jpeg",
"model": "MiniMax-Hailuo-02",
"duration": 6,
"resolution": "1080P"
}'
场景四:主体参考
Copy
curl --request POST \
--url https://models.rivus.cn/minimaxi/v1/video_generation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A girl runs toward the camera and winks with a smile.",
"subject_reference": [
{
"type": "character",
"image": [
"https://cdn.hailuoai.com/prod/2025-08-12-17/video_cover/1754990600020238321-411603868533342214-cover.jpg"
]
}
],
"model": "S2V-01"
}'
