300 million tokens. $2.99 a month.See the subscription  

model apis · video generation

Hailuo 02 API

Run Hailuo 02 by MiniMax through one OpenAI-compatible endpoint. Pay per use against your deeprelay balance. No instance to rent, no deployment to manage.

Available now

Hailuo 02 API pricing

Live catalog rates, billed per use against your deeprelay balance, no minimums. Hailuo 02 is priced per use rather than included in the $2.99-a-month flat plan.

TierRate
Serverless
Per second of video: $0.059Per clip (from): $0.594

rates are read every few minutes from the live model catalog and metered per request

Call Hailuo 02 in one request

Any OpenAI SDK works: set the base URL to https://api.deeprelay.ai/v1 and use your deeprelay API key.

curl
# Start a generation, then poll it until it completes.
curl https://api.deeprelay.ai/v1/videos \
  -H "Authorization: Bearer $DEEPRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deeprelay/hailuo-02",
    "prompt": "A drone shot over a mountain lake at dawn"
  }'

curl https://api.deeprelay.ai/v1/videos/{video_id} \
  -H "Authorization: Bearer $DEEPRELAY_API_KEY"

Hailuo 02 on deeprelay

Model iddeeprelay/hailuo-02
ModalityVideo generation
AuthorMiniMax
Context window
Streaming
Aliases
Flat planNot included: pay as you go

faq

Hailuo 02 API questions

How much does the Hailuo 02 API cost?

Hailuo 02 on deeprelay currently costs $0.059 (per second of video), $0.594 (per clip (from)), billed against your deeprelay balance as you go. There are no minimums. It is priced per use rather than included in the $2.99-a-month flat plan, which covers a named set of models.

Is the Hailuo 02 API OpenAI-compatible?

Yes. Point any OpenAI SDK at https://api.deeprelay.ai/v1 with a deeprelay API key and request model "deeprelay/hailuo-02". No proprietary client needed.

How does billing work?

Generation models bill per output (per image, or per second of video) at the listed rate, metered per request against your deeprelay balance.