Generate videos based on text prompts. Supports multiple video generation models and parameter configurations.
cogvideox-flash (free), cogvideox, and cogvideox-2. The response data format is fully compatible with OpenAI, returning the binary data of the video file.| 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) |
token
video model
"cogvideox-flash"
text prompt
"Peter Rabbit drives his car along the road, his face beaming with joy and delight."
image URL path used to generate the video, needs to be publicly accessible, default empty
"https://example.com/image.jpg"
enable async mode
false
enable audio
false
video size
720x480, 1024x1024, 1280x960, 960x1280, 1920x1080, 1080x1920, 2048x1080, 3840x2160 video quality
"speed"
video duration(seconds)
30, 60 video frame rate
30, 60 auto retry times, default 0, means no retry
0
successful response
video model
"cogvideox-flash"
task ID
"bigmodel-video-123456789"
task status
pending, running, success, failed "running"
video generation result(only returned when successful)
error information(only returned when failed)