Vercel

Video Generation with AI Gateway

Feb 19, 2026
Video Generation with AI Gateway
SummaryAI, from the source post

This post introduces video generation capabilities to Vercel's AI Gateway and AI SDK. It details how users can programmatically generate videos using AI SDK 6 with models like 'xai/grok-imagine-video' or experiment via the AI Gateway Playground. Four initial video models are highlighted: Grok Imagine (xAI) for speed and instruction following, Wan (Alibaba) for reference-based generation and identity preservation, Kling for image-to-video and audio, and Veo (Google) for visual fidelity and physics realism. The post explains video request nuances, including motion cues and provider-specific options, and outlines four generation types: Text-to-video, Image-to-video, First and last frame, and Reference-to-video. It provides code examples for programmatic video generation using different models and capabilities, including video editing with style transfer.

More from the AI Gateway and AI SDK Integration trail