跳至內容

MiniMax H3 Image to Video

整合

模型 id minimax/h3/image-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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

# 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.25 250 API 點數 · ≈ ₽26.83 在此頁面執行

取得 API 金鑰
MiniMax 圖像轉影片 4K 輸出5–15 秒最高 4K #motion#first-last-frame

將首幀、末幀或兩者轉換為 5 至 15 秒的 MiniMax H3 影片,最高 4K。

範例

輸入
輸出 · ~36 秒

提示詞Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word "IGNITE" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.

5 s480P$0.25 · 250 API 點數

X 上 @CharaspowerAI 的提示詞

建立請求

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

•必填 595 / 50000

用於生成影片的文字指示。

image_url
拖放檔案,或

可選的圖像 URL,用於定義開頭影格和輸出畫布。若只提供 end_image_url,則改由其結尾影格決定畫布。若兩者皆未提供,生成會使用文字轉影片,預設長寬比為 16:9。

resolution

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

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

進階 prompt_expansion_mode · target_audio_url · end_image · seed
預設 balanced

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

拖放檔案,或

可選的替換音訊,透過 HTTP(S) URL 或 base64 data URI 提供;片段長度至少須為 2 秒,且不得大於 15 MB。提供的音訊會以不變的播放速度取代生成的音訊:超出影片長度的部分會從結尾移除,較短的片段則會以靜音補足至影片長度。對於異常高的取樣率,可能會重新取樣為 96 kHz。

end_image_url
拖放檔案,或

可選的最後影格圖像 URL,即使沒有起始圖像也可使用。在僅提供結尾影格的關鍵影格模式中,此圖像會決定輸出畫布。

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

POST /run/minimax/h3/image-to-video?wait=20 報價 → $0.25
# 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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

# 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 金鑰

在 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, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

關於 MiniMax H3 Image to Video

MiniMax H3 image-to-video 接收首幀、末幀或兩者,並補足生動且富有表現力的動作; 畫布會依照提供的影像設定。原生支援 480P 或 768P,並可將 768P 結果放大為 2K 與 4K,長度為 5 至 15 秒,支援可選的提示詞改寫與固定為配樂的音訊軌。

參數

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

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 50,000 個字元
用於生成影片的文字指示。
duration選填
類型integer
預設值5
5 – 15
影片長度,以秒為單位測量。
resolution選填
類型enum
預設值2K
480P768P2K4K
選擇生成影片的解析度;2K 和 4K 會透過放大 768P 基礎解析度取得。選擇 480P 或 768P 則使用原生生成。
seed選填
類型integer | null
隨機生成的種子;省略時會隨機選擇。
prompt_expansion_mode選填
類型string | null
預設值balanced
生成前的提示詞改寫程度:選擇 'quality' 以產生更豐富的提示詞,最長約需 30 秒;選擇 'fast' 可在約一秒內取得結果。使用 'balanced' 時會逐請求決定;'disabled' 會關閉擴充。
target_audio_url選填
類型url · audio
可選的替換音訊,透過 HTTP(S) URL 或 base64 data URI 提供;片段長度至少須為 2 秒,且不得大於 15 MB。提供的音訊會以不變的播放速度取代生成的音訊:超出影片長度的部分會從結尾移除,較短的片段則會以靜音補足至影片長度。對於異常高的取樣率,可能會重新取樣為 96 kHz。
image_url選填 image
類型url · image
可選的圖像 URL,用於定義開頭影格和輸出畫布。若只提供 end_image_url,則改由其結尾影格決定畫布。若兩者皆未提供,生成會使用文字轉影片,預設長寬比為 16:9。
end_image_url選填 end_image
類型url · image
可選的最後影格圖像 URL,即使沒有起始圖像也可使用。在僅提供結尾影格的關鍵影格模式中,此圖像會決定輸出畫布。
必填 標準名稱,也可使用

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

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/image-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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The camera slowly pulls back as the fox runs off the path into the misty forest, fireflies scatter",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 6,
    "resolution": "768P"
  },
  "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/image-to-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt