Vercel's v0 API v2 Lets AI Agents Build and Ship Apps Without Humans

v0's new API v2 lets you embed its full app-building agent — prompt, preview, iterate, deploy — directly into your own products and pipelines

Byv0v0
·
·
Authorv0
Read2 min
  • v0 API v2 is now in public beta, giving programmatic access to v0's full app-building agent: prompt, preview, iterate, and deploy to Vercel.
  • VMs replace the old browser-based runtime, enabling richer file operations, real dev server previews, and a direct path to Vercel deployments.
  • Three execution modes (sync, async, streaming) are now explicit separate endpoints, making it easier to build interactive UIs or background pipelines.
  • Chats can be seeded from a prompt, a GitHub repo, or a ZIP archive, and the API supports follow-up messages for iterative generation.
  • API access requires the Premium plan ($20/mo) or higher; usage is credit-based and tied to token consumption per generation call.
  • MCP integration lets the API connect to Stripe, Supabase, Neon, Shopify, and more without bespoke connectors — full docs here.

v0 API v2 is now in public beta, and it goes well beyond what the original Platform API offered. v1 gave you a REST endpoint that turned prompts into code files. v2 gives you the full agent: a VM-backed chat that can start from a prompt, a GitHub repo, or a ZIP archive, render a live dev server preview, accept follow-up messages, and deploy straight to Vercel, all programmatically.

From chat interface to headless app builder

The key shift in v2 is that the underlying runtime changed entirely. Vercel had already moved v0 toward production readiness with a sandbox-based runtime that mirrors real environments. That brought native GitHub integration for branches and PRs, support for API routes, server actions, and database connections, and the ability to import and work on existing codebases. The API v2 exposes all of that programmatically.

The ability to start v0 chats from GitHub repos via API signals that Vercel wants v0 embedded into CI/CD pipelines and internal tooling, not just used interactively.

What changed from v1

The v1 API organized work around projects and versions. v2 drops that model entirely. In v2, the chat is the durable workspace and messages are its history. You no longer juggle chat IDs, project IDs, and version IDs for common workflows. Most operations come down to acting on the chat itself or sending it messages.

v2 chats also run on VMs rather than the browser-based next-lite runtime from v1. VMs support a fuller project environment, richer file operations, and a more direct path to Vercel projects, previews, and deployments.

Keep reading

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise. Create a free account to read the rest of this story.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves