跳至內容

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://api.doitong.ru/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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

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

在 Doitong 上製作

Doitong 社群使用 MiniMax H3 製作的公開作品。一鍵重複使用提示詞。

顯示的公開作品:16
Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly c... 影片

Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly coiled around her head and neck, its scales glistening in soft, diffused light. The camera gently zooms in, emphasizing the intricate texture of the snake’s scales and the model’s striking facial...

Animate the stickman drawings into a smooth dance animation. The simple black stick figure perfor... 影片

Animate the stickman drawings into a smooth dance animation. The simple black stick figure performs fun rhythmic dance moves — waving its arms, bending knees, jumping lightly, spinning, and swaying side to side in time with upbeat music. Keep the white background clean and minimal. The motion...

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in... 影片

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in meditation inside a traditional Japanese room. The atmosphere begins to tremble slightly as soft blue light flows around him. From the ground, thousands of magnetic nano-particles rise, shimmering...

A cinematic transformation video of the man. The scene begins with him standing naturally, then l... 影片

A cinematic transformation video of the man. The scene begins with him standing naturally, then looking down at his hands as glowing holographic projections appear around his body. Mechanical parts of the Iron Man armor start assembling piece by piece with smooth animation: chest plate forming,...

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampa... 影片

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampaging uncontrollably against nature itself. His gigantic body is surrounded by a storm of black and crimson energy, crackling with lightning that scorches the ground. His roar shakes the heavens,...

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint ... 影片

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint reddish stripes. They remain close, perfectly synchronized in stillness. The woman blinks slowly, slightly tilting her head with a serious and intense expression. The tiger breathes gently — its...

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mounta... 影片

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mountains, with dramatic lighting and deep shadows adding volume and realism. The background shows a stunning blue sky with scattered soft clouds and subtle light rays. crisp cinematic quality, vivid...

影片

Используй это изображение как точный референс. Вертикальное реалистичное видео 9:16, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

建立請求

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

•必填 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://api.doitong.ru/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://api.doitong.ru/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://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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