Gå til innhold

MiniMax H3 Text to Video

Integrer

Modell-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"

Denne forespørselen: 0,25 $ 250 API-kreditter Kjør den på denne siden

Hent API-nøkkel
MiniMax Tekst til video 4K-utdata5–15 sopptil 4K #motion#soundtrack

MiniMaxs (Hailuo) videomodell for livlig bevegelse, 5 til 15 sekunder, opptil 4K.

Eksempler

Utdata · ~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:90,25 $ · 250 API-kreditter

Prompt fra @LudovicCreator på X

Bygg en forespørsel

Kontrollene genereres fra modellskjemaet. Koden og prisen oppdateres når du endrer dem.

•obligatorisk 1382 / 50000

Tekstinstruksjoner for generering av videoen.

resolution

Velg den genererte videoens oppløsning, der 2K og 4K oppnås ved oppskalering av en 768P-base. Valg av 480P eller 768P bruker i stedet naturlig generering.

aspect_ratio

Sideforhold for utdata-videoen.

Videolengde, målt i sekunder.

Avansert prompt_expansion_mode · target_audio_url · seed
standard balanced

Innsats for omskriving av prompt før generering: velg 'quality' for en rikere prompt som tar opptil omtrent 30 sekunder, eller 'fast' for et resultat etter omtrent ett sekund. Med 'balanced' avgjøres valget per forespørsel; 'disabled' slår av utvidelsen.

Slipp en fil, eller

Valgfritt erstatningslydspor levert via en HTTP(S)-URL eller base64-data-URI; klippet må vare i minst 2 sekunder og være maksimalt 15 MB. Den leverte lyden erstatter det genererte lydsporet med uendret avspillingshastighet: overskytende varighet fjernes fra slutten, og kortere klipp får stillhet utfylt for å matche videoen. Resampling til 96 kHz kan forekomme ved uvanlig høye samplingsfrekvenser.

Startverdi for tilfeldig generering; hvis den utelates, velges en tilfeldig.

POST /run/minimax/h3/text-to-video?wait=20 pris → 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"

Kjør denne forespørselen

Nøkkelen din blir i denne nettleseren: Den sendes bare til Doitong API og lagres bare i localStorage hvis du krysser av for Husk. Hent en API-nøkkel

Om MiniMax H3 Text to Video

MiniMax H3 genererer uttrykksfull karakter- og kamerabevegelse fra en prompt. Den gjengir opprinnelig i 480P eller 768P; 2K- og 4K-alternativene oppskalerer et 768P-resultat. Klipp varer 5 til 15 sekunder i seks størrelsesforhold, en valgfri innebygd prompt-omskriver har fire innsatsnivåer, og du kan feste ditt eget lydspor som lydsporet.

Parametere

NavnType StandardTillatt Beskrivelse
promptobligatorisk
Typestring
≤ 50 000 tegn
Tekstinstruksjoner for generering av videoen.
durationvalgfritt
Typeinteger
Standard5
5 – 15
Videolengde, målt i sekunder.
resolutionvalgfritt
Typeenum
Standard2K
480P768P2K4K
Velg den genererte videoens oppløsning, der 2K og 4K oppnås ved oppskalering av en 768P-base. Valg av 480P eller 768P bruker i stedet naturlig generering.
seedvalgfritt
Typeinteger | null
Startverdi for tilfeldig generering; hvis den utelates, velges en tilfeldig.
prompt_expansion_modevalgfritt
Typestring | null
Standardbalanced
Innsats for omskriving av prompt før generering: velg 'quality' for en rikere prompt som tar opptil omtrent 30 sekunder, eller 'fast' for et resultat etter omtrent ett sekund. Med 'balanced' avgjøres valget per forespørsel; 'disabled' slår av utvidelsen.
target_audio_urlvalgfritt
Typeurl · audio
Valgfritt erstatningslydspor levert via en HTTP(S)-URL eller base64-data-URI; klippet må vare i minst 2 sekunder og være maksimalt 15 MB. Den leverte lyden erstatter det genererte lydsporet med uendret avspillingshastighet: overskytende varighet fjernes fra slutten, og kortere klipp får stillhet utfylt for å matche videoen. Resampling til 96 kHz kan forekomme ved uvanlig høye samplingsfrekvenser.
aspect_ratiovalgfritt
Typeenum
Standard16:9
21:916:94:31:13:49:16
Sideforhold for utdata-videoen.
obligatorisk

Filparametere tar imot en offentlig https:// URL, en data: URI på opptil 10 MB eller file_url fra en opplasting. Filer

Utdata

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"
  }
}
Filene dine, ditt valgHver outputs[].url er en kopi på lagringen vår: lagret for alltid (betalt per GB-måned) eller 7 dager gratis, styrt av kontoinnstillingen din eller ?storage=.
Samme struktur for hver modelltype, url, content_type, width, height og duration, for bilder, video og lyd. output er modellens eget resultatobjekt.
Utdatafelt
video
object {url, content_type, file_name, file_size}Video produsert av modellen.
expanded_prompt
string | nullUtvidet prompt klar for modellen, eller null hvis ingen utvidet tekst er tilgjengelig. null-tilfellene er deaktivert utvidelse, utvidelse som ikke gjorde noen endring, og utvidelse som håndteres internt av modellens vertsbaserte API.

Flere modeller: Tekst til video

For AI-agenter: Denne siden som Markdown finnes på https://doitong.com/no/developers/models/minimax/h3/text-to-video.md. Alle modeller og veiledninger: https://doitong.com/developers/llms.txt