MiniMax H3 Max Turbo API
MiniMax H3 的后训练加速版:秒级出片而不是分钟级(实测 480P 5 秒的片子 6-11 秒回来),提示词遵循更强、画面更好看,按秒计费 —— 480P $0.06/秒、768P $0.096/秒,5-15 秒任意整秒。只传提示词是文生视频(六种画幅);传首帧(可选尾帧)是图生视频,画幅跟随图片。这条线不接多张参考图、参考视频和参考音频 —— 要那些能力用 minimax-h3 或 minimax-h3-lite。
价格(按秒)
| 分辨率 | 每秒 | 5s | 10s | 15s |
|---|---|---|---|---|
| 480P | $0.06 | $0.30 | $0.60 | $0.90 |
| 768P(默认) | $0.096 | $0.48 | $0.96 | $1.44 |
按实际请求的秒数收费,5-15 秒任意整秒。首帧 / 尾帧不另收费。仅成功扣费、失败退款。
和 H3 家族其它两档的取舍:Turbo 是三档里最快的(秒级 vs 分钟级),768P 比 Lite 略贵($0.096 vs $0.02/秒),但只有首尾帧一种图片输入;minimax-h3-lite 收最多 9 张参考图和 3 段参考音频;minimax-h3 再加参考视频和 2K。
认证
所有请求在 Header 携带 API Key:
Authorization: Bearer YOUR_API_KEY生成视频
/api/v1/video/generations·GET/api/v1/video/generations?task_id=# Text-to-video (prompt only; aspect_ratio applies)
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-max-turbo",
"prompt": "A white kitten chases a butterfly across a sunlit garden, gentle tracking shot, soft afternoon light",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9"
}'
# Image-to-video: first frame (+ optional last frame). Aspect ratio follows the image.
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-max-turbo",
"prompt": "The camera slowly pushes in on the mug, steam rises and the window light warms",
"first_frame_url": "https://apimodels.app/models/ltx-2.5-fast/photo-first-frame.jpg",
"last_frame_url": "https://apimodels.app/models/ltx-2.5-pro/photo.jpg",
"duration": 8,
"resolution": "768p"
}'
# Poll until completed (result files are kept 30 days)
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"import requests
API_KEY = "YOUR_API_KEY"
H = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}
B = "https://api.apimodels.app/v1/video/generations"
r = requests.post(B, headers=H, json={
"model": "minimax-h3-max-turbo",
"prompt": "The camera slowly pushes in on the mug, steam rises and the window light warms",
"duration": 8, # 5-15 whole seconds (default 5)
"resolution": "768p", # 480p ($0.06/s) | 768p ($0.096/s, default)
"first_frame_url": "https://apimodels.app/models/ltx-2.5-fast/photo-first-frame.jpg", # optional; aspect ratio follows it
# "last_frame_url": "https://apimodels.app/models/ltx-2.5-pro/photo.jpg", # optional, needs first_frame_url
# "aspect_ratio": "9:16", # text-to-video only: 21:9 16:9 4:3 1:1 3:4 9:16
# "prompt_expansion_mode": "quality", # balanced (default, ~1s) | quality (~30s richer rewrite)
})
task_id = r.json()["data"]["taskId"]
print(requests.get(B, headers=H, params={"task_id": task_id}).json())const API_KEY = "YOUR_API_KEY";
const H = { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json" };
const B = "https://api.apimodels.app/v1/video/generations";
const r = await fetch(B, {
method: "POST", headers: H,
body: JSON.stringify({
model: "minimax-h3-max-turbo",
prompt: "The camera slowly pushes in on the mug, steam rises and the window light warms",
duration: 8, // 5-15 whole seconds (default 5)
resolution: "768p", // 480p ($0.06/s) | 768p ($0.096/s, default)
first_frame_url: "https://apimodels.app/models/ltx-2.5-fast/photo-first-frame.jpg", // optional; aspect ratio follows it
// last_frame_url: "https://apimodels.app/models/ltx-2.5-pro/photo.jpg", // optional, needs first_frame_url
// aspect_ratio: "9:16", // text-to-video only: 21:9 16:9 4:3 1:1 3:4 9:16
// prompt_expansion_mode: "quality", // balanced (default, ~1s) | quality (~30s richer rewrite)
}),
});
const { data } = await r.json();
console.log(await (await fetch(`${B}?task_id=${data.taskId}`, { headers: H })).json());两种模式,一个接口
- 文生视频 — 只传 prompt;aspect_ratio 可选 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16,默认 16:9。
- 图生视频(首尾帧) — prompt + first_frame_url,可再加 last_frame_url 做首尾帧插补。画幅跟随首帧,此时 aspect_ratio 被忽略。
参数
| 字段 | 必填 | 类型 | 说明 |
|---|---|---|---|
| model | 是 | string | minimax-h3-max-turbo |
| prompt | 是 | string | 描述画面、动作、运镜和光线;最长 5000 字符。 |
| duration | 否 | number | 5-15 任意整秒,默认 5。按这个秒数计费。 |
| resolution | 否 | string | 480p($0.06/秒)或 768p($0.096/秒,默认)。 |
| aspect_ratio | 否 | string | 仅文生视频:21:9 / 16:9(默认)/ 4:3 / 1:1 / 3:4 / 9:16。带首帧时忽略。 |
| first_frame_url | 否 | string | 首帧(公网 URL 或 base64)。也接受 image。 |
| last_frame_url | 否 | string | 尾帧,需要同时传 first_frame_url。 |
| prompt_expansion_mode | 否 | string | balanced(默认,约 1 秒)或 quality(最多约 30 秒,改写出更丰富的提示词)。 |
| seed | 否 | number | 随机种子,不传则随机。 |
| callback_url | 否 | string | 任务完成时我们向该地址 POST 结果;不传就轮询 GET 查询。 |
说明
- 异步但很快:实测 480P 5 秒的片子 6-11 秒完成。创建返回 taskId,每 5-10 秒轮询 GET /v1/video/generations?task_id= 直到 completed,或传 callback_url。结果文件保留 30 天后自动删除,请及时下载或转存。
- 不接多张参考图、参考视频、参考音频:带 images(2 张以上)/ video_list / audio_list 的请求在创建时返回明确的 400,不会静默丢掉后照常扣费。单张 images 会当作首帧。
- 参数错误(时长不在 5-15、分辨率或比例不在枚举里、只传尾帧)都在创建时同步返回 400,不建任务、不扣费。
- 内容安全审核在上游开启;被拒的生成不扣费。
试一试:Playground
常见问题
MiniMax H3 Max Turbo 多少钱?
apimodels.app 按秒计费:480P $0.06/秒、768P $0.096/秒,5-15 秒任意整秒 —— 768P 10 秒 $0.96,480P 5 秒 $0.30。首尾帧不另收费。仅成功扣费,失败退款。
怎么调用 MiniMax H3 Max Turbo API?
调 POST /api/v1/video/generations,model 设 minimax-h3-max-turbo,传 prompt。可选 duration 5-15(默认 5)、resolution 480p 或 768p(默认 768p)、文生视频的 aspect_ratio(21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16)、图生视频的 first_frame_url 与 last_frame_url、prompt_expansion_mode(balanced / quality)、seed。轮询 GET /api/v1/video/generations?task_id=xxx 或传 callback_url。apimodels.app 一把 API Key 通调全站模型。
MiniMax H3 Max Turbo 收参考图、参考视频或参考音频吗?
只收首帧和可选的尾帧。不收多张参考图、参考视频、参考音频 —— 传了会返回明确的 400,不会静默丢掉。要 9 张参考图和 3 段音频用 minimax-h3-lite;要参考视频和 2K 用 minimax-h3。
minimax-h3-max-turbo 和 minimax-h3-lite 有什么区别?
Turbo 是同一 H3 家族按提示词遵循和速度做的后训练版,秒级出片而 Lite 要 5-10 分钟;768P $0.096/秒,比 Lite 的 $0.02 略贵,但图片输入只有首尾帧,最短 5 秒。Lite 收最多 9 张参考图和 3 段参考音频,最短 1 秒。两者上限都是 768P。要快的文生视频和单图动起来选 Turbo;需要锁人物或产品的参考图选 Lite。