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