Create speech
Generates audio from input text (text-to-speech). Returns the audio file as binary data.
post/v1/audio/speech
Request body
Example request
{
"model": "gemini-2.5-flash-preview-tts",
"input": "Hello, welcome to LLM Gateway!",
"voice": "Kore",
"response_format": "wav",
"speed": 1,
"instructions": "Say in a warm, friendly tone"
}Response
Generated audio.
Changes
No recorded changes to this endpoint across all 1 revision of this API.