grok_generate_video
Generate a ~6-second Grok Imagine video from a prompt, optionally animate a local JPG/PNG/WebP image, and return MP4 files. Use for text-to-video or image-to-video clips.
Instructions
EXPERIMENTAL: make a Grok Imagine video (about 6 s) from a prompt, optionally animating a local image (image_path: jpg/png/webp). Videos cost much more quota than images and are capped by max_videos_per_day (see grok_usage). Relies on Grok's current web UI, which changes often. Returns {"files": [mp4 path]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| aspect | No | ||
| prompt | Yes | ||
| out_dir | No | ||
| timeout_s | No | ||
| image_path | No |