Generate speech
Authorizations
OrcaRouter API keys look like sk-orca-.... Pass them in the
Authorization: Bearer sk-orca-... header.
Body
OpenAI TTS model — openai/tts-1, openai/tts-1-hd,
openai/gpt-4o-mini-tts. Gemini TTS preview models are not
served on this endpoint; use Gemini's native /v1beta/
surface with responseModalities: ["AUDIO"] instead.
"openai/tts-1"
Voice identifier. The gateway forwards this field to the upstream unchanged — use whichever voice name the upstream model supports.
"alloy"
"echo"
"fable"
"onyx"
"nova"
"shimmer"
Optional voice direction (e.g. style, tone). Honored by
models that support it, such as openai/gpt-4o-mini-tts.
Playback rate. Default 1.0.
0.25 <= x <= 4When set, response is streamed in this format chunk-by-chunk (subject to upstream support).
mp3, opus, aac, flac, wav, pcm Response
Binary audio content.
