Skip to main content
Skip to main content

MiniMax H3 Max

MiniMax H3 Max is the maximum-fidelity configuration of MiniMax's H3 video family - the full three-stage pipeline that refines your instructions, generates the audio-video clip, and rebuilds it at native 2K instead of relying on an upscale.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:MiniMaxPrice: From $0.0414 / sec

API DOCS / SIMPLIFIED

Integrate this model with one task-based API flow

MiniMax H3 Max is the maximum-fidelity configuration of MiniMax's H3 video family - the full three-stage pipeline that refines your instructions, generates the audio-video clip, and rebuilds it at native 2K instead of relying on an upscale. The examples below are rendered from MiniMax H3 Max, the current gateway base URL, and the selected public model contract.

Input mode
X-API-Key on every request
POST /api/v1/openapi/task
GET /api/v1/openapi/task/status/{task_id}
Async task workflow

Single code window

Switch language once. Each example already includes both the task creation request and the task status polling request.

Unified Example
API_KEY="<API_KEY>"
BASE_URL="https://api.musespark.ai"
REQUEST_BODY='{
  "model_id": "minimax-h3-max",
  "parameters": {
    "prompt": "A cinematic drone shot over a futuristic city at sunrise, volumetric light, realistic motion",
    "resolution": "768P",
    "duration": 5,
    "aspect_ratio": "21:9",
    "batch_size": 1
  }
}'

CREATE_RESPONSE=$(curl --request POST "$BASE_URL/api/v1/openapi/task" \
  --header "X-API-Key: $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw "$REQUEST_BODY")

TASK_ID="<TASK_ID_FROM_CREATE_RESPONSE>"

curl "$BASE_URL/api/v1/openapi/task/status/$TASK_ID" \
  --header "X-API-Key: $API_KEY"

Request and response JSON become the documentation

Keep the payload and task status envelope as the primary contract. Field descriptions, optionality, and enum hints now live inline as JSON comments.

Request Body

Caller payload

This is the request envelope accepted by the public gateway for the selected model contract.

Field comments and caller parameters come directly from the current item's model schema.
{
"model_id": "minimax-h3-max",// target model
"parameters": {
"prompt": "A cinematic drone shot over a futuristic city at sunrise, volumetric light, realistic motion",// prompt describing the video to generate · min 1 · max 7000 · min length 1 · max length 7000
"resolution": "768P",// output video resolution. Supports 480P, 768P (default), and 1080P; 2K is not supported · enum: 480P | 768P | 1080P
"duration": 5,// video duration in seconds. Must be between 5 and 15 seconds; defaults to 5 · min 5 · max 15
"aspect_ratio": "21:9",// output aspect ratio. Text-to-video uses a listed ratio and falls back from adaptive to 16:9. Frame-guided generation follows the source image; reference generation supports the listed ratios or adaptive · enum: 21:9 | 16:9 | 4:3 | 1:1 | 3:4 | 9:16 | adaptive
"batch_size": 1// standard quantity control field. The allowed range for this item is 1-4 · min 1 · max 4
}
}
Response Body

Gateway response

This is the task status response you will query with task_id until the task reaches a terminal state.

Poll every 2-5 seconds and stop once status becomes completed, failed, cancelled.
{
"code": 200,// 200 on success
"msg": "success",
"data": {
"task_id": "task_01HQX8N2QJ0YQ8Q0T7G6N4V6K2",// use for status polling
"status": "completed",// enum: queued | running | completed | failed | cancelled
"progress": 100,// 0-100 if available
"completed_at": 1760000000,// unix timestamp
"expires_at": 1760001800,// unix timestamp
"result": {
"output_urls": [// generated files
"https://cdn.example.com/output.png"
]
}
}
}