Request
curl
Body Attributes
Attributes
string
required
Your unique API key used for authorization.
string
required
The ID of the model to use. Allowed values: cogvideox.
string
required
The text prompt describing the content you want in the generated video.
string
Items you do not want in the video.
integer
The seed used to reproduce results. Pass null for a random number.
integer
default:"512"
The height of the video. Maximum: 512 pixels.
integer
default:"512"
The width of the video. Maximum: 512 pixels.
integer
default:"16"
The number of frames in the generated video. Default: 16, Maximum: 25.
integer
default:"20"
The number of denoising steps. Default: 20, Maximum: 50.
number
default:"7.5"
The scale for classifier-free guidance. Range: 0–8.
integer
The number of CLIP layers to skip. A value of 2 leads to more aesthetic results. Default: null.
integer
default:"1024"
The height to upscale the video to when using the zeroscope model. Default: 1024.
integer
default:"1024"
The width to upscale the video to when using the zeroscope model. Default: 1024.
number
default:"0.5"
The strength for upscaling. Higher strength can lead to more differences between the generated and upscaled video.
number
default:"7.5"
The guidance scale for upscaling the video when using the zeroscope model.
integer
default:"20"
The number of denoising steps for upscaling the video when using the zeroscope model. Default: 20.
boolean
default:"false"
Whether to use an improved sampling technique. Leads to better results with higher temporal consistency at the cost of slower performance.
integer
The seed for consistent video generation when using the improved sampling technique.
integer
default:"8"
The frames per second rate of the generated video. Maximum: 16.
string
default:"mp4"
The output type of the video. Options: mp4 or gif.
boolean
default:"false"
If true, returns an instant response with future links for queued requests instead of waiting for processing.
boolean
default:"false"
If true, stores generations in temporary storage. Temporary files are cleaned every 24 hours.
string
Provide a URL to receive a POST API call once the video generation is complete.
Body
json

