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
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| model | No | Video generation model | grok-2-video |
| image | No | Optional input image URL or base64 to animate | |
| video | No | Optional input video URL to edit/extend | |
| duration | No | Video duration in seconds (1-15) | |
| aspect_ratio | No | Aspect ratio (e.g., '16:9', '9:16', '1:1') | |
| wait_for_completion | No | Wait for video generation to complete |