Grok Imagine Video API
xAI's multimodal generation platform. Create videos, images, and apply video edits with text guidance.
Your generated video will appear here
Features
What Grok Imagine API offers
Use cases
Built for
Social clips - Square or vertical ratios for short promos under ten seconds
Storyboard animatics - Rapid motion tests before a full production pipeline
Product teasers - Optional start image to anchor branding in the first frame
Continued takes - Extend mode for a follow-on segment from a prior task
Creative variants - Style presets when you want different motion tone without rewriting tooling
Editorial B-roll - Quick atmospheric shots from prompts alone
FAQ
About Grok Imagine API
Two variants share one page: Generate creates fresh clips from prompts with optional image_url, duration 1 to 10 seconds, resolution, aspect_ratio, and video_preset. Extend continues a prior generation when you supply the source task_id.
Generate uses 1 to 10 second durations. Both 480p and 720p are available. Extension segments are 6 or 10 seconds depending on the extend_duration you select.
Extend requires the task_id from a completed clip. In preset mode you pick a video_preset and the API ignores manual prompts. In custom mode you supply prompt, extend_at (seconds into the clip), and extend_duration.
Yes. Upload an optional image in Generate to bias the opening frame content while still driving motion with the text prompt.