Skip to main content

MiniMax H3 API

通过 PiAPI 使用 MiniMax H3 生成自带原生立体声音频的 MP4 视频。支持文字生成视频和首帧图片生成视频,可选择 512p 或 768p,并在 Playground 中测试与 API 完全一致的参数。

Est. $0.15

MiniMax H3 API 价格

按生成秒数计费,同时展示每秒价格以及常用的 5 秒、10 秒和 15 秒总价。

MiniMax H3 · 512p性价比推荐

$0.03 /秒

  • 5s $0.15 · 10s $0.30 · 15s $0.45
  • 同时支持文生视频和图生视频
  • 包含原生立体声音频

MiniMax H3 · 768p更高画质

$0.05 /秒

  • 5s $0.25 · 10s $0.50 · 15s $0.75
  • 更高分辨率的视频输出
  • 包含原生立体声音频

使用 MiniMax H3 构建应用

支持文生视频、图生视频、原生音频和适用于生产环境的异步 API。

文生视频

通过文字提示词调用 MiniMax H3 API,生成完整视频。

图生视频

上传首帧图片并添加提示词,引导视频中的运动和场景。

原生立体声音频

生成完成的 MP4 视频包含与画面同步的原生立体声音轨。

支持 512p 和 768p

选择 512p 获得更低的生成成本,或选择 768p 获得更高分辨率。

5–15 秒视频

文生视频和图生视频任务支持设置 5 至 15 秒的生成时长。

异步 API 工作流

创建任务后轮询返回的任务 ID,并从完成结果中读取视频地址。

调用 MiniMax H3 API

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Qubico/minimax-h3",
    "task_type": "txt2video",
    "input": {
      "prompt": "A golden retriever puppy running across a sunny grass lawn toward the camera, cinematic",
      "resolution": "512p",
      "duration": 5,
      "aspect_ratio": "16:9"
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

MiniMax H3 API 常见问题

什么是 MiniMax H3 API?

MiniMax H3 API 可以根据文字提示词或首帧图片,生成带有原生立体声音频的 MP4 视频。

MiniMax H3 支持图生视频吗?

支持。选择图生视频模式,上传可公开访问的 JPG 或 PNG 首帧图片,并提供提示词。

支持哪些分辨率和时长?

PiAPI 的 MiniMax H3 接入支持 512p 和 768p,生成时长可以设置为 5 至 15 秒。

如何通过 PiAPI 调用 MiniMax H3?

创建 txt2video 或 img2video 任务,轮询任务 ID 直到完成,然后从返回结果中读取生成的视频地址。

More questions? See the API docs.

Our blog

MiniMax H3 API