Skip to content
Models

Hailuo API: 2K Hailuo 3 Clips With Subject References

The Hailuo API on one key: Hailuo 3 for 2K clips with sound, subject references and first and last frames, Hailuo 3 Max for drafts. Code and costs.

Updated 5 min read

The Hailuo API lets you call MiniMax's video models from your own code: Hailuo 3 renders 2K clips of 5 to 15 seconds with sound, and Hailuo 3 Max drafts the same motion at lower resolutions. On Frameport both run on one API key for $0.15 and $0.06 per second respectively, held when you submit and charged only when the clip succeeds.

This page covers what each Hailuo model takes, what it does well, the code for a first request, subject references and frames, and what a clip costs.

Hailuo 3 and Hailuo 3 Max at a glance

Hailuo 3Hailuo 3 Max
Model idhailuo-3hailuo-3-max
Resolutions2K480p and 768p
Clip length5 to 15 seconds5 to 15 seconds
Aspect ratios21:9, 16:9, 4:3, 1:1, 3:4 and 9:1621:9, 16:9, 4:3, 1:1, 3:4 and 9:16
SoundOn or off, same priceNo soundtrack
What it doesText to video, Image to video and First + last frameText to video, Image to video and First + last frame
Subject referencesUp to 30
From$0.15 / s$0.06 / s

A request without duration gets 5 seconds. Neither model takes a seed or a negative prompt, so send a few takes and keep the best one. Both take the wide cinema shape, 21:9, as well as tall and square formats. The Hailuo 3 model page lists each option with a request body to copy.

What Hailuo 3 does well: physics and camera moves

Hailuo 3 is good at shots where the world carries the frame: weather, water, smoke and crowds. Its camera moves as if it were directed, so it answers to crane shots, whip pans and slow dollies, and it renders at 2K, for clips seen large or reframed in the edit.

Prompts that get the most from it:

  • Direct the camera explicitly. "Crane up through the spray" or "slow dolly through the rain" beats "cinematic camera".
  • Name the physical detail that moves. Spray off the waves, smoke curling under a lamp, a flag snapping in the wind.
  • Describe the sound. Hailuo 3 renders it with the picture: thunder rolling, a crowd murmuring, rain on glass.
  • One beat per clip. A storm building and breaking reads better as two clips than as one.

Your first Hailuo API request

Submit the request, poll the generation until it settles, download the file. The submit answers at once with 202 Accepted, the generation's id and the price held on your balance.

# 1. Submit: the price is held on your balance (reserved_usd)
curl https://frameport.ai/v1/videos/generations \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hailuo-3",
    "prompt": "Waves crash against a cliff-top lighthouse in a storm, crane up through the spray, thunder rolling",
    "duration": 5,
    "aspect_ratio": "21:9"
  }'

# 2. Poll with the id it returns, until "succeeded" or "failed"
curl https://frameport.ai/v1/videos/generations/$GENERATION_ID \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY"

# 3. Download outputs[0].url once it has succeeded (a signed link, no key needed)
curl -L "$OUTPUT_URL" -o storm.mp4
202 Accepted
{
  "id": "gen_9sLq2VbX7mN4kR1tYc8WpE",
  "object": "generation",
  "type": "video",
  "model": "hailuo-3",
  "status": "queued",
  "input": {
    "prompt": "Waves crash against a cliff-top lighthouse in a storm, crane up through the spray, thunder rolling",
    "duration": 5,
    "resolution": "2K",
    "aspect_ratio": "21:9",
    "audio": true,
    "reference_images": 0,
    "end_image": false
  },
  "reserved_usd": 0.75,
  "cost_usd": null,
  "outputs": [{ "id": "file_2Tn7XcQ9vLm4Ra8Ws1KbZd", "status": "queued" }],
  "error": null,
  "created_at": "2026-11-28T10:00:00.000Z",
  "completed_at": null
}

The request names no resolution: Hailuo 3 renders 2K either way. The link in outputs[0].url opens without a key for about an hour. To be told when a clip is done instead of polling, add a webhook.

Subject references and first and last frames

Hailuo 3 uses pictures in two ways:

  • Subject references. With "reference_mode": "identity", up to 3 pictures show the person, product or place to keep, and the prompt says what happens around them.
  • Frames. One picture in reference_images starts the clip on it; add end_image and it lands on a second picture. Describe only the motion between them.
Subject references on Hailuo 3
{
  "model": "hailuo-3",
  "prompt": "The climber from the first picture reaches a windswept ridge at dawn, the camera cranes up to reveal the valley; wind roaring",
  "duration": 8,
  "aspect_ratio": "16:9",
  "reference_images": [
    "https://example.com/climber.jpg",
    "https://example.com/jacket.jpg"
  ],
  "reference_mode": "identity"
}

On Hailuo 3, each picture you send adds a fixed fee to the clip, frames and references alike. The model page shows the fee, and a quote of your body shows it in the breakdown. A picture is an https URL, a base64 data URI, an upload or one of your image outputs (file_…). Identity mode does not combine with end_image, and in frame mode the model reads one picture: a request with more is refused with 400 invalid_request before anything is held.

Hailuo 3 Max: faster drafts at lower resolution

Hailuo 3 Max is the fast Hailuo tier: Hailuo motion at 480p and 768p, from a prompt or between a first and a last frame. It renders picture only, so plan the sound in the edit, and it takes no subject references. Two jobs suit it:

  • Animating stills. Give it a first and a last frame and it moves between them.
  • Finding the shot. Try the framing and the camera move here, then render the keeper on Hailuo 3.
First and last frame on Hailuo 3 Max
{
  "model": "hailuo-3-max",
  "prompt": "The product turns slowly to face the camera, soft studio light",
  "duration": 5,
  "resolution": "768p",
  "aspect_ratio": "1:1",
  "reference_images": ["https://example.com/product-side.jpg"],
  "end_image": "https://example.com/product-front.jpg"
}

Frames on Hailuo 3 Max carry no picture fee: the clip costs its seconds only.

Next to Seedance 2.5 and Wan 3.0, Hailuo 3 is weighed in Seedance 2.5 vs Wan 3.0 vs Hailuo 3.

What a Hailuo clip costs and how to check it

A clip costs the per-second rate of its resolution times its length, plus the picture fee on Hailuo 3 when you send pictures.

ModelPer second5 s clip10 s clip15 s clip
Hailuo 3, 2K$0.15$0.75$1.50$2.25
Hailuo 3 Max, 480p$0.06$0.30$0.60$0.90
Hailuo 3 Max, 768p$0.093$0.465$0.93$1.395

The price is held on your balance when you submit (reserved_usd). On success it becomes the charge (cost_usd); if the clip fails, the hold goes back and cost_usd is 0. To see the exact price of a body, pictures included, send it to POST /v1/generations/quote first: nothing is held, and the answer says whether your balance covers it (quotes).

Hailuo is one of several video models on the same key. The image to video API guide compares how each one takes a starting picture, and the text to video API guide compares lengths, resolutions and sound across the catalog.

Every tier and length is priced in Hailuo 3 API pricing.

FAQ

How much does the Hailuo API cost?

Hailuo 3 costs $0.15 per second at 2K, so a 5-second clip costs $0.75, plus a fee per picture when you send pictures. Hailuo 3 Max starts at $0.06 per second. A clip that fails costs nothing.

Do I need a MiniMax account or a Hailuo API key?

No. One Frameport API key calls Hailuo 3, Hailuo 3 Max and every other model in the catalog, paid from one balance in dollars.

What is the difference between Hailuo 3 and Hailuo 3 Max?

Hailuo 3 renders at 2K with sound and takes subject references. Hailuo 3 Max renders at 480p and 768p, picture only, from a prompt or a first and a last frame, at a lower price per second.

Can Hailuo 3 keep the same subject in a clip?

Yes. Send up to 3 pictures of the person, product or place with "reference_mode": "identity", and describe what happens in the prompt.

How long can a Hailuo clip be?

5 to 15 seconds on both models, in whole seconds. You can try Hailuo 3 online or open it in the Studio before you write code.

Start building.

Your API key is free. Top up from $10 when you are ready.