video_text_to_video
Generate a video from a text description. Choose model, duration, and resolution, then use the returned task ID to track progress.
Instructions
Generate a video from a text prompt. Returns a task_id — poll with video_agent_query.
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "video_text_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Video generation model id | |
| prompt | Yes | Text description of the desired video | |
| duration | No | Target duration in seconds | |
| resolution | No | Output resolution (model-dependent) | |
| callback_url | No | ||
| prompt_optimizer | No |