Mage API · Image model
MiniMax H3 Image API
Native 16-megapixel images, open weights
POST https://api.mage.space/v1/minimax_h3_image/generateAt a glance
The MiniMax H3 Image API runs MiniMax H3 Image through Mage at POST https://api.mage.space/v1/minimax_h3_image/generate. A request at the default settings costs 15 Gems (about $0.015), with no subscription. MiniMax H3 Image takes saved characters, references by @handle in the prompt.
- ImageOutput
- 1Variant
- 15Gems per image, default
- $0.015About, in USD
Overview
What the MiniMax H3 Image API does
An open-weights image model that renders up to 4K (about 16 megapixels) with rich detail and precise instruction following. Edit or combine up to 16 reference images, with LoRAs.
An open-weights image model for text-to-image and edits from up to 16 reference images, at 2K (about 4 megapixels) or native 4K (about 16 megapixels), with LoRAs. Distilled to six steps, it takes no negative prompt, step count, or guidance scale. Write the whole image in English; for an edit, say what to keep from each image, what changes, and then describe the result.
It accepts image, additional_images as inputs.
Quick start
Call the MiniMax H3 Image API
Set MAGE_API_KEY, submit to /minimax_h3_image/generate, and poll status_url until the request completes.
cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/minimax_h3_image/generate' \
--header "Authorization: Bearer $MAGE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Editorial portrait in soft daylight, 35mm film look",
"aspect_ratio": "4:5",
"model_id": "minimax-h3-image"
}' | jq -r '.status_url')
# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"TypeScript
// npm install @mage-space/sdk
import Mage from '@mage-space/sdk';
const mage = new Mage(); // reads MAGE_API_KEY
const request = await mage.run('minimax_h3_image', {
prompt: 'Editorial portrait in soft daylight, 35mm film look',
aspect_ratio: '4:5',
model_id: 'minimax-h3-image',
});
console.log(request.result.url);Python
# pip install mage-space
from mage_space import Mage
mage = Mage() # reads MAGE_API_KEY
request = mage.run("minimax_h3_image", {
"prompt": "Editorial portrait in soft daylight, 35mm film look",
"aspect_ratio": "4:5",
"model_id": "minimax-h3-image",
})
print(request["result"]["url"])Models
MiniMax H3 Image model_id values
Send model_id to pick a variant. A request without one runs the default.
| model_id | Name | Default |
|---|---|---|
| minimax-h3-image | MiniMax H3 Image | Yes |
Options
MiniMax H3 Image parameters
Allowed values across all variants; a variant may offer fewer. The docs list the options per variant.
| Field | Values |
|---|---|
| aspect_ratio | 21:9, 16:9, 3:2, 5:4, 1:1, 4:5, 2:3, 9:16, 9:21 |
| resolution | 2k, 4k |
Inputs
Media inputs MiniMax H3 Image accepts
Send each as an https URL, a data URL, or an upload of up to 100 MB.
| Field | Role |
|---|---|
| image | The reference image. |
| additional_images | Additional reference images. |
Rules
What the MiniMax H3 Image API enforces
- Send up to 16 reference images across image and additional_images, plus mentioned characters and references; the prompt names them image 1, image 2, ... in that order.
More image models
Other image generation APIs on Mage
MOSS-Image API
Long prompts and bilingual text, open weights
Nano Banana 2 API
Crisp, readable text, up to 4K
SDXL Plus API
SDXL with faces and hands fixed
Seedream API
Seedream, with a strict filter
Stable Diffusion v1.5 API
The classic, on a budget
Stable Diffusion v3.5 Large API
The Stable Diffusion that listens best
FAQ
Frequently asked questions
How much does the MiniMax H3 Image API cost?
What is the MiniMax H3 Image API endpoint?
Which MiniMax H3 Image models can I call?
Does MiniMax H3 Image support reference images or characters?
Can I use MiniMax H3 Image from Claude or ChatGPT?
How long are MiniMax H3 Image results kept?
Start building with Mage
One account, one Gems balance, every model. Pay only for what you generate.