Skip to main content
Glama

generate_video

Create videos from text descriptions using xAI's technology. Animate images or edit existing videos based on your prompts.

Instructions

Generate videos from text descriptions using xAI. Can also animate images or edit existing videos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the video to generate
modelNoVideo generation modelgrok-2-video
imageNoOptional input image URL or base64 to animate
videoNoOptional input video URL to edit/extend
durationNoVideo duration in seconds (1-15)
aspect_ratioNoAspect ratio (e.g., '16:9', '9:16', '1:1')
wait_for_completionNoWait for video generation to complete

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joemccann/xai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server