MiniMax-Hailuo-02:whitedefaultMiniMax Hailuo 02 API — how to connect and pay
MiniMax Hailuo 02 — text-to-video or first-frame video. 512P (first frame only), 768P or 1080P (5 seconds only). Priced per second by resolution.
Channel comparison
last 7 days
| Channel | Price |
|---|---|
White MiniMax-Hailuo-02:whitedefault | from $0.013867 / s |
Build the result you need
MiniMax-Hailuo-02:whiteWhat is MiniMax Hailuo 02
MiniMax Hailuo 02 — text-to-video or first-frame video. 512P (first frame only), 768P or 1080P (5 seconds only). Priced per second by resolution.
Contract at a glance
- Input
- text, image
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per second
- Inputs: text, image
- 2 configurable options
- One API key for media generation
Where it is used
- Social media clips
- Promos and title sequences
- Still-image animation
- Storyboards and animatics
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text, image
- Output
- video
- Polling
- every 3 s · up to 600 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"MiniMax-Hailuo-02:white","prompt":"a beautiful landscape","opts":{"duration":"5","resolution":"768P"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "MiniMax-Hailuo-02:white",
"prompt": "a beautiful landscape",
"opts": {
"duration": "5",
"resolution": "768P"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to MiniMax Hailuo 02 via the GetVibe API.
promptreq.image_urldurationresolutionimage_file_idimage_base64| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
duration | option selection | 5 (default) · 10 | 5 | 5: $0.053333/s, 10: $0.053333/s |
resolution | option selection | 512P · 768P (default) · 1080P | 768P | 768P: $0.053333/s, 1080P: $0.106667/s |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of MiniMax Hailuo 02
The cost of MiniMax Hailuo 02: from $0.013867 per second. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Duration — 5, Resolution — 768P. That request costs $0.266667.
“from $0.013867” is the cheapest parameter set, not the price of a default request.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
WhiteMiniMax-Hailuo-02:whitefrom $0.013867 / sexact prices
| Resolution | 512P | 768P | 1080P |
|---|---|---|---|
| White | $0.013867 / s | $0.053333 / s | $0.106667 / s |
Every combination as JSON: /api/media/price-table?model=MiniMax-Hailuo-02%3Awhite
README
The machine-readable contract for MiniMax Hailuo 02 contains the request schema, operations, limits, polling and response examples.
# MiniMax Hailuo 02
Public model: MiniMax-Hailuo-02:white
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `duration` (option selection): 5 (default) · 10; default: 5
- `resolution` (option selection): 512P · 768P (default) · 1080P; default: 768P
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
## Public variants
- `MiniMax-Hailuo-02:white`: WhiteFAQ about the MiniMax Hailuo 02 API
How much does MiniMax Hailuo 02 cost?
The price of MiniMax Hailuo 02: from $0.013867 per second. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.
Connect MiniMax Hailuo 02 right now
Sign up in a minute, pay per use, ready-made code above.
Get API key