Skip to main content
MiniMax Hailuo 02 supports text-to-video, image-to-video, and generation from first and last frames.

Model parameters

The following video API parameters are not supported:
  • negative_prompt
  • with_audio
  • size
  • quality
  • aspect_ratio
  • fps
See the official Hailuo 02 API documentation.
Use GeekAI’s image for the first frame (Hailuo’s first_frame_image) and image_tail for the last frame (Hailuo’s last_frame_image). Both accept image URLs or Base64 image data. Hailuo 02 accepts resolution values of 512P, 768P, and 1080P (default: 768P). Hailuo 02 accepts a duration of 6 or 10 seconds (default: 6). At 1080P, only 6 seconds is supported.

Pricing

Hailuo 02 pricing depends on duration and resolution: For discounted GeekAI channels, multiply the listed rate by the channel multiplier. On the high-availability, speed-first channel with multiplier 0.8, a 6-second video at 768P costs 2 x 0.8 = 1.6 CNY; at 1080P it costs 3.5 x 0.8 = 2.8 CNY.

Text to video

Describe the video in text:
[Pedestal up] and [Static shot] are official camera controls. Include camera instructions in prompt in square brackets for precise camera movement. See the official documentation for more controls. The JSON response contains the generated media URL:
Image-to-video uses the same response format as text-to-video.

Image to video

First frame Pass one image in image to generate a video starting from that frame:
First and last frames Pass the first and last frame images in image and image_tail:

Asynchronous tasks

Video generation can take a while. We recommend GeekAI’s asynchronous workflow. The video API uses async to control asynchronous generation. The default, false, waits for the finished video. Set it to true to receive a task ID you can poll. Follow the asynchronous task example to retrieve the result.