Class: TencentCloud::Iotexplorer::V20190423::TalkTTSConfigInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TalkTTSConfigInfo
- Defined in:
- lib/v20190423/models.rb
Overview
TTS配置信息。
Instance Attribute Summary collapse
-
#Config ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
-
#Enabled ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
-
#Pitch ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
-
#Speed ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
-
#TTSType ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
-
#Volume ⇒ Object
## azure “‘ { “SubscriptionKey”: 100203, “Region”: “ch-zn”, “VoiceName”: “XXXXX”, “Language”:“zh” } “` ## elevenlabs “` { “ModelId”: 100203, “VoiceId”: “ch-zn”, “ApiKey”: “XXXXX” } “` ## minimax “` { “Model”:“xxxx”, “ApiUrl”: “346w34”, “ApiKey”: “xxx”, “GroupId”: “ion”, “VoiceType”:“xioawei” } “` ## cartesia “` { “Model”:“xxxx”, “ApiKey”: “xxx”, “VoiceId”:“xioawei” } “` ## aliyun “` { “VoiceType”: 100203, “RegionId”: “XXXX”, “ApiKey”: “XXXXX” } “` ## volcengine “` { “AppId”: “346w34”, “AccessToken”: “xxx”, “ResourceId”: “volc.bigasr.sauc.duration”, “VoiceType”:“xioawei” } “`.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ttstype = nil, enabled = nil, config = nil, speed = nil, volume = nil, pitch = nil) ⇒ TalkTTSConfigInfo
constructor
A new instance of TalkTTSConfigInfo.
Constructor Details
#initialize(ttstype = nil, enabled = nil, config = nil, speed = nil, volume = nil, pitch = nil) ⇒ TalkTTSConfigInfo
Returns a new instance of TalkTTSConfigInfo.
13798 13799 13800 13801 13802 13803 13804 13805 |
# File 'lib/v20190423/models.rb', line 13798 def initialize(ttstype=nil, enabled=nil, config=nil, speed=nil, volume=nil, pitch=nil) @TTSType = ttstype @Enabled = enabled @Config = config @Speed = speed @Volume = volume @Pitch = pitch end |
Instance Attribute Details
#Config ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def Config @Config end |
#Enabled ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def Enabled @Enabled end |
#Pitch ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def Pitch @Pitch end |
#Speed ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def Speed @Speed end |
#TTSType ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def TTSType @TTSType end |
#Volume ⇒ Object
## azure “‘
"SubscriptionKey": 100203,
"Region": "ch-zn",
"VoiceName": "XXXXX",
"Language":"zh"
“‘ ## elevenlabs “`
"ModelId": 100203,
"VoiceId": "ch-zn",
"ApiKey": "XXXXX"
“‘ ## minimax “`
"Model":"xxxx",
"ApiUrl": "346w34",
"ApiKey": "xxx",
"GroupId": "ion",
"VoiceType":"xioawei"
“‘ ## cartesia “`
"Model":"xxxx",
"ApiKey": "xxx",
"VoiceId":"xioawei"
“‘ ## aliyun “`
"VoiceType": 100203,
"RegionId": "XXXX",
"ApiKey": "XXXXX"
“‘ ## volcengine “`
"AppId": "346w34",
"AccessToken": "xxx",
"ResourceId": "volc.bigasr.sauc.duration",
"VoiceType":"xioawei"
“‘
13796 13797 13798 |
# File 'lib/v20190423/models.rb', line 13796 def Volume @Volume end |
Instance Method Details
#deserialize(params) ⇒ Object
13807 13808 13809 13810 13811 13812 13813 13814 |
# File 'lib/v20190423/models.rb', line 13807 def deserialize(params) @TTSType = params['TTSType'] @Enabled = params['Enabled'] @Config = params['Config'] @Speed = params['Speed'] @Volume = params['Volume'] @Pitch = params['Pitch'] end |