跳至內容

MiniMax H3 Text to Video LoRA

整合

模型 id minimax/h3/text-to-video/lora
# 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/text-to-video/lora?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",
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ]
  }'

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

取得 API 金鑰
MiniMax 文字轉影片 4K 輸出5–15 秒最高 4K #utility#editing

套用 1 至 3 個訓練完成的 LoRA 適配器進行文字轉影片,提供六種長寬比及 5 至 15 秒片段

在 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

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

resolution 預設 2K

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

aspect_ratio 預設 16:9

輸出影片的長寬比。

預設 5

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

•必填

要套用至 transformer 的 LoRA 配接器清單。

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

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

拖放檔案,或

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

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

POST /run/minimax/h3/text-to-video/lora?wait=20 報價 → $0.813
# 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/text-to-video/lora?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",
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ]
  }'

# 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 Text to Video LoRA

從最多 50,000 個字元的文字提示詞建立帶聲音的影片,同時套用透過 `loras` 提供的一至三個 LoRA 適配器。`aspect_ratio` 可選 21:9、16:9、4:3、1:1、3:4 或 9:16,`duration` 可設為 5 至 15 秒。`resolution` 範圍為 480P 至 4K,其中 2K 與 4K 由 768P 基底放大而來。也可提供 `target_audio_url` 以設定配樂。

參數

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 50,000 個字元
用於生成影片的文字指示。
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' 會關閉擴充。
target_audio_url選填
類型url · audio
可選的替換音訊,透過 HTTP(S) URL 或 base64 data URI 提供;片段長度至少須為 2 秒,且不得大於 15 MB。提供的音訊會以不變的播放速度取代生成的音訊:超出影片長度的部分會從結尾移除,較短的片段則會以靜音補足至影片長度。對於異常高的取樣率,可能會重新取樣為 96 kHz。
aspect_ratio選填
類型enum
預設值16:9
21:916:94:31:13:49:16
輸出影片的長寬比。
loras必填
類型object[]
≤ 3 個項目
要套用至 transformer 的 LoRA 配接器清單。
loras[].path必填
類型string
LoRA 權重的位置,以 URL 或 owner/repo 格式的 HuggingFace 儲存庫 ID 提供。
loras[].weight_name選填
類型string | null
僅在由 `path` 識別的 HuggingFace 儲存庫中有多個 LoRA 時,指定 LoRA 權重檔名以選擇其中之一。
loras[].scale選填
類型number
預設值1
0 – 4
LoRA 影響強度,範圍為 0.0 到 4.0。
必填

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

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/text-to-video/lora",
  "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": 813,
    "usd": "0.813",
    "charged": 813,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "loras": [
      {
        "path": "https://example.com/your-file.safetensors"
      }
    ]
  },
  "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/text-to-video/lora.md. 所有模型與指南: https://doitong.com/developers/llms.txt