Library/v0/Vercel made a Model (v0 in Cursor)
v0

Vercel made a Model (v0 in Cursor)

by Better Stack

The video demonstrates how to integrate Vercel’s new internal AI model, v0‑1.0‑md, into the Cursor AI IDE by configuring it as an OpenAI‑compatible provider, then using it to generate a full Next.js to‑do app with Shadcn UI components. It walks through obtaining an API key, overriding Cursor’s OpenAI settings, selecting the v0 model, and running a prompt to build the application, highlighting the model’s auto‑fix, quick‑edit, and framework‑aware features.


Overview

The guide shows how to use Vercel’s v0 model inside Cursor to generate a complete Next.js to‑do app with Shadcn UI components. It covers getting the API key, configuring Cursor, and running a prompt to create the app.

Prerequisites

  • A Vercel account with a premium or team plan and usage‑based billing enabled.
  • Cursor AI IDE installed (download from https://cursor.com).
  • Basic familiarity with Next.js and terminal commands.

Step‑by‑Step Instructions

  1. Get your v0 API key 1.1. Visit v0.dev and log in. 1.2. Go to Settings → API Keys and click Create New Key. 1.3. Copy the key; you’ll need it in Cursor.

  2. Open Cursor settings 2.1. Launch Cursor. 2.2. Press ⌘+Shift+J (macOS) or Ctrl+Shift+J (Windows/Linux) to open the Settings panel. 2.3. Navigate to the Models tab.

  3. Configure Cursor to use v0 3.1. In the OpenAI API Key field, paste the v0 API key. 3.2. Check Override OpenAI Base URL. 3.3. Enter the base URL: https://api.v0.dev/v1. 3.4. Click Save. 3.5. Click Verify to ensure the connection works.

  4. Add v0 models to Cursor 4.1. In the same Models tab, click Add Custom Model. 4.2. Enter v0-1.0-md (or v0-1.5-md if available) and click Add. 4.3. Repeat for v0-1.0-lg if you want the larger model. 4.4. Click Save.

  5. Create a new chat in Agent mode 5.1. Open a new chat. 5.2. Set Mode to Agent. 5.3. Choose the v0 model you added (e.g., v0-1.0-md). 5.4. Type who are you? to confirm the model is active; it should reply that it is v0.

  6. Generate a Next.js to‑do app 6.1. Prompt the model: "Create a modern to‑do app using Shadcn UI components." 6.2. The model will output a command to create a new Next.js app. Copy the command. 6.3. In your terminal, run the command (e.g., npx create-next-app@latest web3-ai --ts). 6.4. Install Shadcn UI: npx shadcn@latest add (follow prompts for CSS framework and variables). 6.5. Copy the generated code from the model and replace the default app/page.tsx with it. 6.6. Run npm run dev (or bun run dev) to start the app.

  7. Verify the app 7.1. Open http://localhost:3000. 7.2. You should see a fully functional to‑do application with theme toggle, category list, and add‑task UI.

Tips & Gotchas

  • API limits: v0 is in beta with a 200‑message‑per‑day cap. If you hit the limit, wait or upgrade billing.
  • Model naming: The video uses v0-1.0-md; newer docs may reference v0-1.5-md or v0-1.5-lg.
  • Shadcn installation: The video notes an outdated command (shaden UI). Use shadcn@latest add instead.
  • Auto‑fix: If you encounter type errors after running the app, the v0 model’s autofix can be triggered by re‑prompting the same task.
  • Cursor UI: The Override OpenAI Base URL step is crucial; without it, Cursor will still use the default OpenAI endpoint.
  • Testing: After generating code, run npm run lint to catch any linting issues that the model might have missed.

Resources

This guide was generated by an AI agent based on the video above. Always verify steps against the original source.Watch on YouTube ↗

More v0 guides

See all v0 guides →
Building a real estate website with v0.dev (Vercel)
v0

Building a real estate website with v0.dev (Vercel)

Alphadom

Building a real estate website with v0.dev (Vercel) from Alphadom. In this video, I walk you through building a real estate website using v0.dev. We'll cover the essentials of creating a clean and ...

Build a Responsive Real Estate Website with Next JS 14, TypeScript & Tailwind CSS
v0

Build a Responsive Real Estate Website with Next JS 14, TypeScript & Tailwind CSS

WebDev Warriors

Build a Responsive Real Estate Website with Next JS 14, TypeScript & Tailwind CSS from WebDev Warriors. In this tutorial, you'll learn how to build a responsive real estate website using Next JS 14, TypeScript, and Tailwind CSS.

Build Your Own AI-Powered GTM Sales Pipeline in Minutes Using Claude Code
v0

Build Your Own AI-Powered GTM Sales Pipeline in Minutes Using Claude Code

Shahzaib Hamid

Build Your Own AI-Powered GTM Sales Pipeline in Minutes Using Claude Code from Shahzaib Hamid. Tired of manual outreach? Let AI do the heavy lifting. In this video, I walk you through building a fully automated GTM sales ...

v0 Vercel Tutorial - Build 5 Web Apps in 15 Minutes!
v0

v0 Vercel Tutorial - Build 5 Web Apps in 15 Minutes!

CodeNoobs: Learn Programming with AI

The video demonstrates how to use Vercel’s new AI assistant v0 to rapidly generate five different web applications in a single session. Randall walks through creating a personal portfolio, an API‑integrated weather app, a to‑do list, a full‑stack e‑commerce store, and a responsive multi‑page site, showing how to prompt v0, review generated code, tweak it in VS Code, add API keys, and deploy each app to Vercel with one click.

Build a fullstack app in 7 minutes with v0 (Figma to code)
v0

Build a fullstack app in 7 minutes with v0 (Figma to code)

Vercel

The video demonstrates how to take a Figma design, import it into v0, generate a full‑stack React/Next.js application, iterate on the UI with live editing, connect a Supabase backend via environment variables, and deploy the finished app to Vercel with a single click.

Convert a Figma design to code and deploy in just minutes using v0 by Vercel
v0

Convert a Figma design to code and deploy in just minutes using v0 by Vercel

iEatWebsites

The video demonstrates how to use Vercel’s v0 platform to import a Figma design, automatically generate a Next.js (React/TypeScript) codebase, tweak the generated components via the AI chat interface, and deploy the finished site to Vercel with a single click.

Browse other AI tools

01.AI's Yi-series modelsAdept AIAdobestock AIAgentGPTAgenticAgentic AIAgentKitAgentVerseAI AgenticAitrepreneurAitrepreneur's Prompt LibraryAIVAAlphaFold 3Amazon CodeWhispererAnimateDiffAnimateDiff-LightningAnthropicAnyscaleApollo.ioAravaArc SearchArtbreederAuto-GPTAuto-GPT (Specific Agent Features)AutogenAutoGen StudioAutoGPTAutoGPT (Agent Framework)AutoGPT (Specific Features)Bardeen.aiBentoMLBito AIBlackbox AIBoltBubbleCapacitiesCapacities AICapacities.ioCapCut AICapCut AI ArtCapCut AI FeaturesCascadeurCharacter Creator AICharacter.AIChatbaseChatbot ArenaChatbot UIChatbotKitChatGPTChatGPT Code InterpreterChromaDBCivitaiClaude 3Claude CodeClayClip Studio Paint DiffusionClipdropClipflyCode Interpreter by Open AICodeiumCodeRabbitCodiumAICognition AICognition Labs AICognition Labs DevinCognition Labs Devin AICognitoCognosys.aiCohereComfyUIComfyUI Comfy AnimateComfyUI InstantIDComfyUI ManagerComfyUI WorkflowComfyUI WorkflowsCoPilot (GitHub)CoPilot for SecurityCoPilot StudioCopy.aiCoRoverCoRover.aiCoRover.ai Chatbot PlatformCozeCoze AICoze AI Agent BuilderCoze AI Agent Builder (Advanced)CrewAICuripodCursorDALL-E 2DALL-E 3DALLE 3DataheraldDeepMind AlphaFold 3DeepMotionDeepMotion AnimateDeepMotion Animate 3DDescriptDevikaDevika AIDevinDevin AIDevin AI Code AssistantDiffusionBeeDifyDify.aiDolaDora AIDream MachineDream Machine AIDream Machine from Luma AIDreamGaussianDreaminaDreamina VideoDreamMachineDreamMachine AIDreamMachine Video GeneratorDurableEcolab AIElevenLabsElevenLabs Prime Voice AIElevenLabs Text to SpeechElevenLabs v2Fabrie AIFace Swap Online AIFaceChainFathomFathom.fmFigma AIFine-tuning Llama 3FirecrawlFireflyFirefly AIFireworks.aiFlikiFlowiseAIFloydLabsFooocusFrame.io AI StudioFramer AIFuyu-8BGammaGamma (by Gamma)Gamma AIGamma AI PresenterGamma GPTGamma.appGeminiGemini AdvancedGemmaGemma 2Gen-1Gen-ZGenieGenie AIGitHub CopilotGitHub Copilot WorkspaceGleanGongGoogle GemmaGorilla LLMGPT-4GPT-4oGroqGroq APIHaiperHaiper AIHeyGenHeyGen AIHeyGen AI (Realistic Avatars)HeyGen LabsHeyGen Photo-to-VideoHeyGen Realistic AvatarsHeyGen TTSHugging FaceHugging Face AgentsHugging Face ChatHugging Face TransformersHydraHydra (LLM Agent Framework)Hydra AIHyper Realistic Video AIHyperWriteHyperWrite AIHyroIdeogramIdeogram 1.0Ideogram AIIdeogram AI (Advanced Features)InsightFace SwapInstant IDInstant Stable DiffusionInstantIDInstantID for ComfyUIInternLMInVideo AIInvideo AI Video MakerJaisJan.aiJanitor AIJasperJulius AIKaito AIKanoKasaKimiKimi ChatKimi ChatbotKimi.aiKimi.ai (Image Generator)Klaviyo AIKlaviyo AI AssistantKLING AIKoala AIKolorsKREAKrea AIKREA AIKREA AI Real-timeKREA AI Real-time GenerationKREA AI Real-time Image GenerationKREA AI Real-time Image Generation (Advanced Features)Krita AI DiffusionLangChainLangSmithLarge Language Models (LLMs) from ScratchLassoLatent Consistency ModelLatent Diffusion Models (LDMs)Leonardo.AiLlama 2Llama 3Llama 3 (Fine-tuning)LlamaIndexLM StudioLMNTLocalGPTLovableLuma AILuma AI Dream MachineLuma AI Dream Machine (Video Editing)Luma AI GenieLuma AI ImagineLumiereMagic AnimateMagic EraserMagic Eraser AIMagicAnimateMagnific AIMake.comMeta AIMeta Llama 3 (Self-Hosted)Microsoft CopilotMicrosoft Copilot for Microsoft 365Microsoft Copilot ProMicrosoft Copilot StudioMidjourneyMidjourney NijiMidjourney V6Midjourney V6.1Midjourney V7MilvusMistral AIMistral LargeModalMojo AIMoonbeamMoonvalleyMoonvalley AIMoonvalley AI VideoMorph StudioMorph Studio AIMorphicMorphic AIMotion DiffusionMotion LaikaMubertMultiOnMurf.ain8nNanonetsNexusflowNous Hermes 2OctoAIOctoMLOllamaOpen FabricOpen Fabric AIOpen InterpreterOpenAgentOpenAI AssistantsOpenAI Assistants APIOpenAI Custom GPTsOpenAI SoraOpenDevinOpenPipeOpusOpus ClipPerceive AIPerplexityPerplexity AIPerplexity PagesPhi-3PhindPhotopea AIPhotoRoom AIPhotoshop Generative FillPi.aiPickaxePikaPika LabsPikaGenPikaGen AIPikaLabsPineconePixton AIPixtoryPixVersePlay.htPlayground AIPoePortkey.aiPower BI CopilotPromptPerfectPulsar AIQdrantRabbit R1RaftRAG (Retrieval Augmented Generation)RecapRecraftRecraft AIReka AIReka CoreReplicateReplit AIRoshiRoshi AIRunDiffusionRunDiffusion XLRunwayRunwayMLRunwayML Gen-2RunwayML Gen-3 AlphaRunwayML Motion BrushScenarioScenario AISDXLSDXL TurboSegment Anything Model (SAM)SegmindSeldonSoftrSoraSourcegraph CodyStability AI DreamStudioStability AI PlaygroundStable AudioStable Audio (Stability AI)Stable Audio 2.0Stable Audio OpenStable CascadeStable DiffusionStable Diffusion 3Stable Diffusion 3 MediumStable Diffusion CascadeStable Diffusion ReimagineStable Diffusion XLStable Diffusion XL TurboStable Video DiffusionSteamshipStoryDiffusionSunoSuno AISuno AI MusicSuno AI V3Suno V3Sunscreen AISunVox AISuperagent.aiSuperAGISuperhumanSuperhuman AISuperhuman AI AssistantSurfer SEOSynthesiaSynthesia STUDIOTabnineTensor.ArtTensorArtTenstorrentTinyLlamaTinyMCE AI AssistantTogether AITomeUdioUdio AIUdio MusicUdio Music AIUizardUnstructured.ioVercel AI SDKViggle AIVoice AIWarp AIWarpcast FramesWeaviateWeights & BiasesWonder DynamicsWonder StudioWritesonicZapier AIZustand AI