← All models
MiniMax H3 is a frontier video model. This endpoint generates video from a text prompt alone, rendering at 2K in durations from 5 to 15 seconds across seven aspect ratios.
Example
Details
- Accepts
- text + image + video + audio
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 |
| duration | integer | The duration of the video in seconds. |
| image_url | — | Optional URL of the image to use as the first frame. When provided, the output canvas follows this image. If only end_image_url is provided, the canvas follows that last frame instead. If both images are omitted, the request is handled as text-to-video (16:9 by default). |
| sync_mode | boolean | Return the generated video as base64 instead of a CDN URL. |
| resolution | stringenum: 480P, 768P, 2K, 4K | The resolution of the generated video. 480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. |
| end_image_url | — | Optional URL of the image to use as the last frame. It may be provided alone for end-only keyframe generation; in that case the output canvas follows this image. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. |
| prompt_expansion_mode | — | How much effort to spend rewriting the prompt before generation. 'fast' returns in about a second. 'balanced' picks per request. 'quality' spends up to ~30s on a richer prompt. |
| aspect_ratio | stringenum: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | The aspect ratio of the generated video. |
| reference_audio_urls | array | |
| 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. |
Output
| Field | Type | Description |
|---|---|---|
| video | — | The generated video |
| 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. |