VARIANTE · MiniMax / Hailuo

Hailuo hailuo-02-text-to-video-pro API

A model variant exposed through RunAPI's unified AI API.

Operational · video · Commercial use supported
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/hailuo -g
The -g flag installs globally so every project picks it up.
Or paste this prompt to your AI agent:
Install the Hailuo skill for me:

1. Clone https://github.com/runapi-ai/hailuo
2. Copy the skills/hailuo/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
Switch variant
RESUMEN

Hailuo hailuo-02-text-to-video-pro is available through the same RunAPI auth, SDKs, and agent skill workflow.

  • Unified endpoint
  • SDK snippets
  • Agent install path
  • Las generaciones fallidas no se cobran
PRECIOS

PRECIOS

Las generaciones fallidas no se cobran
Text to video
$0.57 / video
FICHA TÉCNICA

FICHA TÉCNICA

Model ID hailuo-02-text-to-video-pro
Proveedor MiniMax
Modalidad video
Task type asynchronous
Facturación call
Endpoint /api/v1/hailuo/text_to_video
Commercial Yes
Status Operational
INICIO RÁPIDO

Quickstart — hailuo-02-text-to-video-pro

runapi.ai
curl -X POST https://runapi.ai/api/v1/hailuo/text_to_video \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "hailuo-02-text-to-video-pro",
  "prompt": "Generate a 5-second clip of a glass marble rolling across a wooden desk and falling off the edge."
}'
import { HailuoClient } from "@runapi.ai/hailuo";

const client = new HailuoClient();
const result = await client.textToVideo.run({
    model: "hailuo-02-text-to-video-pro",
    prompt: "Generate a 5-second clip of a glass marble rolling across a wooden desk and falling off the edge.",
});
require "runapi/hailuo"

client = RunApi::Hailuo::Client.new
result = client.text_to_video.run(
    model: "hailuo-02-text-to-video-pro",
    prompt: "Generate a 5-second clip of a glass marble rolling across a wooden desk and falling off the edge."
)
@runapi.ai/hailuo v1
CÓMO FUNCIONA

How to use hailuo-02-text-to-video-pro

01

Choose endpoint

Pick the endpoint and copy the SDK snippet.

02

Pass model ID

Use this variant ID in the request body.

03

Run task

Submit the request and store the returned task ID.

04

Collect output

Poll or receive the callback when the task finishes.

DIFERENCIAS

How hailuo-02-text-to-video-pro compares

VS HAILUO-02-IMAGE-TO-VIDEO-PRO

1080p native text-to-video output

1080p image-anchored video; image sets first frame

VS HAILUO-02-IMAGE-TO-VIDEO-STANDARD

1080p native text-to-video output

768p image-anchored video; budget tier

VS HAILUO-02-TEXT-TO-VIDEO-STANDARD

1080p native text-to-video output

768p text-to-video; ~50% cheaper than Pro

CASOS DE USO

Where to use this variant

Product video

Generate short production-ready clips from prompts.

Creative iteration

Test multiple directions quickly.

Agent workflows

Let agents create video assets via tool calls.

FAQ

Frequently asked questions about hailuo-02-text-to-video-pro

How do I select hailuo-02-text-to-video-pro?

Pass the model ID shown in the quickstart.

Is pricing usage-based?

Yes. Pricing is metered per call or unit.

EMPEZAR

Start with Hailuo today.