ttsModel method

GoogleLLMBuilder ttsModel(
  1. String model
)

Sets the TTS model to use

Supported models:

  • 'gemini-2.5-flash-preview-tts' (default)
  • 'gemini-2.5-pro-preview-tts'

Implementation

GoogleLLMBuilder ttsModel(String model) {
  _baseBuilder.model(model);
  return this;
}