Models

Loading...

MiniMax Hailuo-02 API

Everyday 1080p video with natural movement.

Endpoint

POST https://api.hedra.com/v3/models/minimax-hailuo-02

Example request

curl -X POST "https://api.hedra.com/v3/models/minimax-hailuo-02" \
  -H "Authorization: Key $HEDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'

Parameters

num_outputsinteger

Number of outputs generated per job. Only 1 is supported.

promptstringrequired

Generation prompt. At most 2000 characters.

resolutionstring

Output resolution.

duration_msintegerrequired

Duration in ms.

start_image

Start frame (image-to-video). The output video follows this image's aspect ratio. At most 20 MB.

end_image

End frame (first-last-frame-to-video). At most 20 MB.

aspect_ratiostring

Output aspect ratio.

qualitystringrequired

Quality level to generate at.