Video model
Hailuo 3 Max
minimax/hailuo-3-max
minimax/hailuo-3-max is a video generation model from MiniMax you can call on the OceanToken API.
Price card, similar models and questions answered: Hailuo 3 Max on oceantoken.ai.
At a glance
| Model ID | minimax/hailuo-3-max |
|---|---|
| Type | Video |
| Publisher | MiniMax |
| Price | On oceantoken.ai |
| Endpoint | /v1/videos |
| API shape | OpenAI-compatible |
| In the catalog since | 2026-09-02 |
API
POST /v1/videos. Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.
Download this spec (JSON) · llms.txt for AI assistants
The call starts a job: poll GET /v1/videos/{video_id}, then download GET /v1/videos/{video_id}/content.
Text to video
- curl
- Python
- JavaScript
curl https://api.oceantoken.ai/v1/videos \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/hailuo-3-max",
"prompt": "A paper boat drifting down a rain-soaked street",
"duration": 5,
"resolution": "768p"
}'
# then poll GET https://api.oceantoken.ai/v1/videos/{id} until "status" is "completed"
import os, time, uuid
import requests
BASE = "https://api.oceantoken.ai/v1"
headers = {"Authorization": f"Bearer {os.environ['OCEANTOKEN_API_KEY']}"}
job = requests.post(
f"{BASE}/videos",
headers={**headers, "Idempotency-Key": str(uuid.uuid4())},
json={
"model": "minimax/hailuo-3-max",
"prompt": "A paper boat drifting down a rain-soaked street",
"duration": 5,
"resolution": "768p",
},
).json()
while job["status"] in ("queued", "in_progress"):
time.sleep(15)
job = requests.get(f"{BASE}/videos/{job['id']}", headers=headers).json()
print(job["status"], job.get("content_url")) # the MP4, valid for 24 hours
const BASE = 'https://api.oceantoken.ai/v1';
const headers = {Authorization: `Bearer ${process.env.OCEANTOKEN_API_KEY}`, 'Content-Type': 'application/json'};
let job = await (await fetch(`${BASE}/videos`, {
method: 'POST',
headers: {...headers, 'Idempotency-Key': crypto.randomUUID()},
body: JSON.stringify({
"model": "minimax/hailuo-3-max",
"prompt": "A paper boat drifting down a rain-soaked street",
"duration": 5,
"resolution": "768p"
}),
})).json();
while (job.status === 'queued' || job.status === 'in_progress') {
await new Promise((r) => setTimeout(r, 15000));
job = await (await fetch(`${BASE}/videos/${job.id}`, {headers})).json();
}
console.log(job.status, job.content_url); // the MP4, valid for 24 hours
Request parameters
Only what this model takes. Anything else in the request is left out before it reaches the model.
| Parameter | Type | Description |
|---|---|---|
modelrequired | string | This model's ID. |
promptrequired | string | What happens in the clip. |
duration | integer 5 to 15 default 5 | Length in whole seconds. seconds is accepted too. |
resolution | string 768p, 480p | Output resolution; lower is faster and cheaper. |
aspect_ratio | string 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, adaptive | Output aspect ratio. adaptive follows the first frame (the default when one is sent and no ratio is). If the request is served where adaptive is not available it is ignored and named in the x-oceantoken-dropped-params response header. |
frame_images | array up to 2 items | The first frame and last frame: {"type": "image_url", "frame_type": "first_frame", "image_url": {"url": ...}}. |
input_references | array | Reference media the clip is built from: up to 9 images, up to 3 videos, up to 3 audios. Each {"type": "image_url" | "video_url" | "audio_url", ...: {"url": ...}}. |
Response
| Field | Type | Description |
|---|---|---|
id | string | The job's ID; poll it. |
status | string queued, in_progress, completed, failed | Where the job is. |
seconds | string | Length of the clip. |
size | string or null | The size the request asked for (width x height), not measured from the file; null when the request named a resolution instead. |
content_url | string | Once completed: the MP4, valid for 24 hours. |
error | object | On a failed job: code and message. |
Example response
{
"id": "video_...",
"object": "video",
"status": "completed",
"model": "minimax/hailuo-3-max",
"seconds": "5",
"size": null,
"created_at": 1792000000,
"completed_at": 1792000095,
"content_url": "https://...",
"error": null
}
More examples and how errors and billing work: Video.
Compared with similar models
Video models on OceanToken in the same price range as minimax/hailuo-3-max. Compare their prices on oceantoken.ai.
| Model | Publisher | Context |
|---|---|---|
Hailuo 3 Maxminimax/hailuo-3-max | MiniMax | — |
Wan 3.0alibaba/wan-3.0 | Alibaba | — |
Avatar Ivheygen/avatar-iv | Heygen | — |
Seedance 2.0 Mini Upscaledbytedance/seedance-2.0-mini-upscaled | ByteDance | — |
More from MiniMax
- Hailuo 2.3
minimax/hailuo-2.3 - Hailuo 3
minimax/hailuo-3 - MiniMax M2.5
minimax/minimax-m2.5 - MiniMax M3
minimax/minimax-m3 - MiniMax M3.1 Flash
minimax/minimax-m3.1-flash - Speech 2.8 HD
minimax/speech-2.8-hd - Speech 2.8 Turbo
minimax/speech-2.8-turbo
All MiniMax models on OceanToken
Use it
Create an account Price on oceantoken.ai
The facts on this page were read from the live OceanToken catalog on 2026-12-02 (UTC), when the documentation was built. Prices are published on oceantoken.ai.