Grok Imagine Video 1.5 Lite from xAI is now available on AI Gateway. This lightweight model turns text prompts and images into video with native audio.
The model produces clips from 1 to 15 seconds long in 480p, 720p, and 1080p. Seven aspect ratios cover widescreen, square, and portrait formats, so you can create horizontal scenes or vertical videos from the same generation workflow.
To start generating videos, set the model to spacexai/grok-imagine-video-1.5-lite in the AI SDK or in the AI CLI. Chain an image model with Grok Imagine Video 1.5 Lite to create a still and animate it in one flow.
import { experimental_generateVideo as generateVideo } from 'ai';const { video } = await generateVideo({ model: 'spacexai/grok-imagine-video-1.5-lite', prompt: 'A paper sailboat drifts on a quiet pond at sunrise.', resolution: '1920x1080', aspectRatio: '16:9', duration: 10,});You can also try Grok Imagine Video 1.5 Lite directly in the AI Gateway Playground.
AI Gateway provides one API for calling models, tracking usage and cost, and configuring routing, retries, and failover. You can use an AI Gateway API key or bring your own provider key.