v0 in Cursor

You can use v0 inside Cursor by configuring it as a custom OpenAI-compatible provider.

  1. Install Cursor: https://cursor.com

  2. Open Cursor Settings

    • ⌘+Shift+J on macOS
    • Ctrl+Shift+J on Windows/Linux
  3. Go to the Models tab

  4. Scroll down to OpenAI API Key

  5. Paste in your v0 API key

  6. Click Override OpenAI Base URL

  7. Enter the v0 endpoint:

    https://api.v0.dev/v1
  8. Click Save

  9. Click Verify to confirm the connection

To use v0-1.0-md in Cursor's Agent Mode, follow these steps:

  1. Open a new chat.

    • Mode: Agent
    • Model: pick any OpenAI-labelled option (gpt-4o, gpt-4-turbo, etc.).
    • Cursor will internally use v0-1.0-md independent of the selected model.
  2. Start chatting. Cursor routes every call to v0-1.0-md.

    • Confirm with: who are you?
  • Attachments (images, files) are not currently supported.

By using our API, you agree to our API Terms.

Last updated on May 28, 2025