Skip to main content
MiniMax’s Hailuo H3 video models generate sound together with the picture — there is no audio switch.

Request

Top-level fields are model, prompt and seconds. Resolution, ratio and input media go in metadata.
string
required
Bearer YOUR_API_KEY
string
required
MiniMax-H3 or MiniMax-H3-Max
string
required
Picture, motion and sound. Required even when you send reference media.
integer
default:"5"
Length in whole seconds — see the table above.
string
See the table above.
string
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or adaptive (follow the input image or video; needs one). Defaults to adaptive with image or video input and 16:9 for text only. On MiniMax-H3-Max, image-to-video always follows the image.
object[]
Input media. Each item looks like {"type": "image_url", "image_url": {"url": "https://..."}, "role": "first_frame"}; for video and audio use video_url / audio_url.role is first_frame, last_frame or reference_image for images, reference_video for videos and reference_audio for audio. MiniMax-H3 accepts up to 9 images and up to 3 videos and 3 audio clips; frames and reference media cannot be mixed. MiniMax-H3-Max accepts only first_frame and last_frame.
Use public http(s) URLs for all media. Do not use callback_url — poll the task instead.

Text to video

First and last frame

Send only first_frame for first-frame video.

Reference media (MiniMax-H3)

Polling and download work as in Video generation.

Billing

Per second of output, with one price per resolution.
  • MiniMax-H3: reference videos are billed by their length at the same per-second price; the first 5 images per task are free and extra images are billed per image; reference audio is free.
  • MiniMax-H3-Max: output length only.
The requested length is held when you submit (for MiniMax-H3 reference videos, up to 15 s is held) and settled when the task finishes; failed tasks are refunded in full.

Errors