Video Generationtextimage
CogVideoX-3
Z.AI CogVideoX-3 video generation model
Input
Generation mode
Describe the video with text only, no images required.
Size
Quality
Duration
Resolution
Generate audio
Ready to generateAPI Reference
POSThttps://api.token360.ai/v1/videos# Step 1: Create video generation task
curl https://api.token360.ai/v1/videos \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key" \
-d '{
"model": "cogvideox-3",
"prompt": "A cat walking across a room",
"size": "1280x720",
"quality": "speed",
"duration": 5,
"resolution": "720p",
"generate_audio": false
}'
# Step 2: Poll for completion (replace VIDEO_ID with the id from step 1)
curl https://api.token360.ai/v1/videos/VIDEO_ID \
-H "Authorization: Bearer your-api-key"