Google: Gemini 3.1 Flash TTS Preview
google/gemini-3.1-flash-tts-preview
Released Apr 24, 20268,192 context$1/M input tokens$20/M output tokens
OpenRouter provides a text-to-speech API that converts text into natural-sounding audio. Send text and a voice selection, and receive raw audio bytes in your chosen format.
The response is a raw audio stream (not JSON). The generation ID is returned in the X-Generation-Id response header for tracking.
For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.
See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.