MiniMax logoMiniMaxVideo

Hailuo 02 Fast (image-to-video) API

Make videos with Hailuo 02 Fast (image-to-video) through MartLLM.

minimax/hailuo-02-fast-image-to-videoConnect to ClaudeGet an API key
Show more

Made by MiniMax. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.

Request

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/hailuo-02-fast-image-to-video",
  "prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
  "duration_seconds": 6,
  "image_url": "https://example.com/photo.jpg"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Set UBERLLM_API_KEY to your key. Ask /v1/video/generations/<job id> every 5 seconds until status is "succeeded", then download the file with your key. A job that fails says why and costs nothing. Full API guide

Options

Tasks
Image to video, Reference pictures
Lengths
6 s, 10 s
Input pictures
Up to 1
Billing unit
per second of video
Model id
minimax/hailuo-02-fast-image-to-video

Try Hailuo 02 Fast (image-to-video)

Settings

Start picture

The same request as the settings on the left, ready to copy.

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/hailuo-02-fast-image-to-video",
  "prompt": "",
  "duration_seconds": 6
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

What the Hailuo 02 Fast (image-to-video) API is good at

  • Clips up to 10 seconds long in one request.
  • An exact first frame from your picture.
  • Up to 1 reference pictures for characters, products or places.

Examples to start from

01

Bring a photo to life

Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged

With your picture

02

Turn a product photo

The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background

With your picture

03

Make a still scene move

The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame

With your picture · 6 s

Hailuo 02 Fast (image-to-video) API parameters

ParameterTypeWhat it does
modelminimax/hailuo-02-fast-image-to-videoRequired
promptstringRequired. What to make.
image_urlstringOne of these. The first frame: an https:// link or a data: URI.
input_imagesarray<string>, Up to 1One of these. Several pictures (https:// links or data: URIs).
duration_seconds6, 10Optional. Length in seconds. Left out: the model's shortest.

Read from GET https://api.martllm.com/v1/models/minimax/hailuo-02-fast-image-to-video: the same rules the API checks every request against.

Hailuo models compared

ModelModel idFrom, a secondUp toLongest
Hailuo 02 Fast (image-to-video)minimax/hailuo-02-fast-image-to-video10 s
Hailuo 02 Standard Text to Videominimax/hailuo-02-standard-text-to-video$0.02810 s
Hailuo 02 Standard Image to Videominimax/hailuo-02-standard-image-to-video$0.0154768P10 s
Hailuo 2.3 Standardminimax/hailuo-2-3-standard-image-to-video$0.0281080p10 s
Hailuo 2.3 Prominimax/hailuo-2-3-pro-image-to-video$0.05041080p10 s
Hailuo 02 Prominimax/hailuo-02-pro$0.05321080p6 s

Hailuo 02 Fast (image-to-video) API FAQ

How much does Hailuo 02 Fast (image-to-video) cost?

Hailuo 02 Fast (image-to-video) is billed at the price shown, which has no MartLLM fee on top. A request that fails costs nothing.

How do I make a video with Hailuo 02 Fast (image-to-video)?

Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "minimax/hailuo-02-fast-image-to-video" and a prompt. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.

Guides

Compare with similar models