
MiniMax H3 now available on Vercel AI Gateway
Quick Answer
Vercel AI has launched MiniMax H3 on its AI Gateway, enabling 2K video generation from text prompts, images, and multimodal references.
Quick Take
The model supports various aspect ratios and durations, allowing for versatile video creation tailored to user specifications.
Key Points
- MiniMax H3 generates 2K videos from text prompts and images in 5 to 15 seconds.
- Supports first-to-last keyframe transitions and multimodal reference-to-video generation.
- Output formats include mp4 with aspect ratios like 16:9, 4:3, and adaptive to images.
- To use, set model to 'minimax/minimax-h3' in the AI SDK.
- Reference images and audio can guide video output for enhanced creativity.
📖 Reader Mode
~2 min readMiniMax H3 is now available on AI Gateway.
H3 generates 2K video from a text prompt, a starting image, a pair of first and last frames, or reference material.
Alongside text-to-video and first-frame image-to-video, the model supports first-to-last keyframe transitions and multimodal reference-to-video, conditioning a generation on reference images, video, or audio in a single request. Reference and keyframe modes are mutually exclusive. Output is mp4 at 2K resolution, from 5 to 15 seconds, in aspect ratios including 21:9, 16:9, 4:3, 1:1, 3:4, and 9:16, or adaptive to a supplied image.
To use MiniMax H3, set model to minimax/minimax-h3 in the AI SDK:
import { experimental_generateVideo as generateVideo } from 'ai';
const { videos } = await generateVideo({
model: 'minimax/minimax-h3',
prompt: 'A white kitten chases a butterfly across a sunlit garden.',
aspectRatio: '16:9',
duration: 5,
providerOptions: {
minimax: {
pollTimeoutMs: 600000,
},
},
});
Text to video with MiniMax H3
Pass a starting image with the prompt, and the model animates it following the image's aspect ratio.
import { experimental_generateVideo as generateVideo } from 'ai';
const { videos } = await generateVideo({
model: 'minimax/minimax-h3',
prompt: {
image: firstFrameUrl,
text: 'The camera slowly pulls back to reveal the full landscape.',
},
duration: 5,
});
Use an image as a starting frame for this model.
Supply reference images, video, or audio as source material, and refer to each by its order in the prompt for reference to video output.
import { experimental_generateVideo as generateVideo } from 'ai';
const { videos } = await generateVideo({
model: 'minimax/minimax-h3',
prompt: 'Keep the subject from Image 1 consistent while they walk through a sunlit garden.',
duration: 5,
inputReferences: [imageUrl],
});
Reference images and videos for MiniMax H3 to guide output.
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

