Skip to main content

API Keys

Voiceblox uses a .env.local file to store all provider API keys. Keys are loaded at server startup — restart the dev server after making changes.

Core keys

These are required for full functionality:
KeyProviderPurpose
LIVEKIT_URLLiveKit CloudWebSocket URL for rooms
LIVEKIT_API_KEYLiveKit CloudRoom management auth
LIVEKIT_API_SECRETLiveKit CloudRoom management auth
DEEPGRAM_API_KEYDeepgramVoice input in builder + STT
ANTHROPIC_API_KEYAnthropicAI flow generator

LLM providers

KeyProvider
OPENAI_API_KEYOpenAI
ANTHROPIC_API_KEYAnthropic
GEMINI_API_KEYGoogle AI Studio
GROQ_API_KEYGroq
TOGETHER_API_KEYTogether AI
MOONSHOT_API_KEYMoonshot AI
DEEPSEEK_API_KEYDeepSeek
MISTRALAI_API_KEYMistral AI
CEREBRAS_API_KEYCerebras
FIREWORKS_API_KEYFireworks AI
PERPLEXITY_API_KEYPerplexity
XAI_API_KEYxAI
OPENROUTER_API_KEYOpenRouter
OVHCLOUD_API_KEYOVHcloud
BEDROCK_API_KEYAmazon Bedrock
LETTA_API_KEYLetta
OLLAMA_API_KEYOllama (local)
TELNYX_API_KEYTelnyx

TTS providers

KeyProvider
ELEVENLABS_API_KEYElevenLabs
CARTESIA_API_KEYCartesia
DEEPGRAM_API_KEYDeepgram
OPENAI_API_KEYOpenAI (also used for TTS)
NEUPHONIC_API_KEYNeuphonic
RESEMBLE_API_KEYResemble AI
RIME_API_KEYRime
INWORLD_API_KEYInworld
GROQ_API_KEYGroq (also used for TTS)

STT providers

KeyProvider
DEEPGRAM_API_KEYDeepgram
OPENAI_API_KEYOpenAI Whisper
GROQ_API_KEYGroq Whisper
ASSEMBLYAI_API_KEYAssemblyAI
CARTESIA_API_KEYCartesia (also used for STT)
ELEVENLABS_API_KEYElevenLabs (also used for STT)
OVHCLOUD_API_KEYOVHcloud (also used for STT)
FAL_API_KEYfal.ai
GLADIA_API_KEYGladia
SONIOX_API_KEYSoniox

Integration keys

KeyProvider
EXA_API_KEYExa.ai (web search)

LiveKit inference gateway

If you don’t have a direct API key for a provider, LiveKit’s inference gateway can proxy requests for supported models. Set your LiveKit credentials and leave the provider API key blank — Voiceblox falls back to inference automatically.

Managing keys in the UI

You can also set keys through the Settings panel in the builder (gear icon). Keys are written to .env.local on the server and take effect immediately without a restart.