Package org.springframework.ai.google.genai.tts
@NullMarked
package org.springframework.ai.google.genai.tts
Google GenAI Gemini-TTS text-to-speech support for Spring AI.
-
ClassDescriptionOptions for Google Gemini-TTS text-to-speech, backed by the Google GenAI SDK (
com.google.genai).The format of the audio byte stream returned by the synthesis.A single speaker turn used for multi-speaker synthesis input.A cloned voice sample used to synthesize speech with a replicated voice (maps tospeechConfig.voiceConfig.replicatedVoiceConfig).A single speaker-to-voice mapping for multi-speaker synthesis.Holds the connection details for the Gemini API used by Gemini-TTS and builds the underlying Google GenAIClient.Implementation of theTextToSpeechModelinterface for Google Gemini-TTS, backed by the Google GenAI SDK (com.google.genai).