Hailuo 02 Fast
Transform any static image into a captivating, high-quality video clip effortlessly.
API
If you're looking for an API, you can choose from your desired programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import requests
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/hailuo-02-fast"
# Prepare data and files
data = {}
files = {}
data['prompt'] = "sA 3D animated cartoon-style young boy sitting in a cozy recording studio, singing passionately into a professional podcast microphone. He is wearing large headphones, eyes expressive and wide, mouth open mid-song, showing emotion. One hand is lifted slightly as if feeling the music. There is a laptop, a sound mixer, and a coffee mug on the desk. Warm lighting and acoustic foam panels in the background. The scene feels lively, joyful, and full of musical energy."
data['go_fast'] = True
data['duration'] = "6"
data['prompt_optimizer'] = True
# For parameter "first_frame_image", you can send a raw file or a URI:
# files['first_frame_image'] = open('IMAGE_PATH', 'rb') # To send a file
data['first_frame_image'] = 'https://segmind-resources.s3.amazonaws.com/output/b372ccd3-7844-4c21-b1cb-4fc3c2e68db6-9d88374d-77b3-45d0-9bde-17d039e1bf7a.jpeg' # To send a URI
headers = {'x-api-key': api_key}
# If no files, send as JSON
if files:
response = requests.post(url, data=data, files=files, headers=headers)
else:
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
Provides the text scenario for video generation. Use creative or specific prompts to tailor outputs.
Toggle to generate videos faster with slightly less quality. Use 'true' for quick drafts, 'false' for quality.
Defines the length of the video. Choose 6 for shorter and 10 for longer scenarios.
Allowed values:
Enhance the prompt's effectiveness. Use 'true' for better quality prompts.
Sets the starting image and aspect ratio for the video. Select a high-quality URL for better results.
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Resources to get you started
Everything you need to know to get the most out of Hailuo 02 Fast
MiniMax Hailuo 02: Quick-Start Guide and Best Practices
MiniMax Hailuo 02 turns a single image into a 6- or 10-second video at 768p or 1080p (25 fps). The following tips and parameter presets will help you get the most out of each use case.
Core Parameters Overview
- •first_frame_image (required): URL of your 16:9, high-res source (PNG, JPEG, WebP).
- •prompt (required): Describe the scene and motion clearly (“A vintage car cruises along a coastal road at sunset”).
- •duration (optional): 6 or 10 seconds.
- •go_fast (optional, advanced):
true
for draft-speed (≈2× faster),false
for max quality. - •prompt_optimizer (optional, advanced):
true
to auto-refine prompts.
1. Social Media Clips
Use case: eye-catching Instagram Reels, TikTok videos, Stories.
Recommended settings:
- •duration:
6
(keeps attention tight) - •go_fast:
false
(ensure smooth final), or toggletrue
for rough drafts - •prompt_optimizer:
true
(clarifies motion focus) - •first_frame_image: high-contrast scenes (sunsets, urban nightscapes)
- •Prompt example:
“A golden retriever runs toward the camera across a sunlit meadow, gentle pan from left to right.”
2. Marketing & Advertising
Use case: product teasers, banner animations, hero visuals.
Recommended settings:
- •duration:
10
(more time to showcase details) - •go_fast:
false
- •prompt_optimizer:
true
- •first_frame_image: crisp, studio-lit product shots
- •Prompt example:
“A sleek smartwatch rotates slowly against a dark background, soft spotlight sweep across face.”
3. Prototyping & Storyboarding
Use case: rapid scene drafts for pitches, design reviews.
Recommended settings:
- •duration:
6
- •go_fast:
true
(prioritize speed) - •prompt_optimizer:
false
(raw prompt control) - •first_frame_image: concept art or line drawing
- •Prompt example:
“A futuristic cityscape at dawn, camera pushes forward to reveal flying vehicles.”
4. Interactive Apps & Games
Use case: NPC loops, environment previews, UI backgrounds.
Recommended settings:
- •duration:
6
or10
(depending on loop length) - •go_fast:
true
for iteration, switch tofalse
for release - •prompt_optimizer:
true
- •first_frame_image: game assets or concept renders
- •Prompt example:
“A medieval knight stands in a torch-lit hall, slow 360° turn to the right.”
Pro Tips
- •Always use a high-quality, 16×9 image URL for best texture detail.
- •Be explicit about motion: direction, speed, focal point.
- •For final exports, disable
go_fast
and rely onprompt_optimizer
to polish language. - •Mix and match
duration
based on narrative needs: keep social media short, ads longer.
With these presets you can dial in speed, quality, and creativity for every project—unlocking fluid, professional image-to-video results with MiniMax Hailuo 02.
Other Popular Models
Discover other models you might be interested in.
sdxl-img2img
SDXL Img2Img is used for text-guided image-to-image translation. This model uses the weights from Stable Diffusion to generate new images from an input image using StableDiffusionImg2ImgPipeline from diffusers

idm-vton
Best-in-class clothing virtual try on in the wild

sdxl1.0-txt2img
The SDXL model is the official upgrade to the v1.5 model. The model is released as open-source software

sd2.1-faceswapper
Take a picture/gif and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training
