Minimax Hailuo-02
Video
Minimax Hailuo-02
POST
Minimax Hailuo-02
Minimax Hailuo-02 is an AI video generation model that supports text-to-video and image-to-video generation. It can generate 6-second videos at 768P or 1080P resolution, as well as 10-second videos at 768P resolution.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The prompt text that guides the desired generation.Range:
1 <= x <= 2000.The first-frame image for video generation. Supports public URLs or Base64 encoding (such as
data:image/jpeg;base64,...).The ending-frame image for video generation. Supports public URLs or Base64 encoding (such as
data:image/jpeg;base64,...).The duration of the generated video (in seconds). Default value:
Available values:
6Available values:
6, 10The resolution of the generated video. Default value:
768P- 6-second videos support:
768P,1080P - 10-second videos only support:
768P
Whether to enable prompt optimization.Default value:
true.Whether to reduce the time spent on prompt optimization.Default value:
false.Response
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.