Learn how to build, extend, and automate AI-generated apps with programmatic access to v0’s app generation pipeline
The v0 Platform API is a text-to-app API that gives developers direct access to the same infrastructure powering v0.dev.
Currently in beta, the platform API exposes a composable interface for developers to automate building web apps, integrate code generation into existing features, and build new products on top of LLM-generated UIs.
The Platform API is a REST interface that wraps v0’s full code generation lifecycle: prompt → project → code files → deployment. Every app built with the platform API is backed by a v0.dev chat link.
It includes endpoints for almost all functionality on v0.dev:
Natural language app generation: Generate full-stack web apps from natural language prompts and get back parsed code files and a live demo URL
Bring your own context: Start chats with your own files, from source code, git, or shadcn registry, or include attachments in individual messages
Projects and deployments: Create new Vercel projects, link Vercel projects to a chat, and trigger deploys
Check out the v0 Platform API template, a Next.js application demonstrating the v0 Platform API and features like project management, chat history, and real-time app generation with live previews.