Loading playground
Input
Additional Settings
Customize your input with more control.
Result
Idle
Customize your input with more control.
Customize your input with more control.
Customize your input with more control.
For each second of video generated, it will cost $0.08/sec. A single 6 second video will cost $0.48/video.
For each second of video generated, it will cost $0.08/sec. A single 6 second video will cost $0.48/video.
Transform your creative vision into stunning video content with Hailuo AI 02, a state-of-the-art text-to-video generation model optimized for professional content creators and developers.
Hailuo AI 02 converts text descriptions into high-quality video clips, offering unparalleled control over video generation. Whether you're creating social media content, marketing materials, or prototyping video concepts, Hailuo delivers professional results with minimal effort.
Key Capabilities:
Setting up Hailuo AI 02 takes just a few minutes. Here's how to begin:
bashnpm install --save @fal-ai/client # or pip install fal-client
javascriptimport { fal } from "@fal-ai/client"; fal.config({ credentials: "YOUR_FAL_KEY_HERE" });
javascriptconst result = await fal.subscribe("fal-ai/minimax/hailuo-02/pro/text-to-video", { input: { prompt: "A serene mountain landscape with clouds rolling over peaks at sunset" } });
The model accepts several parameters to fine-tune your video output:
javascriptconst result = await fal.subscribe("fal-ai/minimax/hailuo-02/pro/text-to-video", { input: { prompt: "Your detailed prompt with [camera movements]", prompt_optimizer: true, first_frame_image: "https://your-image-url.jpg", duration: 6, // or 10 seconds resolution: "1080P" // or "768P" } });
Add professional camera movements using square brackets in your prompt:
[Pan left/right][Truck left/right][Push in/Pull out][Pedestal up/down][Tilt up/down][Zoom in/out][Shake][Tracking shot][Static shot]You can combine up to 3 movements per prompt, e.g., [Truck left, Pan right, Zoom in].
For handling asynchronous generation:
javascript// Submit request const { request_id } = await fal.queue.submit("fal-ai/minimax/hailuo-02/pro/text-to-video", { input: { prompt: "Your prompt" }, webhookUrl: "https://optional.webhook.url/for/results" }); // Check status const status = await fal.queue.status("fal-ai/minimax/hailuo-02/pro/text-to-video", { requestId: request_id, logs: true }); // Get result const result = await fal.queue.result("fal-ai/minimax/hailuo-02/pro/text-to-video", { requestId: request_id });
Performance Metrics:
Input Requirements:
For optimal results when using Hailuo AI 02:
prompt_optimizer feature for improved generation qualityfirst_frame_image, ensure it matches your prompt descriptionImplement robust error handling in your applications:
javascripttry { const result = await fal.subscribe("fal-ai/minimax/hailuo-02/pro/text-to-video", { input: { prompt: "Your prompt" } }); } catch (error) { console.error("Video generation failed:", error.message); // Implement appropriate fallback behavior }
Our transparent, usage-based pricing scales with your needs:
View detailed pricing or contact sales for enterprise solutions.
MiniMax offers multiple video generation models:
Hailuo AI 02 excels in various professional applications:
Marketing and Advertising
Content Creation
Education and Training
We're here to help you succeed with Hailuo AI 02:
Get started today and revolutionize your video content creation workflow with Hailuo AI 02.