Documentation Index
Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
Use this file to discover all available pages before exploring further.
Minimax Hailuo-02 is an AI video generation model supporting both text-to-video and image-to-video. It can generate 6-second videos at 768P or 1080P resolution, and 10-second videos at 768P resolution.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.
Bearer authentication format: Bearer {{API Key}}.
Request Body
Text prompt to guide the generation.Range: 1 <= x <= 2000.
First frame image for video generation. Supports public URLs or Base64 encoding (e.g., data:image/jpeg;base64,...).
End frame image for video generation. Supports public URLs or Base64 encoding (e.g., data:image/jpeg;base64,...).
Duration of the generated video (in seconds). Default: 6
Possible values: 6, 10
Resolution of the generated video. Default: 768P
- 6-second videos support:
768P, 1080P
- 10-second videos only support:
768P
Whether to enable prompt optimization.Default: true.
Whether to reduce the time spent on prompt optimization.Default: false.
Response