Class CustomVoiceParams (2.14.1)

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

Description of the custom voice to be synthesized.


model str
Required. The name of the AutoML model that synthesizes the custom voice.
Optional. The usage of the synthesized audio to be reported.




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.