Skip to content

MiniMax H3 Text to Video

Integrate

Model id minimax/h3/text-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/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

# 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.25 250 API credits Run it on this page

Get API key
MiniMax Text to Video 4K output5–15 sup to 4K #motion#soundtrack

MiniMax's (Hailuo) video model for lively motion, 5 to 15 seconds, up to 4K.

Examples

Output · ~39 s

PromptCreate a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.

5 s480P16:9$0.25 · 250 API credits

Prompt from @LudovicCreator on X

Build a request

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

•required 1382 / 50000

Text instructions for generating the video.

resolution

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

Aspect ratio for the output video.

Video length, measured in seconds.

Advanced prompt_expansion_mode · target_audio_url · seed
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?wait=20 quote → $0.25
# 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?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

# 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

MiniMax H3 generates expressive character and camera motion from a prompt. It renders natively at 480P or 768P; the 2K and 4K options upscale a 768P result. Clips run 5 to 15 seconds in six aspect ratios, an optional built-in prompt rewriter has four effort levels, and you can pin your own audio track as 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.
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.
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",
  "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": "A white kitten chases a butterfly across a sunlit garden, gentle tracking camera, soft afternoon light",
    "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://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.md. All models and guides: https://doitong.com/developers/llms.txt