| name | xai_video_generate |
| description | Use when the user asks to generate video, Grok Imagine video, text-to-video, image-to-video, or xAI video through xai_video_generate. |
xAI Video Generate
Use xai_video_generate for Grok Imagine video generation.
Preferred text-to-video MCP call:
{
"prompt": "A serene mountain lake at sunrise with slow camera pan, cinematic lighting"
}
Image-to-video MCP call:
{
"prompt": "Animate this image with a slow camera push-in",
"image_url": "https://example.com/start-frame.jpg"
}
Reference-image MCP call:
{
"prompt": "Create a short cinematic shot using these reference images for style consistency",
"reference_image_urls": [
"https://example.com/reference-1.jpg",
"https://example.com/reference-2.jpg"
]
}
Options:
prompt: required video prompt.
image_url: optional starting image for image-to-video.
reference_image_urls: optional array of up to 7 reference images.