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