Hailuo (MiniMax) family
MiniMax’s Hailuo video generation models, two in total, called through the OfoxAI video endpoint POST /v1/videos. Tasks run asynchronously: creating a task returns a task ID, which you then use to query the result.
Choosing a model
Both support text-to-video, image-to-video, and video reference, and can generate a synchronized audio track (generate_audio defaults to true). adaptive keeps the input image’s aspect ratio.
minimax/hailuo-3768p, 2Kminimax/hailuo-3-max480p, 768p; 5 s minimumThe table above matches the video_attributes returned by the Models API; if model capabilities change, the API response takes precedence. Billing is per second, and the actual charge is usage.video_cost in the task result. For prices, see the model page .
Examples
The examples below show only the request that creates the task. For the full flow of querying status and downloading the result after creation, see Video API · Quickstart.
Text to video
Send only prompt.
curl -X POST https://api.ofox.io/v1/videos \
-H "Authorization: Bearer $OFOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-3",
"prompt": "Widescreen shot: a vintage car drives toward the setting sun on a desert highway",
"duration": 6,
"resolution": "768p",
"aspect_ratio": "21:9"
}'frame_imagesandinput_referencescannot be sent together; sending both returns400 references_conflict.- Pass
"generate_audio": falsewhen you do not need an audio track. - For the full field structure, see Create video task.
Resolution values
Hailuo’s resolution tiers differ from other families: 768p and 2k (lowercase k). Passing 720p or 1080p, common in other families, returns 400.
Common errors
For the full list of error codes, see Video API error codes.
Official docs
FAQ
Does Hailuo 3 support 1080p?
No. Hailuo 3 supports 768p and 2k, and Hailuo 3 Max supports 480p and 768p. Passing 720p or 1080p returns 400 resolution not supported.
Hailuo 3 Max returns duration 4 out of range [5, 15]?
Hailuo 3 Max generates a minimum of 5 seconds and a maximum of 15 seconds per task. For a 4-second video, use Hailuo 3.
Does Hailuo support 21:9?
Yes. Both Hailuo 3 and Hailuo 3 Max support 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, and adaptive.