Skip to content
Dashboard

MiniMax H3

MiniMax H3 is MiniMax's video model. It generates 2K mp4 clips from a text prompt, a starting image, a pair of first and last frames, or reference images, video, and audio. Your use is subject to MiniMax's Terms & Privacy Policies.

Video Genimage-to-videotext-to-videoreference-to-videoVision (Image)
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'minimax/minimax-h3',
prompt: 'A serene mountain lake at sunrise.'
});
Read docs

Frequently Asked Questions

  • What can MiniMax H3 generate video from?

    A text prompt, a starting image, a pair of first and last frames, or reference material. Reference mode accepts images, video, or audio in a single request.

  • What resolution and duration does MiniMax H3 output?

    Output is mp4 at 2K resolution, from five to 15 seconds. Supported aspect ratios include 21:9, 16:9, 4:3, 1:1, 3:4, and 9:16, and the output adapts to the aspect ratio of a supplied image.

  • Can I combine reference material with first and last keyframes?

    No. Reference and keyframe modes are mutually exclusive, so use one per request. Split the work across separate generations when you need both kinds of control.

  • How do I hold a subject consistent across clips?

    Pass source material through inputReferences and refer to each item by its order in the prompt, such as Image 1. MiniMax H3 conditions the generation on that reference, which keeps a character or product steady across shots.

  • How do I call MiniMax H3 from the AI SDK?

    Use generateVideo, imported as experimental_generateVideo, with the model set to minimax/minimax-h3. Pass your prompt plus optional aspectRatio and duration, and add inputReferences for reference-conditioned generations.

  • Why do my requests time out before the video finishes?

    Video generation takes longer than a text completion. Raise pollTimeoutMs in the provider options and extend fetch timeouts in Node.js so the request survives until the clip is ready.

  • What does MiniMax H3 cost?

    The listed video rate is N/A. Check the pricing panel on this page for the current rate and unit. AI Gateway reflects provider pricing with no markup and charges no platform fee on inference.

  • Can I try MiniMax H3 before integrating it?

    Yes. Open https://ai-sdk.dev/playground/minimax:MiniMax-H3 to generate clips interactively and compare prompts, durations, and aspect ratios.

  • Does MiniMax H3 support zero data retention?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.