Speech Config
@Serializable
Config for speech generation and transcription.
Constructors
Link copied to clipboard
constructor(voiceConfig: VoiceConfig? = null, languageCode: String? = null, multiSpeakerVoiceConfig: MultiSpeakerVoiceConfig? = null)
Properties
Link copied to clipboard
Optional. The language code (ISO 639-1) for the speech synthesis.
Link copied to clipboard
The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.
Link copied to clipboard
The configuration in case of single-voice output.