Skip to main content
POST
MiniMax-Hailuo-02

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

Must be one of: MiniMax-Hailuo-02.

Available options:
MiniMax-Hailuo-02
prompt
string

Length must be between 1 and 2000.

Required string length: 1 - 2000
first_frame_image
string<url>
last_frame_image
string<url>
duration
enum<integer>
default:6

Must be one of: 6, 10. Defaults to 6. Value is in s.

Conditional limits:

  • 1080P resolution only supports 6 seconds duration
Available options:
6,
10
resolution
enum<string>
default:768P

Must be one of: 1080P, 512P, 768P. Defaults to 768P.

Conditional limits:

  • 512P resolution requires first_frame_image to be provided
  • last_frame_image only supports 768P and 1080P resolution
  • 10 seconds duration only supports 512P and 768P resolution
Available options:
1080P,
512P,
768P

Response

Task accepted and queued for generation.

code
integer
Example:

0

data
object
msg
string
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"