← All models
Example
Details
- Accepts
- text
Pricing
- Price
- 0.021 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 | integer | The duration of the video in seconds. |
| sync_mode | boolean | Return the generated video as base64 instead of a CDN URL. |
| resolution | stringenum: 480P, 768P | The native generation resolution of the video. |
| aspect_ratio | stringenum: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4… | The aspect ratio of the generated video. |
| reference_audio_urls | array | URLs of reference audio clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Audio 1, Audio 2, and so on. Audio cannot be the only reference input; provide at least one reference image or video with it. Reference images, videos, and audio clips must add up to … |
| 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. '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. |