Class SpeechConfig (1.133.0)

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

Configuration for speech generation.

Attributes

Name Description
voice_config google.cloud.aiplatform_v1.types.VoiceConfig
The configuration for the voice to use.
language_code str
Optional. The language code (ISO 639-1) for the speech synthesis.
multi_speaker_voice_config google.cloud.aiplatform_v1.types.MultiSpeakerVoiceConfig
The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with voice_config.

Methods

SpeechConfig

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

Configuration for speech generation.