infery
← All models

MiniMax H3 Max Text to Video

h3-max

Video generationby MiniMax

Example

Details

Accepts
text + image

Pricing

Price
3.75 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
durationnumberVideo length in seconds. The output can run up to about 0.7 s longer than requested. Use at least 2 s with target_audio_url.
sync_modebooleanReturn the generated video as base64 instead of a CDN URL.
resolutionstringenum: 480P, 768P, 1080PThe native generation resolution, or 1080P latent refinement from a native 768P source.
aspect_ratiostringenum: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16The aspect ratio of the generated video.
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_moderequiredstringHow 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_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).
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.

Output

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