tencentcloud-sdk-python-mps 3.1.88__tar.gz → 3.1.92__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/v20190612/models.py +316 -6
  5. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_mps-3.1.92/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_mps-3.1.88/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/README.rst +0 -0
  9. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.88 → tencentcloud_sdk_python_mps-3.1.92}/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.88
3
+ Version: 3.1.92
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.92
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.88,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.92,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Mps SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.88'
17
+ __version__ = '3.1.92'
@@ -20097,10 +20097,12 @@ class CreateAigcImageTaskRequest(AbstractModel):
20097
20097
 
20098
20098
  def __init__(self):
20099
20099
  r"""
20100
- :param _ModelName: <p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen。</p>
20100
+ :param _ModelName: <p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen,<br>Vidu,<br>Kling。</p>
20101
20101
  :type ModelName: str
20102
- :param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM, 可选[2.5,3.0]。</li></ol>
20102
+ :param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM,可选[2.5,3.0,3.1]。</li><li>Vidu,可选[q2]。</li><li>Kling,可选[2.1、O1、3.0、3.0-Omni]</li></ol>
20103
20103
  :type ModelVersion: str
20104
+ :param _SceneType: <p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
20105
+ :type SceneType: str
20104
20106
  :param _Prompt: <p>生成图片的描述。(注:最大支持1000字符)。当未传入参考图片时,此参数必填。</p>
20105
20107
  :type Prompt: str
20106
20108
  :param _NegativePrompt: <p>用于描述您想要阻止模型生成的内容。 注意:部分模型支持。 例如: 顶部照明、明亮的色彩 人物、动物 多辆汽车、风。</p>
@@ -20120,6 +20122,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20120
20122
  """
20121
20123
  self._ModelName = None
20122
20124
  self._ModelVersion = None
20125
+ self._SceneType = None
20123
20126
  self._Prompt = None
20124
20127
  self._NegativePrompt = None
20125
20128
  self._EnhancePrompt = None
@@ -20131,7 +20134,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20131
20134
 
20132
20135
  @property
20133
20136
  def ModelName(self):
20134
- r"""<p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen。</p>
20137
+ r"""<p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen,<br>Vidu,<br>Kling。</p>
20135
20138
  :rtype: str
20136
20139
  """
20137
20140
  return self._ModelName
@@ -20142,7 +20145,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20142
20145
 
20143
20146
  @property
20144
20147
  def ModelVersion(self):
20145
- r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM, 可选[2.5,3.0]。</li></ol>
20148
+ r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM,可选[2.5,3.0,3.1]。</li><li>Vidu,可选[q2]。</li><li>Kling,可选[2.1、O1、3.0、3.0-Omni]</li></ol>
20146
20149
  :rtype: str
20147
20150
  """
20148
20151
  return self._ModelVersion
@@ -20151,6 +20154,17 @@ class CreateAigcImageTaskRequest(AbstractModel):
20151
20154
  def ModelVersion(self, ModelVersion):
20152
20155
  self._ModelVersion = ModelVersion
20153
20156
 
20157
+ @property
20158
+ def SceneType(self):
20159
+ r"""<p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
20160
+ :rtype: str
20161
+ """
20162
+ return self._SceneType
20163
+
20164
+ @SceneType.setter
20165
+ def SceneType(self, SceneType):
20166
+ self._SceneType = SceneType
20167
+
20154
20168
  @property
20155
20169
  def Prompt(self):
20156
20170
  r"""<p>生成图片的描述。(注:最大支持1000字符)。当未传入参考图片时,此参数必填。</p>
@@ -20243,6 +20257,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20243
20257
  def _deserialize(self, params):
20244
20258
  self._ModelName = params.get("ModelName")
20245
20259
  self._ModelVersion = params.get("ModelVersion")
20260
+ self._SceneType = params.get("SceneType")
20246
20261
  self._Prompt = params.get("Prompt")
20247
20262
  self._NegativePrompt = params.get("NegativePrompt")
20248
20263
  self._EnhancePrompt = params.get("EnhancePrompt")
@@ -42048,17 +42063,52 @@ class DescribeVoicesRequest(AbstractModel):
42048
42063
 
42049
42064
  def __init__(self):
42050
42065
  r"""
42051
- :param _VoiceType: <p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
42066
+ :param _VoiceId: <p>音色ID</p>
42067
+ :type VoiceId: str
42068
+ :param _VoiceType: <p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li><li>clone: 克隆音色</li><li>design: 设计音色</li><li>all: 所有音色(默认)</li></ul>
42052
42069
  :type VoiceType: str
42070
+ :param _VoiceName: <p>音色名</p>
42071
+ :type VoiceName: str
42072
+ :param _Description: <p>音色描述</p>
42073
+ :type Description: str
42074
+ :param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
42075
+ :type Gender: str
42076
+ :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>
42077
+ :type Age: str
42078
+ :param _Languages: <p>语言</p>
42079
+ :type Languages: list of str
42080
+ :param _Labels: <p>标签</p>
42081
+ :type Labels: list of str
42082
+ :param _Scenes: <p>场景</p>
42083
+ :type Scenes: list of str
42053
42084
  :param _ExtParam: <p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
42054
42085
  :type ExtParam: str
42055
42086
  """
42087
+ self._VoiceId = None
42056
42088
  self._VoiceType = None
42089
+ self._VoiceName = None
42090
+ self._Description = None
42091
+ self._Gender = None
42092
+ self._Age = None
42093
+ self._Languages = None
42094
+ self._Labels = None
42095
+ self._Scenes = None
42057
42096
  self._ExtParam = None
42058
42097
 
42098
+ @property
42099
+ def VoiceId(self):
42100
+ r"""<p>音色ID</p>
42101
+ :rtype: str
42102
+ """
42103
+ return self._VoiceId
42104
+
42105
+ @VoiceId.setter
42106
+ def VoiceId(self, VoiceId):
42107
+ self._VoiceId = VoiceId
42108
+
42059
42109
  @property
42060
42110
  def VoiceType(self):
42061
- r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
42111
+ r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li><li>clone: 克隆音色</li><li>design: 设计音色</li><li>all: 所有音色(默认)</li></ul>
42062
42112
  :rtype: str
42063
42113
  """
42064
42114
  return self._VoiceType
@@ -42067,6 +42117,83 @@ class DescribeVoicesRequest(AbstractModel):
42067
42117
  def VoiceType(self, VoiceType):
42068
42118
  self._VoiceType = VoiceType
42069
42119
 
42120
+ @property
42121
+ def VoiceName(self):
42122
+ r"""<p>音色名</p>
42123
+ :rtype: str
42124
+ """
42125
+ return self._VoiceName
42126
+
42127
+ @VoiceName.setter
42128
+ def VoiceName(self, VoiceName):
42129
+ self._VoiceName = VoiceName
42130
+
42131
+ @property
42132
+ def Description(self):
42133
+ r"""<p>音色描述</p>
42134
+ :rtype: str
42135
+ """
42136
+ return self._Description
42137
+
42138
+ @Description.setter
42139
+ def Description(self, Description):
42140
+ self._Description = Description
42141
+
42142
+ @property
42143
+ def Gender(self):
42144
+ r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
42145
+ :rtype: str
42146
+ """
42147
+ return self._Gender
42148
+
42149
+ @Gender.setter
42150
+ def Gender(self, Gender):
42151
+ self._Gender = Gender
42152
+
42153
+ @property
42154
+ def Age(self):
42155
+ 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>
42156
+ :rtype: str
42157
+ """
42158
+ return self._Age
42159
+
42160
+ @Age.setter
42161
+ def Age(self, Age):
42162
+ self._Age = Age
42163
+
42164
+ @property
42165
+ def Languages(self):
42166
+ r"""<p>语言</p>
42167
+ :rtype: list of str
42168
+ """
42169
+ return self._Languages
42170
+
42171
+ @Languages.setter
42172
+ def Languages(self, Languages):
42173
+ self._Languages = Languages
42174
+
42175
+ @property
42176
+ def Labels(self):
42177
+ r"""<p>标签</p>
42178
+ :rtype: list of str
42179
+ """
42180
+ return self._Labels
42181
+
42182
+ @Labels.setter
42183
+ def Labels(self, Labels):
42184
+ self._Labels = Labels
42185
+
42186
+ @property
42187
+ def Scenes(self):
42188
+ r"""<p>场景</p>
42189
+ :rtype: list of str
42190
+ """
42191
+ return self._Scenes
42192
+
42193
+ @Scenes.setter
42194
+ def Scenes(self, Scenes):
42195
+ self._Scenes = Scenes
42196
+
42070
42197
  @property
42071
42198
  def ExtParam(self):
42072
42199
  r"""<p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
@@ -42080,7 +42207,15 @@ class DescribeVoicesRequest(AbstractModel):
42080
42207
 
42081
42208
 
42082
42209
  def _deserialize(self, params):
42210
+ self._VoiceId = params.get("VoiceId")
42083
42211
  self._VoiceType = params.get("VoiceType")
42212
+ self._VoiceName = params.get("VoiceName")
42213
+ self._Description = params.get("Description")
42214
+ self._Gender = params.get("Gender")
42215
+ self._Age = params.get("Age")
42216
+ self._Languages = params.get("Languages")
42217
+ self._Labels = params.get("Labels")
42218
+ self._Scenes = params.get("Scenes")
42084
42219
  self._ExtParam = params.get("ExtParam")
42085
42220
  memeber_set = set(params.keys())
42086
42221
  for name, value in vars(self).items():
@@ -42675,10 +42810,13 @@ class DesignVoiceAsyncRequest(AbstractModel):
42675
42810
  r"""
42676
42811
  :param _Prompt: <p>音色描述</p>
42677
42812
  :type Prompt: str
42813
+ :param _VoiceProfile: <p>音色属性</p>
42814
+ :type VoiceProfile: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
42678
42815
  :param _ExtParam: <p>扩展参数,json字符串</p>
42679
42816
  :type ExtParam: str
42680
42817
  """
42681
42818
  self._Prompt = None
42819
+ self._VoiceProfile = None
42682
42820
  self._ExtParam = None
42683
42821
 
42684
42822
  @property
@@ -42692,6 +42830,17 @@ class DesignVoiceAsyncRequest(AbstractModel):
42692
42830
  def Prompt(self, Prompt):
42693
42831
  self._Prompt = Prompt
42694
42832
 
42833
+ @property
42834
+ def VoiceProfile(self):
42835
+ r"""<p>音色属性</p>
42836
+ :rtype: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
42837
+ """
42838
+ return self._VoiceProfile
42839
+
42840
+ @VoiceProfile.setter
42841
+ def VoiceProfile(self, VoiceProfile):
42842
+ self._VoiceProfile = VoiceProfile
42843
+
42695
42844
  @property
42696
42845
  def ExtParam(self):
42697
42846
  r"""<p>扩展参数,json字符串</p>
@@ -42706,6 +42855,9 @@ class DesignVoiceAsyncRequest(AbstractModel):
42706
42855
 
42707
42856
  def _deserialize(self, params):
42708
42857
  self._Prompt = params.get("Prompt")
42858
+ if params.get("VoiceProfile") is not None:
42859
+ self._VoiceProfile = VoiceProfile()
42860
+ self._VoiceProfile._deserialize(params.get("VoiceProfile"))
42709
42861
  self._ExtParam = params.get("ExtParam")
42710
42862
  memeber_set = set(params.keys())
42711
42863
  for name, value in vars(self).items():
@@ -82364,8 +82516,12 @@ class SyncDubbingRequest(AbstractModel):
82364
82516
  :type AudioUrl: str
82365
82517
  :param _AudioLang: <p>克隆音频语言,默认中文。<br>当前支持语言同TextLang</p>
82366
82518
  :type AudioLang: str
82519
+ :param _VoiceProfile: <p>音色属性</p>
82520
+ :type VoiceProfile: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
82367
82521
  :param _Output: <p>输出相关参数</p><p>可以指定输出形式等</p>
82368
82522
  :type Output: :class:`tencentcloud.mps.v20190612.models.SyncDubbingOutputOption`
82523
+ :param _ResourceId: <p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
82524
+ :type ResourceId: str
82369
82525
  :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
82526
  :type ExtParam: str
82371
82527
  """
@@ -82375,7 +82531,9 @@ class SyncDubbingRequest(AbstractModel):
82375
82531
  self._AudioData = None
82376
82532
  self._AudioUrl = None
82377
82533
  self._AudioLang = None
82534
+ self._VoiceProfile = None
82378
82535
  self._Output = None
82536
+ self._ResourceId = None
82379
82537
  self._ExtParam = None
82380
82538
 
82381
82539
  @property
@@ -82444,6 +82602,17 @@ class SyncDubbingRequest(AbstractModel):
82444
82602
  def AudioLang(self, AudioLang):
82445
82603
  self._AudioLang = AudioLang
82446
82604
 
82605
+ @property
82606
+ def VoiceProfile(self):
82607
+ r"""<p>音色属性</p>
82608
+ :rtype: :class:`tencentcloud.mps.v20190612.models.VoiceProfile`
82609
+ """
82610
+ return self._VoiceProfile
82611
+
82612
+ @VoiceProfile.setter
82613
+ def VoiceProfile(self, VoiceProfile):
82614
+ self._VoiceProfile = VoiceProfile
82615
+
82447
82616
  @property
82448
82617
  def Output(self):
82449
82618
  r"""<p>输出相关参数</p><p>可以指定输出形式等</p>
@@ -82455,6 +82624,17 @@ class SyncDubbingRequest(AbstractModel):
82455
82624
  def Output(self, Output):
82456
82625
  self._Output = Output
82457
82626
 
82627
+ @property
82628
+ def ResourceId(self):
82629
+ r"""<p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
82630
+ :rtype: str
82631
+ """
82632
+ return self._ResourceId
82633
+
82634
+ @ResourceId.setter
82635
+ def ResourceId(self, ResourceId):
82636
+ self._ResourceId = ResourceId
82637
+
82458
82638
  @property
82459
82639
  def ExtParam(self):
82460
82640
  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 +82654,13 @@ class SyncDubbingRequest(AbstractModel):
82474
82654
  self._AudioData = params.get("AudioData")
82475
82655
  self._AudioUrl = params.get("AudioUrl")
82476
82656
  self._AudioLang = params.get("AudioLang")
82657
+ if params.get("VoiceProfile") is not None:
82658
+ self._VoiceProfile = VoiceProfile()
82659
+ self._VoiceProfile._deserialize(params.get("VoiceProfile"))
82477
82660
  if params.get("Output") is not None:
82478
82661
  self._Output = SyncDubbingOutputOption()
82479
82662
  self._Output._deserialize(params.get("Output"))
82663
+ self._ResourceId = params.get("ResourceId")
82480
82664
  self._ExtParam = params.get("ExtParam")
82481
82665
  memeber_set = set(params.keys())
82482
82666
  for name, value in vars(self).items():
@@ -89533,6 +89717,8 @@ class VoiceInfo(AbstractModel):
89533
89717
  :type Category: str
89534
89718
  :param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>famale: 女</li></ul>
89535
89719
  :type Gender: str
89720
+ :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>
89721
+ :type Age: str
89536
89722
  :param _Languages: <p>支持语种列表</p><p>如:en</p>
89537
89723
  :type Languages: list of str
89538
89724
  :param _AudioUrl: <p>试听音频URL</p>
@@ -89547,6 +89733,7 @@ class VoiceInfo(AbstractModel):
89547
89733
  self._Description = None
89548
89734
  self._Category = None
89549
89735
  self._Gender = None
89736
+ self._Age = None
89550
89737
  self._Languages = None
89551
89738
  self._AudioUrl = None
89552
89739
  self._Labels = None
@@ -89607,6 +89794,17 @@ class VoiceInfo(AbstractModel):
89607
89794
  def Gender(self, Gender):
89608
89795
  self._Gender = Gender
89609
89796
 
89797
+ @property
89798
+ def Age(self):
89799
+ 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>
89800
+ :rtype: str
89801
+ """
89802
+ return self._Age
89803
+
89804
+ @Age.setter
89805
+ def Age(self, Age):
89806
+ self._Age = Age
89807
+
89610
89808
  @property
89611
89809
  def Languages(self):
89612
89810
  r"""<p>支持语种列表</p><p>如:en</p>
@@ -89658,6 +89856,7 @@ class VoiceInfo(AbstractModel):
89658
89856
  self._Description = params.get("Description")
89659
89857
  self._Category = params.get("Category")
89660
89858
  self._Gender = params.get("Gender")
89859
+ self._Age = params.get("Age")
89661
89860
  self._Languages = params.get("Languages")
89662
89861
  self._AudioUrl = params.get("AudioUrl")
89663
89862
  self._Labels = params.get("Labels")
@@ -89672,6 +89871,117 @@ class VoiceInfo(AbstractModel):
89672
89871
 
89673
89872
 
89674
89873
 
89874
+ class VoiceProfile(AbstractModel):
89875
+ r"""音色属性
89876
+
89877
+ """
89878
+
89879
+ def __init__(self):
89880
+ r"""
89881
+ :param _Name: <p>音色名</p>
89882
+ :type Name: str
89883
+ :param _Description: <p>音色描述</p>
89884
+ :type Description: str
89885
+ :param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男性</li><li>female: 女性</li><li>unknown: 未知</li></ul>
89886
+ :type Gender: str
89887
+ :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>
89888
+ :type Age: str
89889
+ :param _Labels: <p>标签</p>
89890
+ :type Labels: list of str
89891
+ :param _Scenes: <p>使用场景</p>
89892
+ :type Scenes: list of str
89893
+ """
89894
+ self._Name = None
89895
+ self._Description = None
89896
+ self._Gender = None
89897
+ self._Age = None
89898
+ self._Labels = None
89899
+ self._Scenes = None
89900
+
89901
+ @property
89902
+ def Name(self):
89903
+ r"""<p>音色名</p>
89904
+ :rtype: str
89905
+ """
89906
+ return self._Name
89907
+
89908
+ @Name.setter
89909
+ def Name(self, Name):
89910
+ self._Name = Name
89911
+
89912
+ @property
89913
+ def Description(self):
89914
+ r"""<p>音色描述</p>
89915
+ :rtype: str
89916
+ """
89917
+ return self._Description
89918
+
89919
+ @Description.setter
89920
+ def Description(self, Description):
89921
+ self._Description = Description
89922
+
89923
+ @property
89924
+ def Gender(self):
89925
+ r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男性</li><li>female: 女性</li><li>unknown: 未知</li></ul>
89926
+ :rtype: str
89927
+ """
89928
+ return self._Gender
89929
+
89930
+ @Gender.setter
89931
+ def Gender(self, Gender):
89932
+ self._Gender = Gender
89933
+
89934
+ @property
89935
+ def Age(self):
89936
+ 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>
89937
+ :rtype: str
89938
+ """
89939
+ return self._Age
89940
+
89941
+ @Age.setter
89942
+ def Age(self, Age):
89943
+ self._Age = Age
89944
+
89945
+ @property
89946
+ def Labels(self):
89947
+ r"""<p>标签</p>
89948
+ :rtype: list of str
89949
+ """
89950
+ return self._Labels
89951
+
89952
+ @Labels.setter
89953
+ def Labels(self, Labels):
89954
+ self._Labels = Labels
89955
+
89956
+ @property
89957
+ def Scenes(self):
89958
+ r"""<p>使用场景</p>
89959
+ :rtype: list of str
89960
+ """
89961
+ return self._Scenes
89962
+
89963
+ @Scenes.setter
89964
+ def Scenes(self, Scenes):
89965
+ self._Scenes = Scenes
89966
+
89967
+
89968
+ def _deserialize(self, params):
89969
+ self._Name = params.get("Name")
89970
+ self._Description = params.get("Description")
89971
+ self._Gender = params.get("Gender")
89972
+ self._Age = params.get("Age")
89973
+ self._Labels = params.get("Labels")
89974
+ self._Scenes = params.get("Scenes")
89975
+ memeber_set = set(params.keys())
89976
+ for name, value in vars(self).items():
89977
+ property_name = name[1:]
89978
+ if property_name in memeber_set:
89979
+ memeber_set.remove(property_name)
89980
+ if len(memeber_set) > 0:
89981
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
89982
+
89983
+
89984
+
89675
89985
  class VolumeBalanceConfig(AbstractModel):
89676
89986
  r"""音量均衡配置
89677
89987
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.88
3
+ Version: 3.1.92
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.92
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.92
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.88