CustomVoiceSample(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for a custom voice sample used for voice cloning.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Optional. The user-defined name for the custom voice sample. |
voice_sample_gcs_uri |
str
Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file. |
consent_audio_gcs_uri |
str
Optional. Consent audio for voice cloning. |
voice_instruction |
str
Optional. Natural language instructions for voice style, tone, pacing, or pronunciation. |
preview_audio_content |
bytes
Output only. Synthesized preview audio for custom voice, formatted as canonical WAV (LINEAR16, 24kHz, 16-bit, mono). |
preview_text |
str
Optional. Text for synthesizing preview audio for custom voice. |
warnings |
MutableSequence[google.cloud.ces_v1beta.types.CustomVoiceSample.Warning]
Output only. Warning messages encountered during voice clone processing (e.g. low audio level). |
voice_instruction_mode |
google.cloud.ces_v1beta.types.CustomVoiceSample.VoiceInstructionMode
Optional. Instruction mode for the voice sample. If unspecified, defaults to NO_INSTRUCTION. |
Classes
VoiceInstructionMode
VoiceInstructionMode(value)Instruction mode for the voice sample.
Warning
Warning(mapping=None, *, ignore_unknown_fields=False, **kwargs)A warning message encountered during voice sample processing.