Integrate minimax-h3-max-turbo through the media task API. Request examples, parameters, authentication and result handling.
/v1/tasksMODELminimax-h3-max-turboCode examples & responses
/v1/taskscurl "https://newrouters.com/v1/tasks" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
--data '{
"model": "minimax-h3-max-turbo",
"input": {
"seconds": 5,
"resolution": "480P",
"aspect_ratio": "16:9",
"prompt": "A small red house in a quiet garden"
}
}'const apiBaseUrl = "https://newrouters.com";
const apiKey = process.env.API_KEY;
if (!apiKey) throw new Error("Set API_KEY in your server environment");
const response = await fetch(apiBaseUrl + "/v1/tasks", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer " + apiKey
},
body: JSON.stringify({
"model": "minimax-h3-max-turbo",
"input": {
"seconds": 5,
"resolution": "480P",
"aspect_ratio": "16:9",
"prompt": "A small red house in a quiet garden"
}
})
});
const result = await response.json();
if (!response.ok) throw new Error(JSON.stringify(result));
console.log(result);import json
import os
from urllib.request import Request, urlopen
api_base_url = "https://newrouters.com"
api_key = os.environ["API_KEY"]
body = json.loads("{\"model\":\"minimax-h3-max-turbo\",\"input\":{\"seconds\":5,\"resolution\":\"480P\",\"aspect_ratio\":\"16:9\",\"prompt\":\"A small red house in a quiet garden\"}}")
request = Request(
api_base_url + "/v1/tasks",
data=json.dumps(body).encode("utf-8"),
headers={
"Content-Type": "application/json",
"Authorization": "Bearer " + api_key
},
method="POST",
)
with urlopen(request) as response:
print(json.load(response))The API origin is filled in. Set API_KEY before running. Examples never submit automatically.
202Task accepted
{
"id": "TASK_ID",
"status": "pending",
"model": "minimax-h3-max-turbo",
"result": null,
"error": null
}200Successful result
{
"id": "TASK_ID",
"status": "succeeded",
"model": "minimax-h3-max-turbo",
"result": {
"assets": [
"https://example.com/output.mp4"
]
},
"error": null
}- Create a task01
POST /v1/tasksSubmit model + input. Save the returned task id.
202 · pending - Poll status02
GET /v1/tasks/{id}Wait and poll again while pending or processing.
Wait → poll again - Read the outcome03
result.assets[] / errorRead the result for the terminal task state.
succeeded→ assetsfailed→ error
Example outputs
View and try on the model page ↗Generated through this API. Costs are the amounts charged on each task receipt.
Prompt and parameters
The levitating running shoe slowly rotates a quarter turn while the camera makes a smooth controlled push-in. Rain keeps falling, neon reflections ripple in the puddles below, droplets bead on the sole. One continuous shot, physically plausible motion, no cuts, no text.
seconds: 6 · resolution: 768P · aspect_ratio: 16:9Prompt and parameters
A hand enters from the right and slowly pours steamed milk from a small steel pitcher into the cup, drawing a rosetta latte art pattern; the hand withdraws and steam gently rises. Static camera, soft morning light, realistic liquid motion, no cuts, no text.
seconds: 6 · resolution: 768P · aspect_ratio: 16:9Prompt and parameters
Macro slow-motion shot of drops of deep blue, gold and magenta ink falling into clear water and blooming into swirling, billowing clouds that slowly intertwine against a pure black background. Smooth graceful motion, high contrast, crisp detail, one continuous shot, no text.
seconds: 6 · resolution: 480P · aspect_ratio: 16:9Prompt and parameters
Pulses of warm golden light travel steadily along the glowing routes from the outer districts toward the bright central plaza, and fine white signals flow back outward, like traffic being routed through one hub. City lights twinkle softly, thin haze drifts slowly, the central plaza breathes with a gentle glow. The camera holds an almost locked-off aerial view with an imperceptibly slow drift. The clip must loop seamlessly: it starts and ends on exactly the same composition, with no cuts, no text, no camera shake and no sudden flashes.
seconds: 10 · resolution: 768P · aspect_ratio: 16:9Use the exact API model ID minimax-h3-max-turbo. This guide describes the platform contract; check the live catalog before calling the model.
Request example
Section titled “Request example”The platform origin is filled in at build time. Set API_KEY to your server-side key before running.
curl "https://newrouters.com/v1/tasks" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $API_KEY" \ --data '{ "model": "minimax-h3-max-turbo", "input": { "seconds": 5, "resolution": "480P", "aspect_ratio": "16:9", "prompt": "A small red house in a quiet garden" }}'Retrieve the result
Section titled “Retrieve the result”The creation response accepts a task, not the final output. Replace TASK_ID with its returned ID and poll until succeeded or failed.
curl "https://newrouters.com/v1/tasks/TASK_ID" \ -H "Authorization: Bearer $API_KEY"Read result on success and error on failure. Keep the original task ID when the upstream outcome is unknown; do not submit a duplicate paid generation.
Parameters
Section titled “Parameters”| Field | Type | Requirement | Default | Constraints |
|---|---|---|---|---|
prompt | string | Required | — | max length 50000 |
seconds | integer | Optional | 5 | min 5; max 15 |
resolution | enum | Optional | "480P" | 480P, 768P |
aspect_ratio | enum | Optional | "16:9" | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
frames_images | array | Optional | — | max items 2 |
Official sources and identity
Section titled “Official sources and identity”Checked: 2026-09-27 · Platform model: minimax-h3-max-turbo · Official reference: minimax/h3-max-turbo
Pricing and troubleshooting
Section titled “Pricing and troubleshooting”Check current availability, contract and account pricing before integration. Keep request IDs and usage receipts when diagnosing errors. Complete API reference