Op den Inhalt sprangen

MiniMax H3 Image to Video

Integréieren

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

Dës Ufro: 0,25 $ 250 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
MiniMax Bild zu Video 4K-Output5–15 sbis zu 4K #motion#first-last-frame

Animéiert en éischte Frame, e leschte Frame oder béid zu engem 5 bis 15 Sekonne MiniMax H3-Clip, bis zu 4K.

Beispiller

Input
Output · ~36 s

PromptUltra 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 s480P0,25 $ · 250 API-Kreditter

Prompt vun @CharaspowerAI op X

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 595 / 50000

Textinstruktioune fir de Video ze generéieren.

image_url
Fichier erofzéien, oder

Optional Bild-URL, déi de Start-Frame an den Output-Canvas definéiert. Wann nëmmen end_image_url geliwwert gëtt, bestëmmt säi Schluss-Frame de Canvas. Ouni ee vun deenen zwee Biller benotzt d'Generatioun Text-zu-Video mat engem Standard-Aspektverhältnis vun 16:9.

resolution

Wielt d'Opléisung vum generéierte Video; 2K a 4K entstinn duerch Upscaling vun enger 768P-Basis. 480P oder 768P benotzt amplaz eng natierlech Generatioun.

Video-Längt, gemooss a Sekonnen.

Erweidert prompt_expansion_mode · target_audio_url · end_image · seed
Standard balanced

Opwand fir d'Prompt-Ëmschreiwe virun der Generatioun: wielt 'quality' fir e méi detailléierte Prompt, dee bis zu ongeféier 30 Sekonnen dauert, oder 'fast' fir e Resultat a ronn enger Sekonn. Mat 'balanced' gëtt d'Wiel pro Ufro getraff; 'disabled' schalt d'Erweiderung aus.

Fichier erofzéien, oder

Optionalen Ersatz-Soundtrack iwwer eng HTTP(S)-URL oder Base64-Daten-URI; de Clip muss mindestens 2 Sekonnen daueren a däerf net méi grouss wéi 15 MB sinn. Den Audio ersetzt de generéierte Soundtrack bei onverännerter Ofspillgeschwindegkeet: Iwwerlängt gëtt um Enn ewechgeholl, a méi kuerz Clips kréie Stëll fir un d'Video-Längt ugepasst ze ginn. Bei ongewéinlech héije Samplingraten kann eng Ëmsampling op 96 kHz geschéien.

end_image_url
Fichier erofzéien, oder

Optional Bild-URL fir de leschte Frame, och ouni Startbild benotzbar. An dësem Keyframe-Modus nëmme mam Schlussbild bestëmmt dëst Bild den Output-Canvas.

Seed fir zoufälleg Generatioun; wann en ewechgelooss gëtt, gëtt en zoufälleg ausgewielt.

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

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer MiniMax H3 Image to Video

MiniMax H3 Image-zu-Video hëlt en éischte Frame, e leschte Frame oder béid a fëllt dynamesch, expressiv Beweegung dobäi; de Canvas follegt dem Bild, dat Dir gitt. Natierlech 480P oder 768P, mat 2K- a 4K-Upscales vum 768P-Resultat, 5 bis 15 Sekonnen, optionalem Ëmschreiwe vum Prompt an enger optionaler Audiobunn, déi als Soundtrack fixéiert gëtt.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 50.000 Zeechen
Textinstruktioune fir de Video ze generéieren.
durationoptional
Typinteger
Standard5
5 – 15
Video-Längt, gemooss a Sekonnen.
resolutionoptional
Typenum
Standard2K
480P768P2K4K
Wielt d'Opléisung vum generéierte Video; 2K a 4K entstinn duerch Upscaling vun enger 768P-Basis. 480P oder 768P benotzt amplaz eng natierlech Generatioun.
seedoptional
Typinteger | null
Seed fir zoufälleg Generatioun; wann en ewechgelooss gëtt, gëtt en zoufälleg ausgewielt.
prompt_expansion_modeoptional
Typstring | null
Standardbalanced
Opwand fir d'Prompt-Ëmschreiwe virun der Generatioun: wielt 'quality' fir e méi detailléierte Prompt, dee bis zu ongeféier 30 Sekonnen dauert, oder 'fast' fir e Resultat a ronn enger Sekonn. Mat 'balanced' gëtt d'Wiel pro Ufro getraff; 'disabled' schalt d'Erweiderung aus.
target_audio_urloptional
Typurl · audio
Optionalen Ersatz-Soundtrack iwwer eng HTTP(S)-URL oder Base64-Daten-URI; de Clip muss mindestens 2 Sekonnen daueren a däerf net méi grouss wéi 15 MB sinn. Den Audio ersetzt de generéierte Soundtrack bei onverännerter Ofspillgeschwindegkeet: Iwwerlängt gëtt um Enn ewechgeholl, a méi kuerz Clips kréie Stëll fir un d'Video-Längt ugepasst ze ginn. Bei ongewéinlech héije Samplingraten kann eng Ëmsampling op 96 kHz geschéien.
image_urloptional image
Typurl · image
Optional Bild-URL, déi de Start-Frame an den Output-Canvas definéiert. Wann nëmmen end_image_url geliwwert gëtt, bestëmmt säi Schluss-Frame de Canvas. Ouni ee vun deenen zwee Biller benotzt d'Generatioun Text-zu-Video mat engem Standard-Aspektverhältnis vun 16:9.
end_image_urloptional end_image
Typurl · image
Optional Bild-URL fir de leschte Frame, och ouni Startbild benotzbar. An dësem Keyframe-Modus nëmme mam Schlussbild bestëmmt dëst Bild den Output-Canvas.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size}Video, deen d'Modell produzéiert huet.
expanded_prompt
string | nullErweiderten, fir d'Modell bereete Prompt oder null, wann keen erweideren Text disponibel ass. null gëllt bei deaktivéierter Erweiderung, wann d'Erweiderung näischt geännert huet oder wann d'Modell-API vum Hoster d'Erweiderung intern behandelt huet.

Méi Modeller: Bild zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/minimax/h3/image-to-video.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt