[MiniMax](/ai-gateway/models/labs/minimax)

# 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](https://platform.minimax.io/protocol/terms-of-service) & [Privacy](https://platform.minimax.io/protocol/privacy-policy) Policies.

Video Genimage-to-videotext-to-videoreference-to-videoVision (Image)

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

```
1import { experimental_generateVideo as generateVideo } from 'ai';
2

3const result = await generateVideo({
4  model: 'minimax/minimax-h3',
5  prompt: 'A serene mountain lake at sunrise.'
6});
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/minimax-h3) [API](/ai-gateway/models/minimax-h3/api) [About](/ai-gateway/models/minimax-h3/about) [Providers](/ai-gateway/models/minimax-h3/providers) [Similar](/ai-gateway/models/minimax-h3/similar) [FAQ](/ai-gateway/models/minimax-h3/faq)

## [Copy link to heading](#playground)Playground

Try out MiniMax H3 by MiniMax. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75)MiniMax H3

Images(optional)

Add up to 9 images

Videos(optional)

Add up to 3 videos

Prompt(optional)

###

End frame(optional)

Duration8s

Resolution

Auto

2k

Aspect ratio

Auto21:916:94:31:13:49:16

![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=96&q=75)

Your generated video will appear here.

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Input | Output | Capabilities | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- |

| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [MiniMax](/ai-gateway/models/providers/minimax) Legal:[Terms](https://platform.minimax.io/protocol/terms-of-service)•[Privacy](https://platform.minimax.io/protocol/privacy-policy) | $0.04/img$0.13/sec | $0.13/sec+1 more |  |  |  | 07/30/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- |

## [Copy link to heading](#more-models-by-minimax)More models by MiniMax

All

Text

Code

| Model |
| --- |

| Context | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | Providers | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m3](/ai-gateway/models/minimax-m3) | 1M | 0.9s | 296tps | $0.60/M$0.24/M +1 more | $2.40/M$0.96/M +1 more | Read: $0.12/M$0.05/M+1 more Write: — | — | +2 | ![fireworks logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Ffireworks.png&w=48&q=75) ![gmicloud logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fgmicloud.png%3Fv%3D1785888489595&w=48&q=75) ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) +1 |  |  | 05/31/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m2.7](/ai-gateway/models/minimax-m2.7) | 205K | 1.0s | 145tps | $0.30/MFast $0.60/M | $1.20/MFast $2.40/M | Read:$0.06/M Write:$0.38/M | — |  | ![fireworks logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Ffireworks.png&w=48&q=75) ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) ![novita logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fnovita.png&w=48&q=75) |  |  | 03/18/2026 |  |
| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m2.7-highspeed](/ai-gateway/models/minimax-m2.7-highspeed) | 205K | 1.0s | 56tps | $0.60/M | $2.40/M | Read:$0.06/M Write:$0.38/M | — |  | ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) |  |  | 03/18/2026 |  |
| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m2.5](/ai-gateway/models/minimax-m2.5) | 1M | 0.6s | 106tps | $0.27/MFast $0.60/M | $0.95/MFast $2.40/M | Read:$0.03/M Write:$0.38/M | — |  | ![bedrock logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Famazon%2520bedrock.png&w=48&q=75) ![deepinfra logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fdeepinfra.png&w=48&q=75) ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) +2 |  |  | 02/12/2026 |  |
| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m2.1](/ai-gateway/models/minimax-m2.1) | 205K | 0.5s | 141tps | $0.30/M | $1.20/M | Read:$0.03/M Write:$0.38/M | — |  | ![bedrock logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Famazon%2520bedrock.png&w=48&q=75) ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) ![novita logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fnovita.png&w=48&q=75) |  |  | 12/23/2025 |  |
| ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) [minimax/minimax-m2](/ai-gateway/models/minimax-m2) | 205K | 0.8s | 66tps | $0.30/M | $1.20/M | Read:$0.03/M Write:$0.38/M | — |  | ![minimax logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fminimax.png&w=48&q=75) ![novita logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fnovita.png&w=48&q=75) |  |  | 10/27/2025 |  |

## [Copy link to heading](#about-minimax-h3)About MiniMax H3

MiniMax H3, released July 30, 2026, is MiniMax's video generation model. It takes a text prompt, a starting image, a pair of first and last frames, or reference material, and returns mp4 at 2K resolution.

Four generation modes cover most production needs. Text-to-video builds a clip from a description alone. First-frame image-to-video animates a still and follows that image's aspect ratio. First-to-last keyframe transitions define both endpoints and let MiniMax H3 generate the motion between them. Multimodal reference-to-video conditions a generation on reference images, video, or audio in a single request. Reference and keyframe modes are mutually exclusive, so choose one per request.

Reference mode uses ordering to hold a subject steady. Pass source material through `inputReferences` and refer to each item by its position in the prompt, such as `Image 1`. That gives you a way to carry a character or product across several clips.

Clips run from five to 15 seconds at 2K resolution in mp4. Aspect ratios include 21:9, 16:9, 4:3, 1:1, 3:4, and 9:16, or the output adapts to a supplied image. Pick the ratio at request time instead of cropping afterward.

Call MiniMax H3 with `generateVideo` from the AI SDK, imported as `experimental_generateVideo`. Set the model to `minimax/minimax-h3`, pass your prompt plus optional `aspectRatio` and `duration`, and add `inputReferences` when you condition on source material. Generation runs longer than a text completion, so raise `pollTimeoutMs` for longer clips.

AI Gateway routes MiniMax H3 across MiniMax, tracks usage and cost per request, and handles retries and failover. The listed video rate is N/A, and the pricing panel on this page shows the current rate and unit. AI Gateway reflects provider pricing with no markup and charges no platform fee on inference.

## [Copy link to heading](#what-to-consider-when-choosing-a-provider)What To Consider When Choosing a Provider

- Configuration: Reference mode and keyframe mode can't be combined in one request, so decide which control you need before you build the call. Clip length caps at 15 seconds, so longer sequences take several generations stitched together downstream. Generation runs long enough that default timeouts cut it short, so raise `pollTimeoutMs` and extend fetch timeouts in Node.js. When you pass a starting image, the output follows that image's aspect ratio, so crop the source to the ratio you want to deliver.
- Zero Data Retention: Zero Data Retention is offered on a per-provider and model basis. See the [documentation](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr) for details.
- Authentication: AI Gateway authenticates requests using an [API key](https://vercel.com/docs/ai-gateway/authentication-and-byok#api-key-authentication) or [OIDC token](https://vercel.com/docs/ai-gateway/authentication-and-byok#oidc-token-authentication). You do not need to manage provider credentials directly.

## [Copy link to heading](#when-to-use-minimax-h3)When to Use MiniMax H3

### Best for

- Text-to-Video Generation: Clips built entirely from a written scene description
- Still Image Animation: Product or character stills animated from a single starting frame
- Defined Frame Transitions: Motion generated between first and last frames you supply
- Consistent Multi-Clip Subjects: Reference images, video, or audio that carry a subject across shots
- Multi-Ratio Delivery: Vertical, square, and widescreen 2K output from one model

### Consider alternatives when

- Clips Beyond 15 Seconds: Longer sequences take several generations stitched together downstream
- Reference Plus Keyframes: The two modes are mutually exclusive, so split them across separate requests
- Resolution Above 2K: Output caps at 2K, so plan an upscaling step for larger delivery formats
- Text and Code Workloads: MiniMax M3 covers reasoning and engineering tasks instead of video

## [Copy link to heading](#conclusion)Conclusion

MiniMax H3 covers text-to-video, image animation, keyframe transitions, and reference conditioning in one model, with 2K mp4 output from five to 15 seconds. Call it with `generateVideo` from the AI SDK using `minimax/minimax-h3`.