Grok Imagine
Grok Imagine is xAI's video generation model. It creates video clips from text prompts and images with motion, generated audio, and lip-sync, available through Vercel AI Gateway.
image-to-videotext-to-videovideo-editingaudio-generation
index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({ model: 'xai/grok-imagine-video', prompt: 'A serene mountain lake at sunrise.'});Playground
Try out Grok Imagine by xAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Prompt(optional)
Describe the video you want the model to generate.Need inspiration?
Reference images(optional)
Images to guide the video.JPG · PNG · WEBP · GIF · AVIF
Video to edit(optional)
The video to edit. The output keeps its aspect ratio and resolution (up to 720p).Duration8s
Resolution
Aspect ratio
Videos to generate
Your generated video will appear here.