Skip to main content

Hailuo image-to-video

Upload a start frame and animate it with text + camera commands.

Quick flow

Basics

  • Endpoint: POST /v1/video/generations
  • Auth: Bearer Token (Authorization: Bearer {{YOUR_API_KEY}})
  • Content-Type: application/json

Request body


Image rules

  • Formats: JPG, JPEG, PNG, WebP
  • Size: < 20MB
  • Dimensions: short edge > 300px; aspect between 2:5 and 5:2

Camera commands (sample)

  • Dolly: [dolly in], [dolly out]
  • Truck / pedestal: [truck left], [truck right], [pedestal up], [pedestal down]
  • Pan / tilt: [pan left], [pan right], [tilt up], [tilt down]
  • Zoom: [zoom in], [zoom out]
Compatibility: Production may require Chinese bracket tags per the vendor. If needed, copy those literals from the Chinese documentation.

Example


Response

200 OK

Notes

  1. Align prompt with image: Describe motion that fits the frame; mismatched action vs. static scene may look poor.
  2. Speed: MiniMax-Hailuo-2.3-Fast for faster turnaround.
  3. 10s + MiniMax-Hailuo-02: max 768P.