MiniMax Hailuo 02(也写作 Hailuo 2)是 MiniMax 海螺(Hailuo)系列于 2025 年 6 月 18 日发布的视频生成模型,强调指令遵循与真实物理表现。在 APIMart 上作为 Hailuo API 提供,模型 ID 为 MiniMax-Hailuo-02,支持文生视频和首尾帧图生视频。
服务亮点
Video link valid for 72 hours
透明定价,无隐藏费用。按量付费,用多少付多少。
| 型号 | 规格 | 黄金价当前价格 | 铂金价 | 钻石价 | 官方价 | 为你节省 |
|---|---|---|---|---|---|---|
MiniMax-Hailuo-02 | 512P | 0.104Credits(~$0.0104)/秒 | 0.0988Credits(~$0.0099)/秒 | 0.0936Credits(~$0.0094)/秒 | 0.13Credits(~$0.013)/秒 | 20% |
| 768P | 0.4Credits(~$0.04)/秒 | 0.38Credits(~$0.038)/秒 | 0.36Credits(~$0.036)/秒 | 0.5Credits(~$0.05)/秒 | 20% | |
| 1080P | 0.8Credits(~$0.08)/秒 | 0.76Credits(~$0.076)/秒 | 0.72Credits(~$0.072)/秒 | 1Credits(~$0.1)/秒 | 20% |
* 实际费用以最终输出为准。
通过 APIMart 的 Hailuo API 调用 MiniMax Hailuo 02:输入提示词生成 5 或 10 秒视频,也可以用首帧(可再加尾帧)控制画面走向,分辨率可选 512p、768p 或 1080p。一个 API Key,按秒付费。
50K+
活跃用户
99.9%
在线率
2x
更快
—
成本节省
在 APIMart 用一个 POST 请求调用 Hailuo API。生成是异步的:先提交任务,再轮询任务接口获取视频地址。
把 APIMart Key 存入环境变量 APIMART_API_KEY,每个请求都以 Authorization: Bearer <key> 发送。
用 model MiniMax-Hailuo-02、提示词、duration 和 resolution 调用 POST /v1/videos/generations;图生视频再加 first_frame_image 和 last_frame_image。任务 ID 在 data[0].task_id。
轮询 GET /v1/tasks/{task_id} 直到 status 为 completed,再从 data.result.videos[0].url[0] 读取视频地址。结果保留 72 小时,请及时下载。
全部参数和响应字段请查看MiniMax Hailuo 02 API 文档。
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": "体操运动员在空旷场馆的平衡木上完成后空翻,慢动作,侧面戏剧化光线",
"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": "体操运动员在空旷场馆的平衡木上完成后空翻,慢动作,侧面戏剧化光线",
"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": "镜头从首帧平滑过渡到尾帧,动作自然",
"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"| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 是 | 默认值: MiniMax-Hailuo-02 | 填 MiniMax-Hailuo-02。 |
prompt | string | 是 | 默认值: — | 详细描述场景、动作和风格。 |
duration | integer | 否 | 默认值: 5 | 5 或 10 秒,1080p 只支持 5 秒。请传数字。 |
resolution | string | 否 | 默认值: 768p | 512p、768p 或 1080p。 |
first_frame_image | string | 否 | 默认值: — | 首帧图片,公开 URL 或 Base64 数据。 |
last_frame_image | string | 否 | 默认值: — | 尾帧图片,公开 URL 或 Base64 数据。 |
prompt_optimizer | boolean | 否 | 默认值: true | 自动优化提示词。 |
fast_pretreatment | boolean | 否 | 默认值: false | 缩短提示词优化步骤以加快处理。 |
watermark | boolean | 否 | 默认值: false | 为输出添加水印。 |
nsfw_check | boolean | 否 | 默认值: false | 提交前用 omni-moderation-latest 审核提示词和输入图片。 |
来自 APIMart 博客的教程、对比与价格分析。
在 APIMart 调用 Hailuo 02 时可以控制的内容。
团队使用 MiniMax Hailuo 02 视频生成的常见方式。
三步在 APIMart 生成你的第一个 Hailuo 02 视频。
创建 APIMart 账号并充值。余额可用于平台上的所有模型,包括 Hailuo API。
在控制台生成 API Key。同一个 Key 可调用 MiniMax Hailuo 02、Hailuo 2.3 和 Hailuo 2.3 Fast。
用 model MiniMax-Hailuo-02 调用 POST /v1/videos/generations,也可以先在上方 Playground 试用。
来自全球创作者和开发者的真实声音
“MiniMax Hailuo 02 的画面一致性简直惊人!我在生成一系列短片时,角色形象非常稳定。”
张伟
独立动画制作人
“作为一名开发者,我非常看重 API 的稳定性和响应速度。MiniMax Hailuo 02 在 APIMart 上的表现非常出色。”
David Chen
全栈开发工程师
关于 APIMart 上 Hailuo 02 参数、价格、Key 与接入的解答。
MiniMax Hailuo 02(也写作 Hailuo 2)是 MiniMax 于 2025 年 6 月 18 日发布的视频生成模型。MiniMax 采用名为 Noise-aware Compute Redistribution(NCR)的新架构,强调指令遵循、真实物理表现和原生 1080p。在 APIMart 上使用模型 ID MiniMax-Hailuo-02 调用。Hailuo 即中文的「海螺」,MiniMax 面向用户的视频产品为海螺 AI。
APIMart 的 Hailuo API(海螺 API)用一个 API Key 和同一个 /v1/videos/generations 接口提供 MiniMax Hailuo 02、Hailuo 2.3 和 Hailuo 2.3 Fast。本页介绍 Hailuo 02,它额外提供 512p 和尾帧控制。如果需要更新的运动表现和运镜指令,请看 MiniMax Hailuo 2.3 API。
不是。海螺 AI(hailuoai.com / hailuoai.video)是 MiniMax 自己的视频创作应用,有独立的账号和计费。APIMart 上的 MiniMax Hailuo 02 API 是面向开发者的接口服务:用 APIMart 的 API Key 调用模型 ID MiniMax-Hailuo-02,按视频秒数付费。海螺 AI 的套餐或积分不能在 APIMart 使用,APIMart 的 API Key 也不能在海螺 AI 应用中使用。
必填:model(MiniMax-Hailuo-02)和 prompt。可选:duration(5 或 10,默认 5)、resolution(512p、768p 或 1080p,默认 768p)、first_frame_image、last_frame_image、prompt_optimizer(默认 true)、fast_pretreatment(默认 false)、watermark(默认 false)和 nsfw_check(默认 false)。没有画面比例参数。
在 APIMart 上,Hailuo 02 在 512p 和 768p 下可生成 5 或 10 秒视频;1080p 只支持 5 秒。
支持。传入 first_frame_image,视频会从你的图片开始;再加 last_frame_image 指定结尾画面。两者都支持公开 URL 或 Base64 数据。在 APIMart Playground 中,尾帧选项在 768p 和 1080p 下可用。
Hailuo 02 按生成视频的秒数计费。截至 2026 年 10 月,黄金会员价为:512p 每秒 $0.0104,768p 每秒 $0.04,1080p 每秒 $0.08,因此一段 10 秒 768p 视频为 $0.40。当前价格见本页价格表。
Hailuo 2.3 于 2025 年 10 月 28 日发布,在肢体动作、面部表情和风格化表现上有提升,并新增 15 个运镜指令。Hailuo 02 保留 512p 输出和尾帧控制。Hailuo 2.3 支持 768p 或 1080p、6 或 10 秒,只能用首帧。
需要尾帧图片、512p 草稿或 5 秒短片时选 Hailuo 02;需要更新的动作与表情表现、运镜指令,以及 768p 或 1080p 文生视频时选 Hailuo 2.3;做图生视频且想压低成本时选 Hailuo 2.3 Fast,它在 768p 和 1080p 下是三者中每秒价格最低的。三个型号在 APIMart 上共用同一个接口和 API Key。
prompt_optimizer 默认开启,会在生成前自动优化提示词。fast_pretreatment 会缩短这一优化步骤以加快处理,可能略微影响优化效果。两者都是布尔值。
使用 APIMart Key,以 model MiniMax-Hailuo-02 和提示词调用 POST /v1/videos/generations,响应的 data[0].task_id 即任务 ID。轮询 GET /v1/tasks/{task_id} 直到状态为 completed,再读取视频地址。完整代码见本页示例。
注册 APIMart,在控制台打开 API Keys 页面并创建 Key。同一个 Key 可调用 MiniMax Hailuo 02 API 和平台上的所有其他模型,按量付费,无需订阅。
不免费。MiniMax Hailuo 02 API 没有免费额度,按量付费,只为成功的请求付费,会员所有价格立省 20%。
有。本页显示的是黄金会员价,已比原价低 20%。铂金和钻石会员更省,最高 28%,且只为成功的请求付费。
探索同类型的其他模型。

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.

ApiMart Zoe
apimart-zoe creates 4–30 second videos, or lets the model choose the length, at 480p, 720p, 1080p, 2K or 4K in seven aspect ratios from 21:9 to 9:16. It can work from a text prompt, from first and last frames, or from up to 30 reference images, 10 reference videos and 10 reference audio clips. It can also edit an existing video, changing its style or elements while keeping the original length and framing. Audio can be generated together with the video. A two-step workflow lets you preview a shot as a low-cost 480p draft and then render the approved draft as a 1080p final within 24 hours. Billing is per second of output, with a separate rate for requests that include reference videos.

Kling V4 Flash
Kling 4.0 Flash brings your creative vision to life in motion. From cinematic moments to imaginative visual stories, turn your ideas into videos that capture attention, set the mood, and give every scene a story to tell.