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?
Full capability set
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).- Billed by the requested
durationin seconds, pre-charged when the task is accepted - No extra charge for reference media: reference images (up to 9), videos, and audio don’t change the price; only duration is billed
- 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
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:
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?
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?