MiniMax H3 Image API
Call MiniMax H3 Image with one API key: text to image, or edits with up to 10 reference images, at 1K, 2K or 4K. A 1K or 2K image is 1.8 credits (about $0.011); each reference image adds 0.5 credits.
Pay as you go from $5 · No subscription · No free trial · Failed calls are not charged
Models in this series
MiniMax H3 Image
Code sample belowfrom 1.8 credits / image1K / 2K · ≈ $0.011 / image
Prices
Prices in API credits (1 credit = $0.006), checked December 5, 2026. GET /models is always current.
MiniMax H3 Image
| Option | credits / image | ≈ USD |
|---|---|---|
| 1K | 1.8 | $0.011 |
| 2K | 1.8 | $0.011 |
| 4K | 5.5 | $0.033 |
Each reference image adds 0.5 credits (≈ $0.003) per image: a 2K image with one reference is 2.3 credits.
Code
import time
import httpx # pip install httpx
BASE = "https://api.voicica.ai/platform/v1"
HEADERS = {"Authorization": "Bearer vca_your_key_here"} # better: os.environ["VOICICA_API_KEY"]
# Four 2K images = 4 x 1.8 = 7.2 credits (each reference image adds 0.5 per image)
task = httpx.post(f"{BASE}/images/generations", headers=HEADERS, timeout=60, json={
"model": "minimax/minimax-h3-image",
"prompt": "A bowl of khao soi on a wooden table, top view, soft daylight",
"n": 4,
"aspect_ratio": "1:1",
"resolution": "2K",
})
task.raise_for_status() # 202 Accepted
task = task.json() # {"id": "imggen_...", "status": "pending", "credits": "7.2000", ...}
while task["status"] in ("pending", "running"):
time.sleep(5)
task = httpx.get(f"{BASE}/images/generations/{task['id']}", headers=HEADERS, timeout=60).json()
for image in task["data"]:
print(image["status"], image["url"]) # download within 30 days
print(task["credits"]) # succeeded images only
curl https://api.voicica.ai/platform/v1/images/generations \
-H "Authorization: Bearer vca_your_key_here" \
-H "Content-Type: application/json" \
-d '{"model": "minimax/minimax-h3-image", "prompt": "A bowl of khao soi on a wooden table, top view, soft daylight", "n": 4, "aspect_ratio": "1:1", "resolution": "2K"}'
# -> 202 {"id": "imggen_...", "status": "pending", ...}
# then poll GET /images/generations/{id} every 5 s or more
Parameters
| Parameter | MiniMax H3 Image |
|---|---|
aspect_ratio | 9:16, 1:1, 16:9, 3:4, 4:3, 2:3, 3:2, 4:5, 21:9 (default 9:16) |
resolution / quality | resolution: 1K, 2K, 4K (default 2K) |
image_urls | Up to 10 |
n | 1 to 4 |
prompt | Up to 5,000 characters |
Sending an option a model does not have returns 400 unsupported_parameter; GET /models lists each model's params.
How it works
POST /images/generations returns 202 with a task id and the credits it will take.
Poll GET /images/generations/{id} every 5 s, or pass callback_url for a signed callback.
Download the result within 30 days. Failed or timed-out tasks are refunded in full.
FAQ
How much does a MiniMax H3 Image cost?
1.8 credits per image at 1K or 2K (about $0.011) and 5.5 at 4K. Each reference image adds 0.5 credits per image.
Can I edit images with it?
Yes. Pass up to 10 reference images in image_urls (public https URLs, PNG, JPEG or WebP, up to 10 MB each).
How is it different from Nano Banana 2.1 on this API?
MiniMax H3 Image costs less per image (1.8 credits at 2K against 6) and takes prompts up to 5,000 characters; Nano Banana 2.1 takes prompts up to 20,000 characters and adds nothing for reference images. Both take up to 10 references.
What if an image fails?
It is not charged. Credits are taken when the task starts; failed images are refunded when it ends.
Is there a free trial?
No. There is no free trial or free credit. The smallest top-up is $5, about 833 API credits — about 462 images at 2K.
Related
Get your API key
Top up from $5, create a key and call MiniMax H3 Image in a few minutes.
Model names are trademarks of their owners (MiniMax). Voicica provides access to these models through APIs and is not affiliated with or endorsed by them.