惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
J
Java Code Geeks
S
SegmentFault 最新的问题
L
LangChain Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
N
Netflix TechBlog - Medium
A
About on SuperTechFans
博客园 - 叶小钗
美团技术团队
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
Build your own AI app builder with the v0 Platform API - ...
2025-07-23 · via Vercel News

2 min read

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.

Link to headingWhat is the v0 Platform API?

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

Link to headingHow to use the v0 Platform API

The v0 SDK is a TypeScript library that makes it simple to interact with the v0 Platform API.

pnpm install v0-sdk

Get your API key from your v0 account settings and set it as an environment variable:

.env

V0_API_KEY=your_api_key_here

Now, you can integrate v0's AI-powered code generation into your application. Learn more in our complete Quickstart Guide.

import { v0 } from "v0-sdk"

export default async function V0Chat() {

// No initialization needed - uses V0_API_KEY automatically

const chat = await v0.chats.create({

message: "Build a todo app with React and TypeScript"

})

// Access the generated files

chat.files?.forEach((file) => {

console.log(`File: ${file.name}`)

console.log(`Content: ${file.content}`)

})

// Use the Demo URL in an iframe

return (

<iframe

src={chat.demo}

width="100%"

height="600">

</iframe>

)

}

Link to headingWhat can you build with the Platform API?

The Platform API turns v0 into a headless app builder. Developers are already using it to power:

  • Website builders where users can describe a site and get production-ready code

  • Slack and Discord bots that return deployed web applications

  • VSCode plugins and CLIs that build around the prompt-to-app workflow

  • Embedded flows in analytics or CRM tools that generate UI components from natural language

  • Custom dev environments and agents that read user intent and return live apps with demo links

Link to headingGet started

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.