defaultsTtsToAudio property

bool get defaultsTtsToAudio

Whether Interactions requests to text-to-speech models ask for audio by default (a {type: audio} response format). The Gemini API needs it; vertexAI sends its TTS models through generateContent.

Implementation

bool get defaultsTtsToAudio => true;