infery
← All models

MiniMax H3 Max Text to Video

h3-max

Video generationby MiniMax

Example

Details

Accepts
text

Pricing

Price
0.021 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.
sync_modebooleanReturn the generated video as base64 instead of a CDN URL.
resolutionstringenum: 480P, 768PThe native generation resolution of the video.
aspect_ratiostringenum: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16The aspect ratio of the generated video.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.
prompt_expansion_moderequiredstringenum: disabled, balanced, qualityHow much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'balanced' returns in about a second. 'quality' spends up to ~30s on a richer prompt.
image_urlOptional URL of the image to use as the first frame. When provided, the output aspect ratio follows this image. When omitted, the request is handled as text-to-video (16:9 by default).
end_image_urlOptional URL of the image to use as the last frame, for first-to-last keyframe generation.

Output

FieldTypeDescription
videoThe generated video
timingsTiming breakdown in seconds. 'inference' is the DiT denoising time on the GPU backend. Null on routes that do not report backend timings.
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.