MiniMax · Video

Multi-image ReferenceNEW

Generate a video from one or more reference images (optionally plus reference video/audio) — the default image-to-video workflow. This page covers 3 values: multi-reference (general), multi-reference-4 (multi-image composition) and mj (MJ-style reference), selected via workflow_id.

💡 When to use:Use when you have reference images to animate (up to 9); optionally add reference video for motion/style or audio for rhythm. The 3 values share identical material limits, duration, resolution tiers and pricing — pick by the generation style you want.

This page has been rewritten for the unified API: create with POST /v1/videos, poll with GET /v1/videos/{id}, authenticate with Authorization: Bearer <key>, errors use the OpenAI format. See the video guide for the common parts. Video guide
Submit task
POST/ v1/ videos
Query Result
GET/ v1/ videos/ {id}
Download the video
GET/ v1/ videos/ {id}/ content
⏱ Recommended polling interval:Creating returns a video object right away (status: queued). Poll GET /v1/videos/{id} until status is completed or failed; when done, url is the result address, and you can also download it with GET /v1/videos/{id}/content.

Authorization

AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.

Workflow values

These 3 values share the same params, request example and pricing on this page; they differ only in generation style.

workflow_idUsageMaterialsDuration (sec)Resolution tiers
multi-referenceGeneral multi-image reference (default)images <=9 · ref videos <=3 · audio <=34~15480P / 768P / 1080P
multi-reference-4Composition across multiple reference imagesimages <=9 · ref videos <=3 · audio <=34~15480P / 768P / 1080P
mjMJ-style reference (follow the art style of the material)images <=9 · ref videos <=3 · audio <=34~15480P / 768P / 1080P
⚠ multi-reference-4 and mj cannot be inferred from inputs — pass workflow_id explicitly; sending image_urls without workflow_id runs multi-reference.

Request body

application/json
modelstring
Fixed minimax-h3
workflow_idstring
Workflow; 1 of 3 on this page: multi-reference / multi-reference-4 / mj. See the table below for what each does; omit it and inputs are inferred as multi-reference; the other values must be set explicitly
promptstringRequired
Required. Text description (the new engine always requires prompt — including image-to-video and first/last-frame, e.g. "gentle camera push-in, soft light")
image_urlsstring[]Required
Reference image URLs, up to 9 (alias: images)
ratiostring
Aspect ratio, 1 of 8: 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 3:2 / 2:3 / 21:9, default 16:9 (ratio x resolution tier determine the output size; see the size table)
resolutionstring
Resolution tier (case-insensitive): 480P / 768P / 1080P, default 1080P; the unit price varies by tier — see the pricing page
durationinteger
Duration (sec) integer 4~15, default 4 (alias: seconds)
reference_videosstring[]
Reference video URLs, up to 3, as motion/style reference (aliases: reference_video (single) / video_urls / videos)
audio_urlsstring[]
Audio URLs, up to 3, for audio-guided generation (alias: reference_audios)
prompt_enhanceboolean
Prompt enhancement (optional, boolean); defaults to on if omitted

model, prompt, seconds, size and input_reference are the common fields of the unified interface. The other fields in the table are specific to this model channel and go in the same request body under their own names. seconds and size (which must be WIDTHxHEIGHT, for example 1280x720) are only translated into channel fields when you did not send the matching channel field yourself.

Response fields

idstring
Task ID, starts with video_; used to query and download.
objectstring
Always video.
modelstring
The model passed when creating.
statusstring
queued, in_progress, completed or failed.
progressinteger
Progress percent; 100 when done.
created_atinteger
Creation time (Unix seconds).
completed_atinteger | null
Completion time; null until finished.
expires_atinteger | null
Expiry time; currently null.
secondsstring
Returned only if seconds was sent when creating.
sizestring
Returned only if size was sent when creating.
errorobject | null
{code, message} on failure; code is video_generation_failed.
urlstring
Extension field: the result address once completed.