CustomVoiceParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Description of the custom voice to be synthesized.
Attributes | |
---|---|
Name | Description |
model |
str
Required. The name of the AutoML model that synthesizes the custom voice. |
reported_usage |
google.cloud.texttospeech_v1beta1.types.CustomVoiceParams.ReportedUsage
Optional. The usage of the synthesized audio to be reported. |
Classes
ReportedUsage
ReportedUsage(value)
The usage of the synthesized audio. You must report your honest and correct usage of the service as it's regulated by contract and will cause significant difference in billing.
Values: REPORTED_USAGE_UNSPECIFIED (0): Request with reported usage unspecified will be rejected. REALTIME (1): For scenarios where the synthesized audio is not downloadable and can only be used once. For example, real-time request in IVR system. OFFLINE (2): For scenarios where the synthesized audio is downloadable and can be reused. For example, the synthesized audio is downloaded, stored in customer service system and played repeatedly.