Docs
MiniMax H3 API developer guide
MiniMax H3 is currently "Available". This guide provides model IDs, price snapshots, and copyable examples for integration. MiniMax H3 model page
Overview
- Vendor: MiniMax
- Type: Video
- Number of tiers: 1
- Endpoint tags: openai, video-task
Available tiers and pricing
The model in requests must use the model IDs in the table below, case-sensitive.
hailuo-3
Billed by duration at the selected rate
- Reference type: none · Resolution: 768p
- $0.0836 / second
- Reference type: image · Resolution: 768p
- $0.0836 / second
More price combinations
- Reference type: video · Resolution: 768p
- $0.1672 / second
- Reference type: audio · Resolution: 768p
- $0.0836 / second
- Reference type: mixed · Resolution: 768p
- $0.1672 / second
- Reference type: none · Resolution: 2k
- $0.1364 / second
- Reference type: image · Resolution: 2k
- $0.1364 / second
- Reference type: video · Resolution: 2k
- $0.2728 / second
- Reference type: audio · Resolution: 2k
- $0.1364 / second
- Reference type: mixed · Resolution: 2k
- $0.2728 / second
- Reference image surchargeFrom reference image 6 onward
- + $0.0418 / input image
Quoted at submission and may be reconciled against actual usage.
Reference media duration may affect the final charge.
Snapshot time Final charges depend on the actual request and settlement.
Base URL and authentication
Base URL is https://api.rokoapi.com/v1. All requests must include Authorization: Bearer $OPENAI_API_KEY.
Quickstart
curl https://api.rokoapi.com/v1/videos/tasks \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hailuo-3",
"prompt": "A cinematic product shot with natural camera movement",
"generation_type": "text",
"duration": 4,
"quality": "768p",
"aspect_ratio": "16:9"
}' Common parameters
| Parameter | Description |
|---|---|
model | Use the public model IDs from the table above. |
prompt / messages | Input prompt, conversation messages, or generation instructions; format depends on the endpoint. |
quality / duration / image_urls | Generation models can accept size, quality, duration, aspect ratio, or reference asset URLs based on model capabilities. |
After a successful async generation task submission, a task ID is returned. Poll GET /v1/tasks/{task_id} until the status becomes completed or failed.
Notes
- Use only the model IDs listed on this page; unprovisioned or retired names will return a model unavailable error.
- If you encounter a 403 error, check your account balance, key group, and model access permissions.
- Multimodal, tool calling, caching, and streaming capabilities depend on the upstream model and channel configuration; refer to actual responses.