MiniMax H3
Use minimax-h3 to create video output. This page contains the complete request needed for this model.
Model facts
| Property | Value |
|---|---|
| Model ID | minimax-h3 |
| Endpoint | POST /api/v1/generation/create |
| Output | Video |
| Modes | text-to-video, image-to-video, audio reference |
| Pricing | View current pricing |
Minimal request
curl -X POST https://api.apihubs.ru/api/v1/generation/create \
-H "Authorization: Bearer $API_STOCK_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3",
"input": {
"prompt": "A cinematic scene with soft natural light"
}
}'
The create response contains a task ID:
{
"code": 200,
"data": {
"taskId": "019ca881-9503-7270-a560-f00fc2b15785",
"status": "not_started",
"createdAt": "2026-08-22T12:00:00.000Z"
}
}
Parameters
Parameters belong inside the top-level input object. Unknown fields are rejected.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Describe the scene, motion and audio. Refer to supplied images and audio in the prompt. |
aspectRatio | “16:9” | “9:16” | No | "16:9" | Video aspect ratio |
imageUrls | string[] | No | — | Reference image URLs (up to 9). The first 5 are free; each additional image is billed separately per request. |
audioUrls | string[] | No | — | Reference audio URLs (up to 3), free of additional charge. |
resolution | “480p” | “768p” | “1080p” | No | "480p" | Output resolution; 1080p supports at most 10 seconds. |
duration | integer | No | 5 | Output duration in seconds (1–15; at most 10 at 1080p). min 1, max 15 |
seed | number | No | — | Random seed |
Modes
Minimal generation
{
"model": "minimax-h3",
"input": {
"prompt": "A cinematic scene with soft natural light"
}
}
With image urls
{
"model": "minimax-h3",
"input": {
"prompt": "A cinematic scene with soft natural light",
"imageUrls": [
"https://example.com/input.jpg"
]
}
}
With audio urls
{
"model": "minimax-h3",
"input": {
"prompt": "A cinematic scene with soft natural light",
"audioUrls": [
"https://example.com/input.mp3"
]
}
}
Constraints
aspectRatio: allowed:16:9,9:16.resolution: allowed:480p,768p,1080p.duration: minimum 1; maximum 10 at1080p; maximum 15 at480por768p.
Invalid types, unsupported enum values, out-of-range numbers, and missing required fields return HTTP 400 with error.code: "invalid_input". Correct the request rather than retrying it unchanged.
Result
Poll the task or provide a top-level webhook URL in the create request:
curl https://api.apihubs.ru/api/v1/task/status/$TASK_ID \
-H "Authorization: Bearer $API_STOCK_KEY"
A successful media task returns one or more files:
{
"code": 200,
"data": {
"taskId": "019ca881-9503-7270-a560-f00fc2b15785",
"status": "finished",
"files": [
{
"fileUrl": "https://storage.api-stock.com/result.mp4",
"fileType": "video"
}
],
"createdTime": "2026-08-22T12:00:00.000Z"
}
}
See Tasks and webhooks for terminal statuses, retries and webhook delivery.