# MiniMax Hailuo 02 MCP and API by MiniMax | FlyMy.AI

> MiniMax Hailuo 02 makes 6 or 10 second clips with strong, lively motion and close prompt following, at 512P, 768P or native 1080P.

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

MCP / Models / Text to video

# MiniMax Hailuo 02 MCP: lively 1080p video with no API key

MiniMax Hailuo 02 makes 6 or 10 second clips with strong, lively motion and close prompt following, at 512P, 768P or native 1080P. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use MiniMax Hailuo 02](https://flymy.ai/mcp/models/minimax-hailuo-02/#start) [Inputs and price](https://flymy.ai/mcp/models/minimax-hailuo-02/#inputs)

No API key, from $0.10 / run, Text and image to video, MiniMax, Commercial use

$ 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/mcp/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 10-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/mcp/models/minimax-hailuo-02.md)

## What MiniMax Hailuo 02 does

Hailuo 02 is a high-quality option for short clips from a prompt, known for physics-heavy motion; add first_frame_image to start from your picture. Set duration (6 or 10 seconds) and resolution; prompt_optimizer is on by default.

## 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/mcp/models/minimax-hailuo-02/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/minimax-hailuo-02/#input-prompt_optimizer) `prompt_optimizer` | boolean required Default: `true` |
| [#](https://flymy.ai/mcp/models/minimax-hailuo-02/#input-duration) `duration` | integer required Allowed: 6, 10 Default: `6` |
| [#](https://flymy.ai/mcp/models/minimax-hailuo-02/#input-resolution) `resolution` | string required Allowed: 512P, 768P, 1080P Default: `768P` |
| [#](https://flymy.ai/mcp/models/minimax-hailuo-02/#input-first_frame_image) `first_frame_image` | file optional Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/mcp/models/minimax-hailuo-02/#input-fast_pretreatment) `fast_pretreatment` | boolean optional |

## Ask your agent

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

**“Make a 10-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.

[See usage pricing →](https://flymy.ai/pricing/)

## Call MiniMax Hailuo 02 from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The 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",
    "prompt_optimizer": "true",
    "duration": "6",
    "resolution": "768P"
  }
}
```

### From your code, over HTTP

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' \
  -F 'prompt_optimizer=true' \
  -F 'duration=6' \
  -F 'resolution=768P'
```

## 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-09.

**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 10-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, prompt_optimizer, duration and resolution; it also takes 2 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 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/mcp/models/minimax-h3-t2v/

### MiniMax Text to Video

MiniMax's 720p text-to-video with shot control written straight into the prompt.

Text to video / $0.49 / run

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

### Gemini Omni 1.2 Flash Text to Video

Google's video model with native dialogue and timed directions, from 360p to 4K.

Text to video / from $0.024 / s

Link: https://flymy.ai/mcp/models/gemini-omni-1-2-flash-t2v/

### Wan 3.0 Text to Video

Alibaba's Wan 3.0: text to video up to 30 seconds, with its own soundtrack.

Text to video / from $0.05 / s

Link: https://flymy.ai/mcp/models/wan-3-0-t2v/

### Seedance 2.5 Text to Video

ByteDance's newest text-to-video: multi-beat scenes up to 30 seconds with sound.

Text to video / from $0.10794 / s

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

### Wan 2.7 Text to Video

Wan 2.7 from text: coherent scenes and natural motion in up to 10 seconds.

Text to video / from $0.10 / s

Link: https://flymy.ai/mcp/models/wan-2-7-t2v/

## Go to the source

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

From the FlyMy.AI model catalog of 2026-11-09: inputs from the 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.
