跳至內容

MiniMax H3 Reference to Video

整合

模型 id minimax/h3/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

像範例一樣的檔案: $0.65 650 API 點數 您的檔案會在執行前計量 在此頁面執行

取得 API 金鑰
MiniMax 參考圖轉影片 4K 輸出參考輸入唇形同步5–15 秒最高 4K #stylized#transform#lipsync

使用最多 9 張影像、3 部影片與 3 個音訊參考生成 5 至 15 秒影片,最高 4K

MiniMax · 影片

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 88 / 50000

影片生成指示,依資產類型及其在各參考清單中的位置識別參考內容,使用 Audio 1、Video 1、Image 1、Image 2 等標籤。

resolution 預設 2K

選擇生成影片的解析度;2K 和 4K 會透過放大 768P 基礎解析度取得。選擇 480P 或 768P 則使用原生生成。

aspect_ratio 預設 adaptive

輸出影片的長寬比。

預設 5

影片長度,以秒為單位測量。

進階 prompt_expansion_mode · images · reference_video_urls · reference_audio_urls · seed · enable_safety_checker
預設 balanced

生成前的提示詞改寫程度:選擇 'quality' 以產生更豐富的提示詞,最長約需 30 秒;選擇 'fast' 可在約一秒內取得結果。使用 'balanced' 時會逐請求決定;'disabled' 會關閉擴充。

reference_image_urls
拖放檔案,或 · 最多 9 個

主體或風格參考圖像 URL,與所有影片和音訊參考共用 12 個檔案的上限。在提示詞中依清單位置使用 Image 1、Image 2 及後續標籤識別這些圖像。

拖放檔案,或 · 最多 3 個

動作或其他參考影片 URL,在提示詞中依清單位置使用 Video 1、Video 2 及後續標籤識別。圖像、影片和音訊參考共用 12 個檔案的上限;每個影片片段須長 2–15 秒,總長度不得超過 15 秒。

拖放檔案,或 · 最多 3 個

以 URL 提供參考音訊,並在提示詞中使用 Audio 1、Audio 2 及後續標籤識別片段。每個片段須長 2–15 秒,音訊總長度不得超過 15 秒。圖像、影片和音訊參考類型可單獨提供或組合提供,但共用上限為 12 個檔案。

隨機生成的種子;省略時會隨機選擇。

POST /run/minimax/h3/reference-to-video?wait=20 報價 → $0.65
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 MiniMax H3 Reference to Video

從 `prompt` 生成影片,並依順序引用參考內容,例如 Image 1、Video 1 或 Audio 1。最多可提供 9 張影像、3 部影片片段與 3 個音訊片段,總檔案數最多 12 個。`duration` 為 5 至 15 秒,`resolution` 為 480P、768P、2K 或 4K,`aspect_ratio` 包括 adaptive、21:9、16:9、4:3、1:1、3:4 與 9:16。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 50,000 個字元
影片生成指示,依資產類型及其在各參考清單中的位置識別參考內容,使用 Audio 1、Video 1、Image 1、Image 2 等標籤。
duration選填
類型integer
預設值5
5 – 15
影片長度,以秒為單位測量。
resolution選填
類型enum
預設值2K
480P768P2K4K
選擇生成影片的解析度;2K 和 4K 會透過放大 768P 基礎解析度取得。選擇 480P 或 768P 則使用原生生成。
seed選填
類型integer | null
隨機生成的種子;省略時會隨機選擇。
enable_safety_checker選填
類型boolean
預設值true
安全檢查器啟用狀態;true 會啟用檢查。
prompt_expansion_mode選填
類型string | null
預設值balanced
生成前的提示詞改寫程度:選擇 'quality' 以產生更豐富的提示詞,最長約需 30 秒;選擇 'fast' 可在約一秒內取得結果。使用 'balanced' 時會逐請求決定;'disabled' 會關閉擴充。
aspect_ratio選填
類型enum
預設值adaptive
adaptive21:916:94:31:13:49:16
輸出影片的長寬比。
reference_image_urls選填 images
類型url[] · image
≤ 9 個項目
主體或風格參考圖像 URL,與所有影片和音訊參考共用 12 個檔案的上限。在提示詞中依清單位置使用 Image 1、Image 2 及後續標籤識別這些圖像。
reference_video_urls選填
類型url[] · video
≤ 3 個項目
動作或其他參考影片 URL,在提示詞中依清單位置使用 Video 1、Video 2 及後續標籤識別。圖像、影片和音訊參考共用 12 個檔案的上限;每個影片片段須長 2–15 秒,總長度不得超過 15 秒。
reference_audio_urls選填
類型url[] · audio
≤ 3 個項目
以 URL 提供參考音訊,並在提示詞中使用 Audio 1、Audio 2 及後續標籤識別片段。每個片段須長 2–15 秒,音訊總長度不得超過 15 秒。圖像、影片和音訊參考類型可單獨提供或組合提供,但共用上限為 12 個檔案。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/reference-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 650,
    "usd": "0.65",
    "charged": 650,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "expanded_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
video
object {url, content_type, file_name, file_size}模型產生的影片。
expanded_prompt
string | null供模型使用的擴充提示詞;若沒有可用的擴充文字則為 null。null 的情況包括停用擴充、擴充後沒有變更,以及由模型託管的 API 內部處理擴充。

更多模型:參考圖轉影片

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/minimax/h3/reference-to-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt