Hailuo 02 API

Turn ideas, scripts, or single images into smooth short videos with Hailuo 02 API, ready to drop into TikTok, Reels, or any creator‑focused app.

A man picks up a book [Pedestal up], then reads [Static shot]

Parameters
Quality
768p
Duration
6 seconds
Mode
T2V / I2V
Prompt Optimizer
Enabled
Base Price (768p/6s)
17 Credits
Sample Result

No sample available

61 (suggested: 2,000)

Optional. 1 image=I2V, 2 images=FLF. Max 20MB each

Click to upload or drag and drop

Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 20MB; Maximum files: 2

512p only for I2V, 1080p only supports 6s

10s not available for 1080p

Click Generate to see preview

History

Max 20 items

0 running · 0 completed

Your generation history will appear here

MiniMAX Hailuo 02 API for Motion video creation

Generate scroll‑stopping short videos from text prompts or images, using Hailuo 02 API to keep costs low while still getting cinematic motion and social‑ready quality.

Social media preview showcase of Hailuo 02 API feature 1

What you can build with Hailuo 02 API

Text to video for scripts and hooks

Use Hailuo 02 API to turn short hooks, ad copy, or UGC‑style scripts into 6–10 second videos that feel native to TikTok, Reels, and Shorts. Instead of spending hours planning shoots, you paste a prompt, add a few camera hints, and get a ready‑to‑edit clip you can overlay captions and music on. This works especially well for testing many hooks in parallel and quickly spotting winners while keeping your video cost predictable.

Text prompt to short video showcase of Hailuo 02 API feature 2

Image to video for product and brand shots

If you already have product photos, logos, or key visuals, Hailuo 02 API can animate them into short product loops and brand stings. You upload a single image, describe the motion you want, and the model turns it into a smooth 768p or 1080p video with realistic physics and camera moves. This is ideal for Amazon listings, landing pages, or feed posts where static images underperform but full studio shoots are too expensive or slow.

Image to product loop showcase of Hailuo 02 API feature 3

Campaign testing at scale with lower video cost

Because Hailuo 02 is priced below newer models, you can treat it as your testing engine for creative experiments. Run dozens of variations for thumbnails, angles, and hooks without worrying that every failed idea burns a big budget. Reserve high‑end models for proven concepts, while Hailuo 02 API handles the day‑to‑day grind of ad testing, organic content, and quick iterations in your SaaS or internal tools.

Marketing campaign test showcase of Hailuo 02 API feature 4

Why choose Hailuo 02 API

Hailuo 02 API gives you a reliable balance of cost, quality, and control, making it ideal for always‑on social content and high‑volume SaaS workflows.

Stable output for everyday social content

Hailuo 02 API is designed for repeatable, short‑form video generation, so you can plug it into daily posting and automation workflows without constant tuning or breakage.

Better economics for heavy experimentation

Compared with newer models, Hailuo 02 typically comes with lower per‑video costs, which matters when you are testing dozens of hooks or giving thousands of users access.

Creator‑friendly control without complexity

You can keep prompts simple while still nudging camera motion, length, and style, so marketers, creators, and founders can ship good‑enough videos without learning complex tools.

How to use Hailuo 02 API step by step

Follow these simple steps to turn text or images into share‑ready short videos with Hailuo 02 API inside your product or workflow.

1

Prepare your prompts or images

Collect the hooks, product descriptions, or scripts you want to test, plus any key product images that will become the starting frame for your Hailuo 02 API videos.

2

Send a video generation request

From your app or backend, call the Hailuo 02 API endpoint with text, optional image, desired resolution, and duration, then receive a task ID representing the new video job.

3

Poll and fetch the final video

Use the task ID to poll the status until the video is ready, then download the MP4 file, attach captions or music, and publish it to your social channels or client dashboard.

Key features of Hailuo 02 API for creators and SaaS

Combine cost‑efficient video generation with enough control to keep your brand and campaigns on‑brief, all through the Hailuo 02 API integration in Evolink AI.

T2V & I2V

Text‑to‑video and image‑to‑video in one API

Hailuo 02 API supports both text‑to‑video and image‑to‑video, so you can serve beginners who just type a prompt and power users who upload polished product shots or brand assets.

Flexible resolution

768p and 1080p outputs for different channels

Use 768p output for fast social media testing and lightweight exports, and reserve 1080p Hailuo 02 API runs for hero creatives, landing pages, and paid campaigns that need extra sharpness.

Camera control

Camera motion and scene control with simple prompts

Guide camera movement using natural language, from slow pans around a product to dynamic pushes, so your Hailuo 02 API videos feel directed instead of randomly animated.

Affordable runs

Balanced cost structure for daily video use

Because Hailuo 02 is cheaper than newer models, you can safely generate many short clips per day without fear of runaway costs or having to limit experiments in your SaaS app.

Social‑ready

Great fit for TikTok, Reels, and Shorts workflows

Hailuo 02 API is tuned for short, visually clear clips, making it ideal for UGC‑style content, hooks, and B‑roll that your users can instantly post to TikTok, Reels, and Shorts.

Built for devs

Developer‑friendly integration via Evolink AI

Evolink AI wraps Hailuo 02 API into a clean, documented interface with clear pricing, so you can focus on building features instead of wrestling with low‑level video infrastructure.

Hailuo 02 API vs Seedance 1.0 Pro, Kling 1.5 Pro, and Sora

Compare Hailuo 02 API with other flagship AI video models on cost, duration, and ideal use cases before choosing a backbone for your product.

ModelDurationResolutionPriceStrength
Hailuo 025–10 second short‑form clips focused on TikTok, Reels, and ShortsTypically 768p with 1080p options depending on provider and plan$0.08 per second (about $0.48 for a 6-second video)Cost‑efficient daily driver for high‑volume social content, UGC tools, and SaaS video features where speed and volume matter most
Seedance 1.0 Pro (ByteDance)5–10 second clips tuned for rich motion and narrative transitionsUp to 1080p Pro output with strong detail and smooth camera workAround $0.48 per 5s 1080p video on some APIs (~$0.0968 per second) with Lite tiers starting near $0.18 per 5s at lower resolutionGreat choice when you need ByteDance‑grade motion quality for product ads, trailers, or hero creatives and can pay a higher per‑second rate
Kling 1.5 Pro5–10 second clips for cinematic, physically consistent scenesTypically 1080p output with advanced motion and scene coherence$0.10 per second (for example, a 5-second video costs about $0.50 and a 10-second video about $1.00)Strong option for visually demanding campaigns, branded videos, and client work where you want premium look but still transparent API pricing
SoraLonger high‑fidelity clips, often 5–15 seconds or more depending on tierHigh‑resolution cinematic output aimed at production‑grade useRepresentative guides put Sora around $0.10–$0.30 per second depending on model tier and resolution, placing it at the top end of pricingBest suited for hero campaigns, commercials, and flagship launch assets where maximum realism is worth a significantly higher per‑second cost

Hailuo 02 API: frequently asked questions

Everything you need to know about the product and billing.

Hailuo 02 API is a video generation interface built on MiniMax’s Hailuo 02 model and integrated by Evolink AI so you can call it through a simple, unified API. You send a text prompt or a single image, and the Hailuo 02 video model returns a short HD clip that works well for social media, marketing, and product experiences. This setup is designed for developers, SaaS founders, and creators who want to add AI video generation to their apps, tools, or workflows without dealing directly with low-level MiniMax infrastructure.
In a typical setup, your app collects a user prompt, product description, or image, then sends that data to the Hailuo 02 API endpoint. The API creates a generation task and returns an ID. Your backend periodically checks this ID until the video is finished, usually within a few minutes, and then retrieves the final MP4 file. From there, you can auto‑add captions, soundtrack, or branding overlays, or simply hand the video back to the user for editing and posting.
Newer models like Hailuo 2.3 can deliver higher fidelity and more advanced motion, but they also tend to cost more per video. Hailuo 02 API gives you a sweet spot: strong physics, smooth motion, and social‑ready clarity at a lower price point. This makes it ideal for high‑volume testing, evergreen content, and creator tools where you care more about speed, volume, and experiment count than chasing every last bit of visual detail in each clip.
Yes, Hailuo 02 API is particularly well suited to TikTok, Reels, and Shorts because it focuses on short, visually impactful clips rather than long cinematic scenes. You can quickly generate hooks, B‑roll, simple product showcases, or animated backgrounds that look strong on mobile screens. Most creators will resize, caption, and remix the output anyway, so Hailuo 02’s balance of speed, cost, and quality tends to be more valuable than squeezing out tiny quality gains from heavier models.
Exact pricing depends on the platform and plan you use, but Hailuo 02 is generally cheaper per run than newer Hailuo versions. Many providers use a pay‑per‑video or credit‑based structure, so you only pay when you generate content. This makes it easy to predict costs per campaign or per user seat inside your SaaS product. For high‑volume use, you can often negotiate bulk or subscription‑style packages that keep your effective cost per video comfortably low.
Yes. One of the main reasons to integrate Hailuo 02 API into your product is to hide the complexity from non‑technical users. You can expose a very simple interface—like a prompt box, an optional image upload, and a few style presets—while your backend calls the Hailuo 02 API behind the scenes. Creators never see tokens, endpoints, or JSON. They just see that they can type an idea and receive a usable short video a few minutes later.
Brand consistency comes from how you design prompts, presets, and templates around the Hailuo 02 API rather than the raw model alone. You can lock in certain visual styles, camera behaviors, or color schemes in the prompt patterns you send. You can also pair Hailuo 02 with overlays, fonts, and LUTs inside your app, so the base video always emerges with your brand’s look, even when individual users write very different prompts and ideas.
Yes. A common pattern is to use Hailuo 02 API for early‑stage creative exploration and batch testing, then escalate successful concepts to newer or more expensive models for final production. Evolink AI can act as a routing layer, letting you choose Hailuo 02 for budget‑friendly runs and switch to more advanced models only when needed. This layered approach keeps your total video budget under control while still letting you publish standout hero content.
POST
/v1/videos/generations

Create Video

Hailuo 02 supports T2V, I2V, FLF video generation.

Asynchronous processing mode, use the returned task ID to .

Request Parameters

modelstringRequiredDefault: MiniMax-Hailuo-02

Video generation model name.

ExampleMiniMax-Hailuo-02
promptstringOptional

Text prompt describing the video content and camera movement.

Notes
  • Max 2000 characters
  • T2V: Required
  • I2V/FLF: Optional
ExampleA cinematic shot of a cyberpunk city [Pan right]

Supported Camera Commands:

[Pan left][Pan right][Tilt up][Tilt down][Zoom in][Zoom out][Push in][Pull out][Truck left][Truck right][Pedestal up][Pedestal down][Static shot][Tracking shot][Shake]
image_urlsarrayOptional

List of image URLs for I2V or FLF modes.

Notes
  • Limits: < 20MB, Short side > 300px
  • Ratio: 2:5 ~ 5:2
  • T2V: 0 images (Empty array)
  • I2V: 1 image
  • FLF: 2 images (First & Last Frame)
Example["https://example.com/image.jpg"]
qualitystringOptionalDefault: 768p

Video resolution/quality.

ValueDescription
512pStandard definition (I2V only)
768pHigh definition (Default)
1080pFull HD (Max duration 6s)
Example1080p
durationintegerOptionalDefault: 6

Video duration in seconds.

ValueDescription
6Standard duration (Default)
10Extended duration (Not supported for 1080p)
Example6
model_paramsobjectOptional

Model specific parameters.

Example{"prompt_optimizer": true}

Request Example

{
  "model": "MiniMax-Hailuo-02",
  "prompt": "A cat playing piano [Zoom in]",
  "image_urls": ["https://example.com/image.jpg"],
  "quality": "1080p",
  "duration": 6,
  "model_params": {
    "prompt_optimizer": true
  }
}

Response Example

{
  "task_id": "106916112212032",
  "status": "pending",
  "created_at": 1703750400
}