MiniMax H3
MiniMax H3: 4–15 s video in 768p or 2K with stereo sound — from text, frames or references.
Good for: clips with sound and speech, animating a frame and scenes from photos, video and audio
With your video — from $0.075/s, without video — from $0.075/s
For developers →How to get a better result
"A ginger cat on a windowsill, rain outside, watercolor".
"Soft sunset", "neon light", "cozy, warm tones".
Refine the description and press "Another version" — every result is new.
Pass this model in the request minimax-h3-video
1. Create a task POST /api/v1/jobs/createTask
curl -X POST https://mixmedia.tech/api/v1/jobs/createTask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-123" \
-d '{
"model": "minimax-h3-video",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "A street musician plays violin in the rain at night, neon reflections on wet pavement, he smiles at the camera",
"image_urls": [],
"resolution": "768p",
"aspect_ratio": "16:9",
"duration": "5"
}
}'import time, requests
API = "https://mixmedia.tech/api/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
task = requests.post(f"{API}/jobs/createTask", headers=HEADERS, json={
"model": "minimax-h3-video",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "A street musician plays violin in the rain at night, neon reflections on wet pavement, he smiles at the camera",
"image_urls": [],
"resolution": "768p",
"aspect_ratio": "16:9",
"duration": "5"
}
}).json()
task_id = task["data"]["taskId"]
while True:
info = requests.get(f"{API}/jobs/recordInfo", headers=HEADERS, params={"taskId": task_id}).json()["data"]
if info["state"] in ("success", "fail"):
break
time.sleep(4)
print(info["state"], info.get("resultJson") or info.get("failMsg"))const API = "https://mixmedia.tech/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };
const { data } = await fetch(`${API}/jobs/createTask`, {
method: "POST", headers,
body: JSON.stringify({
"model": "minimax-h3-video",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "A street musician plays violin in the rain at night, neon reflections on wet pavement, he smiles at the camera",
"image_urls": [],
"resolution": "768p",
"aspect_ratio": "16:9",
"duration": "5"
}
}),
}).then((r) => r.json());
let info;
do {
await new Promise((r) => setTimeout(r, 4000));
info = (await fetch(`${API}/jobs/recordInfo?taskId=${data.taskId}`, { headers }).then((r) => r.json())).data;
} while (!["success", "fail"].includes(info.state));
console.log(info.state, info.resultJson ?? info.failMsg);Response: data.taskId. callBackUrl and Idempotency-Key are optional.
2. Status and result GET /api/v1/jobs/recordInfo
curl "https://mixmedia.tech/api/v1/jobs/recordInfo?taskId=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
data.state: waiting, queuing, generating, success, fail. On success data.resultJson is a JSON string with resultUrls.
3. Upload a file POST /api/v1/files/upload
curl -X POST https://mixmedia.tech/api/v1/files/upload \
-H "Authorization: Bearer YOUR_API_KEY" -F "file=@photo.jpg"
The response has data.url. Pass that URL in the file field. Any public https URL works too.
Input fields
| Field | What to send |
|---|---|
prompt * | text, up to 7000 characters |
first_frame_url | image URL |
last_frame_url | image URL |
image_urls | list of URLs, up to 5 |
video_urls | list of URLs, up to 3 |
audio_urls | list of URLs, up to 3 |
resolution | 768p · 2K · default 768p |
aspect_ratio | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · default 16:9 |
duration | 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · default 5 |
About the model
MiniMax H3 is the new-generation MiniMax (Hailuo) video model. It makes 4 to 15 second clips in 768p or 2K with stereo sound built in: describe speech, music and effects in the prompt. Modes: from a description, from a first and/or last frame, or from references (up to 5 photos, up to 3 videos totalling 15 seconds and up to 3 audio clips — audio only together with a photo or video). Aspect 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9.
You pay per second; the rate depends on quality, and reference video seconds are billed at the same rate.


