Skip to main content
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. OpenRouter lists no OpenAI speech model today, so pick a speech model that accepts the OpenAI voice names below. Browse the OpenRouter models page for what is currently offered.

Optional Fields

Voice

Choose Alloy (the default), Echo, Fable, Onyx, Nova or Shimmer. The model you route to must accept the voice you pick.

Audio Format

MP3 (the default) or PCM. Choose MP3 unless the model does not support it; it is the most widely playable. Some models return only PCM (for example HeyGen Voice and Gemini TTS) and reject MP3 with a 400 error, and some return only MP3. Check the model’s supported formats on OpenRouter and pick the one it offers.

Model Friendly Name

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