MiniMax H3 video API
Call MiniMax H3, the video model that follows Hailuo 02, with one API key. Every video has sound, at 768p or 2K, 4 to 15 seconds long, from text or from a first and last frame, billed per second.
MiniMax also offers H3 in its own Hailuo AI app.
Pay as you go from $5 · No subscription · No free trial · Failed calls are not charged
Models in this series
MiniMax H3
Code sample belowfrom 8 credits / s768p · ≈ $0.048 / s
Prices
Prices in API credits (1 credit = $0.006), checked December 5, 2026. GET /models is always current.
MiniMax H3
| Option | credits / s | ≈ USD | 6 s video |
|---|---|---|---|
| 768p · with sound | 8 | $0.048 | 48 credits (≈ $0.29) |
| 2K · with sound | 13 | $0.078 | 78 credits (≈ $0.47) |
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"]
# Image to video with sound: 768p, 6 seconds = 6 x 8 = 48 credits (frames cost nothing extra)
task = httpx.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
"model": "minimax/minimax-h3",
"prompt": "The old fisherman laughs and waves at the boats",
"first_frame": "https://example.com/fisherman.png", # the video keeps this image's shape
"duration": 6,
"resolution": "768p",
})
task.raise_for_status() # 202 Accepted
task = task.json() # {"id": "videogen_...", "status": "pending", "credits": "48.0000", ...}
while task["status"] in ("pending", "running"):
time.sleep(10)
task = httpx.get(f"{BASE}/videos/generations/{task['id']}", headers=HEADERS, timeout=60).json()
print(task["status"], task.get("url"), task["credits"]) # failed: credits "0.0000"
curl https://api.voicica.ai/platform/v1/videos/generations \
-H "Authorization: Bearer vca_your_key_here" \
-H "Content-Type: application/json" \
-d '{"model": "minimax/minimax-h3", "prompt": "The old fisherman laughs and waves at the boats", "first_frame": "https://example.com/fisherman.png", "duration": 6, "resolution": "768p"}'
# -> 202 {"id": "videogen_...", "status": "pending", ...}
# then poll GET /videos/generations/{id} every 10 s or more
Parameters
| Parameter | MiniMax H3 |
|---|---|
duration | 4 to 15 s (default 6) |
aspect_ratio | 9:16, 16:9, 1:1, 4:3, 3:4, 21:9 (follows first_frame) |
resolution | 768p, 2K (default 768p) |
audio | Always on (false: 400) |
first_frame | Yes |
last_frame | Yes, with first_frame |
reference_images | — |
prompt | Up to 7,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 /videos/generations returns 202 with a task id and the credits it will take.
Poll GET /videos/generations/{id} every 10 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
What is MiniMax H3?
MiniMax's video model that follows Hailuo 01 and Hailuo 02. It makes video with sound from text or from images. On this API its ID is minimax/minimax-h3. Older Hailuo models are not offered.
How much does a MiniMax H3 video cost?
8 credits per second at 768p (about $0.048) and 13 at 2K, sound included. A 6-second 768p video is 48 credits (about $0.29).
Can I turn off the sound?
No. MiniMax H3 always makes sound: audio: true is accepted, and audio: false returns 400 unsupported_parameter.
Can it animate a photo?
Yes. Send a first_frame, and optionally a last_frame; frames cost nothing extra, and the video keeps the image's shape.
Is this MiniMax's official API?
No. Voicica gives access to MiniMax H3 through APIs and is not affiliated with MiniMax. You use a Voicica key and Voicica API credits.
Related
Get your API key
Top up from $5, create a key and call MiniMax H3 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.