v0
APIVercel's app-building agent as an API, from prompt to full-stack app
- Price
- Free tier, then paid
- Access
- API key
About
Vercel's v0 API puts v0's app-building agent in your product: it generates full-stack apps from prompts, runs live previews and deploys to Vercel. Generations draw on v0 credits, and the API key must stay server-side.
What you can do with it
- Generate a full-stack web app or UI from a text prompt
- Build a custom app-generation chat with live previews in your product
- Import a GitHub repo, then edit and deploy it to Vercel by prompt
Get started
- Create an API key in v0 settings
- Keep it server-side as V0_API_KEY
Example
curl -X POST "https://api.v0.dev/v2/chats" \
-H "Authorization: Bearer $V0_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"Create a project management dashboard with a kanban board"}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- JavaScript/TypeScript
- MCP server
- Remote
- Works with
- Vercel