請求參數
| 參數 | 必填 | 說明 |
|---|---|---|
aspect_ratio | 否 | 畫面形狀:橫式、方形或直式。 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21 · 預設值: 16:9 |
duration_seconds | 否 | 影片長度,按秒計費。 ≥ 3 · ≤ 15 · 預設值: 5 |
loras | 否 | 載入你自己的 LoRA,鎖定風格或角色。 預設值: [] |
prompt | 是 | Refer to the references by number and describe the shot they should produce, including the sound. |
reference_audio_urls | 否 | 要搭配的聲音:人聲、音樂或節奏。 |
reference_image_urls | 否 | 希望結果保留的人物、服裝或場景的參考圖。 |
reference_video_urls | 否 | 希望結果跟隨其動作、運鏡或風格的參考影片。 |
resolution | 否 | 輸出尺寸。越大越清晰,價格也越高。 480p · 540p · 768p · 1080p · 預設值: 480p |
seed | 否 | 用同一個數字,結果就能重現。 ≥ 0 · ≤ 2147483647 |
價格
價格以點數計,和網站上用的是同一種點數(1 點 = $0.01)。任務受理時先凍結點數,完成後依實際費用結算;失敗的任務會退還。
| 選項 | 點數 /秒 | ≈ 美元 |
|---|---|---|
| resolution 480p | 9 | US$0.09 |
| resolution 540p | 13.5 | US$0.14 |
| resolution 768p | 20.25 | US$0.20 |
| resolution 1080p | 40.5 | US$0.41 |
想在執行前知道確切金額,把相同的請求內容送到 POST /jobs/quote 即可。
API 快速上手
三步驟呼叫 MiniMax H3 Singularity LoRA API
- 建立 API 金鑰. 登入 PopNow,在 API 主控台建立金鑰。金鑰以 sk-popnow- 開頭,和網站共用同一份點數。
- 送出請求. 對 POST /jobs/createTask 送出請求,model 填 minimax/h3-singularity-lora/reference-to-video,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-singularity-lora/reference-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"aspect_ratio": "16:9",
"resolution": "480p",
"duration_seconds": 5
}
}'
# 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 Singularity LoRA API 常見問題
MiniMax H3 Singularity LoRA API 怎麼收費?
MiniMax H3 Singularity LoRA:最便宜的任務是參考生影片,45 點數(US$0.45)/ 5 秒影片起。各選項價格:480p 9 點數/秒、540p 13.5 點數/秒、768p 20.25 點數/秒、1080p 40.5 點數/秒。點數和網站通用(1 點數 = $0.01),新帳號贈送 30 點數,失敗的任務會退還。
MiniMax H3 Singularity LoRA 在 API 裡的模型名稱是什麼?
在 POST /jobs/createTask 的 model 欄位填 圖生影片用 minimax/h3-singularity-lora/image-to-video;參考生影片用 minimax/h3-singularity-lora/reference-to-video;影片延伸用 minimax/h3-singularity-lora/video-extend。
MiniMax H3 Singularity LoRA API 有哪些限制?
影片長度:3–15 s;解析度:480p · 540p · 768p · 1080p;畫面比例:16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21;參考音訊:3;參考圖:9。超出這些限制的請求會在扣款之前被拒絕。
不寫程式能試 MiniMax H3 Singularity LoRA 嗎?
可以。Playground 用你的 PopNow 點數執行 MiniMax H3 Singularity LoRA,不需要 API 金鑰,每次執行都會附上對應的程式碼。
所有 MiniMax 模型
普通的 MiniMax H3 LoRA 在平靜緩慢的鏡頭上更快更便宜,還支援文生影片。打鬥、舞蹈或快速搖鏡開始糊的時候,換 Singularity。
- MiniMax H3 API表現力強的有聲影片,最高 2K28 點數起 / 5 秒影片
- MiniMax Speech 2.8 HD API高傳真語音,400 多種音色,可控情緒18 點數起 /1,000 字元
- MiniMax Music 3.0 API立體聲完整成曲,可有人聲也可純音樂27 點數起 /次
- MiniMax H3 Singularity LoRA API社群調校的 H3 影片,可載入你自己的 LoRA45 點數起 / 5 秒影片
- MiniMax H3 Max API出片快,自帶環境音、音效和配樂38 點數起 / 5 秒影片
- MiniMax H3 LoRA APIMiniMax H3 有聲影片,最多掛三個你自己的 LoRA38 點數起 / 5 秒影片
- MiniMax H3 Image LoRA APIH3 出圖和修圖,最多掛三個你自己的 LoRA7 點數起 /張
- MiniMax Speech 2.8 Turbo API快速語音合成,400 多種音色,可控情緒11 點數起 /1,000 字元

