# MiniMax Hailuo 02 - API, Playground & Pricing

> Run MiniMax Hailuo 02 via API, Playground, or MCP from $0.10 per run - no provider API key needed. MiniMax's Hailuo 02: lively motion from a prompt or a first frame, up to native 1080P.

Page: https://flymy.ai/models/minimax-hailuo-02/

Models / Text to video

MiniMax Hailuo 02 makes a 6 or 10 second clip from a prompt or from your first frame, with lively motion and close prompt following, up to 1080P. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No MiniMax API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/minimax-hailuo-02) [<> Get API](https://flymy.ai/models/minimax-hailuo-02/#api)

**Provider**

[MiniMax](https://flymy.ai/models/provider/minimax/)

**Category**

[Text to video](https://flymy.ai/models/text-to-video/) / Text and image to video

**Price**

from $0.10 / run ($0.28 at the defaults)

**Resolution**

512P, 768P, 1080P

**Length**

6 or 10 seconds

**Returns**

`output`

**Commercial use**

Allowed

**Model ID**

`flymyai/minimax-hailuo-02`

![MiniMax Hailuo 02 by MiniMax: text and image to video sample, lively 1080p video](https://flymy.ai/img/models/minimax-hailuo-02.jpg)

MiniMax Hailuo 02 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use MiniMax Hailuo 02 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/minimax-hailuo-02.md. Help me connect the FlyMy.AI MCP to this assistant, then run MiniMax Hailuo 02 (flymyai/minimax-hailuo-02) for this task: Make a 6-second video of a fox running through fresh snow at sunrise with MiniMax Hailuo 02 at 1080P.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/minimax-hailuo-02.md)

## What MiniMax Hailuo 02 does

Hailuo 02 is MiniMax's video model with strong instruction following, lively physics and native 1080p. Describe the scene in prompt, up to 2,000 characters, and get a 6 or 10 second clip, or send a first frame in first_frame_image, a link or an upload, and the clip starts from your picture. prompt_optimizer, on by default, lets the model rewrite a short prompt before it draws. resolution is 768P by default: 1080P is the sharpest but takes 6 seconds only, and 512P is the cheapest but needs a first_frame_image. duration is 6 or 10 seconds. Output: output, one MP4 clip.

It is billed per clip, by resolution and length. It does not edit a video or follow a last frame; for newer MiniMax video use Hailuo 2.3 or MiniMax H3.

## MiniMax Hailuo 02 inputs

Every input of `flymyai/minimax-hailuo-02` as its live schema lists them. Returns `output` (array).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/minimax-hailuo-02/#input-prompt) `prompt` | string required Describe the video: the scene, the action and the camera (up to 2,000 characters) |
| [#](https://flymy.ai/models/minimax-hailuo-02/#input-prompt_optimizer) `prompt_optimizer` | boolean optional Default: `true` Let the model rewrite the prompt for a better result (on by default) |
| [#](https://flymy.ai/models/minimax-hailuo-02/#input-duration) `duration` | string optional Allowed: 6, 10 Default: `6` Length of the clip in seconds: 6 or 10 (1080P takes 6 only) |
| [#](https://flymy.ai/models/minimax-hailuo-02/#input-resolution) `resolution` | string optional Allowed: 512P, 768P, 1080P Default: `768P` 512P (needs first_frame_image), 768P or 1080P (6 seconds only) |
| [#](https://flymy.ai/models/minimax-hailuo-02/#input-first_frame_image) `first_frame_image` | file optional Allowed: image file, as a URL or upload Optional first frame: a link or an upload; the clip starts from it. Without it the clip is made from the prompt alone |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Make a 6-second video of a fox running through fresh snow at sunrise with MiniMax Hailuo 02 at 1080P.”** runs `flymyai/minimax-hailuo-02`

**“Write and render a short ad for a reusable water bottle with MiniMax Hailuo 02: three quick shots ending on the product.”** runs `flymyai/minimax-hailuo-02`

**“Animate the photo I attach with MiniMax Hailuo 02: the camera slowly pushes in while the hair moves in the wind.”** runs `flymyai/minimax-hailuo-02`

## MiniMax Hailuo 02 price

From $0.10 per run, depending on resolution and duration. A run at the default settings costs $0.28. A run costs $0.10 to $0.56, depending on resolution and duration. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## MiniMax Hailuo 02 vs similar models

Popular text to video models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Resolution | Length |
|---|---|---|---|---|---|---|
| **MiniMax Hailuo 02** | MiniMax | Text and image to video | from $0.10 / run | $0.28 | 512P, 768P, 1080P | 6 or 10 seconds |
| [Grok Imagine Video 1.5](https://flymy.ai/models/grok-imagine-video-1-5/) | xAI | Text and image to video | from $0.08 / s | $0.70 | 480p, 720p, 1080p | 1 to 15 seconds |
| [Veo 3.1](https://flymy.ai/models/veo31-generate/) | Google | Text and image to video | from $0.80 / run | $3.20 | 720p, 1080p, 4k | 4, 6 or 8 seconds |
| [MiniMax H3 Max Text to Video](https://flymy.ai/models/minimax-h3-max-text-to-video/) | MiniMax | Text to video | from $0.05 / s | $0.40 | 480P, 768P, 1080P | 1 to 15 seconds |

## MiniMax Hailuo 02 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/minimax-hailuo-02/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/minimax-hailuo-02/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in'
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/minimax-hailuo-02",
    payload={
        "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
  },
  "flymyai/minimax-hailuo-02",
);
console.log(response.output_data);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/minimax-hailuo-02",
  "input": {
    "prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
  }
}
```

## Questions about MiniMax Hailuo 02

**Do I need a MiniMax API key for MiniMax Hailuo 02?**

No. MiniMax Hailuo 02 runs on FlyMy.AI's account, so you need no MiniMax key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does MiniMax Hailuo 02 cost?**

From $0.10 per run, depending on resolution and duration. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try MiniMax Hailuo 02 before I write code?**

Yes. Open MiniMax Hailuo 02 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/minimax-hailuo-02, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use MiniMax Hailuo 02 in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Make a 6-second video of a fox running through fresh snow at sunrise with MiniMax Hailuo 02 at 1080P." Your agent reads the inputs with get_model_schema and runs flymyai/minimax-hailuo-02 with run_model.

**What does MiniMax Hailuo 02 need as input?**

MiniMax Hailuo 02 requires prompt; it also takes 4 optional inputs, each listed on this page with its allowed values and default.

**Can I call MiniMax Hailuo 02 from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/minimax-hailuo-02/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More text to video models

A written scene becomes a clip, many with sound generated in the same pass.

### MiniMax H3 Max Text to Video

MiniMax's H3 Max: prompt to video of up to 15 seconds with a generated soundtrack, billed per second.

Text to video / from $0.05 / s

Link: https://flymy.ai/models/minimax-h3-max-text-to-video/

### MiniMax H3 Max Turbo Text to Video

Half-price H3 Max for drafts and volume: prompt to video of up to 15 seconds with sound.

Text to video / from $0.025 / s

Link: https://flymy.ai/models/minimax-h3-max-turbo-text-to-video/

### MiniMax H3 Text to Video

MiniMax H3 from a prompt: native 2K video with audio, billed per second.

Text to video / from $0.08 / s

Link: https://flymy.ai/models/minimax-h3-t2v/

### Grok Imagine Video 1.5

xAI's video model: 1 to 15 seconds with lip-synced sound from text, a first frame or up to 14 references.

Text and image to video / from $0.08 / s

Link: https://flymy.ai/models/grok-imagine-video-1-5/

### Veo 3.1

Google's flagship Veo 3.1 for motion-critical shots, with references and audio.

Text and image to video / from $0.80 / run

Link: https://flymy.ai/models/veo31-generate/

### Seedance 2.0 Text to Video

Seedance 2.0 from text alone: cinematic motion and sound at up to 1080p.

Text to video / from $0.0673 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-text-to-video/

## Go to the source

[MiniMax Hailuo 02 in the playground →](https://app.flymy.ai/models/flymyai/minimax-hailuo-02), [Text to video models →](https://flymy.ai/models/text-to-video/), [MiniMax models →](https://flymy.ai/models/provider/minimax/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
