Skip to main content

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 with sk-or-.

Model Name *

The speech model in OpenRouter’s provider/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 as mp3, opus, aac, flac, wav, or pcm. Choose mp3 unless you have a reason not to; it is the most widely playable.

Model Friendly Name

A label shown in the PipesHub interface so you can tell several configurations apart.