Skip to main content
POST
Hailuo Series
MiniMax’s Hailuo video line. This page covers minimax-hailuo-02, minimax-hailuo-2.3 and minimax-hailuo-2.3-fast: all three go through the same task endpoint, all three have generate as their only action, and each turns text or a first-frame image into one clip of a fixed length — switching tiers means changing model and nothing else. For reference video, reference audio or a native soundtrack, use MiniMax H3.

Quick start

A successful submission returns a task_id. Retrieve the result with GET /v1/tasks/{task_id}, wait inline with Prefer: wait, or configure a webhook.

Request parameters

string
required
One of minimax-hailuo-02, minimax-hailuo-2.3 or minimax-hailuo-2.3-fast.
string
default:"generate"
generate is the only action of all three models. The mode is not selected by action: prompt only is text-to-video, adding first_frame_image is first-frame video, and a first frame plus last_frame_image is first-and-last-frame video.
string
required
Description of the video: scene, subject, motion, style. minimax-hailuo-2.3 and minimax-hailuo-2.3-fast also accept camera-movement tags inside the prompt, see Examples.
integer
Clip length in seconds.
  • minimax-hailuo-02: 5 or 10, default 5
  • minimax-hailuo-2.3 and minimax-hailuo-2.3-fast: 6 or 10, default 6
string
Output resolution.
  • minimax-hailuo-02: 512p, 768p or 1080p, default 768p
  • minimax-hailuo-2.3 and minimax-hailuo-2.3-fast: 768p or 1080p, default 768p
string
URL of the first frame, used as the opening image of the clip. Required by minimax-hailuo-2.3-fast.
string
URL of the last frame; combine with first_frame_image for an A-to-B transition. Supported by minimax-hailuo-02 only.
boolean
default:"true"
Auto-optimize the prompt.
boolean
default:"false"
Shorten prompt-optimization time; faster, with slightly weaker optimization.
boolean
default:"false"
Add a watermark to the output.
The shared callback_url, callback_events, Prefer: wait, Idempotency-Key and cost-cap headers are documented in Submit Task. None of the three models accepts image_urls, video_urls, audio_urls, aspect_ratio, n, seed or negative_prompt; minimax-hailuo-2.3 / minimax-hailuo-2.3-fast do not accept last_frame_image. Anything beyond the parameters above returns 400 and is not billed.

Limits

minimax-hailuo-02 takes at most 2 images per request: one first frame and one last frame.

Pricing

Billed at a fixed price per clip for each resolution × duration tier, not per second: every allowed resolution and duration combination has its own price, so the cost of a call is known before you submit. Without resolution or duration, the tier of the defaults (768p, 5 or 6 seconds) applies. prompt_optimizer, fast_pretreatment, watermark and the first / last frame images do not affect the price.
Per-model rates are in price_config on GET /v1/models, and in the console’s Model Market.What a single call actually cost is the cost field on the task response — an integer quota at 500,000 quota = 1 USD.
You are only billed for a video that is produced. Failed and cancelled tasks, and tasks that return no usable video, are refunded in full. The final charge is the cost field on the task response — an integer quota, not dollars.

Response

Task completed
result.videos holds the generated video and expires_at is when the link stops working (Unix seconds) — copy the file to your own storage before then. Full field reference in Query Task Status.

Available models

Examples

minimax-hailuo-2.3 and minimax-hailuo-2.3-fast take camera-movement tags written as [tag] inside prompt. The tag labels are Chinese and must be written exactly as below; they can be mixed into the description and several can be used in one prompt:
Request body with camera tags