Skip to main content
Make sure you add your s3 details for the minimax_h3 server, so you can receive the video generated in your bucket. Videos generated without s3 details being added will be deleted after 24 hours.

Request

Make a POST request to below endpoint and pass the required parameters as a request body.
curl

Body

json

Body Attributes

string
required
Your API Key used for request authorization.
string
required
Text prompt with a description of the things you want in the video to be generated. The prompt is the only thing this endpoint has to work from, so it is required.
number
Width of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with height.
number
Height of the generated frame. Must be a multiple of 32 and at most 1536. Must be sent together with width.
number
Length of the generated video in seconds. Minimum is 5, maximum is 15.
number
The number of frames in the generated video. Minimum is 120, maximum is 345.
number
Number of denoising steps. Minimum is 1, maximum is 50.
number
Seed is used to reproduce results. The same seed will give you the same video again. Pass null for a random number.
boolean
default:"false"
Queue response instantly before processing finishes instead of waiting a minimum amount of time. default: false, options: true or false.
boolean
default:"false"
If true, stores the video in temporary storage which is cleaned every 24 hours. default: false, options: true or false.
string
Set a URL to get a POST API call once the video generation is complete.
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.