MiniMax Hailuo 02 (Hailuo 2) is MiniMax's video model released on June 18, 2025, built for strong instruction following and realistic physics. On APIMart it runs as the Hailuo API with model ID MiniMax-Hailuo-02, supporting text to video and first-and-last-frame image to video.
Service Highlights
Video link valid for 72 hours
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | Tier | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|---|
MiniMax-Hailuo-02 | 512P | 0.104Credits(~$0.0104)/sec | 0.0988Credits(~$0.0099)/sec | 0.0936Credits(~$0.0094)/sec | 0.13Credits(~$0.013)/sec | 20% |
| 768P | 0.4Credits(~$0.04)/sec | 0.38Credits(~$0.038)/sec | 0.36Credits(~$0.036)/sec | 0.5Credits(~$0.05)/sec | 20% | |
| 1080P | 0.8Credits(~$0.08)/sec | 0.76Credits(~$0.076)/sec | 0.72Credits(~$0.072)/sec | 1Credits(~$0.1)/sec | 20% |
* Actual costs are subject to final output.
Call MiniMax Hailuo 02 through the Hailuo API on APIMart. Turn a prompt into a 5 or 10 second clip, or guide the motion with a first frame and an optional last frame, at 512p, 768p or 1080p. One API key, pay per second.
50K+
Active Users
99.9%
Uptime
2x
Faster
—
Cost Savings
Call the Hailuo API on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint to get the video URL.
Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/videos/generations with model MiniMax-Hailuo-02, your prompt, duration and resolution. Add first_frame_image and last_frame_image for image to video. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} until status is completed, then read the video URL from data.result.videos[0].url[0]. Results are kept for 72 hours, so download them in time.
See the MiniMax Hailuo 02 API reference for every parameter and response field.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-Hailuo-02",
"prompt": "A gymnast performs a backflip on a balance beam in an empty arena, slow motion, dramatic side lighting",
"duration": 10,
"resolution": "768p",
"prompt_optimizer": true
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "MiniMax-Hailuo-02",
"prompt": "A gymnast performs a backflip on a balance beam in an empty arena, slow motion, dramatic side lighting",
"duration": 10,
"resolution": "768p",
"prompt_optimizer": True
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-Hailuo-02",
"prompt": "Smooth camera move from the first frame to the last frame, natural motion",
"first_frame_image": "https://example.com/start.jpg",
"last_frame_image": "https://example.com/end.jpg",
"duration": 5,
"resolution": "768p"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: MiniMax-Hailuo-02 | Use MiniMax-Hailuo-02. |
prompt | string | Required | Default: — | Describe the scene, action and style in detail. |
duration | integer | Optional | Default: 5 | 5 or 10 seconds. 1080p supports 5 seconds only. Send a number. |
resolution | string | Optional | Default: 768p | 512p, 768p or 1080p. |
first_frame_image | string | Optional | Default: — | First frame as a public URL or a Base64 data URI. |
last_frame_image | string | Optional | Default: — | Last frame as a public URL or a Base64 data URI. |
prompt_optimizer | boolean | Optional | Default: true | Automatically optimize the prompt. |
fast_pretreatment | boolean | Optional | Default: false | Shorten the prompt optimization step for faster processing. |
watermark | boolean | Optional | Default: false | Add a watermark to the output. |
nsfw_check | boolean | Optional | Default: false | Review the prompt and input images with omni-moderation-latest before submission. |
Guides, comparisons and pricing analysis from the APIMart blog.
What you can control when you call Hailuo 02 on APIMart.
Typical ways teams use MiniMax Hailuo 02 video generation.
Three steps to your first Hailuo 02 video on APIMart.
Create an APIMart account and top up your balance. The balance works for every model on the platform, including the Hailuo API.
Generate an API key in the dashboard. The same key calls MiniMax Hailuo 02, Hailuo 2.3 and Hailuo 2.3 Fast.
POST to /v1/videos/generations with model MiniMax-Hailuo-02, or try the playground above first.
Real feedback from creators and developers using MiniMax Hailuo 02 worldwide
“The consistency of MiniMax Hailuo 02 is amazing! Character images remain stable across multiple clips.”
Wei Zhang
Independent Animator
“As a developer, I value stability and speed. MiniMax Hailuo 02 on APIMart delivers great performance.”
David Chen
Full-Stack Engineer
Answers about Hailuo 02 parameters, pricing, keys and integration on APIMart.
MiniMax Hailuo 02, also written Hailuo 2, is a video generation model that MiniMax released on June 18, 2025. MiniMax built it on a new architecture called Noise-aware Compute Redistribution (NCR) and highlights instruction following, realistic physics and native 1080p. On APIMart you call it with the model ID MiniMax-Hailuo-02.
The Hailuo API on APIMart gives you MiniMax Hailuo 02, Hailuo 2.3 and Hailuo 2.3 Fast through one API key and the same /v1/videos/generations endpoint. This page covers Hailuo 02, which adds 512p and last-frame control. For newer motion quality and camera commands, see the MiniMax Hailuo 2.3 API.
No. Hailuo AI (hailuoai.video) is MiniMax's own video creation app, with its own account and billing. The MiniMax Hailuo 02 API on APIMart is a developer service: you call model ID MiniMax-Hailuo-02 with an APIMart API key and pay per second of video. Hailuo AI plans or credits cannot be used on APIMart, and APIMart keys do not work in the Hailuo AI app.
model (MiniMax-Hailuo-02) and prompt are required. Optional: duration (5 or 10, default 5), resolution (512p, 768p or 1080p, default 768p), first_frame_image, last_frame_image, prompt_optimizer (default true), fast_pretreatment (default false), watermark (default false) and nsfw_check (default false). There is no aspect ratio parameter.
On APIMart, Hailuo 02 generates 5 or 10 second clips at 512p and 768p. At 1080p, only 5 seconds is supported.
Yes. Pass first_frame_image to start the video from your image, and add last_frame_image to set the ending frame. Each accepts a public URL or a Base64 data URI. In the APIMart playground, the last-frame option is available at 768p and 1080p.
Hailuo 02 is billed per second of generated video. As of October 2026, Gold member prices are $0.0104 per second at 512p, $0.04 at 768p and $0.08 at 1080p, so a 10-second 768p clip costs $0.40. See the pricing table on this page for current rates.
Hailuo 2.3, released on October 28, 2025, improves body movement, facial expressions and stylized looks, and adds 15 camera movement commands. Hailuo 02 keeps 512p output and last-frame control. Hailuo 2.3 offers 6 or 10 second clips at 768p or 1080p with a first frame only.
Choose Hailuo 02 when you need a last-frame image, 512p drafts or 5-second clips. Choose Hailuo 2.3 for newer motion and expressions, camera commands, and text to video at 768p or 1080p. Choose Hailuo 2.3 Fast for image to video at the lowest per-second price of the three at 768p and 1080p. All three use the same endpoint and API key on APIMart.
prompt_optimizer, on by default, automatically improves your prompt before generation. fast_pretreatment shortens that optimization step to speed up processing, which may slightly reduce the optimization quality. Both are booleans.
POST /v1/videos/generations with your APIMart key, model MiniMax-Hailuo-02 and a prompt. The response returns a task ID in data[0].task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then read the video URL. See the code example on this page.
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key works for the MiniMax Hailuo 02 API and every other model on APIMart, with pay-as-you-go billing and no subscription.
No. There is no free quota for the MiniMax Hailuo 02 API. It is pay-as-you-go, you only pay for successful requests, and all prices are 20% off for members.
Yes. The prices on this page are Gold member prices, already 20% below list price. Platinum and Diamond members save even more, up to 28%, and you only pay for successful requests.
Explore more models in the same category.

Seedance 1.0 Pro Quality
Experience Seedance 1.0 Pro Fast video generation technology. Generate stunning videos with logical motion and high fidelity from text or images.

Veo 3.1
Veo 3.1 API on APIMart is Google DeepMind's latest AI video generation model offering enhanced audiovisual quality, native synchronized audio, and advanced cinematic controls for professional video creation.

Muse Video Ext
Muse Video brings ideas to life through the power of visual storytelling. From everyday inspiration to bold creative concepts, it helps turn your vision into videos that connect, engage, and leave a lasting impression. With creativity at its heart, Muse Video makes every story worth sharing.

Pixverse V6 Max
PixVerse V6 Max is an advanced AI video generation model that transforms text and images into cinematic videos up to 15 seconds long at 1080p. With realistic visuals, expressive characters, and optional synchronized audio, it offers precise creative control for multi-shot storytelling, advertising, and music videos.