MiniMax H3 Image
MiniMax H3 Image: pictures up to 4K and precise edits from 16 references.
Good for: ads, portraits, product shots and edits from many references
How to get a better result
"Replace the background with a beach", "make it a watercolor".
The AI keeps everything else better: the face, the pose, the clothes.
Sharp, not blurry, so the person or object is clearly visible.
Pass this model in the request minimax-h3-image
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-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Editorial studio portrait, soft side light, film grain",
"image_urls": [],
"aspect_ratio": "auto",
"resolution": "2K",
"output_format": "jpeg",
"output_compression": "95"
}
}'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-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Editorial studio portrait, soft side light, film grain",
"image_urls": [],
"aspect_ratio": "auto",
"resolution": "2K",
"output_format": "jpeg",
"output_compression": "95"
}
}).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-image",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Editorial studio portrait, soft side light, film grain",
"image_urls": [],
"aspect_ratio": "auto",
"resolution": "2K",
"output_format": "jpeg",
"output_compression": "95"
}
}),
}).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 5000 characters |
image_urls | list of URLs, up to 16 |
aspect_ratio | auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 5:4 · 4:5 · 21:9 · default auto |
resolution | 1K · 2K · 4K · default 2K |
output_format | png · jpeg · webp · default jpeg |
prompt_optimizer | true or false, default true |
About the model
MiniMax H3 Image is a MiniMax model for pictures up to 4K (about 16 megapixels). It draws from a description and edits your photos: up to 16 references, aspect ratios roughly from 1:3 to 3:1. Strong text rendering. The prompt can be expanded automatically before generation.
You pay per picture: 1K and 2K share one rate, 4K costs more. One image per run.


