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
seedRandom seed. A random seed is selected when omitted.
promptrequiredstringText prompt for video generation
durationintegerThe duration of the video in seconds.
image_urlOptional 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_urlOptional 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_checkerbooleanIf set to true, the safety checker will be enabled.
prompt_expansion_modeHow 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_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
videoThe generated video
expanded_promptThe 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.