curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Warm sunset light moving across a coastal cliffside terrace",
"duration": 5,
"resolution": "768P",
"aspect_ratio": "16:9"
}'
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Smooth camera push transitioning from the opening frame to the closing frame",
"duration": 5,
"resolution": "768P",
"image_with_roles": [
{ "url": "https://example.com/first.jpg", "role": "first" },
{ "url": "https://example.com/last.jpg", "role": "last" }
]
}'
{
"task_id": "task_01HXYZABCDEF",
"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" }
}
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Warm sunset light moving across a coastal cliffside terrace",
"duration": 5,
"resolution": "768P",
"aspect_ratio": "16:9"
}'
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Smooth camera push transitioning from the opening frame to the closing frame",
"duration": 5,
"resolution": "768P",
"image_with_roles": [
{ "url": "https://example.com/first.jpg", "role": "first" },
{ "url": "https://example.com/last.jpg", "role": "last" }
]
}'
{
"task_id": "task_01HXYZABCDEF",
"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" }
}
MiniMax
MiniMax H3 视频生成
通过 OmniMux 调用 MiniMax H3 视频生成 API(minimax-h3、minimax-h3-turbo、minimax-h3-task、minimax-h3-video),支持文生视频、首帧/尾帧/首尾帧与多模态参考。
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Warm sunset light moving across a coastal cliffside terrace",
"duration": 5,
"resolution": "768P",
"aspect_ratio": "16:9"
}'
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Smooth camera push transitioning from the opening frame to the closing frame",
"duration": 5,
"resolution": "768P",
"image_with_roles": [
{ "url": "https://example.com/first.jpg", "role": "first" },
{ "url": "https://example.com/last.jpg", "role": "last" }
]
}'
{
"task_id": "task_01HXYZABCDEF",
"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" }
}
POST
/
v1
/
video
/
generations
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Warm sunset light moving across a coastal cliffside terrace",
"duration": 5,
"resolution": "768P",
"aspect_ratio": "16:9"
}'
curl --request POST \
--url https://api.omnimux.ai/v1/video/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "minimax-h3",
"prompt": "Smooth camera push transitioning from the opening frame to the closing frame",
"duration": 5,
"resolution": "768P",
"image_with_roles": [
{ "url": "https://example.com/first.jpg", "role": "first" },
{ "url": "https://example.com/last.jpg", "role": "last" }
]
}'
{
"task_id": "task_01HXYZABCDEF",
"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" }
}
- 创建:
POST /v1/video/generations,model可选minimax-h3(标准)、minimax-h3-task(按次任务通道)或minimax-h3-turbo(极速版);实时在线的minimax-h3-video插件专线(1–15s、480p–1440p、多场景分组)请见 MiniMax H3 视频专线 - 异步任务:用返回的
task_id查询 查询视频任务 - 所有生成请求均须遵守 OmniMux 可接受使用政策与上游内容安全审核规则
- 产物 URL 请及时落盘(上游链接可能有时效)
身份
| 字段 | 值 |
|---|---|
| 系列 | 视频系列 |
| 品牌 | MiniMax |
| model | minimax-h3, minimax-h3-task, minimax-h3-turbo, minimax-h3-video |
型号对比
| 模型 ID | 接口路径 | 时长与分辨率 | 适用说明 |
|---|---|---|---|
minimax-h3 | POST /v1/video/generations | 5s / 10s;480P、768P、1080P | 标准文生视频、首帧/尾帧/首尾帧及多模态参考 |
minimax-h3-turbo | POST /v1/video/generations | 依上游极速通道 | 更快生成响应 |
minimax-h3-task | POST /v1/video/generations | 按次任务通道 | 固定按次任务计费路径 |
minimax-h3-video | POST /v1/videos | 1–15s;480p–1440p | 在线插件专线,支持首尾帧、数字人、短剧等场景分组;详见 MiniMax H3 视频专线 |
minimax-h3-endframe | POST /v1/video/generations | 帧引导通道 | 尾帧专用别名;详见 MiniMax 尾帧 |
minimax-h3-fl2va | POST /v1/video/generations | 帧引导通道 | 图生视频 / 首尾帧别名;详见 MiniMax 图生视频 |
支持模式(minimax-h3)
模式 (operation) | 输入要求 | 画面比例 |
|---|---|---|
text_to_video | prompt | 16:9、9:16、1:1、4:3、21:9 |
first_frame | prompt + image_with_roles(role: "first") | 固定为 adaptive |
end_frame | prompt + image_with_roles(role: "last") | 固定为 adaptive |
first_last_frame | prompt + image_with_roles(role: "first" 与 "last") | 固定为 adaptive |
video_multi_ref | prompt + image_urls / video_urls / audio_urls | 16:9、9:16、1:1、4:3、21:9、adaptive |
接口
| 方法 | 路径 |
|---|---|
POST | /v1/video/generations |
GET | /v1/video/generations/{task_id} |
https://api.omnimux.ai
鉴权
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
Authorization | header | string | 是 | Bearer sk-...(API Key) |
请求体
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | minimax-h3(或 minimax-h3-task / minimax-h3-turbo) |
prompt | string | 是 | 画面与运动描述 |
duration / seconds | integer | 否 | 时长(秒):5 或 10(默认 5) |
resolution | string | 否 | 分辨率:480P、768P 或 1080P |
aspect_ratio / size | string | 否 | 画面比例:16:9、9:16、1:1、4:3、21:9(帧引导模式固定 adaptive) |
image_with_roles | array | 否 | 角色帧图数组(role: "first" 或 "last"),支持 JPEG/PNG/WebP/BMP/TIFF/GIF/HEIC/HEIF,单图最大 30 MB |
image_urls | array | 否 | video_multi_ref 参考图片 URL(最多 9 张) |
video_urls | array | 否 | video_multi_ref 参考视频 URL(最多 3 段) |
audio_urls | array | 否 | video_multi_ref 参考音频 URL(最多 3 段) |
响应
200(创建)
| 字段 | 类型 | 说明 |
|---|---|---|
task_id | string | 任务 id,用于轮询 |
status | string | 如 queued / processing / completed |