Models
VideoMiniMaxtext-to-videoimage-to-video2k

MiniMax H3

MiniMax Hailuo H3 with native 768p and 2K output, 4–15 s, first/last frame.

Model ID: minimax-h3

Playground

5 – 15

Estimated cost—

Use the same request from code — API docs

Provider prices for this request

Enter a prompt to compare provider prices.

Result

Your generation will appear here.

Pricing by provider

Prices are per unit; requests without a provider are routed to the cheapest provider that supports your parameters.

ProviderOptionPrice (USD)Credits
fal.airesolution: 2k$0.1310% off$0.117 / second30 / second
resolution: 768p$0.0610% off$0.054 / second14 / second
Replicateresolution: 2k$0.1310% off$0.117 / second30 / second
resolution: 768p$0.0810% off$0.072 / second18 / second
WaveSpeedAIresolution: 768p$0.110% off$0.09 / second23 / second
resolution: 2k$0.1410% off$0.126 / second32 / second
KIE AIresolution: 768p$0.0410% off$0.036 / second9 / second
resolution: 2k$0.06510% off$0.059 / second15 / second
APIMartresolution: 2k$0.09110% off$0.082 / second21 / second
resolution: 768p$0.05710% off$0.051 / second13 / second
Vercel AI Gatewayresolution: 768p$0.0810% off$0.072 / second18 / second
resolution: 2k$0.1310% off$0.117 / second30 / second

API reference

Endpoints

Base URL: https://01router.com/api/v1

POST/generationsCreate a generation (charges credits)
GET/generations/{id}Get a generation; polls the provider while running
POST/quotePrice a request on every provider (no charge, no key needed)

Authentication

Send your API key as a Bearer token. Requests are billed to the key owner's credits.

Authorization: Bearer sk_xxxxxxxxxxxxxxxx
Get an API key

Request body

NameTypeRequiredDescription
modelstringYes"minimax-h3"
providerstringNoPin a provider; omit to auto-route to the cheapest. One of: fal | replicate | wavespeed | kie | apimart | vercel
inputobjectYesModel parameters, see the input fields below.

input fields

Unified parameters work on every provider; some providers support a narrower range — check the quote endpoint or the playground.

NameTypeValuesDefault
prompt*text——
image_url
Optional start image (image-to-video)
image——
end_image_urlimage——
durationinteger5 – 155
resolutionenum768p | 2k768p
aspect_ratioenum16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 21:916:9

Example request

curl https://01router.com/api/v1/generations \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax-h3",
  "provider": "fal",
  "input": {
    "prompt": "A cinematic shot of a red fox running through snow",
    "duration": 5,
    "resolution": "768p",
    "aspect_ratio": "16:9"
  }
}'

# poll until status is "succeeded" or "failed"
curl https://01router.com/api/v1/generations/<id> -H "Authorization: Bearer $API_KEY"

Response

Pass the model id, its unified input parameters and optionally a provider slug. The response returns immediately with the task id; image models on synchronous providers may already be succeeded.

{
  "id": "gen_6f1c…",
  "object": "generation",
  "model": "minimax-h3",
  "type": "video",
  "provider": "fal",
  "status": "processing",
  "input": {
    "prompt": "…",
    "duration": 5,
    "resolution": "768p",
    "aspect_ratio": "16:9"
  },
  "outputs": [],
  "error": null,
  "credits": 0,
  "price_usd": 0,
  "created_at": "2026-10-23T08:00:00.000Z",
  "completed_at": null
}

Get the result

Poll every few seconds until status is succeeded or failed. Output URLs are provider-hosted and may expire — download them promptly.

curl https://01router.com/api/v1/generations/gen_6f1c… -H "Authorization: Bearer $API_KEY"

{ "id": "gen_6f1c…", "model": "minimax-h3", "status": "succeeded", "outputs": ["https://…"], … }

Quote

Same body as creating a generation. Returns every available provider sorted by price, plus the ones that cannot serve the request and why.

curl https://01router.com/api/v1/quote -H "Content-Type: application/json" \
  -d '{"model":"minimax-h3","input":{"prompt":"…","duration":5,"resolution":"768p","aspect_ratio":"16:9"}}'

Auth, routing, billing and error codes are covered in Gateway API reference