MiniMax Hailuo 02 [Standard] (Image to Video) Image to Video
Input
Hint: you can drag and drop file(s) here, or provide a base64 encoded data URL Accepted file types: jpg, jpeg, png, webp, gif, avif

Customize your input with more control.
Result
For each second of video generated at 768P, it will cost $0.045/sec. For each second of video generated at 512P, it will cost roughly $0.017/sec. A single 6 second 768p video will cost $0.27/video.
Logs
Readme
Hailuo AI 02: Professional Image-to-Video Generation
Transform static images into dynamic, fluid video content with Hailuo AI 02, a state-of-the-art image animation model designed for creators and developers who need professional-quality video generation.
Overview
Hailuo AI 02 brings your images to life through advanced AI motion synthesis. Whether you're creating content for social media, developing interactive applications, or producing marketing materials, this model delivers smooth, natural-looking animations from single images.
Key Capabilities
Create compelling video content from still images with features like:
- Natural motion synthesis that preserves image quality
- Support for 768p resolution at 25fps
- Fast processing (approximately 4 minutes)
- Support for various image formats (JPG, JPEG, PNG, WebP, GIF, AVIF)
- Consistent output quality for professional applications
Getting Started
Setting up Hailuo AI 02 takes just a few minutes. Here's how to begin:
- Install the client library for your preferred language:
bash
# JavaScript/Node.js npm install --save @fal-ai/client # Python pip install fal-client
- Configure your authentication:
javascript
// JavaScript import { fal } from "@fal-ai/client"; fal.config({ credentials: "YOUR_FAL_KEY_HERE" });
python
# Python import os os.environ["FAL_KEY"] = "YOUR_FAL_KEY_HERE"
Basic Implementation
Here's a simple example of generating video from an image:
javascript
import { fal } from "@fal-ai/client"; const result = await fal.subscribe("fal-ai/minimax/hailuo-02/standard/image-to-video", { input: { image_url: "YOUR_IMAGE_URL", prompt: "Describe the motion you want to add" } });
Advanced Usage
The model supports several parameters to fine-tune your video output:
javascript
const result = await fal.subscribe("fal-ai/minimax/hailuo-02/standard/image-to-video", { input: { image_url: "https://your-image-url.jpg", prompt: "A gentle breeze moving through the scene", prompt_optimizer: true, duration: 6, // seconds resolution: "768P" } });
Queue-Based Processing
For handling asynchronous generation:
javascript
// Submit request const { request_id } = await fal.queue.submit("fal-ai/minimax/hailuo-02/standard/image-to-video", { input: { image_url: "YOUR_IMAGE_URL", prompt: "Your motion description" }, webhookUrl: "https://optional.webhook.url/for/results" }); // Check status const status = await fal.queue.status("fal-ai/minimax/hailuo-02/standard/image-to-video", { requestId: request_id, logs: true }); // Get result const result = await fal.queue.result("fal-ai/minimax/hailuo-02/standard/image-to-video", { requestId: request_id });
Best Practices
To achieve optimal results with Hailuo AI 02:
- Provide high-quality source images with clear subjects
- Write descriptive prompts that specify the type of motion desired
- Use the
`prompt_optimizer`
feature for improved results - Ensure images meet the specifications:
- Aspect ratio between 2:5 and 5:2
- Minimum 300px on shorter side
- Maximum file size: 20MB
- Monitor API response times and implement appropriate error handling
Technical Specifications
- Input Format: JPG, JPEG, PNG, WebP, GIF, AVIF
- Output Format: MP4 video
- Resolution: 768P (Standard) or 1080P (Pro)
- Frame Rate: 25 fps
- Processing Time: ~4 minutes (Standard), ~8 minutes (Pro)
- Maximum Video Length: 6 seconds
Error Handling
Implement robust error handling in your applications:
javascript
try { const result = await fal.subscribe("fal-ai/minimax/hailuo-02/standard/image-to-video", { input: { image_url: imageUrl, prompt: "Your motion description" } }); } catch (error) { console.error("Video generation failed:", error.message); // Implement appropriate fallback behavior }
File Upload Support
Upload local images using the file storage API:
javascript
import { fal } from "@fal-ai/client"; const file = new File([imageData], "image.jpg", { type: "image/jpeg" }); const url = await fal.storage.upload(file); const result = await fal.subscribe("fal-ai/minimax/hailuo-02/standard/image-to-video", { input: { image_url: url, prompt: "Your motion description" } });
Available Models
- Hailuo-02 Standard: 768P resolution, faster processing
- Hailuo-02 Pro: 1080P resolution, higher quality
- Video-01: Previous generation model
Pricing and Usage
- Standard version (768P): $0.045 per second of video generated
- Pro version (1080P): $0.08 per second of video generated
- Example: A 6-second Standard video costs $0.27
Our transparent, usage-based pricing scales with your needs:
- No subscription necessary
- Pay only for what you generate
- No hidden fees or minimum commitments
View detailed pricing or contact sales for enterprise solutions.
Support and Resources
Access these resources for additional help:
- API Documentation
- General fal.ai Documentation
- Community Forums
- Technical Support
Get started with Hailuo AI 02 today and bring your static images to life with professional-quality video animation. Create your API key in the dashboard to begin experimenting with the capabilities of this powerful image-to-video solution.