TtsOracleTts1StandardModelDetails

class oci.ai_speech.models.TtsOracleTts1StandardModelDetails(**kwargs)

Bases: oci.ai_speech.models.tts_oracle_model_details.TtsOracleModelDetails

Use this schema for specifying properties of TTS_1_STANDARD 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 TtsOracleTts1StandardModelDetails.

Methods

__init__(**kwargs) Initializes a new TtsOracleTts1StandardModelDetails 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 TtsOracleTts1StandardModelDetails object with values from keyword arguments. The default value of the model_name attribute of this class is TTS_1_STANDARD 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 TtsOracleTts1StandardModelDetails. 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 TtsOracleTts1StandardModelDetails.
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 TtsOracleTts1StandardModelDetails. 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 TtsOracleTts1StandardModelDetails.
Return type:str