Text To Speech Request
data class TextToSpeechRequest(val voiceId: String, val text: String, val modelId: String? = null, val languageCode: String? = null, val voiceSettings: VoiceSettings? = null, val outputFormat: OutputFormat = OutputFormat.Mp3_44100_128, val enableLogging: Boolean = true)(source)
Input for complete or HTTP-streamed text-to-speech generation.
Constructors
Link copied to clipboard
constructor(voiceId: String, text: String, modelId: String? = null, languageCode: String? = null, voiceSettings: VoiceSettings? = null, outputFormat: OutputFormat = OutputFormat.Mp3_44100_128, enableLogging: Boolean = true)