Skip to content

minimax-h3-time · MiniMax H3 模型文档 ​

网关模型 ID:minimax-h3-time(按秒计费) 文档版本:2026-11-10

1. 模型概述 ​

项值
模型 IDminimax-h3-time
显示名MiniMax H3
计费方式按秒计费(由平台统一结算),1080p 单价高于 768p
视频时长1 – 15 秒(整数)

2. 支持能力 ​

能力值
创作模式text_to_video、image_to_video、first_last_frame、omni(请用完整写法,不要用 text / images / frames 等简写:写 frames 不会按首尾帧生成)
画面比例16:9、9:16、1:1、4:3、3:4、21:9(首尾帧模式下画面比例跟随首帧图片)
分辨率768p、1080p(不传按 768p)
参考图片0 – 9 张(文生视频不能带;首尾帧模式 1 – 2 张:首帧 + 可选尾帧)
参考视频0 – 3 个(首尾帧模式不能带)
参考音频0 – 3 个(首尾帧模式不能带)
素材合计图片、视频、音频加起来最多 12 个
提示词最长 7000 字
人脸校验 face_check不支持(请求中请勿传)

💡 1080p 比 768p 多用约半分钟。任务成功后,查询结果里的 resolution 是实际交付的分辨率。

3. 创建视频 ​

3.1 文生视频(text_to_video) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-time",
    "prompt": "未来城市中,一辆银色飞行汽车穿梭高楼之间,夕阳西下,电影感镜头",
    "mode": "text_to_video",
    "duration": 6,
    "ratio": "16:9",
    "resolution": "1080p"
  }'

3.2 图生视频(image_to_video) ​

图片作为参考图使用,生成的画面不一定以它开头;要指定开头画面请用首尾帧模式。

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-time",
    "prompt": "让画面中的树和草随风轻轻摆动,阳光透过云层,镜头缓慢推进",
    "mode": "image_to_video",
    "duration": 5,
    "ratio": "16:9",
    "resolution": "768p",
    "images": ["https://.../scene.png"]
  }'

3.3 首尾帧视频(first_last_frame) ​

第一张图是首帧,第二张(可选)是尾帧;画面比例跟随首帧图片。

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-time",
    "prompt": "首尾帧平滑过渡",
    "mode": "first_last_frame",
    "duration": 4,
    "ratio": "16:9",
    "resolution": "768p",
    "images": ["https://.../start.png", "https://.../end.png"]
  }'

3.4 全能生成(omni) ​

bash
curl -X POST https://video.fastaitoken.com/v1/videos/generations \
  -H "Authorization: Bearer <你的API Key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-time",
    "prompt": "用参考素材合成一段视频",
    "mode": "omni",
    "duration": 8,
    "ratio": "21:9",
    "resolution": "768p",
    "images": ["https://.../ref.png"],
    "videos": ["https://.../clip.mp4"],
    "audio": ["https://.../audio.mp3"]
  }'

4. 轮询与结果 ​

bash
curl https://video.fastaitoken.com/v1/videos/<task_id> \
  -H "Authorization: Bearer <你的API Key>"
状态说明
processing生成中,progress 0-99
completed成功,video_url / download_url / result_url;另有 resolution(实际交付分辨率)和 result_duration(实际时长)
failed失败,含 error_code / error_message

5. 注意事项 ​

  • 时长必须是 1–15 之间的整数秒。
  • 分辨率只有 768p 和 1080p,不传按 768p;传 480p / 720p / 2k / 4k 返回 invalid_resolution。
  • 1080p 偶尔处理失败时,会改为交付 768p 成片,按 768p 计费,多扣的部分自动退回;此时查询结果里的 resolution 是 768P。
  • 文生视频不能带图片;首尾帧模式需要 1–2 张图,不能同时带参考视频或音频。
  • 本模型不支持 face_check,请求中不要携带。
  • n 仅支持 1。
  • 素材必须是公网可访问的链接,建议用 HTTPS;请求体不要携带结算字段。