← All models
Example
Details
- Accepts
- text + audio + image + video
Pricing
- Price
- 6.25 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed. A random seed is selected when omitted. |
| promptrequired | string | Text prompt for video generation. Refer to reference assets by their modality and order in the reference lists: Image 1, Image 2, Video 1, Audio 1, and so on. |
| duration | number | Video length in seconds. The output can run up to about 0.7 s longer than requested. |
| image_url | — | Optional URL of the image to use as the first frame. The video opens exactly on this image while the references keep the subjects consistent; the output canvas follows this image. |
| sync_mode | boolean | Return the generated video as base64 instead of a CDN URL. |
| resolution | stringenum: 480P, 768P, 1080P | The native generation resolution, or 1080P latent refinement from a native 768P source. |
| aspect_ratio | stringenum: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4… | The aspect ratio of the generated video. |
| end_image_url | — | Optional URL of the image to use as the last frame. The video ends exactly on this image. |
| middle_image_url | — | Optional image to guide the video at middle_frame_time. Requires start and end images and native 480P or 768P resolution. |
| middle_frame_time | — | Target time for the middle image, in seconds from the start. Rounded to the nearest frame at 24 fps; it must fall strictly between the first and last frames of the requested duration. Requires middle_image_url. |
| reference_audio_urls | array | |
| reference_conditions | array | Ordered reference list; cross-modality order is semantic and is preserved end-to-end. Do not combine with reference_*_urls. |
| reference_image_urls | array | URLs of subject/style reference images, referenced in the prompt as Image 1, Image 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| reference_video_urls | array | URLs of motion/reference video clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Video 1, Video 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. |
| prompt_expansion_moderequired | string | How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'balanced' returns in about a second. 'quality' spends up to ~30s on a richer prompt. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Base seed for reproducing the generation. |
| video | — | The generated video |
| timings | — | Timing breakdown in seconds. 'inference' is the DiT denoising time on the GPU backend. Null on routes that do not report backend timings. |
| expanded_prompt | — | The prompt after expansion, as sent to the model. Null when prompt expansion was disabled, left the prompt unchanged, or was performed internally by MiniMax's hosted API. |