Skip to content
MiniMax · MiniMax H3

MiniMax-H3-Max API

透過 APISea,MiniMax-H3-Max 可根據文字、影格與參考素材生成含音訊的短影片。

影片生成影片非同步任務
模型 ID
MiniMax-H3-Max

MiniMax-H3-Max API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

選項APISea官方節省
1080P$0.1408$0.16−12%
480P$0.04145$0.04—
768P預設$0.06283$0.08−21%

價格單位為 每秒。

輸入素材

選項單位APISea官方
Default每張圖片$0.06283$0.0714
480P每秒$0.04655$0.0529
768P每秒$0.122$0.1386
1080P每秒$0.1313$0.1492

什麼是 MiniMax-H3-Max?

MiniMax-H3-Max 是 MiniMax 為開發者打造的快速影片生成模型,適用於在 APISea 上建立短影片工作流程。它可生成 5–15 秒、解析度為 480P、768P 或 1080P 的含音訊影片。您可以從文字提示詞開始,控制首格、末格或兩者,或使用圖片、影片和音訊參考素材進行多模態生成。所有模式都必須提供非空白提示詞。請求會以非同步方式提交,並可透過 webhook 在任務成功或失敗時通知您的應用程式。

APISea 透過單一 API key 提供存取權,僅對成功的請求採用按量付費。輸出費用為 480P 每秒 $0.04145、768P 每秒 $0.06283,以及 1080P 每秒 $0.1408。預設設定的價格約比供應商牌價低 21%。前兩張參考圖片免費;額外參考圖片每張 $0.06283。參考影片輸入則依解析度和輸入時長另行計費。

MiniMax-H3-Max 的特色

三種生成模式

可根據文字生成、控制首格與末格,或提供多模態參考素材。請求欄位會自動選擇模式。

附帶音訊的短片

可生成 5–15 秒、解析度為 480P、768P 或 1080P 的含音訊影片。預設時長為 5 秒,解析度為 768P。

多模態參考輸入

可使用圖片、影片和音訊參考素材,包括生成 1080P 輸出。參考音訊必須搭配至少一張參考圖片或一部參考影片。

非同步任務通知

以非同步方式提交影片任務,並提供 webhook,以便在任務成功或失敗並進入終止狀態時接收通知。

4 個步驟呼叫 MiniMax-H3-Max API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/videos/generations,並使用下方的參數及 "model": "MiniMax-H3-Max"。

  4. 04

    處理回應

    回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "MiniMax-H3-Max",
    "prompt": "A detective in a trench coat turns around on a neon-lit street in the rain. The camera slowly pushes in as reflections shimmer on the pavement.",
    "duration": 5,
    "resolution": "768P",
    "aspect_ratio": "16:9"
  }'

參數

參數類型必填預設說明
modelstring必填—Fixed value: `MiniMax-H3-Max`
nsfw_checkboolean選填falseWhether to run content moderation before submitting the video task.
promptstring必填—A non-empty description of the video. Required in every mode.
durationinteger選填5Video duration in seconds.
resolutionstring選填768POutput resolution: `480P`, `768P` (default), or `1080P`.
aspect_ratiostring選填—Output aspect ratio. The aliases `size` and `ratio` are also accepted.
first_frame_imagestring選填—Public image URL used as the video's first frame.
last_frame_imagestring選填—Public image URL used as the video's last frame. It can be used alone or together with `first_frame_image`.
image_with_rolesobject[]選填—Role-based image array that can replace `first_frame_image`, `last_frame_image`, or `image_urls`.
urlstring必填—Public image URL
rolestring選填—Supported roles:
image_urlsstring[]選填—Public reference-image URL array. Together with reference images in `image_with_roles`, at most `9` images. All images are treated as references, never automatically as first/last frames. For first-frame control, use `first_frame_image` or the `first_frame` role.
video_urlsstring[]選填—Public reference-video URL array; a single video can also use `video_url` (string). At most `3` clips, each `2`–`15` seconds, with a combined reference-video duration of at most `15` seconds.
audio_urlsstring[]選填—Public reference-audio URL array; a single clip can also use `audio_url` (string). At most `3` clips, each `2`–`15` seconds, with a combined reference-audio duration of at most `15` seconds. Must accompany at least one reference image or video; audio alone is not supported.
watermarkboolean選填falseWhether to add an AIGC watermark. Alias: `aigc_watermark`.
webhookstring選填—Receives a notification when the task reaches a successful or failed terminal state.

使用 MiniMax-H3-Max 可以打造什麼

文字轉影片工具

建立介面,將場景描述轉換成含音訊的短影片,並讓使用者選擇時長與解析度。

影像動畫工作流程

讓使用者提供公開圖片 URL 作為首格或末格,再透過提示詞描述想要的影片。

參考素材創作工具

建立製作工作流程,接受圖片、影片和音訊參考素材,以引導短影片生成。

多格式內容創作

使用 16:9、1:1 和 9:16 等支援的比例生成文字轉影片內容,適用於不同發布版面。

提升結果品質的技巧

  • 01

    透過輸入選擇模式

    請勿傳送 mode 欄位。使用 first_frame_image 或 last_frame_image 控制影格,或使用參考素材欄位進行多模態生成;這兩組輸入不可同時使用。

  • 02

    設定時長與解析度

    使用 5 到 15 的整數秒數,並選擇 480P、768P 或 1080P。估算費用時,請比較每秒輸出費率,並將另行計費的參考輸入納入考量。

  • 03

    配合長寬比設定

    文字生成影片時,請明確設定 aspect_ratio,或接受預設的 16:9。圖片生成影片會沿用輸入圖片的長寬比,並忽略此欄位。

  • 04

    1080P 時省略浮水印

    在 1080P 下,請完全省略 watermark 和 aigc_watermark,即使原本打算將它們設為 false 也一樣。浮水印僅支援 480P 和 768P。

限制與須知

  • 不支援 2K 輸出、中間影格控制,以及將此模型的輸出做為 Regeneration 來源。

  • 提示詞不得為空,且長度不得超過 7,000 個字元;輸出影片長度須為 5–15 秒。

  • 參考輸入最多可包含九張圖片、三段影片片段和三段音訊片段;每段影片或音訊片段須為 2–15 秒。

MiniMax-H3-Max API 常見問題

在 APISea 上使用 MiniMax-H3-Max 的費用是多少?

輸出費用依解析度計算:480P 每秒 $0.04145、768P 每秒 $0.06283、1080P 每秒 $0.1408。前兩張參考圖片免費,額外圖片每張收費 $0.06283;參考影片費用為 480P 每秒 $0.04655、768P 每秒 $0.122、1080P 每秒 $0.1313。APISea 僅對成功的請求採用按量付費方式計費。

如何透過 APISea 呼叫 MiniMax-H3-Max?

使用 Bearer Token 驗證,向 https://api.apisea.ai/v1/videos/generations 傳送 POST 請求,並將 model 設為 MiniMax-H3-Max,同時提供非空白的提示詞。提交作業採非同步處理;請使用 webhook 參數接收作業進入終止狀態的通知。

MiniMax-H3-Max 支援哪些影片長度和解析度?

支援 5 到 15 秒的整數秒數,以及 480P、768P 或 1080P 解析度。預設為 5 秒和 768P;不支援 4 秒影片和 2K 輸出。

我可以將影格控制與參考媒體搭配使用嗎?

不可以。首格/末格欄位不可與參考媒體搭配使用;參考音訊則至少需要一張參考圖片或一段參考影片。無效的組合會同步回傳 HTTP 400,不會建立作業或收取費用。

MiniMax-H3-Max 與 MiniMax-H3 有什麼不同?

文件指出,MiniMax-H3-Max 可快速生成 480P、768P 和 1080P 影片,長度為 5–15 秒。MiniMax-H3 支援 2K 和 768P、4–15 秒影片及中間影格;若需要 2K 或可做為 Regeneration 來源的輸出,請使用 MiniMax-H3。

我可以將 MiniMax-H3-Max 生成的影片用於商業用途嗎?

商業用途須遵守供應商條款。發布生成內容前,請確認所有參考圖片、影片或音訊適用的條款與授權。

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 MiniMax-H3-Max 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。