opentweet_generate_video
Generate AI videos from text prompts using Grok Imagine and retrieve a video URL ready for tweeting. The tool starts generation and polls until completion.
Instructions
Generate an AI video from a text prompt using Grok Imagine (xAI). Video generation is async — this tool starts the job AND polls until complete (up to 5 minutes). Returns the final video URL ready to use in tweets. Requires XAI_API_KEY to be configured on the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the video to generate | |
| duration | No | Duration in seconds (5-10). Default: 5 | |
| resolution | No | Video resolution. Default: 480p | |
| aspect_ratio | No | Video aspect ratio. Default: 16:9 |