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
Your API Key used for request authorization.
Text prompt with a description of the things you want in the video to be generated.
Items you don’t want in the video.
Seed is used to reproduce results. The same seed will give you the same video again. Pass null for a random number.
The resolution of the generated output. Maximum is 480.
The number of frames in the generated video. Default is 92.
Number of denoising steps. Default is 8. Maximum is 8.
Scale for classifier-free guidance. Minimum is 1.0, maximum is 2.0.
Frames per second rate of the generated video. Must be less than num_frames. Maximum is 18.
Indicates whether the output should be in portrait mode. Options: true/false.
Controls the sampling shift in the generation process. Default is 3.
If true, stores the video in temporary storage (cleaned every 24 hours). Default is false.
A URL to receive a POST API call once the video generation is complete.
A unique ID used in the webhook response to identify the request.

