VPA Logo

API Keys

Managing your AI provider API keys securely.

VPA uses your own API keys to communicate with AI providers. This gives you control over costs and ensures your prompts remain private. Here's how to manage your API keys.

Why Use Your Own Keys?

  • Privacy: Your videos and prompts stay between you and the provider
  • Cost control: Pay only for what you use, directly to providers
  • No middleman: Direct access to the latest models
  • Flexibility: Use any model available on your account

Supported Providers

VPA currently supports API keys from:

OpenAI

  • Used for: GPT-4o, GPT-4 Vision analysis
  • Get your key: platform.openai.com/api-keys
  • Required for: Video analysis with OpenAI models

Anthropic

  • Used for: Claude 3.5 Sonnet, Claude 3 Opus analysis
  • Get your key: console.anthropic.com
  • Required for: Video analysis with Claude models

Google AI

  • Used for: Gemini Pro Vision analysis
  • Get your key: aistudio.google.com
  • Required for: Video analysis with Gemini models
⚠️

Keep keys secure

Never share your API keys. Treat them like passwords. If you suspect a key has been compromised, rotate it immediately through the provider's dashboard.

Adding an API Key

  1. Navigate to Settings > API Keys
  2. Click "Add API Key"
  3. Select the provider from the dropdown
  4. Paste your API key into the secure field
  5. Optionally add a label (e.g., "Personal", "Work")
  6. Click "Save"

Key Storage Security

VPA takes API key security seriously:

  • Encryption: Keys are encrypted at rest using AES-256
  • No logging: Keys are never logged or stored in plain text
  • Server-side only: Keys never reach the browser
  • Minimal access: Keys are only decrypted when making API calls

Managing Multiple Keys

You can add multiple keys per provider for different purposes:

  • Personal vs. work accounts
  • Different billing contexts
  • Separate usage tracking
  • Testing vs. production keys

Setting a Default Key

When you have multiple keys for a provider, you can set one as the default. This key will be used automatically unless you explicitly select another.

Key Validation

VPA validates keys when you add them to ensure they work correctly. We make a minimal API call to verify the key has the necessary permissions.

💡

Permissions needed

Ensure your API keys have permission to use vision/image models. Some provider accounts have restricted access that may prevent video analysis.

Removing Keys

You can remove an API key at any time from Settings > API Keys. Click the delete button next to any key to remove it. This action is immediate and cannot be undone.

Usage Tracking

VPA displays estimated API costs for each analysis based on the number of frames and tokens used. Monitor your actual usage through each provider's dashboard.