Video V2
Create video generation task
Create a video generation task. The model generates a video from the multimodal input you provide (text / image / video / audio). This is an asynchronous endpoint: on success it returns a task_id, and you should poll the Query Task endpoint for the task status and retrieve the generated video once it succeeds.
Currently supported models: MiniMax-H3, MiniMax-H3-Highspeed, MiniMax-H3-Lite, MiniMax-H3-Max.
post/v2/video_generation
Request
- Base URLhttps://api.minimax.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Type'application/json' required
Media type of the request body. Set it to application/json.
Request body
Example request
{
"model": "MiniMax-H3",
"content": [
{
"type": "text",
"text": "A boy playing basketball by the sea"
}
],
"resolution": "2K",
"duration": 5,
"ratio": "16:9"
}Response
The create endpoint returns a task_id. Use this task_id with the Query Task endpoint to retrieve the task status and result.
Successful Query Task response example
{
"task": {
"id": "424010985738629",
"model": "MiniMax-H3",
"status": "succeeded",
"created_at": 1785125529,
"updated_at": 1785125946,
"content": {
"url": "https://your-cdn.example.com/h3-generated-2k-output.mp4"
},
"resolution": "2K",
"duration": 5,
"usage": {
"total_seconds": 5,
"input_seconds": 0,
"output_seconds": 5,
"input_image_count": 0
},
"ratio": "16:9",
"task_type": "generation",
"modality": "video"
}
}
Example response
{
"task_id": "424010985738629"
}Changes
No recorded changes to this operation across all 1 revision of this API.