Mage API · Video model

MiniMax-H3 API

Fast open video with stereo sound

Get an API keyTry MiniMax-H3 in the playground
POST https://api.mage.space/v1/minimax_h3/generate

At a glance

The MiniMax-H3 API runs MiniMax-H3 Turbo and 1 other variant through Mage at POST https://api.mage.space/v1/minimax_h3/generate. A request at the default settings costs 30 Gems (about $0.03), with no subscription. MiniMax-H3 takes saved characters, references, audio references by @handle in the prompt.

Overview

What the MiniMax-H3 API does

A fast open video model that generates picture and stereo audio together. Start and end frames or up to 8 references (longer clips take fewer), 5 to 15 seconds at up to 768p.

A fast open video model that generates video and stereo audio together.

It accepts first_image, last_image, image, additional_images, videos as inputs.

Quick start

Call the MiniMax-H3 API

Set MAGE_API_KEY, submit to /minimax_h3/generate, and poll status_url until the request completes.

cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/minimax_h3/generate' \
  --header "Authorization: Bearer $MAGE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",
  "aspect_ratio": "16:9",
  "duration": "5",
  "model_id": "minimax-h3-turbo"
}' | jq -r '.status_url')

# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"
Python
import os, time, requests

headers = {"Authorization": f"Bearer {os.environ['MAGE_API_KEY']}"}
request = requests.post(
    "https://api.mage.space/v1/minimax_h3/generate",
    headers=headers,
    json={
      "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",
      "aspect_ratio": "16:9",
      "duration": "5",
      "model_id": "minimax-h3-turbo"
    },
).json()

while request["status"] in ("queued", "in_progress"):
    time.sleep(3)
    request = requests.get(request["status_url"], headers=headers).json()

print(request["status"], request["result"] and request["result"]["url"])
JavaScript
const headers = {
  Authorization: `Bearer ${process.env.MAGE_API_KEY}`,
  'Content-Type': 'application/json',
};
let request = await fetch('https://api.mage.space/v1/minimax_h3/generate', {
  method: 'POST',
  headers,
  body: JSON.stringify({
    "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",
    "aspect_ratio": "16:9",
    "duration": "5",
    "model_id": "minimax-h3-turbo"
  }),
}).then((response) => response.json());

while (['queued', 'in_progress'].includes(request.status)) {
  await new Promise((resolve) => setTimeout(resolve, 3000));
  request = await fetch(request.status_url, { headers }).then((r) => r.json());
}

console.log(request.status, request.result?.url);

Models

MiniMax-H3 model_id values

Send model_id to pick a variant. A request without one runs the default.

model_idNameDefault
minimax-h3-turboMiniMax-H3 TurboYes
minimax-h3MiniMax-H3

Options

MiniMax-H3 parameters

Allowed values across all variants; a variant may offer fewer. The docs list the options per variant.

FieldValues
aspect_ratio21:9, 16:9, 3:2, 5:4, 1:1, 4:5, 2:3, 9:16, 9:21
resolution480p, 544p, 720p, 768p
duration5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Inputs

Media inputs MiniMax-H3 accepts

Send each as an https URL, a data URL, or an upload of up to 100 MB.

FieldRole
first_imageThe first frame image.
last_imageThe last frame image.
imageThe reference image.
additional_imagesAdditional reference images.
videosThe source videos.

Rules

What the MiniMax-H3 API enforces

More video models

Other video generation APIs on Mage

Video · from 338 Gems

Plum API

Sound on every clip, up to 2K

Video · from 360 Gems

Raspberry API

Characters brought to life from a first frame

Video · from 40 Gems

Wan Video v2.2 API

Open-weights video with a Lightning variant

Video · from 189 Gems

Berry API

Video that stays true to your references

Video · from 360 Gems

Blueberry API

Pin the first and last frame

Video · from 618 Gems

Cherry API

Our flagship video family

FAQ

Frequently asked questions

How much does the MiniMax-H3 API cost?

A MiniMax-H3 request at the default settings (MiniMax-H3 Turbo) costs 30 Gems, about $0.03. Other resolutions, durations, and variants change the price; the response reports the exact charge. A generation that fails is refunded; one Mage's content policy blocks is not.

What is the MiniMax-H3 API endpoint?

POST https://api.mage.space/v1/minimax_h3/generate with an Authorization: Bearer header carrying your Mage API key. The response includes a status_url to poll for the result.

Which MiniMax-H3 models can I call?

minimax-h3-turbo (MiniMax-H3 Turbo), minimax-h3 (MiniMax-H3). The default is MiniMax-H3 Turbo.

Does MiniMax-H3 support reference images or characters?

MiniMax-H3 accepts first_image, last_image, image, additional_images, videos. MiniMax-H3 takes saved characters, references, audio references by @handle in the prompt.

Can I use MiniMax-H3 from Claude or ChatGPT?

Yes. Connect the Mage MCP server to Claude, ChatGPT, Claude Code, Grok, or Cursor and ask for MiniMax-H3 by name. Your assistant reads its options with get_model and quotes the price before it generates.

How long are MiniMax-H3 results kept?

Results and inputs are kept for 30 days. Download anything you want to keep to your own storage.

Start building with Mage

One account, one Gems balance, every model. Pay only for what you generate.

Get an API keyTry MiniMax-H3 in the playground

Related