Class SynthesizeSpeechRequest (2.33.0)

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

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
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.
advanced_voice_options google.cloud.texttospeech_v1.types.AdvancedVoiceOptions
Advanced voice options. This field is a member of oneof_ _advanced_voice_options.