OpenRouter Text to Speech Configuration
OpenRouter can serve text-to-speech models from several providers through one API key.Before you start
Create an account at openrouter.ai and generate an API key under Keys.Required Fields
API Key *
Your OpenRouter API key. Keys begin withsk-or-.
Model Name *
The speech model in OpenRouter’sprovider/model form, for example openai/gpt-4o-mini-tts-2025-12-15. Browse the OpenRouter models page for what is currently offered.
Optional Fields
Voice
The voice used for the generated speech. The values available depend on the upstream model you route to.Audio Format
The container format of the returned audio, such asmp3, opus, aac, flac, wav, or pcm. Choose mp3 unless you have a reason not to; it is the most widely playable.