Generate video
generate_videoGenerate videos from text prompts with Grok AI. Submit a prompt to get a requestId, poll for the render, and download the final clip.
Instructions
Submit a Grok video generation from a text prompt. Returns a requestId to poll with get_generation and download with get_video. Generation takes 1-5 minutes. ~$0.005/sec.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| duration | No | Duration in seconds (default 8) | |
| resolution | No | Resolution (grok-imagine-video-1.5 supports 1080p) | |
| aspectRatio | No | Aspect ratio (default 16:9) |