tencentcloud-sdk-python-mps 3.1.102__tar.gz → 3.1.109__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.102 → tencentcloud_sdk_python_mps-3.1.109}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/v20190612/models.py +599 -0
  5. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/v20190612/mps_client.py +23 -0
  6. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/v20190612/mps_client_async.py +18 -0
  7. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_mps-3.1.109/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_mps-3.1.102/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/README.rst +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/__init__.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/v20190612/__init__.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.102 → tencentcloud_sdk_python_mps-3.1.109}/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.102
3
+ Version: 3.1.109
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.102
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.109
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.102,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.109,<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.102'
17
+ __version__ = '3.1.109'
@@ -50277,6 +50277,304 @@ class InputAddress(AbstractModel):
50277
50277
 
50278
50278
 
50279
50279
 
50280
+ class LLMDetectionIssue(AbstractModel):
50281
+ r"""LLM 大模型检测发现的单条问题
50282
+
50283
+ """
50284
+
50285
+ def __init__(self):
50286
+ r"""
50287
+ :param _Tag: <p>问题分类标签。</p>
50288
+ :type Tag: str
50289
+ :param _Description: <p>问题描述。</p>
50290
+ :type Description: str
50291
+ :param _Score: <p>该问题的质量得分,范围 [0, 100]。</p>
50292
+ :type Score: float
50293
+ :param _Confidence: <p>该问题的判断置信度,范围 [0, 100]。</p>
50294
+ :type Confidence: float
50295
+ :param _StartTimeMs: <p>问题起始时间(毫秒)。</p>
50296
+ :type StartTimeMs: int
50297
+ :param _EndTimeMs: <p>问题结束时间(毫秒)</p>
50298
+ :type EndTimeMs: int
50299
+ :param _ExtraData: <p>附加数据(JSON 格式),如严重程度等补充信息。</p>
50300
+ :type ExtraData: str
50301
+ """
50302
+ self._Tag = None
50303
+ self._Description = None
50304
+ self._Score = None
50305
+ self._Confidence = None
50306
+ self._StartTimeMs = None
50307
+ self._EndTimeMs = None
50308
+ self._ExtraData = None
50309
+
50310
+ @property
50311
+ def Tag(self):
50312
+ r"""<p>问题分类标签。</p>
50313
+ :rtype: str
50314
+ """
50315
+ return self._Tag
50316
+
50317
+ @Tag.setter
50318
+ def Tag(self, Tag):
50319
+ self._Tag = Tag
50320
+
50321
+ @property
50322
+ def Description(self):
50323
+ r"""<p>问题描述。</p>
50324
+ :rtype: str
50325
+ """
50326
+ return self._Description
50327
+
50328
+ @Description.setter
50329
+ def Description(self, Description):
50330
+ self._Description = Description
50331
+
50332
+ @property
50333
+ def Score(self):
50334
+ r"""<p>该问题的质量得分,范围 [0, 100]。</p>
50335
+ :rtype: float
50336
+ """
50337
+ return self._Score
50338
+
50339
+ @Score.setter
50340
+ def Score(self, Score):
50341
+ self._Score = Score
50342
+
50343
+ @property
50344
+ def Confidence(self):
50345
+ r"""<p>该问题的判断置信度,范围 [0, 100]。</p>
50346
+ :rtype: float
50347
+ """
50348
+ return self._Confidence
50349
+
50350
+ @Confidence.setter
50351
+ def Confidence(self, Confidence):
50352
+ self._Confidence = Confidence
50353
+
50354
+ @property
50355
+ def StartTimeMs(self):
50356
+ r"""<p>问题起始时间(毫秒)。</p>
50357
+ :rtype: int
50358
+ """
50359
+ return self._StartTimeMs
50360
+
50361
+ @StartTimeMs.setter
50362
+ def StartTimeMs(self, StartTimeMs):
50363
+ self._StartTimeMs = StartTimeMs
50364
+
50365
+ @property
50366
+ def EndTimeMs(self):
50367
+ r"""<p>问题结束时间(毫秒)</p>
50368
+ :rtype: int
50369
+ """
50370
+ return self._EndTimeMs
50371
+
50372
+ @EndTimeMs.setter
50373
+ def EndTimeMs(self, EndTimeMs):
50374
+ self._EndTimeMs = EndTimeMs
50375
+
50376
+ @property
50377
+ def ExtraData(self):
50378
+ r"""<p>附加数据(JSON 格式),如严重程度等补充信息。</p>
50379
+ :rtype: str
50380
+ """
50381
+ return self._ExtraData
50382
+
50383
+ @ExtraData.setter
50384
+ def ExtraData(self, ExtraData):
50385
+ self._ExtraData = ExtraData
50386
+
50387
+
50388
+ def _deserialize(self, params):
50389
+ self._Tag = params.get("Tag")
50390
+ self._Description = params.get("Description")
50391
+ self._Score = params.get("Score")
50392
+ self._Confidence = params.get("Confidence")
50393
+ self._StartTimeMs = params.get("StartTimeMs")
50394
+ self._EndTimeMs = params.get("EndTimeMs")
50395
+ self._ExtraData = params.get("ExtraData")
50396
+ memeber_set = set(params.keys())
50397
+ for name, value in vars(self).items():
50398
+ property_name = name[1:]
50399
+ if property_name in memeber_set:
50400
+ memeber_set.remove(property_name)
50401
+ if len(memeber_set) > 0:
50402
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50403
+
50404
+
50405
+
50406
+ class LLMDetectionReport(AbstractModel):
50407
+ r"""LLM 大模型检测结果报告
50408
+
50409
+ """
50410
+
50411
+ def __init__(self):
50412
+ r"""
50413
+ :param _ResultCount: <p>检测结果数量。</p>
50414
+ :type ResultCount: int
50415
+ :param _ResultSet: <p>各检测项结果列表。</p>
50416
+ :type ResultSet: list of LLMDetectionResultItem
50417
+ """
50418
+ self._ResultCount = None
50419
+ self._ResultSet = None
50420
+
50421
+ @property
50422
+ def ResultCount(self):
50423
+ r"""<p>检测结果数量。</p>
50424
+ :rtype: int
50425
+ """
50426
+ return self._ResultCount
50427
+
50428
+ @ResultCount.setter
50429
+ def ResultCount(self, ResultCount):
50430
+ self._ResultCount = ResultCount
50431
+
50432
+ @property
50433
+ def ResultSet(self):
50434
+ r"""<p>各检测项结果列表。</p>
50435
+ :rtype: list of LLMDetectionResultItem
50436
+ """
50437
+ return self._ResultSet
50438
+
50439
+ @ResultSet.setter
50440
+ def ResultSet(self, ResultSet):
50441
+ self._ResultSet = ResultSet
50442
+
50443
+
50444
+ def _deserialize(self, params):
50445
+ self._ResultCount = params.get("ResultCount")
50446
+ if params.get("ResultSet") is not None:
50447
+ self._ResultSet = []
50448
+ for item in params.get("ResultSet"):
50449
+ obj = LLMDetectionResultItem()
50450
+ obj._deserialize(item)
50451
+ self._ResultSet.append(obj)
50452
+ memeber_set = set(params.keys())
50453
+ for name, value in vars(self).items():
50454
+ property_name = name[1:]
50455
+ if property_name in memeber_set:
50456
+ memeber_set.remove(property_name)
50457
+ if len(memeber_set) > 0:
50458
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50459
+
50460
+
50461
+
50462
+ class LLMDetectionResultItem(AbstractModel):
50463
+ r"""LLM 大模型单个检测项的聚合结果
50464
+
50465
+ """
50466
+
50467
+ def __init__(self):
50468
+ r"""
50469
+ :param _Category: <p>检测分类。</p><p>枚举值:</p><ul><li>AIGCQualityCharacteristics: AIGC 质量特征</li></ul>
50470
+ :type Category: str
50471
+ :param _Group: <p>检测分组。</p><p>枚举值:</p><ul><li>AIGCAuthenticity: AIGC 真实性,包括人体合理性、物理合理性、跨帧一致性等</li><li>AIGCTechQuality: AIGC 技术质量,包括画幅、黑边、强行竖屏等</li></ul>
50472
+ :type Group: str
50473
+ :param _Type: <p>检测类型名称。</p><p>枚举值:</p><ul><li>BodyPoseCheck: 人体姿态合理性,属于 AIGCAuthenticity</li><li>BodyDetailCheck: 人体细节合理性,包括手指数、五官对称等,属于 AIGCAuthenticity</li><li>PhysicRulesCheck: 物理规律合理性,包括透视、光影、重力等,属于 AIGCAuthenticity</li><li>ObjectConsistencyCheck: 跨帧物体一致性,属于 AIGCAuthenticity</li><li>FormatCheck: 画幅、黑边、强行竖屏等格式问题,属于 AIGCTechQuality</li></ul>
50474
+ :type Type: str
50475
+ :param _Score: <p>整体质量得分,范围 [0, 100],越高越好。</p>
50476
+ :type Score: float
50477
+ :param _Confidence: <p>判断置信度,范围 [0, 100],越高表示越确定。</p>
50478
+ :type Confidence: float
50479
+ :param _IssueSet: <p>检测发现的问题列表,无问题时为空。</p>
50480
+ :type IssueSet: list of LLMDetectionIssue
50481
+ """
50482
+ self._Category = None
50483
+ self._Group = None
50484
+ self._Type = None
50485
+ self._Score = None
50486
+ self._Confidence = None
50487
+ self._IssueSet = None
50488
+
50489
+ @property
50490
+ def Category(self):
50491
+ r"""<p>检测分类。</p><p>枚举值:</p><ul><li>AIGCQualityCharacteristics: AIGC 质量特征</li></ul>
50492
+ :rtype: str
50493
+ """
50494
+ return self._Category
50495
+
50496
+ @Category.setter
50497
+ def Category(self, Category):
50498
+ self._Category = Category
50499
+
50500
+ @property
50501
+ def Group(self):
50502
+ r"""<p>检测分组。</p><p>枚举值:</p><ul><li>AIGCAuthenticity: AIGC 真实性,包括人体合理性、物理合理性、跨帧一致性等</li><li>AIGCTechQuality: AIGC 技术质量,包括画幅、黑边、强行竖屏等</li></ul>
50503
+ :rtype: str
50504
+ """
50505
+ return self._Group
50506
+
50507
+ @Group.setter
50508
+ def Group(self, Group):
50509
+ self._Group = Group
50510
+
50511
+ @property
50512
+ def Type(self):
50513
+ r"""<p>检测类型名称。</p><p>枚举值:</p><ul><li>BodyPoseCheck: 人体姿态合理性,属于 AIGCAuthenticity</li><li>BodyDetailCheck: 人体细节合理性,包括手指数、五官对称等,属于 AIGCAuthenticity</li><li>PhysicRulesCheck: 物理规律合理性,包括透视、光影、重力等,属于 AIGCAuthenticity</li><li>ObjectConsistencyCheck: 跨帧物体一致性,属于 AIGCAuthenticity</li><li>FormatCheck: 画幅、黑边、强行竖屏等格式问题,属于 AIGCTechQuality</li></ul>
50514
+ :rtype: str
50515
+ """
50516
+ return self._Type
50517
+
50518
+ @Type.setter
50519
+ def Type(self, Type):
50520
+ self._Type = Type
50521
+
50522
+ @property
50523
+ def Score(self):
50524
+ r"""<p>整体质量得分,范围 [0, 100],越高越好。</p>
50525
+ :rtype: float
50526
+ """
50527
+ return self._Score
50528
+
50529
+ @Score.setter
50530
+ def Score(self, Score):
50531
+ self._Score = Score
50532
+
50533
+ @property
50534
+ def Confidence(self):
50535
+ r"""<p>判断置信度,范围 [0, 100],越高表示越确定。</p>
50536
+ :rtype: float
50537
+ """
50538
+ return self._Confidence
50539
+
50540
+ @Confidence.setter
50541
+ def Confidence(self, Confidence):
50542
+ self._Confidence = Confidence
50543
+
50544
+ @property
50545
+ def IssueSet(self):
50546
+ r"""<p>检测发现的问题列表,无问题时为空。</p>
50547
+ :rtype: list of LLMDetectionIssue
50548
+ """
50549
+ return self._IssueSet
50550
+
50551
+ @IssueSet.setter
50552
+ def IssueSet(self, IssueSet):
50553
+ self._IssueSet = IssueSet
50554
+
50555
+
50556
+ def _deserialize(self, params):
50557
+ self._Category = params.get("Category")
50558
+ self._Group = params.get("Group")
50559
+ self._Type = params.get("Type")
50560
+ self._Score = params.get("Score")
50561
+ self._Confidence = params.get("Confidence")
50562
+ if params.get("IssueSet") is not None:
50563
+ self._IssueSet = []
50564
+ for item in params.get("IssueSet"):
50565
+ obj = LLMDetectionIssue()
50566
+ obj._deserialize(item)
50567
+ self._IssueSet.append(obj)
50568
+ memeber_set = set(params.keys())
50569
+ for name, value in vars(self).items():
50570
+ property_name = name[1:]
50571
+ if property_name in memeber_set:
50572
+ memeber_set.remove(property_name)
50573
+ if len(memeber_set) > 0:
50574
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50575
+
50576
+
50577
+
50280
50578
  class LinearAssemblyChannelInfo(AbstractModel):
50281
50579
  r"""线性组装频道信息。
50282
50580
 
@@ -69551,6 +69849,8 @@ class QualityControlData(AbstractModel):
69551
69849
  :type QualityControlResultSet: list of QualityControlResult
69552
69850
  :param _ContainerDiagnoseResultSet: <p>格式诊断检出异常项。</p>
69553
69851
  :type ContainerDiagnoseResultSet: list of ContainerDiagnoseResultItem
69852
+ :param _LLMDetectionReport: <p>LLM大模型AIGC质量检测结果。</p>
69853
+ :type LLMDetectionReport: :class:`tencentcloud.mps.v20190612.models.LLMDetectionReport`
69554
69854
  """
69555
69855
  self._NoAudio = None
69556
69856
  self._NoVideo = None
@@ -69559,6 +69859,7 @@ class QualityControlData(AbstractModel):
69559
69859
  self._AestheticEvaluationScore = None
69560
69860
  self._QualityControlResultSet = None
69561
69861
  self._ContainerDiagnoseResultSet = None
69862
+ self._LLMDetectionReport = None
69562
69863
 
69563
69864
  @property
69564
69865
  def NoAudio(self):
@@ -69637,6 +69938,17 @@ class QualityControlData(AbstractModel):
69637
69938
  def ContainerDiagnoseResultSet(self, ContainerDiagnoseResultSet):
69638
69939
  self._ContainerDiagnoseResultSet = ContainerDiagnoseResultSet
69639
69940
 
69941
+ @property
69942
+ def LLMDetectionReport(self):
69943
+ r"""<p>LLM大模型AIGC质量检测结果。</p>
69944
+ :rtype: :class:`tencentcloud.mps.v20190612.models.LLMDetectionReport`
69945
+ """
69946
+ return self._LLMDetectionReport
69947
+
69948
+ @LLMDetectionReport.setter
69949
+ def LLMDetectionReport(self, LLMDetectionReport):
69950
+ self._LLMDetectionReport = LLMDetectionReport
69951
+
69640
69952
 
69641
69953
  def _deserialize(self, params):
69642
69954
  self._NoAudio = params.get("NoAudio")
@@ -69656,6 +69968,9 @@ class QualityControlData(AbstractModel):
69656
69968
  obj = ContainerDiagnoseResultItem()
69657
69969
  obj._deserialize(item)
69658
69970
  self._ContainerDiagnoseResultSet.append(obj)
69971
+ if params.get("LLMDetectionReport") is not None:
69972
+ self._LLMDetectionReport = LLMDetectionReport()
69973
+ self._LLMDetectionReport._deserialize(params.get("LLMDetectionReport"))
69659
69974
  memeber_set = set(params.keys())
69660
69975
  for name, value in vars(self).items():
69661
69976
  property_name = name[1:]
@@ -86772,6 +87087,149 @@ class UpdateSmartEraseWatermarkConfig(AbstractModel):
86772
87087
 
86773
87088
 
86774
87089
 
87090
+ class UpdateVoiceRequest(AbstractModel):
87091
+ r"""UpdateVoice请求参数结构体
87092
+
87093
+ """
87094
+
87095
+ def __init__(self):
87096
+ r"""
87097
+ :param _VoiceId: <p>音色Id</p>
87098
+ :type VoiceId: str
87099
+ :param _VoiceFields: <p>更新音色字段</p>
87100
+ :type VoiceFields: :class:`tencentcloud.mps.v20190612.models.VoiceUpdateFields`
87101
+ :param _ExtParam: <p>扩展参数,json字符串</p>
87102
+ :type ExtParam: str
87103
+ """
87104
+ self._VoiceId = None
87105
+ self._VoiceFields = None
87106
+ self._ExtParam = None
87107
+
87108
+ @property
87109
+ def VoiceId(self):
87110
+ r"""<p>音色Id</p>
87111
+ :rtype: str
87112
+ """
87113
+ return self._VoiceId
87114
+
87115
+ @VoiceId.setter
87116
+ def VoiceId(self, VoiceId):
87117
+ self._VoiceId = VoiceId
87118
+
87119
+ @property
87120
+ def VoiceFields(self):
87121
+ r"""<p>更新音色字段</p>
87122
+ :rtype: :class:`tencentcloud.mps.v20190612.models.VoiceUpdateFields`
87123
+ """
87124
+ return self._VoiceFields
87125
+
87126
+ @VoiceFields.setter
87127
+ def VoiceFields(self, VoiceFields):
87128
+ self._VoiceFields = VoiceFields
87129
+
87130
+ @property
87131
+ def ExtParam(self):
87132
+ r"""<p>扩展参数,json字符串</p>
87133
+ :rtype: str
87134
+ """
87135
+ return self._ExtParam
87136
+
87137
+ @ExtParam.setter
87138
+ def ExtParam(self, ExtParam):
87139
+ self._ExtParam = ExtParam
87140
+
87141
+
87142
+ def _deserialize(self, params):
87143
+ self._VoiceId = params.get("VoiceId")
87144
+ if params.get("VoiceFields") is not None:
87145
+ self._VoiceFields = VoiceUpdateFields()
87146
+ self._VoiceFields._deserialize(params.get("VoiceFields"))
87147
+ self._ExtParam = params.get("ExtParam")
87148
+ memeber_set = set(params.keys())
87149
+ for name, value in vars(self).items():
87150
+ property_name = name[1:]
87151
+ if property_name in memeber_set:
87152
+ memeber_set.remove(property_name)
87153
+ if len(memeber_set) > 0:
87154
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
87155
+
87156
+
87157
+
87158
+ class UpdateVoiceResponse(AbstractModel):
87159
+ r"""UpdateVoice返回参数结构体
87160
+
87161
+ """
87162
+
87163
+ def __init__(self):
87164
+ r"""
87165
+ :param _ErrorCode: <p>错误码,正确时返回0</p>
87166
+ :type ErrorCode: int
87167
+ :param _Msg: <p>错误信息,正确时返回success</p>
87168
+ :type Msg: str
87169
+ :param _Voice: <p>更新后的音色信息</p>
87170
+ :type Voice: :class:`tencentcloud.mps.v20190612.models.VoiceInfo`
87171
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
87172
+ :type RequestId: str
87173
+ """
87174
+ self._ErrorCode = None
87175
+ self._Msg = None
87176
+ self._Voice = None
87177
+ self._RequestId = None
87178
+
87179
+ @property
87180
+ def ErrorCode(self):
87181
+ r"""<p>错误码,正确时返回0</p>
87182
+ :rtype: int
87183
+ """
87184
+ return self._ErrorCode
87185
+
87186
+ @ErrorCode.setter
87187
+ def ErrorCode(self, ErrorCode):
87188
+ self._ErrorCode = ErrorCode
87189
+
87190
+ @property
87191
+ def Msg(self):
87192
+ r"""<p>错误信息,正确时返回success</p>
87193
+ :rtype: str
87194
+ """
87195
+ return self._Msg
87196
+
87197
+ @Msg.setter
87198
+ def Msg(self, Msg):
87199
+ self._Msg = Msg
87200
+
87201
+ @property
87202
+ def Voice(self):
87203
+ r"""<p>更新后的音色信息</p>
87204
+ :rtype: :class:`tencentcloud.mps.v20190612.models.VoiceInfo`
87205
+ """
87206
+ return self._Voice
87207
+
87208
+ @Voice.setter
87209
+ def Voice(self, Voice):
87210
+ self._Voice = Voice
87211
+
87212
+ @property
87213
+ def RequestId(self):
87214
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
87215
+ :rtype: str
87216
+ """
87217
+ return self._RequestId
87218
+
87219
+ @RequestId.setter
87220
+ def RequestId(self, RequestId):
87221
+ self._RequestId = RequestId
87222
+
87223
+
87224
+ def _deserialize(self, params):
87225
+ self._ErrorCode = params.get("ErrorCode")
87226
+ self._Msg = params.get("Msg")
87227
+ if params.get("Voice") is not None:
87228
+ self._Voice = VoiceInfo()
87229
+ self._Voice._deserialize(params.get("Voice"))
87230
+ self._RequestId = params.get("RequestId")
87231
+
87232
+
86775
87233
  class UrlInputInfo(AbstractModel):
86776
87234
  r"""媒体处理 URL 对象信息。
86777
87235
 
@@ -90217,6 +90675,147 @@ class VoiceProfile(AbstractModel):
90217
90675
 
90218
90676
 
90219
90677
 
90678
+ class VoiceUpdateFields(AbstractModel):
90679
+ r"""音色更新字段
90680
+
90681
+ """
90682
+
90683
+ def __init__(self):
90684
+ r"""
90685
+ :param _Name: <p>音色名</p>
90686
+ :type Name: str
90687
+ :param _Description: <p>音色描述</p>
90688
+ :type Description: str
90689
+ :param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
90690
+ :type Gender: str
90691
+ :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>
90692
+ :type Age: str
90693
+ :param _Languages: <p>语言</p>
90694
+ :type Languages: list of str
90695
+ :param _Labels: <p>标签</p>
90696
+ :type Labels: list of str
90697
+ :param _Scenes: <p>场景</p>
90698
+ :type Scenes: list of str
90699
+ :param _AudioUrl: <p>试听音频</p>
90700
+ :type AudioUrl: str
90701
+ """
90702
+ self._Name = None
90703
+ self._Description = None
90704
+ self._Gender = None
90705
+ self._Age = None
90706
+ self._Languages = None
90707
+ self._Labels = None
90708
+ self._Scenes = None
90709
+ self._AudioUrl = None
90710
+
90711
+ @property
90712
+ def Name(self):
90713
+ r"""<p>音色名</p>
90714
+ :rtype: str
90715
+ """
90716
+ return self._Name
90717
+
90718
+ @Name.setter
90719
+ def Name(self, Name):
90720
+ self._Name = Name
90721
+
90722
+ @property
90723
+ def Description(self):
90724
+ r"""<p>音色描述</p>
90725
+ :rtype: str
90726
+ """
90727
+ return self._Description
90728
+
90729
+ @Description.setter
90730
+ def Description(self, Description):
90731
+ self._Description = Description
90732
+
90733
+ @property
90734
+ def Gender(self):
90735
+ r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>female: 女</li><li>unknown: 未知</li></ul>
90736
+ :rtype: str
90737
+ """
90738
+ return self._Gender
90739
+
90740
+ @Gender.setter
90741
+ def Gender(self, Gender):
90742
+ self._Gender = Gender
90743
+
90744
+ @property
90745
+ def Age(self):
90746
+ 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>
90747
+ :rtype: str
90748
+ """
90749
+ return self._Age
90750
+
90751
+ @Age.setter
90752
+ def Age(self, Age):
90753
+ self._Age = Age
90754
+
90755
+ @property
90756
+ def Languages(self):
90757
+ r"""<p>语言</p>
90758
+ :rtype: list of str
90759
+ """
90760
+ return self._Languages
90761
+
90762
+ @Languages.setter
90763
+ def Languages(self, Languages):
90764
+ self._Languages = Languages
90765
+
90766
+ @property
90767
+ def Labels(self):
90768
+ r"""<p>标签</p>
90769
+ :rtype: list of str
90770
+ """
90771
+ return self._Labels
90772
+
90773
+ @Labels.setter
90774
+ def Labels(self, Labels):
90775
+ self._Labels = Labels
90776
+
90777
+ @property
90778
+ def Scenes(self):
90779
+ r"""<p>场景</p>
90780
+ :rtype: list of str
90781
+ """
90782
+ return self._Scenes
90783
+
90784
+ @Scenes.setter
90785
+ def Scenes(self, Scenes):
90786
+ self._Scenes = Scenes
90787
+
90788
+ @property
90789
+ def AudioUrl(self):
90790
+ r"""<p>试听音频</p>
90791
+ :rtype: str
90792
+ """
90793
+ return self._AudioUrl
90794
+
90795
+ @AudioUrl.setter
90796
+ def AudioUrl(self, AudioUrl):
90797
+ self._AudioUrl = AudioUrl
90798
+
90799
+
90800
+ def _deserialize(self, params):
90801
+ self._Name = params.get("Name")
90802
+ self._Description = params.get("Description")
90803
+ self._Gender = params.get("Gender")
90804
+ self._Age = params.get("Age")
90805
+ self._Languages = params.get("Languages")
90806
+ self._Labels = params.get("Labels")
90807
+ self._Scenes = params.get("Scenes")
90808
+ self._AudioUrl = params.get("AudioUrl")
90809
+ memeber_set = set(params.keys())
90810
+ for name, value in vars(self).items():
90811
+ property_name = name[1:]
90812
+ if property_name in memeber_set:
90813
+ memeber_set.remove(property_name)
90814
+ if len(memeber_set) > 0:
90815
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
90816
+
90817
+
90818
+
90220
90819
  class VolumeBalanceConfig(AbstractModel):
90221
90820
  r"""音量均衡配置
90222
90821
 
@@ -4862,6 +4862,29 @@ class MpsClient(AbstractClient):
4862
4862
  raise TencentCloudSDKException(type(e).__name__, str(e))
4863
4863
 
4864
4864
 
4865
+ def UpdateVoice(self, request):
4866
+ r"""更新音色信息
4867
+
4868
+ :param request: Request instance for UpdateVoice.
4869
+ :type request: :class:`tencentcloud.mps.v20190612.models.UpdateVoiceRequest`
4870
+ :rtype: :class:`tencentcloud.mps.v20190612.models.UpdateVoiceResponse`
4871
+
4872
+ """
4873
+ try:
4874
+ params = request._serialize()
4875
+ headers = request.headers
4876
+ body = self.call("UpdateVoice", params, headers=headers)
4877
+ response = json.loads(body)
4878
+ model = models.UpdateVoiceResponse()
4879
+ model._deserialize(response["Response"])
4880
+ return model
4881
+ except Exception as e:
4882
+ if isinstance(e, TencentCloudSDKException):
4883
+ raise
4884
+ else:
4885
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4886
+
4887
+
4865
4888
  def WithdrawsWatermark(self, request):
4866
4889
  r"""提取视频中的盲水印。
4867
4890
 
@@ -3826,6 +3826,24 @@ class MpsClient(AbstractClient):
3826
3826
 
3827
3827
  return await self.call_and_deserialize(**kwargs)
3828
3828
 
3829
+ async def UpdateVoice(
3830
+ self,
3831
+ request: models.UpdateVoiceRequest,
3832
+ opts: Dict = None,
3833
+ ) -> models.UpdateVoiceResponse:
3834
+ """
3835
+ 更新音色信息
3836
+ """
3837
+
3838
+ kwargs = {}
3839
+ kwargs["action"] = "UpdateVoice"
3840
+ kwargs["params"] = request._serialize()
3841
+ kwargs["resp_cls"] = models.UpdateVoiceResponse
3842
+ kwargs["headers"] = request.headers
3843
+ kwargs["opts"] = opts or {}
3844
+
3845
+ return await self.call_and_deserialize(**kwargs)
3846
+
3829
3847
  async def WithdrawsWatermark(
3830
3848
  self,
3831
3849
  request: models.WithdrawsWatermarkRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.102
3
+ Version: 3.1.109
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.102
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.109
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.109
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.102