| model | COMBO | h3 | Which endpoint to call. These share one control surface and differ in quality, speed and price:
h3 - minimax/h3/text-to-video
h3 max - minimax/h3-max/text-to-video
h3 max turbo - minimax/h3-max-turbo/text-to-video |
| prompt | STRING | | Text prompt for video generation |
| api_key | STRING | | — |
| enable_safety_checkeropt | BOOLEAN | true | If set to true, the safety checker will be enabled. |
| durationopt | INT | 55–15 | The duration of the video in seconds. |
| target_audio_urlopt | STRING | | Optional URL of an audio clip at least 2 seconds long (maximum 15 MB) to pin to the generated soundtrack. Longer clips are trimmed to the generated video's length, keeping the beginning. The original audio replaces the output soundtrack, padded with silence if shorter than the video, without changing playback speed. Exceptionally high sample rates may be resampled to 96 kHz. Accepts an HTTP(S) URL or a base64 data URI. |
| seedopt | INT | 0-1–2147483647 | Random seed. A random seed is selected when omitted. -1 = let the model choose. |
| resolutionopt | COMBO | 768P | The resolution of the generated video. 480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. Not every model takes every value here: h3 accepts 480P, 768P, 2K, 4K; h3 max accepts 480P, 768P, 1080P; h3 max turbo accepts 480P, 768P, 1080P. |
| prompt_expansion_modeopt | COMBO | balanced | How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'fast' returns in about a second. 'balanced' picks per request. 'quality' spends up to ~30s on a richer prompt. Not every model takes every value here: h3 accepts disabled, fast, balanced, quality; h3 max accepts disabled, balanced, quality; h3 max turbo accepts disabled, balanced, quality. Required by: h3 max, h3 max turbo. |
| aspect_ratioopt | COMBO | 16:9 | The aspect ratio of the generated video. |