Hailuo API / for AI video generation with MiniMax Hailuo 2.3

Generate text-to-video, image-to-video, and subject-reference videos through PiAPI with Hailuo v2.3, Hailuo v2.3-fast, API docs, pricing, and free credits for new users.

Hailuo API overview

Build AI video generation with Hailuo 2.3 via PiAPI

Hailuo API is a video generation API for MiniMax Hailuo models, available through PiAPI. It lets developers generate text-to-video, image-to-video, and subject-reference videos using Hailuo v2.3 and Hailuo v2.3-fast, with async task creation, pricing by generation, and free credits for new PiAPI users.

Hailuo API quick facts

Provider
PiAPI
Model family
MiniMax Hailuo
Supported models
Hailuo v2.3, Hailuo v2.3-fast
Inputs
Text prompts, images, subject references
Outputs
Short AI-generated videos
Duration
6s and 10s
Resolution
768p and 1080p
Pricing
From $0.16 per generation

How Hailuo API works

  1. 1Submit a video task with a prompt and optional image or subject reference.
  2. 2Choose Hailuo v2.3 or Hailuo v2.3-fast based on quality, speed, and cost.
  3. 3Run the generation asynchronously while your application continues working.
  4. 4Poll for task status or use callbacks to retrieve the completed video URL.

Hailuo v2.3 vs Hailuo v2.3-fast

ModelBest forDurationResolutionPrice
Hailuo v2.3-fastLower-latency tests and cost-sensitive video generation6s, 10s768p, 1080pFrom $0.16
Hailuo v2.3Balanced quality for production video generation6s, 10s768p, 1080pFrom $0.23

Example Hailuo API request

cURL

Use PiAPI to create an async Hailuo video generation task, then retrieve the completed video URL from the task result.

curl --request POST https://api.piapi.ai/api/v1/task \
  --header "x-api-key: YOUR_PIAPI_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "hailuo-v2.3",
    "task_type": "video_generation",
    "input": {
      "prompt": "A cinematic product video of a sneaker rotating under studio lights"
    }
  }'

Hailuo Video Generation Playground

Generate videos from text or images with Hailuo v2.3 and v2.3-fast.

Configuration

Text prompt for video generation (max 2000 characters).

Result

Idle

This shows preset sample previews. Sign in and click 'Generate video' to create your own.

Logs

No logs yet

Features

Text to Video (T2V-01)
Simply enter your text prompts and stunning videos will be generated by Hailuo AI! Try through our Playground or through the Hailuo API!
Image to Video (I2V)
Want to generate videos based on your images? Drag and drop your image along with a textual prompt and see I2V-01 (and I2V-01-live) in action!
Subject Reference (S2V)
Upload a reference image and describe your scene, and get ready to be amazed with revolutionizing character consistency!
Recreate Function Supported
Like a specific clip generated and want to try again with a different spin? We support Hailuo's recreate feature through the API endpoint.
Bulk Generation Available
Looking to perform a large amount of text-to-video generation tasks for your own site or your own database? Contact us on Discord with your prompts and we will get back to you as soon as possible!
Dual API Service Modes
Host-your-own-account mode and Pay-as-you-go mode are both supported for Hailuo API. Choose the best approach for your development needs or even mix and them both for stability and cost.
Asynchronous API Calls
Our asynchronous functionality allows users to submit tasks while their program continues to run without interruption until the callback function is triggered.
Watermark Removal
By subscribing to PiAPI's Premium Subscription Plan, users will be able to remove the "Hailuo" watermark on the bottom right corner of the generated video.
Priority Generations
With PiAPI's Premium Subscription Plan, users benefit from top-priority generations, making it perfect for peak load and high demand periods!
Commercial Use
Subscribers to the Premium Plan are allowed to use the generated video outputs for commercial purposes to suit their needs.

Hailuo 2.3 Pricing

Simple pay-as-you-go pricing for the latest Hailuo 2.3 models.

Best quality · balanced price

Price (USD)DurationResolution
$0.236s768p
$0.4510s768p
$0.406s1080p

Our blog

Check out our blog for related contents!

Frequently asked questions

What is Hailuo AI Video Generator?

Hailuo Video AI is developed by Minimax, an AI video model swiftly converts text prompts into 6-second high-quality videos, offering 720p resolution at 25 FPS. It's an efficient solution for creating engaging video content.

What is the Hailuo API?

Hailuo Video API is provided by PiAPI to enable developers to integrate the video generation capability of Hailuo into their own APP!

What type of videos can I make with the Hailuo AI?

You can effortlessly create all sorts of stunning videos with the Hailuo AI Video Generator, transforming your ideas into captivating visuals in just minutes!

What are the current limitations with regarding to video generated?

As good as the current model is now, there are still some limitations. For example, in complex, action-packed scene such as a car drifting on snow-covered roads, object morphing can occur, Occasionally, objects that are supposed to be moving remain static. Accurate text displaying also requires further improvement.

Can you offer the video preview feature during the generation process?

Currently Hailuo does not offer this feature as part of the web application, but when they do, PiAPI will integrate this feature into our supported features.

Can I use videos generated from the Hailuo API for commercial purposes?

PiAPI does not put any restrictions on the usage of the generated video. Please also refer to terms of use from Hailuo for more details.

Are there refunds?

No, we do not offer refunds. But when you first sign up for an account on PiAPI's Workspace, you will be given free credits to try our API before making payments!

How can I get in touch with your team?

Please email us at contact@piapi.ai - we'd love to talk more regarding our product offering!