tencentcloud-sdk-python-mps 3.1.87__tar.gz → 3.1.89__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/v20190612/models.py +299 -4
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.89/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.87/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.87 → tencentcloud_sdk_python_mps-3.1.89}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.89
|
|
4
4
|
Summary: Tencent Cloud Mps SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.89
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.89,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -42048,17 +42048,52 @@ class DescribeVoicesRequest(AbstractModel):
|
|
|
42048
42048
|
|
|
42049
42049
|
def __init__(self):
|
|
42050
42050
|
r"""
|
|
42051
|
-
:param
|
|
42051
|
+
:param _VoiceId: <p>音色ID</p>
|
|
42052
|
+
:type VoiceId: str
|
|
42053
|
+
:param _VoiceType: <p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li><li>clone: 克隆音色</li><li>design: 设计音色</li><li>all: 所有音色(默认)</li></ul>
|
|
42052
42054
|
:type VoiceType: str
|
|
42055
|
+
:param _VoiceName: <p>音色名</p>
|
|
42056
|
+
:type VoiceName: str
|
|
42057
|
+
:param _Description: <p>音色描述</p>
|
|
42058
|
+
:type Description: str
|
|
42059
|
+
:param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
|
|
42060
|
+
:type Gender: str
|
|
42061
|
+
:param _Age: <p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
42062
|
+
:type Age: str
|
|
42063
|
+
:param _Languages: <p>语言</p>
|
|
42064
|
+
:type Languages: list of str
|
|
42065
|
+
:param _Labels: <p>标签</p>
|
|
42066
|
+
:type Labels: list of str
|
|
42067
|
+
:param _Scenes: <p>场景</p>
|
|
42068
|
+
:type Scenes: list of str
|
|
42053
42069
|
:param _ExtParam: <p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
|
|
42054
42070
|
:type ExtParam: str
|
|
42055
42071
|
"""
|
|
42072
|
+
self._VoiceId = None
|
|
42056
42073
|
self._VoiceType = None
|
|
42074
|
+
self._VoiceName = None
|
|
42075
|
+
self._Description = None
|
|
42076
|
+
self._Gender = None
|
|
42077
|
+
self._Age = None
|
|
42078
|
+
self._Languages = None
|
|
42079
|
+
self._Labels = None
|
|
42080
|
+
self._Scenes = None
|
|
42057
42081
|
self._ExtParam = None
|
|
42058
42082
|
|
|
42083
|
+
@property
|
|
42084
|
+
def VoiceId(self):
|
|
42085
|
+
r"""<p>音色ID</p>
|
|
42086
|
+
:rtype: str
|
|
42087
|
+
"""
|
|
42088
|
+
return self._VoiceId
|
|
42089
|
+
|
|
42090
|
+
@VoiceId.setter
|
|
42091
|
+
def VoiceId(self, VoiceId):
|
|
42092
|
+
self._VoiceId = VoiceId
|
|
42093
|
+
|
|
42059
42094
|
@property
|
|
42060
42095
|
def VoiceType(self):
|
|
42061
|
-
r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
|
|
42096
|
+
r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li><li>clone: 克隆音色</li><li>design: 设计音色</li><li>all: 所有音色(默认)</li></ul>
|
|
42062
42097
|
:rtype: str
|
|
42063
42098
|
"""
|
|
42064
42099
|
return self._VoiceType
|
|
@@ -42067,6 +42102,83 @@ class DescribeVoicesRequest(AbstractModel):
|
|
|
42067
42102
|
def VoiceType(self, VoiceType):
|
|
42068
42103
|
self._VoiceType = VoiceType
|
|
42069
42104
|
|
|
42105
|
+
@property
|
|
42106
|
+
def VoiceName(self):
|
|
42107
|
+
r"""<p>音色名</p>
|
|
42108
|
+
:rtype: str
|
|
42109
|
+
"""
|
|
42110
|
+
return self._VoiceName
|
|
42111
|
+
|
|
42112
|
+
@VoiceName.setter
|
|
42113
|
+
def VoiceName(self, VoiceName):
|
|
42114
|
+
self._VoiceName = VoiceName
|
|
42115
|
+
|
|
42116
|
+
@property
|
|
42117
|
+
def Description(self):
|
|
42118
|
+
r"""<p>音色描述</p>
|
|
42119
|
+
:rtype: str
|
|
42120
|
+
"""
|
|
42121
|
+
return self._Description
|
|
42122
|
+
|
|
42123
|
+
@Description.setter
|
|
42124
|
+
def Description(self, Description):
|
|
42125
|
+
self._Description = Description
|
|
42126
|
+
|
|
42127
|
+
@property
|
|
42128
|
+
def Gender(self):
|
|
42129
|
+
r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
|
|
42130
|
+
:rtype: str
|
|
42131
|
+
"""
|
|
42132
|
+
return self._Gender
|
|
42133
|
+
|
|
42134
|
+
@Gender.setter
|
|
42135
|
+
def Gender(self, Gender):
|
|
42136
|
+
self._Gender = Gender
|
|
42137
|
+
|
|
42138
|
+
@property
|
|
42139
|
+
def Age(self):
|
|
42140
|
+
r"""<p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
42141
|
+
:rtype: str
|
|
42142
|
+
"""
|
|
42143
|
+
return self._Age
|
|
42144
|
+
|
|
42145
|
+
@Age.setter
|
|
42146
|
+
def Age(self, Age):
|
|
42147
|
+
self._Age = Age
|
|
42148
|
+
|
|
42149
|
+
@property
|
|
42150
|
+
def Languages(self):
|
|
42151
|
+
r"""<p>语言</p>
|
|
42152
|
+
:rtype: list of str
|
|
42153
|
+
"""
|
|
42154
|
+
return self._Languages
|
|
42155
|
+
|
|
42156
|
+
@Languages.setter
|
|
42157
|
+
def Languages(self, Languages):
|
|
42158
|
+
self._Languages = Languages
|
|
42159
|
+
|
|
42160
|
+
@property
|
|
42161
|
+
def Labels(self):
|
|
42162
|
+
r"""<p>标签</p>
|
|
42163
|
+
:rtype: list of str
|
|
42164
|
+
"""
|
|
42165
|
+
return self._Labels
|
|
42166
|
+
|
|
42167
|
+
@Labels.setter
|
|
42168
|
+
def Labels(self, Labels):
|
|
42169
|
+
self._Labels = Labels
|
|
42170
|
+
|
|
42171
|
+
@property
|
|
42172
|
+
def Scenes(self):
|
|
42173
|
+
r"""<p>场景</p>
|
|
42174
|
+
:rtype: list of str
|
|
42175
|
+
"""
|
|
42176
|
+
return self._Scenes
|
|
42177
|
+
|
|
42178
|
+
@Scenes.setter
|
|
42179
|
+
def Scenes(self, Scenes):
|
|
42180
|
+
self._Scenes = Scenes
|
|
42181
|
+
|
|
42070
42182
|
@property
|
|
42071
42183
|
def ExtParam(self):
|
|
42072
42184
|
r"""<p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
|
|
@@ -42080,7 +42192,15 @@ class DescribeVoicesRequest(AbstractModel):
|
|
|
42080
42192
|
|
|
42081
42193
|
|
|
42082
42194
|
def _deserialize(self, params):
|
|
42195
|
+
self._VoiceId = params.get("VoiceId")
|
|
42083
42196
|
self._VoiceType = params.get("VoiceType")
|
|
42197
|
+
self._VoiceName = params.get("VoiceName")
|
|
42198
|
+
self._Description = params.get("Description")
|
|
42199
|
+
self._Gender = params.get("Gender")
|
|
42200
|
+
self._Age = params.get("Age")
|
|
42201
|
+
self._Languages = params.get("Languages")
|
|
42202
|
+
self._Labels = params.get("Labels")
|
|
42203
|
+
self._Scenes = params.get("Scenes")
|
|
42084
42204
|
self._ExtParam = params.get("ExtParam")
|
|
42085
42205
|
memeber_set = set(params.keys())
|
|
42086
42206
|
for name, value in vars(self).items():
|
|
@@ -42675,10 +42795,13 @@ class DesignVoiceAsyncRequest(AbstractModel):
|
|
|
42675
42795
|
r"""
|
|
42676
42796
|
:param _Prompt: <p>音色描述</p>
|
|
42677
42797
|
:type Prompt: str
|
|
42798
|
+
:param _VoiceProfile: <p>音色属性</p>
|
|
42799
|
+
:type VoiceProfile: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
|
|
42678
42800
|
:param _ExtParam: <p>扩展参数,json字符串</p>
|
|
42679
42801
|
:type ExtParam: str
|
|
42680
42802
|
"""
|
|
42681
42803
|
self._Prompt = None
|
|
42804
|
+
self._VoiceProfile = None
|
|
42682
42805
|
self._ExtParam = None
|
|
42683
42806
|
|
|
42684
42807
|
@property
|
|
@@ -42692,6 +42815,17 @@ class DesignVoiceAsyncRequest(AbstractModel):
|
|
|
42692
42815
|
def Prompt(self, Prompt):
|
|
42693
42816
|
self._Prompt = Prompt
|
|
42694
42817
|
|
|
42818
|
+
@property
|
|
42819
|
+
def VoiceProfile(self):
|
|
42820
|
+
r"""<p>音色属性</p>
|
|
42821
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
|
|
42822
|
+
"""
|
|
42823
|
+
return self._VoiceProfile
|
|
42824
|
+
|
|
42825
|
+
@VoiceProfile.setter
|
|
42826
|
+
def VoiceProfile(self, VoiceProfile):
|
|
42827
|
+
self._VoiceProfile = VoiceProfile
|
|
42828
|
+
|
|
42695
42829
|
@property
|
|
42696
42830
|
def ExtParam(self):
|
|
42697
42831
|
r"""<p>扩展参数,json字符串</p>
|
|
@@ -42706,6 +42840,9 @@ class DesignVoiceAsyncRequest(AbstractModel):
|
|
|
42706
42840
|
|
|
42707
42841
|
def _deserialize(self, params):
|
|
42708
42842
|
self._Prompt = params.get("Prompt")
|
|
42843
|
+
if params.get("VoiceProfile") is not None:
|
|
42844
|
+
self._VoiceProfile = VoiceProfile()
|
|
42845
|
+
self._VoiceProfile._deserialize(params.get("VoiceProfile"))
|
|
42709
42846
|
self._ExtParam = params.get("ExtParam")
|
|
42710
42847
|
memeber_set = set(params.keys())
|
|
42711
42848
|
for name, value in vars(self).items():
|
|
@@ -72839,7 +72976,7 @@ class SSAIConf(AbstractModel):
|
|
|
72839
72976
|
:type MultiRequest: bool
|
|
72840
72977
|
:param _DashOriginManifestType: <p>dash周期类型:SinglePeriod 或 MultiPeriod,默认 MultiPeriod</p>
|
|
72841
72978
|
:type DashOriginManifestType: str
|
|
72842
|
-
:param _SlateOnEmptyVast: <p
|
|
72979
|
+
:param _SlateOnEmptyVast: <p>广告为空时是否插入Slate,默认开启(true)</p>
|
|
72843
72980
|
:type SlateOnEmptyVast: bool
|
|
72844
72981
|
:param _SCTEMarkerDuration: <p>SCTE marker duration,默认180,范围0-3600</p>
|
|
72845
72982
|
:type SCTEMarkerDuration: int
|
|
@@ -73060,7 +73197,7 @@ class SSAIConf(AbstractModel):
|
|
|
73060
73197
|
|
|
73061
73198
|
@property
|
|
73062
73199
|
def SlateOnEmptyVast(self):
|
|
73063
|
-
r"""<p
|
|
73200
|
+
r"""<p>广告为空时是否插入Slate,默认开启(true)</p>
|
|
73064
73201
|
:rtype: bool
|
|
73065
73202
|
"""
|
|
73066
73203
|
return self._SlateOnEmptyVast
|
|
@@ -82364,8 +82501,12 @@ class SyncDubbingRequest(AbstractModel):
|
|
|
82364
82501
|
:type AudioUrl: str
|
|
82365
82502
|
:param _AudioLang: <p>克隆音频语言,默认中文。<br>当前支持语言同TextLang</p>
|
|
82366
82503
|
:type AudioLang: str
|
|
82504
|
+
:param _VoiceProfile: <p>音色属性</p>
|
|
82505
|
+
:type VoiceProfile: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
|
|
82367
82506
|
:param _Output: <p>输出相关参数</p><p>可以指定输出形式等</p>
|
|
82368
82507
|
:type Output: :class:`tencentcloud.mps.v20190612.models.SyncDubbingOutputOption`
|
|
82508
|
+
:param _ResourceId: <p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
|
|
82509
|
+
:type ResourceId: str
|
|
82369
82510
|
:param _ExtParam: <p>扩展参数,json字符串</p><p>synExt Object 语音合成扩展参数<br> -duration Float 合成音频时长,单位秒,示例:5.2<br> -sampleRate Integer 合成音频采样率,默认16000,支持[8000,16000,22050,32000,44100]<br> -pitch Integer 音调,默认0原音色输出,取值[-12, 12]<br>cloneExt Object 音色克隆扩展参数<br> -timeRanges Float[][] 指定克隆音频时间范围,默认[[0, 20]],示例[[5.2, 10], [45, 59.8]]</p>
|
|
82370
82511
|
:type ExtParam: str
|
|
82371
82512
|
"""
|
|
@@ -82375,7 +82516,9 @@ class SyncDubbingRequest(AbstractModel):
|
|
|
82375
82516
|
self._AudioData = None
|
|
82376
82517
|
self._AudioUrl = None
|
|
82377
82518
|
self._AudioLang = None
|
|
82519
|
+
self._VoiceProfile = None
|
|
82378
82520
|
self._Output = None
|
|
82521
|
+
self._ResourceId = None
|
|
82379
82522
|
self._ExtParam = None
|
|
82380
82523
|
|
|
82381
82524
|
@property
|
|
@@ -82444,6 +82587,17 @@ class SyncDubbingRequest(AbstractModel):
|
|
|
82444
82587
|
def AudioLang(self, AudioLang):
|
|
82445
82588
|
self._AudioLang = AudioLang
|
|
82446
82589
|
|
|
82590
|
+
@property
|
|
82591
|
+
def VoiceProfile(self):
|
|
82592
|
+
r"""<p>音色属性</p>
|
|
82593
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
|
|
82594
|
+
"""
|
|
82595
|
+
return self._VoiceProfile
|
|
82596
|
+
|
|
82597
|
+
@VoiceProfile.setter
|
|
82598
|
+
def VoiceProfile(self, VoiceProfile):
|
|
82599
|
+
self._VoiceProfile = VoiceProfile
|
|
82600
|
+
|
|
82447
82601
|
@property
|
|
82448
82602
|
def Output(self):
|
|
82449
82603
|
r"""<p>输出相关参数</p><p>可以指定输出形式等</p>
|
|
@@ -82455,6 +82609,17 @@ class SyncDubbingRequest(AbstractModel):
|
|
|
82455
82609
|
def Output(self, Output):
|
|
82456
82610
|
self._Output = Output
|
|
82457
82611
|
|
|
82612
|
+
@property
|
|
82613
|
+
def ResourceId(self):
|
|
82614
|
+
r"""<p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
|
|
82615
|
+
:rtype: str
|
|
82616
|
+
"""
|
|
82617
|
+
return self._ResourceId
|
|
82618
|
+
|
|
82619
|
+
@ResourceId.setter
|
|
82620
|
+
def ResourceId(self, ResourceId):
|
|
82621
|
+
self._ResourceId = ResourceId
|
|
82622
|
+
|
|
82458
82623
|
@property
|
|
82459
82624
|
def ExtParam(self):
|
|
82460
82625
|
r"""<p>扩展参数,json字符串</p><p>synExt Object 语音合成扩展参数<br> -duration Float 合成音频时长,单位秒,示例:5.2<br> -sampleRate Integer 合成音频采样率,默认16000,支持[8000,16000,22050,32000,44100]<br> -pitch Integer 音调,默认0原音色输出,取值[-12, 12]<br>cloneExt Object 音色克隆扩展参数<br> -timeRanges Float[][] 指定克隆音频时间范围,默认[[0, 20]],示例[[5.2, 10], [45, 59.8]]</p>
|
|
@@ -82474,9 +82639,13 @@ class SyncDubbingRequest(AbstractModel):
|
|
|
82474
82639
|
self._AudioData = params.get("AudioData")
|
|
82475
82640
|
self._AudioUrl = params.get("AudioUrl")
|
|
82476
82641
|
self._AudioLang = params.get("AudioLang")
|
|
82642
|
+
if params.get("VoiceProfile") is not None:
|
|
82643
|
+
self._VoiceProfile = VoiceProfile()
|
|
82644
|
+
self._VoiceProfile._deserialize(params.get("VoiceProfile"))
|
|
82477
82645
|
if params.get("Output") is not None:
|
|
82478
82646
|
self._Output = SyncDubbingOutputOption()
|
|
82479
82647
|
self._Output._deserialize(params.get("Output"))
|
|
82648
|
+
self._ResourceId = params.get("ResourceId")
|
|
82480
82649
|
self._ExtParam = params.get("ExtParam")
|
|
82481
82650
|
memeber_set = set(params.keys())
|
|
82482
82651
|
for name, value in vars(self).items():
|
|
@@ -89533,6 +89702,8 @@ class VoiceInfo(AbstractModel):
|
|
|
89533
89702
|
:type Category: str
|
|
89534
89703
|
:param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>famale: 女</li></ul>
|
|
89535
89704
|
:type Gender: str
|
|
89705
|
+
:param _Age: <p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
89706
|
+
:type Age: str
|
|
89536
89707
|
:param _Languages: <p>支持语种列表</p><p>如:en</p>
|
|
89537
89708
|
:type Languages: list of str
|
|
89538
89709
|
:param _AudioUrl: <p>试听音频URL</p>
|
|
@@ -89547,6 +89718,7 @@ class VoiceInfo(AbstractModel):
|
|
|
89547
89718
|
self._Description = None
|
|
89548
89719
|
self._Category = None
|
|
89549
89720
|
self._Gender = None
|
|
89721
|
+
self._Age = None
|
|
89550
89722
|
self._Languages = None
|
|
89551
89723
|
self._AudioUrl = None
|
|
89552
89724
|
self._Labels = None
|
|
@@ -89607,6 +89779,17 @@ class VoiceInfo(AbstractModel):
|
|
|
89607
89779
|
def Gender(self, Gender):
|
|
89608
89780
|
self._Gender = Gender
|
|
89609
89781
|
|
|
89782
|
+
@property
|
|
89783
|
+
def Age(self):
|
|
89784
|
+
r"""<p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
89785
|
+
:rtype: str
|
|
89786
|
+
"""
|
|
89787
|
+
return self._Age
|
|
89788
|
+
|
|
89789
|
+
@Age.setter
|
|
89790
|
+
def Age(self, Age):
|
|
89791
|
+
self._Age = Age
|
|
89792
|
+
|
|
89610
89793
|
@property
|
|
89611
89794
|
def Languages(self):
|
|
89612
89795
|
r"""<p>支持语种列表</p><p>如:en</p>
|
|
@@ -89658,6 +89841,7 @@ class VoiceInfo(AbstractModel):
|
|
|
89658
89841
|
self._Description = params.get("Description")
|
|
89659
89842
|
self._Category = params.get("Category")
|
|
89660
89843
|
self._Gender = params.get("Gender")
|
|
89844
|
+
self._Age = params.get("Age")
|
|
89661
89845
|
self._Languages = params.get("Languages")
|
|
89662
89846
|
self._AudioUrl = params.get("AudioUrl")
|
|
89663
89847
|
self._Labels = params.get("Labels")
|
|
@@ -89672,6 +89856,117 @@ class VoiceInfo(AbstractModel):
|
|
|
89672
89856
|
|
|
89673
89857
|
|
|
89674
89858
|
|
|
89859
|
+
class VoiceProfile(AbstractModel):
|
|
89860
|
+
r"""音色属性
|
|
89861
|
+
|
|
89862
|
+
"""
|
|
89863
|
+
|
|
89864
|
+
def __init__(self):
|
|
89865
|
+
r"""
|
|
89866
|
+
:param _Name: <p>音色名</p>
|
|
89867
|
+
:type Name: str
|
|
89868
|
+
:param _Description: <p>音色描述</p>
|
|
89869
|
+
:type Description: str
|
|
89870
|
+
:param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男性</li><li>female: 女性</li><li>unknown: 未知</li></ul>
|
|
89871
|
+
:type Gender: str
|
|
89872
|
+
:param _Age: <p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
89873
|
+
:type Age: str
|
|
89874
|
+
:param _Labels: <p>标签</p>
|
|
89875
|
+
:type Labels: list of str
|
|
89876
|
+
:param _Scenes: <p>使用场景</p>
|
|
89877
|
+
:type Scenes: list of str
|
|
89878
|
+
"""
|
|
89879
|
+
self._Name = None
|
|
89880
|
+
self._Description = None
|
|
89881
|
+
self._Gender = None
|
|
89882
|
+
self._Age = None
|
|
89883
|
+
self._Labels = None
|
|
89884
|
+
self._Scenes = None
|
|
89885
|
+
|
|
89886
|
+
@property
|
|
89887
|
+
def Name(self):
|
|
89888
|
+
r"""<p>音色名</p>
|
|
89889
|
+
:rtype: str
|
|
89890
|
+
"""
|
|
89891
|
+
return self._Name
|
|
89892
|
+
|
|
89893
|
+
@Name.setter
|
|
89894
|
+
def Name(self, Name):
|
|
89895
|
+
self._Name = Name
|
|
89896
|
+
|
|
89897
|
+
@property
|
|
89898
|
+
def Description(self):
|
|
89899
|
+
r"""<p>音色描述</p>
|
|
89900
|
+
:rtype: str
|
|
89901
|
+
"""
|
|
89902
|
+
return self._Description
|
|
89903
|
+
|
|
89904
|
+
@Description.setter
|
|
89905
|
+
def Description(self, Description):
|
|
89906
|
+
self._Description = Description
|
|
89907
|
+
|
|
89908
|
+
@property
|
|
89909
|
+
def Gender(self):
|
|
89910
|
+
r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男性</li><li>female: 女性</li><li>unknown: 未知</li></ul>
|
|
89911
|
+
:rtype: str
|
|
89912
|
+
"""
|
|
89913
|
+
return self._Gender
|
|
89914
|
+
|
|
89915
|
+
@Gender.setter
|
|
89916
|
+
def Gender(self, Gender):
|
|
89917
|
+
self._Gender = Gender
|
|
89918
|
+
|
|
89919
|
+
@property
|
|
89920
|
+
def Age(self):
|
|
89921
|
+
r"""<p>年龄</p><p>枚举值:</p><ul><li>child: 儿童</li><li>teenager: 少年</li><li>youth: 青年</li><li>middle_aged: 中年</li><li>senior: 老年</li><li>unknown: 未知</li></ul>
|
|
89922
|
+
:rtype: str
|
|
89923
|
+
"""
|
|
89924
|
+
return self._Age
|
|
89925
|
+
|
|
89926
|
+
@Age.setter
|
|
89927
|
+
def Age(self, Age):
|
|
89928
|
+
self._Age = Age
|
|
89929
|
+
|
|
89930
|
+
@property
|
|
89931
|
+
def Labels(self):
|
|
89932
|
+
r"""<p>标签</p>
|
|
89933
|
+
:rtype: list of str
|
|
89934
|
+
"""
|
|
89935
|
+
return self._Labels
|
|
89936
|
+
|
|
89937
|
+
@Labels.setter
|
|
89938
|
+
def Labels(self, Labels):
|
|
89939
|
+
self._Labels = Labels
|
|
89940
|
+
|
|
89941
|
+
@property
|
|
89942
|
+
def Scenes(self):
|
|
89943
|
+
r"""<p>使用场景</p>
|
|
89944
|
+
:rtype: list of str
|
|
89945
|
+
"""
|
|
89946
|
+
return self._Scenes
|
|
89947
|
+
|
|
89948
|
+
@Scenes.setter
|
|
89949
|
+
def Scenes(self, Scenes):
|
|
89950
|
+
self._Scenes = Scenes
|
|
89951
|
+
|
|
89952
|
+
|
|
89953
|
+
def _deserialize(self, params):
|
|
89954
|
+
self._Name = params.get("Name")
|
|
89955
|
+
self._Description = params.get("Description")
|
|
89956
|
+
self._Gender = params.get("Gender")
|
|
89957
|
+
self._Age = params.get("Age")
|
|
89958
|
+
self._Labels = params.get("Labels")
|
|
89959
|
+
self._Scenes = params.get("Scenes")
|
|
89960
|
+
memeber_set = set(params.keys())
|
|
89961
|
+
for name, value in vars(self).items():
|
|
89962
|
+
property_name = name[1:]
|
|
89963
|
+
if property_name in memeber_set:
|
|
89964
|
+
memeber_set.remove(property_name)
|
|
89965
|
+
if len(memeber_set) > 0:
|
|
89966
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
89967
|
+
|
|
89968
|
+
|
|
89969
|
+
|
|
89675
89970
|
class VolumeBalanceConfig(AbstractModel):
|
|
89676
89971
|
r"""音量均衡配置
|
|
89677
89972
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.89
|
|
4
4
|
Summary: Tencent Cloud Mps SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.89
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.89
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.87
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|