Skip to content

MiniMax H3 Text to Video LoRA

Integrate

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

This request: $0.813 813 API credits Run it on this page

Get API key
MiniMax Text to Video 4K output5–15 sup to 4K #utility#editing

Text-to-video with 1 to 3 trained LoRA adapters applied, offering six aspect ratios and 5 to 15 second clips

MiniMax · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 50000

Text instructions for generating the video.

resolution default 2K

Choose the generated video's resolution, with 2K and 4K obtained by upscaling a 768P base. Choosing 480P or 768P instead uses native generation.

aspect_ratio default 16:9

Aspect ratio for the output video.

default 5

Video length, measured in seconds.

•required

LoRA adapter list for application to the transformer.

Advanced prompt_expansion_mode · target_audio_url · seed · enable_safety_checker
default balanced

Prompt-rewriting effort before generation: choose 'quality' for a richer prompt taking up to approximately 30 seconds, or 'fast' for a result in about a second. With 'balanced', the choice is made per request; 'disabled' turns expansion off.

Drop a file, or

Optional replacement soundtrack supplied through an HTTP(S) URL or base64 data URI; the clip must last at least 2 seconds and be no larger than 15 MB. The supplied audio replaces the generated soundtrack at unchanged playback speed: excess duration is removed from the end, and shorter clips receive silence padding to match the video. Resampling to 96 kHz may occur for unusually high sample rates.

Seed for random generation; if omitted, one is chosen randomly.

POST /run/minimax/h3/text-to-video/lora?wait=20 quote → $0.813
# 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/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About MiniMax H3 Text to Video LoRA

Creates a video with sound from a text prompt of up to 50,000 characters, while applying one to three LoRA adapters you supply through `loras`. Choose `aspect_ratio` from 21:9, 16:9, 4:3, 1:1, 3:4 or 9:16, and set `duration` between 5 and 15 seconds. `resolution` ranges from 480P to 4K, with 2K and 4K upscaled from a 768P base. You may also provide `target_audio_url` to set the soundtrack.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 50,000 characters
Text instructions for generating the video.
durationoptional
Typeinteger
Default5
5 – 15
Video length, measured in seconds.
resolutionoptional
Typeenum
Default2K
480P768P2K4K
Choose the generated video's resolution, with 2K and 4K obtained by upscaling a 768P base. Choosing 480P or 768P instead uses native generation.
seedoptional
Typeinteger | null
Seed for random generation; if omitted, one is chosen randomly.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety checker activation; true enables checking.
prompt_expansion_modeoptional
Typestring | null
Defaultbalanced
Prompt-rewriting effort before generation: choose 'quality' for a richer prompt taking up to approximately 30 seconds, or 'fast' for a result in about a second. With 'balanced', the choice is made per request; 'disabled' turns expansion off.
target_audio_urloptional
Typeurl · audio
Optional replacement soundtrack supplied through an HTTP(S) URL or base64 data URI; the clip must last at least 2 seconds and be no larger than 15 MB. The supplied audio replaces the generated soundtrack at unchanged playback speed: excess duration is removed from the end, and shorter clips receive silence padding to match the video. Resampling to 96 kHz may occur for unusually high sample rates.
aspect_ratiooptional
Typeenum
Default16:9
21:916:94:31:13:49:16
Aspect ratio for the output video.
lorasrequired
Typeobject[]
≤ 3 items
LoRA adapter list for application to the transformer.
loras[].pathrequired
Typestring
Location of the LoRA weights, given as a URL or a HuggingFace repository ID in owner/repo form.
loras[].weight_nameoptional
Typestring | null
Specify the LoRA weight filename only to select among multiple LoRAs in a HuggingFace repository identified by `path`.
loras[].scaleoptional
Typenumber
Default1
0 – 4
LoRA influence strength, ranging from 0.0 to 4.0.
required

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video produced by the model.
expanded_prompt
string | nullModel-ready expanded prompt, or null if no expanded text is available. The null cases are disabled expansion, expansion that made no change, and expansion handled internally by the model's hosted API.

More models: Text to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/minimax/h3/text-to-video/lora.md. All models and guides: https://doitong.com/developers/llms.txt