Class SynthesizeSpeechRequest (2.12.2)

SynthesizeSpeechRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The top-level message sent by the client for the SynthesizeSpeech method.

Attributes

NameDescription
input google.cloud.texttospeech_v1.types.SynthesisInput
Required. The Synthesizer requires either plain text or SSML as input.
voice google.cloud.texttospeech_v1.types.VoiceSelectionParams
Required. The desired voice of the synthesized audio.
audio_config google.cloud.texttospeech_v1.types.AudioConfig
Required. The configuration of the synthesized audio.

Inheritance

builtins.object > proto.message.Message > SynthesizeSpeechRequest