infery
← All models

MiniMax H3 Text to Video

h3-text-to-video

Video generationby MiniMax

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

FieldTypeDescription
seed—Random seed. A random seed is selected when omitted.
promptrequiredstringText prompt for video generation
durationintegerThe 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_modebooleanReturn the generated video as base64 instead of a CDN URL.
resolutionstringenum: 480P, 768P, 2K, 4KThe 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.
target_audio_url—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 changin…
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.
prompt_expansion_mode—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.
aspect_ratiostringenum: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16The aspect ratio of the generated video.
reference_audio_urlsarray
reference_image_urlsarrayURLs 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_urlsarrayURLs 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

FieldTypeDescription
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.