關於 MiniMax H3-Image Open Weights
開放權重的 H3 圖像模型,五種尺寸最高 4K,用種子值重現調整結果。
在 POST /jobs/createTask 把模型名稱填成 minimax/h3-image-open/text-to-image 就能呼叫,US$0.024 起。
簡介
開放權重的 H3-Image 生成模型接收文字敘述並回傳靜幀,除非另選格式,否則使用 JPEG。
主要特色
五檔解析度除了常見的 1k、2k 與 4k,也包含介於其間的 1.5k 與 3k。在我們的測試中,1k 的模型處理時間約為 20–45 秒,不含排隊與傳輸時間。
請求參數
| 參數 | 必填 | 說明 |
|---|---|---|
seed | 否 | 使用相同的種子值與參數,更方便在一致條件下比較結果。 ≥ 0 · ≤ 2147483647 |
prompt | 是 | 描述你想做出來的內容。 |
resolution | 否 | 選擇可用的輸出尺寸。 1k · 1.5k · 2k · 3k · 4k · 預設值: 1k |
aspect_ratio | 否 | 畫面形狀:橫式、方形或直式。 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · 5:4 · 4:5 · 預設值: 1:1 |
output_format | 否 | 結果的檔案格式。 jpeg · png · webp · 預設值: jpeg |
價格
價格以美元計,從 PopNow 餘額扣款。任務受理時,從 PopNow 餘額中保留報價的最高金額;完成後按實際用量結算,實際扣款不超過保留金額,並釋放剩餘金額。任務失敗則釋放保留金額。
| 選項 | USD /張 |
|---|---|
| resolution 1K | US$0.024 |
| resolution 1.5K | US$0.036 |
| resolution 2K | US$0.048 |
| resolution 3K | US$0.096 |
| resolution 4K | US$0.144 |
執行前,將相同請求內容傳送至 POST /jobs/quote,即可查看預估費用與最高費用,單位為美元。報價不會執行任務或扣款。
適用情境
固定隨機來源,每次只改變描述中的一個元素,探索食物照片或雨中街景。
提示詞指南與進階技巧
比較 prompt 變化前先設定 seed;保持其他設定不變,每次修改一項細節。seed 不變並不代表能逐像素重現相同結果。
API 快速上手
三步驟呼叫 MiniMax H3-Image Open Weights API
- 建立 API 金鑰. 登入 PopNow,在 API 主控台建立金鑰。金鑰以 sk-popnow- 開頭,API 呼叫以美元從 PopNow 餘額扣款。
- 送出請求. 對 POST /jobs/createTask 送出請求,model 填 minimax/h3-image-open/text-to-image,input 依照參數表填寫。回應會立即傳回任務 ID。
- 取得結果. 用任務 ID 輪詢 GET /jobs/recordInfo,或帶上 callBackUrl,結果會推送到該網址。任務成功後下載輸出連結。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "minimax/h3-image-open/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"請替換為自己的提示詞與素材連結。回應格式、輪詢與回呼說明請參閱 API 頁籤。
MiniMax H3-Image Open Weights API 常見問題
MiniMax H3-Image Open Weights API 怎麼收費?
MiniMax H3-Image Open Weights:價格最低的任務是生成圖片,US$0.024/張起。各選項價格:1K US$0.024/張、1.5K US$0.036/張、2K US$0.048/張、3K US$0.096/張。API 用量以美元從 PopNow 餘額扣款。任務受理時,從 PopNow 餘額中保留報價的最高金額;完成後按實際用量結算,實際扣款不超過保留金額,並釋放剩餘金額。任務失敗則釋放保留金額。
MiniMax H3-Image Open Weights 在 API 裡的模型名稱是什麼?
在 POST /jobs/createTask 的 model 欄位填 生成圖片用 minimax/h3-image-open/text-to-image;編輯圖片用 minimax/h3-image-open/edit。
MiniMax H3-Image Open Weights API 有哪些限制?
解析度:1K · 1.5K · 2K · 3K · 4K;畫面比例:1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +9;提示詞長度(字元):5,000。超出這些限制的請求會在扣款之前被拒絕。
不寫程式能試 MiniMax H3-Image Open Weights 嗎?
不需要 API 金鑰,即可在 Playground 用與網站同一個 PopNow 餘額(以美元顯示)執行 MiniMax H3-Image Open Weights。每次執行都記入開發者紀錄,並附對應程式碼。
所有 MiniMax 模型
- MiniMax H3 API富有表現力的影片,支援音訊,最長 30 秒或最高 2KUS$0.155 起 / 5 秒影片
- MiniMax Speech 2.8 HD API高傳真語音,400 多種音色,可控情緒US$0.12 起 /1,000 字元
- MiniMax Music 3.0 API立體聲完整成曲,可有人聲也可純音樂US$0.18 起 /次
- MiniMax H3-Image HighSpeed API高速 2K / 4K 出圖,支援最多十六張參考圖編輯US$0.042 起 /張
- MiniMax H3-Image APIMiniMax 的 H3 圖像模型,產生 1K 到 4K 靜態圖片,最多用 16 張參考圖引導編輯US$0.036 起 /張
- MiniMax H3-Image Open Weights API開放權重的 H3 圖像模型,五種尺寸最高 4K,用種子值重現調整結果US$0.024 起 /張
- MiniMax H3-Image Open Weights LoRA API開放權重的 H3 圖像模型,最多搭配 3 個 LoRA,也支援為 H3 影片訓練的 LoRAUS$0.042 起 /張
- MiniMax H3 HighSpeed API文字、圖片或參考素材生成768p有聲影片US$0.30 起 / 5 秒影片
- MiniMax H3 Lite API文字、圖片或參考素材生成480p或768p有聲影片US$0.125 起 / 5 秒影片
- MiniMax H3 X API2–15秒有聲影片,最高1080pUS$0.11 起 / 5 秒影片
- MiniMax H3 X Turbo API文字、圖片或音訊參考素材生成有聲影片US$0.075 起 / 5 秒影片
- MiniMax H3 Character Swap API按角色圖替換影片裡的一個人,保留原本的表演US$0.38 起 / 5 秒影片
- MiniMax H3 Singularity LoRA API社群調校的 H3 影片,可載入你自己的 LoRAUS$0.30 起 / 5 秒影片
- MiniMax H3 Max API出片快,自帶環境音、音效和配樂US$0.27 起 / 5 秒影片
- MiniMax H3 LoRA APIMiniMax H3 有聲影片,最多載入三個你自己的 LoRAUS$0.25 起 / 5 秒影片
- MiniMax H3 Image LoRA APIH3 出圖和修圖,最多載入三個你自己的 LoRAUS$0.042 起 /張
- MiniMax H3 Edit API改變片段的光線、天氣或風格,人物與動作保持不變US$0.18 起 / 5 秒影片
- MiniMax Speech 2.8 Turbo API快速語音合成,400 多種音色,可控情緒US$0.072 起 /1,000 字元
- MiniMax Hailuo 2.3 API用一張圖生成無聲影片:768p 6 秒或 10 秒,1080p 6 秒US$0.163 起 /次
- MiniMax H3 360 Orbit API一張照片,鏡頭繞著主體轉滿 360°US$0.25 起 / 5 秒影片