Customize your input with more control.
Customize your input with more control.
Type # to reference inputs.
Hint: Drag and drop image files from your computer, images from web pages, paste from clipboard (Ctrl/Cmd+V), or provide a URL. Accepted file types: jpg, jpeg, png, webp, gif, avif, heic, heif

Hint: Drag and drop image files from your computer, images from web pages, paste from clipboard (Ctrl/Cmd+V), or provide a URL. Accepted file types: jpg, jpeg, png, webp, gif, avif, heic, heif
Customize your input with more control.
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.
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.
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.
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.
Create compelling video content from still images with features like:
Setting up Hailuo AI 02 takes just a few minutes. Here's how to begin:
bash# JavaScript/Node.js npm install --save @fal-ai/client # Python pip install fal-client
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"
Here's a simple example of generating video from an image:
javascriptimport { 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" } });
The model supports several parameters to fine-tune your video output:
javascriptconst 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" } });
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 });
To achieve optimal results with Hailuo AI 02:
prompt_optimizer feature for improved resultsImplement robust error handling in your applications:
javascripttry { 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 }
Upload local images using the file storage API:
javascriptimport { 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" } });
Our transparent, usage-based pricing scales with your needs:
View detailed pricing or contact sales for enterprise solutions.
Access these resources for additional help:
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.