TtsOracleModelDetails

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

Bases: object

Model specific properties to use with Oracle model for TTS.

Attributes

MODEL_NAME_TTS_1_STANDARD A constant which can be used with the model_name property of a TtsOracleModelDetails.
MODEL_NAME_TTS_2_NATURAL A constant which can be used with the model_name property of a TtsOracleModelDetails.
model_name [Required] Gets the model_name of this TtsOracleModelDetails.

Methods

__init__(**kwargs) Initializes a new TtsOracleModelDetails 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'

A constant which can be used with the model_name property of a TtsOracleModelDetails. This constant has a value of “TTS_1_STANDARD”

MODEL_NAME_TTS_2_NATURAL = 'TTS_2_NATURAL'

A constant which can be used with the model_name property of a TtsOracleModelDetails. This constant has a value of “TTS_2_NATURAL”

__init__(**kwargs)

Initializes a new TtsOracleModelDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 TtsOracleModelDetails. Allowed values for this property are: “TTS_1_STANDARD”, “TTS_2_NATURAL”
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