Overview
MiniMax H3 (Hailuo 3.0) is an omni-modal video model released by MiniMax on 2026-07-31 (UTC+8). A single model takes in text, images, video, and audio and outputs video with a stereo audio track. APIYI servesMiniMax-H3 from a self-hosted deployment of the open weights, at 768P, 4–15 seconds per clip, billed per second.
Video Generation API Reference
Top-up Bonuses
Let an AI Agent Integrate It for You
Copy this prompt and paste it into Codex / Claude Code / Cursor
The agent first fetches the plain-text version of this page (append .md to any docs URL), then writes code for your stack. The common mistakes are already spelled out: the path needs /hailuo, results sit inside task, and duration must be an integer from 4 to 15.
Integrate or debug MiniMax-H3 video generation (text-to-video / first-and-last-frame video / reference video) in this project.
Read the docs before writing code: fetch https://docs.apiyi.com/en/api-capabilities/minimax-h3/overview.md for the plain-text version of this page; parameters and code samples are at https://docs.ap …
- Endpoints: submit with
POST https://api.apiyi.com/hailuo/v2/video_generation, query with …
10 requirements in total. Use the button below to copy the full prompt.
What this prompt protects you from
What this prompt protects you from
Why APIYI’s MiniMax-H3?
Multiple generation modes
Per-second billing, refunds on failure
Top-up bonuses stack
Global access, no barriers
api.apiyi.com with one API Key; no overseas account neededFull video model lineup
Professional support
Key Features
Native stereo audio
7 aspect ratios
21:9 to 9:16, plus adaptive to follow the reference imageAny whole length from 4 to 15 s
Long prompts
First/last-frame control
Multiple reference images
<Picture 1> and so onMotion transfer from video
Audio-driven video
Pricing
This channel runs MiniMax’s open H3 weights on our own deployment. It is not a relay of the official MiniMax API, so it has its own pricing:platform.minimax.io/docs/guides/pricing-paygo (retrieved 2026-09-29).- Output video: $0.03 per second; input reference video: $0.03 per second. Final billing uses the upstream-reported output and input video usage; input video duration comes from
usage.input_seconds - On acceptance, the platform pre-charges the output fee using the requested
duration. After completion, it settles actual usage and charges or refunds the difference - A settlement log records only the adjustment, not the full cost again. Final cost = pre-charge + additional charges − refunds; a task does not always have exactly two billing records
- Reference images (up to 9) and reference audio have no extra charge
- Failed tasks (media download failure, unsupported format, execution failure, etc.) are refunded in full automatically
- Requests that return 4xx / 5xx at submission are not billed; querying and downloading are free
- See top-up bonuses for a lower effective cost
usage.input_seconds for the input duration, rather than the requested output duration.
Group Setup
MiniMax-H3 works in thedefault group, and the svip group works too; no dedicated group is needed. We recommend setting the Token’s billing model to Pay-as-you-go Priority. If a call returns “no available channels for the current group”, the Token’s group does not include this model or the model value is misspelled (it is case-sensitive).
Technical Specs
Estimated Generation Time
Generation time for MiniMax-H3 depends mainly on two things: output duration and whether a reference video is included. The table below reflects the current state of this channel, based on 400+ successful tasks from 2026-09-29 to 2026-10-10 (UTC+8):- Time grows faster than duration: a 15-second clip takes about 5× as long as a 5-second clip, not 3×
- Reference videos take the longest: the model parses the reference video frame by frame and computes it together with the new frames, multiplying the workload
- Set client timeouts from this table: 30 minutes for tasks without a reference video and 2 hours for tasks with one, so running tasks are not mistaken for failures
API Endpoints
Generation Modes
The generation mode is inferred from the media incontent[]:
Referring to media in the prompt
Each media type is numbered by its order incontent[]: the first and second reference images are <Picture 1> and <Picture 2>, the first reference video is <Video 1>, the first reference audio clip is <Audio 1>. For example:
Reference-audio reuse and limits
Send audio withtype: "audio_url", audio_url.url, and role: "reference_audio". It can be combined with images using role: "reference_image".
Use <Audio 1>: fully_copy in the text field of a type: "text" item in content[] to guide audio reuse. The following is an excerpt from the prompt’s retention_analysis section; send it with the reference audio and a complete visual description:
fully_copy is an audio-reuse instruction in the prompt, not a separate JSON parameter or an original-audio passthrough switch. Audio reuse has been tested on this channel, but the output is generated by the model. Sample-for-sample identity, no added sound, and strict silence after the reference ends are not guaranteed. If the original soundtrack must remain entirely unchanged, replace the audio track after video generation and match the durations yourself.Best Practices
Test with 4–5 seconds first
Use a fixed ratio for text-to-video
16:9 for landscape, 9:16 for portrait, 21:9 for widescreen; with a first frame, adaptive keeps the image’s ratioHost media on stable public storage
Describe camera moves and sound
Poll every 10 seconds
Handle idempotency yourself
Store the video right away
task.content.url with GET and serve it from your own storageError Codes & Retries
FAQ
Why did I get a web page instead of JSON?
Why did I get a web page instead of JSON?
/hailuo prefix. The correct paths are /hailuo/v2/video_generation and /hailuo/v2/query/video_generation/{task_id}.Is 2K or 1080P supported?
Is 2K or 1080P supported?
768P only. The official MiniMax model supports 2K, but this channel does not offer it.Can I set 1–3 seconds?
Can I set 1–3 seconds?
duration is an integer from 4 to 15.Do the videos have sound? Can I turn it off?
Do the videos have sound? Can I turn it off?
generate_audio=false returns HTTP 400 unsupported field generate_audio. Strip the track in post-processing if you don’t need it.Can I set a fixed random seed?
Can I set a fixed random seed?
seed parameter; passing it returns HTTP 400 unsupported field seed. Task queries do not return an actual seed for reproducibility either.Can I query the model revision and complete execution parameters?
Can I query the model revision and complete execution parameters?
model, duration, ratio, and resolution, but MiniMax-H3 is only a model name and does not identify the deployed weight snapshot.Does the Idempotency-Key header prevent double billing?
Does the Idempotency-Key header prevent double billing?
Idempotency-Key still creates a new task that is billed separately. Track submitted tasks in your own application.Are failed tasks billed?
Are failed tasks billed?
failed it is refunded in full automatically; requests rejected at submission are not billed either.Can I send Base64 or local files?
Can I send Base64 or local files?
What size does adaptive produce?
What size does adaptive produce?
adaptive.Is a reference video longer than 15 seconds an error?
Is a reference video longer than 15 seconds an error?
How long does generation take?
How long does generation take?
How long does the video URL stay valid?
How long does the video URL stay valid?
What if submission sometimes returns 500 Unknown Error?
What if submission sometimes returns 500 Unknown Error?