OpenAI-compatible text-to-speech (drop-in)
Use when: caller has an existing OpenAI SDK TTS flow and wants to route through Verlon with zero code changes via baseURL swap
Drop-in replacement for POST https://api.openai.com/v1/audio/speech. Accepts the upstream OpenAI TTS request body verbatim and returns the raw audio bytes the upstream API returns. Route through a Verlon gate by passing model as a Verlon gate id. Existing OpenAI SDK clients work unmodified via baseURL swap. Errors are returned in the OpenAI nested shape.
Authorizations
Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.
Response
Audio response. Content-Type matches the underlying provider format (typically audio/mpeg).

