Minimax Video-01
Minimax Video-01 (also known as Hailuo) is an AI video generation model that creates 6-second videos at 720p resolution and 25fps. It supports both text-to-video and image-to-video generation, and can incorporate subject references to create character-based videos using the S2V-01 model.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.
Request Headers
Supports: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Prompt text required to guide the generation.
Range: 1 <= x <= 2000
.
The URL of the first frame image to be used for video generation.
Whether to enable prompt optimization.
Default: true
.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Example
Here is an example of how to use the Minimax Video-01 API.
- Generate a task_id by sending a POST request to the Minimax Video-01 API.
Request:
Response:
- Use
task_id
to get output videos.
HTTP status codes in the 2xx range indicate that the request has been successfully accepted, while status codes in the 5xx range indicate internal server errors.
You can get videos url in videos
of response.
Request:
Response:
Video files: