Class AdvancedVoiceOptions (2.36.0)

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

Attributes

Name Description
low_latency_journey_synthesis bool
Only for Journey voices. If false, the synthesis is context aware and has a higher latency. This field is a member of oneof_ _low_latency_journey_synthesis.
relax_safety_filters bool
Optional. Input only. Deprecated, use safety_settings instead. If true, relaxes safety filters for Gemini TTS.
safety_settings google.cloud.texttospeech_v1beta1.types.AdvancedVoiceOptions.SafetySettings
Optional. Input only. This applies to Gemini TTS only. If set, the category specified in the safety setting will be blocked if the harm probability is above the threshold. Otherwise, the safety filter will be disabled by default.
enable_textnorm bool
Optional. If true, textnorm will be applied to text input. This feature is enabled by default. Only applies for Gemini TTS. This field is a member of oneof_ _enable_textnorm.

Classes

HarmBlockThreshold

HarmBlockThreshold(value)

Harm block thresholds for the safety settings.

HarmCategory

HarmCategory(value)

Harm categories that will block the content.

SafetySetting

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

Safety setting for a single harm category.

SafetySettings

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

Safety settings for the request.