Reference · Video models
MiniMax H3
MiniMax H3 — MiniMax — 4 to 15s from words, a start and an end image, or reference stills, clips and sound
- Lengths: 4–15 s (default 6 s)
- Shapes: 16:9 (default), 9:16, 1:1, 4:3, 3:4, 21:9
- Sizes: 768P (default), 2K
- Sound: always
- Takes: a start frame, an end frame, up to 5 reference pictures, up to 3 reference clips, up to 3 reference sounds
- Words: up to 7,000 characters
- Price: from 16 credits a clip; the quote gives the exact figure for a body
Name each in the prompt by its @name, such as @vera (atName in GET /api/v1/library), with the names in referenceNames in the order of their keys. Without names: Say in words what to take from each, such as “her jacket in image 1” or “the camera move in video 1”. A video left unnamed is followed for its motion and camera.
Pick it for: References of every kind: pictures, clips and sound; Sharp clips at 2K. Skip it if: You want 1080p: it makes 768P or 2K.
The same run as POST /api/v1/videos with "model": "minimax-h3": the same price, the same job. Price it first at /api/v1/videos/minimax-h3/quote.
- Key needs
create· Make things and spend credits- Price it first
POST /videos/minimax-h3/quote· free- Answers
- A job to follow
curl -X POST https://vessero.com/api/v1/videos/minimax-h3 \ -H "Authorization: Bearer $VESSERO_API_KEY" \ -H "Idempotency-Key: 47f8f6f5-ea00-4fb1-925f-76aac956a0ec" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A linen shirt drifts down onto a sunlit bed, slow camera push-in", "durationSec": 4, "aspectRatio": "16:9", "resolution": "768P", "confirmCredits": 16 }'
{ "object": "job", "id": "video.8f1c2d3e-4b5a-4789-8abc-def012345678", "kind": "video", "status": "working", "stage": "Queued", "files": [], "credits": 58, "url": "/api/v1/jobs/video.8f1c2d3e-4b5a-4789-8abc-def012345678" }
The same body without confirmCredits. It answers the price and your balance, and runs nothing.
Header
- Idempotency-KeystringYour id for this request: 8–64 letters, digits, - or _. A repeat within 10 minutes gets the first answer back and never runs twice. Use the same one for the quote and the run.
- Preferstring
wait=N(up to 60): hold the answer up to N seconds while the job is made, within 80 seconds for the whole call.
Body
- promptstringWhat happens in the shot, e.g. "Slow push in on the bottle as morning light sweeps across the table". For an edit, the change to make; to extend, what happens next. Optional only for motion, whose moves come from the video.
- durationSecintegerSeconds, one of the model’s durations. Default: its own length, as /video starts it (defaultDurationSec in GET /api/v1/models).
456789101112131415 - aspectRatiostringA shape the model lists, e.g. "9:16". Default: the model’s own.
16:99:161:14:33:421:9 - resolutionstringA size the model lists, e.g. "720p". Default: the model’s own.
768P2K - firstKeystringThe start frame, a picture: a storage key from POST /api/v1/files or POST /api/v1/library/use, or an https link to the file (brought into their Uploads first).
- lastKeystringThe end frame, a picture, on a model that takes one: a storage key from POST /api/v1/files or POST /api/v1/library/use, or an https link to the file (brought into their Uploads first).
- referenceKeysstring[] · up to 5Reference pictures, up to the model’s own number (inputs.pictures).
- referenceVideoKeysstring[] · up to 3Reference clips, up to the model’s own number (inputs.videos). Priced by their length where the model bills it.
- referenceAudioKeysstring[] · up to 3Reference sounds, up to the model’s own number (inputs.sounds; its audioRefs says what each takes). On a model that takes any sound (Seedance, Wan 3.0) each is what the prompt makes it, called by its @name or @Audio1, @Audio2… in the order sent: a voice whose timbre, tone and accent the clip speaks in, a song or a bed under it, or a sound effect. Never lip-synced to and never transcribed — write what is said in quotes in the prompt. For a recording said as it is, lip-synced, use POST /api/v1/avatars.
- referenceNamesobjectWhat the words call each reference, as its tile does: its @name, such as "@vera", one list a kind in the order of its keys (images for referenceKeys, videos for referenceVideoKeys, audio for referenceAudioKeys), null for one with no name, which the words call by its place (@Image2). Each name goes to the model as the reference it calls. Never moves the price. A reference’s @name is the atName GET /api/v1/library and POST /api/v1/library/use give.
- images(string | null)[] · up to 30The @names of referenceKeys, in the order of its keys.
- videos(string | null)[] · up to 10The @names of referenceVideoKeys, in the order of its keys.
- audio(string | null)[] · up to 10The @names of referenceAudioKeys, in the order of its keys.
- whoseAudioobject · kind no-voice | voiceWhose voice is in the reference sounds, as the person says: {kind: "no-voice"}, or {kind: "voice", name, agreed} for a real person’s. Not asked of sounds made in Vessero.
- whoIsInPictureobject · kind no-person | personMotion: who is in the picture on firstKey, as the person says; asked of an uploaded picture.
- camerastringA camera move added to the words: dolly-in (Dolly in), dolly-out (Dolly out), crash-zoom (Crash zoom), orbit-360 (360 orbit), crane-up (Crane up), whip-pan (Whip pan), fpv-dive (FPV dive), handheld (Handheld), bullet-time (Bullet time), snorricam (Snorricam), drone-reveal (Drone reveal), locked-off (Locked-off). Never changes the price.
dolly-indolly-outcrash-zoomorbit-360crane-upwhip-panfpv-divehandheldbullet-timesnorricamdrone-reveallocked-off - confirmCreditsintegerrequiredThe price you agree to, in credits: the
creditsits quote gave. It runs at that price, or at a lower one when that figure was quoted for this Idempotency-Key; above the price now, nothing runs (409price_changed). Left out, nothing runs and the error carries the quote. - webhookUrlstring · httpsAn https address to POST the job to once it is done or has failed — or waits for a yes, as a UGC ad made step by step does once its previews are in — signed (see Webhooks).
Answers
- 202jobStarted: follow the job, or wait for its webhook.
- 200jobA job that ended at once: done, or failed (see error and charged).
- 400confirm_credits_requiredA run that spends needs confirmCredits: the quote is in details.
- 402insufficient_creditsThe account has too few credits for this.
- 409price_changedThe price is above the confirmCredits sent: nothing ran; the new quote is in details.
- 422content_refusedThe content check refused it.
- 429daily_cap_reachedThe key’s daily credit cap would be passed: see Retry-After.