Grok Imagine Video 1.5
Grok Imagine Video 1.5 is xAI's image-to-video generation model. It animates a starting image and generates synchronized audio in a single pass, available through Vercel AI Gateway.
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({ model: 'xai/grok-imagine-video-1.5', prompt: 'A serene mountain lake at sunrise.'});Frequently Asked Questions
What inputs does Grok Imagine Video 1.5 take?
Grok Imagine Video 1.5 is an image-to-video model. Pass a prompt object with an
imageand atextmotion description to the AI SDK'sgenerateVideofunction. Expanded reference image support gives extra control over style and subject.Does Grok Imagine Video 1.5 generate audio?
Yes. Sound effects, ambience, and speech render in the same pass as the video, synchronized to the action.
What resolutions does Grok Imagine Video 1.5 support?
Output is available at 480p, 720p, and 1080p. Billing is per second of generated video, with rates by resolution listed on this page.
How does Grok Imagine Video 1.5 differ from
grok-imagine-video-1.5-preview?Grok Imagine Video 1.5 is the stable release of the Imagine Video 1.5 generation. The preview variant reached AI Gateway first and remains in the catalog; target the stable model for production work.
How do I integrate Grok Imagine Video 1.5 with the AI SDK?
Use
experimental_generateVideofrom AI SDK 6 or later. Generation can take minutes, so extend fetch timeouts in Node.js and save the returned video bytes fromresult.videos.How do I authenticate with Grok Imagine Video 1.5 through Vercel AI Gateway?
Use your Vercel AI Gateway API key with
xai/grok-imagine-video-1.5as the model identifier. You can also try Grok Imagine Video 1.5 in the AI Gateway playground at https://ai-sdk.dev/playground/xai:grok-imagine-video-1.5.Does Vercel AI Gateway support Zero Data Retention for Grok Imagine Video 1.5?
Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.