generate_video
Generate videos from text descriptions using AI models with customizable duration, resolution, frame rate, and audio.
Instructions
Generate videos using BigModel CogVideoX models
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate (max 512 characters) | |
| model | No | Model to use | cogvideox-flash |
| quality | No | Output quality mode | quality |
| size | No | Video resolution (e.g., 1920x1080, 1280x720) | 1920x1080 |
| fps | No | Frame rate | |
| duration | No | Video duration in seconds | |
| with_audio | No | Enable AI-generated audio | |
| watermark_enabled | No | Control watermark |