V0: Platform API v2 with GitHub Repository Integration

V0View original changelog

Vercel launched Platform API v2 in beta for V0, introducing the ability to start programmatic chats directly from a GitHub repository. This upgrade enables developers to build AI-powered app-generation tools that work natively with existing codebases rather than requiring manual context injection. Migration documentation and a version switcher were added alongside the release to ease the transition from Platform API v1.


Platform API v2 Launches with GitHub Repository Support

Vercel's V0 released Platform API v2 in beta on June 26, 2026, adding GitHub repository integration as the headline new capability. Developers building programmatic AI app-generation workflows can now initiate V0 chats seeded with content from a GitHub repository, enabling code generation that understands an existing codebase from the start rather than requiring developers to paste context manually.

From v1 to v2: What Changed

The original Platform API gave developers REST and SDK access to V0's full code generation pipeline, the same infrastructure powering the v0.app chat interface. V0 Platform API v1 could accept prompts, generate code, manage projects, and trigger deployments, but it treated every chat as a blank slate. Platform API v2 closes that gap.

The new ability to start a chat from a GitHub repository means developers can pass a repository reference to the API and V0 will pull in codebase context automatically. This is meaningful for building products on top of V0: instead of a generic code-generation session, developers can now build tools that offer users AI assistance anchored to their actual codebase.

Alongside the GitHub integration, Vercel released migration documentation explaining the differences between v1 and v2 and added a version switcher to the API documentation interface, making it easier to cross-reference the two versions.

The "Apps That Ship Apps" Use Case

Vercel has articulated the Platform API's purpose as enabling developers to build products that themselves generate software. With v2, that value proposition expands significantly: a developer could build a SaaS product that lets end users describe changes to their own GitHub repository in plain English, with V0 handling the code generation against the live codebase.

The V0 SDK, available as an open-source TypeScript library, provides idiomatic access to Platform API v2. Developers can use the SDK to create chats from GitHub repos, send messages, retrieve generated code files, and trigger Vercel deployments, all through a typed, composable interface.

Who This Affects

Platform API v2 is primarily relevant to developers building on top of V0 rather than using it directly. Teams building internal developer tools, AI-powered code review assistants, or vibe-coding SaaS products will find the GitHub repo integration the most impactful addition. The migration path from v1 is documented in the updated API reference.