TtsOracleTts2NaturalModelDetails¶
-
class
oci.ai_speech.models.
TtsOracleTts2NaturalModelDetails
(**kwargs)¶ Bases:
oci.ai_speech.models.tts_oracle_model_details.TtsOracleModelDetails
Use this schema for specifying properties of TTS_2_NATURAL model from Oracle model family.
Attributes
MODEL_NAME_TTS_1_STANDARD
str(object=’’) -> str MODEL_NAME_TTS_2_NATURAL
str(object=’’) -> str model_name
[Required] Gets the model_name of this TtsOracleModelDetails. voice_id
Gets the voice_id of this TtsOracleTts2NaturalModelDetails. Methods
__init__
(**kwargs)Initializes a new TtsOracleTts2NaturalModelDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MODEL_NAME_TTS_1_STANDARD
= 'TTS_1_STANDARD'¶
-
MODEL_NAME_TTS_2_NATURAL
= 'TTS_2_NATURAL'¶
-
__init__
(**kwargs)¶ Initializes a new TtsOracleTts2NaturalModelDetails object with values from keyword arguments. The default value of the
model_name
attribute of this class isTTS_2_NATURAL
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - model_name (str) – The value to assign to the model_name property of this TtsOracleTts2NaturalModelDetails. Allowed values for this property are: “TTS_1_STANDARD”, “TTS_2_NATURAL”
- voice_id (str) – The value to assign to the voice_id property of this TtsOracleTts2NaturalModelDetails.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
model_name
¶ [Required] Gets the model_name of this TtsOracleModelDetails. The fully qualified name of model to use for speech generation. The available models are: - TTS_1_STANDARD - TTS_2_NATURAL
Allowed values for this property are: “TTS_1_STANDARD”, “TTS_2_NATURAL”
Returns: The model_name of this TtsOracleModelDetails. Return type: str
-
voice_id
¶ Gets the voice_id of this TtsOracleTts2NaturalModelDetails. Speaker in whose voice the user wants the output speech to be in. The possible values for voiceId can be obtained by calling
list_voices()
api.Returns: The voice_id of this TtsOracleTts2NaturalModelDetails. Return type: str
-