grok_video
Generates videos from text or image prompts using the Grok API, with optional polling for completion status.
Instructions
Generate text-to-video or image-to-video through /videos/generations, optionally polling /videos/{request_id}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "grok_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| image_path | No | ||
| model | No | ||
| aspect_ratio | No | ||
| duration | No | ||
| fps | No | ||
| poll | No | ||
| poll_interval_ms | No | ||
| poll_timeout_ms | No |