eeulk3h6ut9miq/minimax-hailuo-02-api-id
About
MiniMax Hailuo 02 API (`MiniMax-Hailuo-02`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMiniMax Hailuo 02 API (MiniMax-Hailuo-02)
from $0.0104 per second on the APIMart route — satu endpoint yang kompatibel dengan OpenAI di
https://api.apimart.ai/v1, tanpa paket bulanan. (diamati 2026-10-12)
Dapatkan API key · Harga live · Halaman model · ⚡ Quickstart 60 detik
Alasan tim memakai MiniMax Hailuo 02 (MiniMax-Hailuo-02) lewat APIMart
- Satu key untuk seluruh katalog. base URL
https://api.apimart.ai/v1dan headerAuthorizationyang sama menjangkau MiniMax Hailuo 02 (MiniMax-Hailuo-02) plus 300+ model gambar, video, dan bahasa lainnya — cukup ganti fieldmodel, bukan klien Anda. - Minimum $1, bayar sesuai pemakaian. Tanpa langganan dan tanpa paket prabayar yang harus dihitung di awal: isi saldo mulai $1 dan pakai untuk panggilan.
- Biaya dikembalikan di respons. Setiap task yang selesai melaporkan jumlah yang ditagih (
cost/credits_cost); task berstatusfaileddikembalikan dananya. - Asinkron sejak awal. Kirim, ambil
task_id, pollingGET /v1/tasks/{id}— batching dan retry hanyalah pekerjaan antrean biasa, bukan integrasi khusus.
MiniMax Hailuo 02 on APIMart is the latest generation AI video model, offering superior visual quality, high motion coherence, and professional-grade performance. Hailuo 02 (sometimes written Hailuo 2) uses the model ID MiniMax-Hailuo-02 in API requests.
Model id and routes
| Route | model value |
Billing | Notes |
|---|---|---|---|
| Text-to-video / image-to-video | MiniMax-Hailuo-02 |
per generated second, by resolution | see the model page for the exact tiers |
Endpoint: POST https://api.apimart.ai/v1/videos/generations, then poll GET /v1/tasks/{task_id}.
Pricing
| Resolution | List price | Effective price |
|---|---|---|
| default | 0.0104 | 0.0104 |
Prices are a snapshot; the pricing page and data/model.json are refreshed by CI, and a completed task reports the exact amount in its cost field.
Request parameters
| Field | Type | Default | Notes |
|---|---|---|---|
model |
string | required | the model id shown in the route table above |
prompt |
string | required | the shot description; camera and subject motion belong here |
duration |
integer | route default | clip length in seconds — billing is per generated second |
resolution |
string | route default | 480P / 720P / 1080P or the route’s own tiers |
size / aspect_ratio |
string | 16:9 |
output framing |
image_urls |
string[] | — | first frame, first + last frame, or style references, where supported |
seed |
integer | — | fix the seed to reproduce a take |
The table lists the fields accepted by the APIMart videos/generations endpoint. Check the model page for anything this model adds on top.
Quickstart
curl --request POST --url https://api.apimart.ai/v1/videos/generations \
--header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
-d '{"model":"MiniMax-Hailuo-02","prompt":"A bamboo forest at sunrise, slow push-in","duration":5,"resolution":"720P","size":"16:9"}'
import os, time, requests
BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}
created = requests.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
"model": "MiniMax-Hailuo-02", "prompt": "A bamboo forest at sunrise, slow push-in", "duration": 5,
}).json()
task_id = created["data"]["id"]
while True:
task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
if task["status"] in ("completed", "failed"):
break
time.sleep(5)
print(task.get("cost"), task["result"]["videos"][0]["url"])
Runnable versions: examples/. The task lifecycle is pending → processing → completed | failed.
FAQ
Apa id model MiniMax Hailuo 02?
MiniMax-Hailuo-02. Lihat tabel rute di atas.
Bagaimana penagihannya?
from $0.0104 per second on the APIMart route. Task yang selesai melaporkan jumlah tepatnya di field cost; task yang gagal dikembalikan dananya.
How do I get a key?
Use the Get an API key link — $1 minimum top-up, no plan required.
Related repositories
- Same model, this language — the other half of this pair: minimax-hailuo-02-prompts-id
- Same model, other languages — 10 more language builds: English minimax-hailuo-02-api · 中文 minimax-hailuo-02-api-cn · Deutsch
minimax-hailuo-02-api-de· Españolminimax-hailuo-02-api-es· Français minimax-hailuo-02-api-fr · Relay/gatewayminimax-hailuo-02-api-gateway· 日本語minimax-hailuo-02-api-ja· 한국어 minimax-hailuo-02-api-ko · Portuguêsminimax-hailuo-02-api-pt· Русскийminimax-hailuo-02-api-ru - More models in this language — midjourney-api-id · gemini-2-5-flash-image-preview-api-id · nano-banana-api-id · gemini-3-1-flash-image-preview-api-id · nano-banana-2-api-id · gemini-3-pro-image-preview-api-id
- Topic hubs — every build of this model, all languages: minimax-hailuo-02 · minimax-hailuo-02-api
This repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.
Attributed links (how this repository is measured)
| Purpose | Attributed link | Target |
|---|---|---|
| Model page | https://go.apimart.ai/k-8cbdf2 | apimart.ai/id/model/minimax-hailuo-02 |
| Live pricing | https://go.apimart.ai/k-206556 | apimart.ai/id/pricing |
| Get an API key | https://go.apimart.ai/k-423c11 | apimart.ai/id/keys |
Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by
tools/check_links.py in CI.
Disclosure
MiniMax Hailuo 02 is a third-party model served through APIMart; this repository documents how to call it and publishes model ids and prices, and does not claim official status. Model names, prices and documentation belong to their respective owners.
License
MIT — see LICENSE.
Explore related projects
Loading…