Request
Make aPOST request to below endpoint and pass the required parameters in the request body.
curl
Body
When the model_id is
Wan2.2, the request json looks like so,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.
string
Items you don’t want in the video.
integer
Seed is used to reproduce results. The same seed will give you the same video again. Pass null for a random number.
integer
default:"480"
The resolution of the generated output. Maximum is 480.
integer
default:"92"
The number of frames in the generated video. Default is 92.
integer
default:"8"
Number of denoising steps. Default is 8. Maximum is 8.
number
default:"1.0"
Scale for classifier-free guidance. Minimum is 1.0, maximum is 2.0.
integer
default:"18"
Frames per second rate of the generated video. Must be less than num_frames. Maximum is 18.
boolean
default:"false"
Indicates whether the output should be in portrait mode. Options: true/false.
integer
default:"3"
Controls the sampling shift in the generation process. Default is 3.
boolean
default:"false"
If true, stores the video in temporary storage (cleaned every 24 hours). Default is false.
string
A URL to receive a POST API call once the video generation is complete.
string
A unique ID used in the webhook response to identify the request.

