Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use the MiniMax/Hailuo API to generate videos
Content updated: 2026-06-09
POST /minimax/v1/video_generation
model
video-01
video-01-live2d
prompt
first_frame_image
curl -X POST https://api.crazyrouter.com/minimax/v1/video_generation \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "video-01", "prompt": "A kitten napping in the sunlight, a gentle breeze ruffling its fur" }'
import requests response = requests.post( "https://api.crazyrouter.com/minimax/v1/video_generation", headers={ "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" }, json={ "model": "video-01", "prompt": "A kitten napping in the sunlight, a gentle breeze ruffling its fur" } ) print(response.json())
{ "task_id": "minimax_video_abc123", "base_resp": { "status_code": 0, "status_msg": "success" } }
{ "model": "video-01", "prompt": "The person in the image starts smiling", "first_frame_image": "https://example.com/portrait.jpg" }
GET /minimax/v1/query/video_generation?task_id={task_id}
curl "https://api.crazyrouter.com/minimax/v1/query/video_generation?task_id=minimax_video_abc123" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "task_id": "minimax_video_abc123", "status": "Success", "file_id": "file_abc123", "base_resp": { "status_code": 0, "status_msg": "success" } }
Queueing
Processing
Success
Fail