AI models

Add AI functionality to your v0 projects by integrating AI models and platforms.

v0 can build AI functionality into your projects by integrating with AI platforms or by using API keys for specific providers.

Marketplace integrations

v0 integrates with AI platforms like Groq, fal, and Deep Infra. You can also connect directly to Grok by xAI.

From the Project Settings → Integrations, you'll see supported providers. Click Create to open the Marketplace and accept click-through terms to activate an integration.

v0 integration options

APIs

To integrate with third-party AI models such as OpenAI:

  1. Go to Project Settings → Environment Variables
  2. Click Add Variable
  3. Add your key, e.g. OPENAI_API_KEY, with its value

v0 will now use this variable when prompted to generate AI functionality.