Synthesize speech
Tts
Synthesize speech
Generates text-to-speech audio for the given text using the configured Gemini TTS provider.
Accepts an optional prompt for style guidance, voice, model, audioEncoding, and languageCode.
Returns { audioContent, audioConfig, model } where audioContent is base64-encoded audio.
Combined text and prompt must not exceed 1800 characters.
POST
Synthesize speech
Authorizations
HERO personal access token
Body
application/json