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_v1beta1.types.SynthesisInput
Required. The Synthesizer requires either plain text or SSML as input.
voice google.cloud.texttospeech_v1beta1.types.VoiceSelectionParams
Required. The desired voice of the synthesized audio.
audio_config google.cloud.texttospeech_v1beta1.types.AudioConfig
Required. The configuration of the synthesized audio.
enable_time_pointing Sequence[google.cloud.texttospeech_v1beta1.types.SynthesizeSpeechRequest.TimepointType]
Whether and what timepoints are returned in the response.

Inheritance

builtins.object > proto.message.Message > SynthesizeSpeechRequest

Classes

TimepointType

TimepointType(value)

The type of timepoint information that is returned in the response.