curl --request POST \
--url https://api.omnimux.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3-video",
"prompt": "slow pan across a product on a table",
"resolution": "768p",
"duration": 5
}'
{
"id": "task_example",
"task_id": "task_example",
"object": "video",
"model": "minimax-h3-video",
"status": "queued"
}
{
"error": {
"message": "Invalid request",
"type": "invalid_request_error",
"code": "bad_request"
}
}
{
"error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" }
}
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{
"error": { "message": "Model not allowed", "type": "permission_error", "code": "forbidden" }
}
{
"error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" }
}
{
"error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" }
}
{
"error": {
"message": "No available channel for model minimax-h3-video under group default",
"type": "server_error",
"code": "no_available_channel"
}
}
curl --request POST \
--url https://api.omnimux.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3-video",
"prompt": "slow pan across a product on a table",
"resolution": "768p",
"duration": 5
}'
{
"id": "task_example",
"task_id": "task_example",
"object": "video",
"model": "minimax-h3-video",
"status": "queued"
}
{
"error": {
"message": "Invalid request",
"type": "invalid_request_error",
"code": "bad_request"
}
}
{
"error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" }
}
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{
"error": { "message": "Model not allowed", "type": "permission_error", "code": "forbidden" }
}
{
"error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" }
}
{
"error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" }
}
{
"error": {
"message": "No available channel for model minimax-h3-video under group default",
"type": "server_error",
"code": "no_available_channel"
}
}
MiniMax
MiniMax H3 视频专线
MiniMax H3 视频专线 · model minimax-h3-video
curl --request POST \
--url https://api.omnimux.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3-video",
"prompt": "slow pan across a product on a table",
"resolution": "768p",
"duration": 5
}'
{
"id": "task_example",
"task_id": "task_example",
"object": "video",
"model": "minimax-h3-video",
"status": "queued"
}
{
"error": {
"message": "Invalid request",
"type": "invalid_request_error",
"code": "bad_request"
}
}
{
"error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" }
}
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{
"error": { "message": "Model not allowed", "type": "permission_error", "code": "forbidden" }
}
{
"error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" }
}
{
"error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" }
}
{
"error": {
"message": "No available channel for model minimax-h3-video under group default",
"type": "server_error",
"code": "no_available_channel"
}
}
POST
/
v1
/
videos
curl --request POST \
--url https://api.omnimux.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3-video",
"prompt": "slow pan across a product on a table",
"resolution": "768p",
"duration": 5
}'
{
"id": "task_example",
"task_id": "task_example",
"object": "video",
"model": "minimax-h3-video",
"status": "queued"
}
{
"error": {
"message": "Invalid request",
"type": "invalid_request_error",
"code": "bad_request"
}
}
{
"error": { "message": "Invalid token", "type": "authentication_error", "code": "unauthorized" }
}
{
"error": {
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}
{
"error": { "message": "Model not allowed", "type": "permission_error", "code": "forbidden" }
}
{
"error": { "message": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_exceeded" }
}
{
"error": { "message": "Internal server error", "type": "server_error", "code": "internal_error" }
}
{
"error": {
"message": "No available channel for model minimax-h3-video under group default",
"type": "server_error",
"code": "no_available_channel"
}
}
- 创建:
POST /v1/videos,model为minimax-h3-video - 异步任务:用创建响应里的任务 id(
id/task_id)查询GET /v1/videos/{task_id},返回status与progress - 同一公开 ID 下按请求形态自动选端点;没有匹配候选时返回
400,不静默降级到其它形态或档位 - 产物 URL 请及时落盘(上游链接可能有时效)
本模型是插件型线路,公开路径为POST /v1/videos/GET /v1/videos/{task_id},与视频系列其它页面的/v1/video/generations不同。用错路径不会进入插件,会得到503(该分组下无可用渠道)。
身份
| 字段 | 值 |
|---|---|
| 系列 | 视频系列 |
| 品牌 | MiniMax |
| model | minimax-h3-video |
| 计费量纲 | 按秒(per second) |
接口
| 方法 | 路径 |
|---|---|
POST | /v1/videos |
GET | /v1/videos/{task_id} |
https://api.omnimux.ai
鉴权
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
Authorization | header | string | 是 | Bearer sk-...(API Key) |
分组与档位
minimax-h3-video 只有一个公开模型 ID,所有场景与品质档位都通过请求级分组选择,不新增模型 ID。
场景分组
按用途选择,倍率均为 1.0×:| 场景 | 分组 | 输入与要求 |
|---|---|---|
| 数字人口播 | minimax-h3-video-digital-human | 人像图 + 口播音频;不带 prompt,否则会按多图多音频路由 |
| 短剧分镜 | minimax-h3-video-short-drama | 多张参考图;prompt 必填 |
| 短剧音画 | minimax-h3-video-short-drama-av | 多图 + 多段音频;prompt 必填 |
| 文生创意 | minimax-h3-video-creative | 仅 prompt |
| 首尾帧 | minimax-h3-video-first-last-frame | first_frame + last_frame;prompt 必填 |
default 自动分流;场景分组不进入 auto 轮询。
品质档位
| 档位 | 分组 | 倍率 | 覆盖形态 |
|---|---|---|---|
| 标准档(默认) | 不指定分组(default 路由) | 1.0× | 文生视频、多图参考、多图多音频、对口型、首尾帧 |
| 高速档 | minimax-h3-video-fast | 0.9× | 多图参考、多图多音频(prompt 必填) |
| 升级画质档 | minimax-h3-video-pro | 1.15× | 多图参考、多图多音频(prompt 必填) |
选择方式
/v1/videos 是插件路由,只认 X-Omnimux-Group 请求头;model@group 后缀在该路径不生效(会按令牌所在分组路由)。一次只能选一个分组。
cURL
curl --request POST \
--url https://api.omnimux.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Omnimux-Group: minimax-h3-video-digital-human' \
--data '{
"model": "minimax-h3-video",
"ref_image_0": "https://example.com/portrait.jpg",
"ref_audio_0": "https://example.com/speech.mp3",
"resolution": "768p",
"audio_duration": 5
}'
- 分组只影响当前请求,不会创建新的模型 ID;密钥无权访问该分组时返回
403。 - 高速档与升级画质档不参与默认路由,必须显式指定;它们只覆盖多图参考与多图多音频,且分辨率上限为
768p。其余形态请用标准档或对应场景组。
请求形态与端点选择
网关按请求里填了哪些素材槽判定形态,再在所选档位的候选端点中取成本最低的一个。没有候选时显式返回400,不会回退到其它形态、其它分辨率或其它档位。
| 形态 | 请求特征 | 素材上限 |
|---|---|---|
| 首尾帧 | first_frame + last_frame | 各 1 张 |
| 对口型 | 参考图 + 参考音频,且不带 prompt | 取首个参考图与首个参考音频 |
| 多图多音频 | 参考图 + 参考音频 | 参考图 ≤ 9 张、参考音频 ≤ 3 段 |
| 多图参考 | 只有参考图 | 参考图 ≤ 9 张 |
| 文生视频 | 只有 prompt,不带素材 | — |
ref_video / video)不属于本 ID 的可用形态;带上它不会有匹配端点,返回 400。
请求体
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定为 minimax-h3-video(本路由不支持 @分组 后缀,分组用请求头) |
prompt | string | 条件 | 文生视频、多图参考、多图多音频与首尾帧必填;对口型形态不带(带上会按多图多音频路由) |
duration / seconds | integer | 否 | 视频时长(秒),1–15,默认 5;部分形态上限 10 秒或 12 秒 |
resolution / size | string | 否 | 只填计费档位标签:480p、736p、768p、1088p、1440p;不指定朝向时由网关内部映射到竖版。1088p / 1440p 只在支持它们的六个端点上可用 |
ref_image / image / images | string 或 array | 条件 | 参考图,最多 9 张 |
ref_image_0 … ref_image_8 | string | 条件 | 参考图的分槽写法(与数组写法二选一) |
ref_audio / audio / audios | string 或 array | 条件 | 参考音频,最多 3 段 |
ref_audio_0 … ref_audio_2 | string | 条件 | 参考音频的分槽写法(二选一) |
first_frame / last_frame | string | 条件 | 首尾帧形态的两张图 |
mode | string | 否 | 高速模式 或 高质模式,默认 高质模式;仅九图与九图三音端点生效 |
seed | integer | 否 | 随机种子 |
- 每类素材只用一种写法:数组写法与分槽写法混用时,两者会合并计入,而不是取其一。
resolution只接受计费档位标签(480p/736p/768p/1088p/1440p)。上游端点的朝向枚举标签(如480p竖(480*864))由网关内部映射,调用方不要直接填,填了会返回400(plugin_usage_invalid)。1088p/1440p只在支持它们的端点上有候选:在高速档 / 升级画质档(各只有一个端点、且不含这两档)上请求会返回400,不会跨档回退。- 仍未开放的档位(上游
1080p)显式拒绝:传入会返回400(plugin_usage_invalid),不会静默降级到768p,也不会按768p计价。
分辨率与时长限制
| 项 | 可用范围 | 说明 |
|---|---|---|
| 分辨率 | 480p、736p、768p、1088p、1440p | 只填计费档位标签;1088p / 1440p 自 2026-10-24 起开放(仅标准档的六个端点),按分辨率单独定价;上游 1080p 仍不开放,传入显式返回 400(plugin_usage_invalid) |
| 时长 | 1–15 秒(默认 5 秒) | 部分形态上限 10 秒或 12 秒;超上限返回 400,不会自动截短 |
| 分辨率 × 形态 | 736p 只有部分形态支持 | 组合没有候选时返回 400 |
计费
- 基准价:
480p/736p/768p为0.025 USD/秒(¥0.17/秒,FX 6.8) - 分辨率单价:
1088p为0.030 USD/秒(¥0.204/秒)、1440p为0.035 USD/秒(¥0.238/秒) - 档位倍率:标准档
1.0×、高速档0.9×、升级画质档1.15× - 计费公式:
raw_quota = 单价(分辨率) × 500000 × 秒数 × GroupRatio;分辨率单价由任务计费表达式按请求的resolution选取 - 换算:
raw_quota ÷ 500000 = USD,1 USD = 10 积分
768p / 5 秒 / 标准档为例:0.025 × 500000 × 5 × 1.0 = 62,500 raw quota ≈ $0.125 ≈ ¥0.85;以 1440p / 5 秒 / 标准档为例:0.035 × 500000 × 5 × 1.0 = 87,500 raw quota ≈ $0.175 ≈ ¥1.19。按秒计费以请求时长为准,最终价格以公开定价接口与提交前报价为准。
响应
200(创建)
| 字段 | 类型 | 说明 |
|---|---|---|
id / task_id | string | 任务 id,用于 GET /v1/videos/{task_id} 轮询 |
model | string | 本次请求的模型 |
object | string | video |
status | string | queued |
200(查询)
GET /v1/videos/{task_id} 返回 status 与 progress;字段结构以线上为准。
错误语义
| 状态码 | 含义 |
|---|---|
400 | 请求体不合法,或没有匹配的形态 / 分辨率 / 时长组合(含分辨率未开放、填了上游朝向枚举标签、时长超上限、ref_video 等本 ID 不支持的形态) |
401 | 密钥无效 |
402 | 余额不足(insufficient_quota) |
403 | 密钥无权访问所选分组,或模型不可用 |
429 | 触发限流 |
500 | 网关或上游错误 |
503 | 路径或分组下没有可用渠道(例如对插件型模型误用 /v1/video/generations) |
400 的错误消息会列出该档位当时支持的形态与分辨率 / 时长组合,便于直接改参重试。
更多错误语义见 连接与使用 与 成本优化。