Create Task
Generate videos based on text prompts. Supports multiple video generation models and parameter configurations.
Note: For video model name settings, refer to the System Supported Video Model List, currently supported video generation models are cogvideox-flash
(free), cogvideox
, and cogvideox-2
. The response data format is fully compatible with OpenAI, returning the binary data of the video file.
Different AI platforms support different video sizes for their video generation models. Please refer to the table below for the specific supported sizes:
Platform | Model | Supported Sizes |
---|---|---|
Zhipu | CogVideoX Series | 720x480, 1024x1024, 1280x960, 960x1280, 1920x1080, 1080x1920, 2048x1080, 3840x2160 (By default, the shorter side is 1080, and the longer side is scaled proportionally) |
cURL Request Example
Authorizations
token
Body
Response
successful response
The response is of type object
.