tencentcloud-sdk-python 3.1.198__py2.py3-none-any.whl → 3.1.199__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.198'
17
+ __version__ = '3.1.199'
@@ -417,6 +417,29 @@ class AdpClient(AbstractClient):
417
417
  raise TencentCloudSDKException(type(e).__name__, str(e))
418
418
 
419
419
 
420
+ def CreateSSEToken(self, request):
421
+ r"""创建 SSE Token
422
+
423
+ :param request: Request instance for CreateSSEToken.
424
+ :type request: :class:`tencentcloud.adp.v20260520.models.CreateSSETokenRequest`
425
+ :rtype: :class:`tencentcloud.adp.v20260520.models.CreateSSETokenResponse`
426
+
427
+ """
428
+ try:
429
+ params = request._serialize()
430
+ headers = request.headers
431
+ body = self.call("CreateSSEToken", params, headers=headers)
432
+ response = json.loads(body)
433
+ model = models.CreateSSETokenResponse()
434
+ model._deserialize(response["Response"])
435
+ return model
436
+ except Exception as e:
437
+ if isinstance(e, TencentCloudSDKException):
438
+ raise
439
+ else:
440
+ raise TencentCloudSDKException(type(e).__name__, str(e))
441
+
442
+
420
443
  def CreateSimilarQuestion(self, request):
421
444
  r"""创建相似问生成任务
422
445
 
@@ -331,6 +331,24 @@ class AdpClient(AbstractClient):
331
331
 
332
332
  return await self.call_and_deserialize(**kwargs)
333
333
 
334
+ async def CreateSSEToken(
335
+ self,
336
+ request: models.CreateSSETokenRequest,
337
+ opts: Dict = None,
338
+ ) -> models.CreateSSETokenResponse:
339
+ """
340
+ 创建 SSE Token
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "CreateSSEToken"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.CreateSSETokenResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
334
352
  async def CreateSimilarQuestion(
335
353
  self,
336
354
  request: models.CreateSimilarQuestionRequest,
@@ -14216,6 +14216,115 @@ class CreateReleaseResponse(AbstractModel):
14216
14216
  self._RequestId = params.get("RequestId")
14217
14217
 
14218
14218
 
14219
+ class CreateSSETokenRequest(AbstractModel):
14220
+ r"""CreateSSEToken请求参数结构体
14221
+
14222
+ """
14223
+
14224
+ def __init__(self):
14225
+ r"""
14226
+ :param _LoginUin: <p>主用户Uin</p>
14227
+ :type LoginUin: str
14228
+ :param _LoginSubAccountUin: <p>子用户Uin</p>
14229
+ :type LoginSubAccountUin: str
14230
+ :param _AppId: <p>应用ID</p>
14231
+ :type AppId: str
14232
+ """
14233
+ self._LoginUin = None
14234
+ self._LoginSubAccountUin = None
14235
+ self._AppId = None
14236
+
14237
+ @property
14238
+ def LoginUin(self):
14239
+ r"""<p>主用户Uin</p>
14240
+ :rtype: str
14241
+ """
14242
+ return self._LoginUin
14243
+
14244
+ @LoginUin.setter
14245
+ def LoginUin(self, LoginUin):
14246
+ self._LoginUin = LoginUin
14247
+
14248
+ @property
14249
+ def LoginSubAccountUin(self):
14250
+ r"""<p>子用户Uin</p>
14251
+ :rtype: str
14252
+ """
14253
+ return self._LoginSubAccountUin
14254
+
14255
+ @LoginSubAccountUin.setter
14256
+ def LoginSubAccountUin(self, LoginSubAccountUin):
14257
+ self._LoginSubAccountUin = LoginSubAccountUin
14258
+
14259
+ @property
14260
+ def AppId(self):
14261
+ r"""<p>应用ID</p>
14262
+ :rtype: str
14263
+ """
14264
+ return self._AppId
14265
+
14266
+ @AppId.setter
14267
+ def AppId(self, AppId):
14268
+ self._AppId = AppId
14269
+
14270
+
14271
+ def _deserialize(self, params):
14272
+ self._LoginUin = params.get("LoginUin")
14273
+ self._LoginSubAccountUin = params.get("LoginSubAccountUin")
14274
+ self._AppId = params.get("AppId")
14275
+ memeber_set = set(params.keys())
14276
+ for name, value in vars(self).items():
14277
+ property_name = name[1:]
14278
+ if property_name in memeber_set:
14279
+ memeber_set.remove(property_name)
14280
+ if len(memeber_set) > 0:
14281
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14282
+
14283
+
14284
+
14285
+ class CreateSSETokenResponse(AbstractModel):
14286
+ r"""CreateSSEToken返回参数结构体
14287
+
14288
+ """
14289
+
14290
+ def __init__(self):
14291
+ r"""
14292
+ :param _Token: <p>SSE 鉴权 Token</p>
14293
+ :type Token: str
14294
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14295
+ :type RequestId: str
14296
+ """
14297
+ self._Token = None
14298
+ self._RequestId = None
14299
+
14300
+ @property
14301
+ def Token(self):
14302
+ r"""<p>SSE 鉴权 Token</p>
14303
+ :rtype: str
14304
+ """
14305
+ return self._Token
14306
+
14307
+ @Token.setter
14308
+ def Token(self, Token):
14309
+ self._Token = Token
14310
+
14311
+ @property
14312
+ def RequestId(self):
14313
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14314
+ :rtype: str
14315
+ """
14316
+ return self._RequestId
14317
+
14318
+ @RequestId.setter
14319
+ def RequestId(self, RequestId):
14320
+ self._RequestId = RequestId
14321
+
14322
+
14323
+ def _deserialize(self, params):
14324
+ self._Token = params.get("Token")
14325
+ self._RequestId = params.get("RequestId")
14326
+
14327
+
14219
14328
  class CreateSimilarQuestionRequest(AbstractModel):
14220
14329
  r"""CreateSimilarQuestion请求参数结构体
14221
14330
 
@@ -8650,6 +8650,8 @@ class DescribeSpanTreeByIDRequest(AbstractModel):
8650
8650
  :type FilterViewTagKeyList: list of str
8651
8651
  :param _EnableResourceLink: <p>是否开启云资源关联</p>
8652
8652
  :type EnableResourceLink: bool
8653
+ :param _FilterTagKeys: <p>字符串数组,tagstag里面的key</p>
8654
+ :type FilterTagKeys: list of str
8653
8655
  """
8654
8656
  self._InstanceId = None
8655
8657
  self._Filters = None
@@ -8660,6 +8662,7 @@ class DescribeSpanTreeByIDRequest(AbstractModel):
8660
8662
  self._FocusSpanId = None
8661
8663
  self._FilterViewTagKeyList = None
8662
8664
  self._EnableResourceLink = None
8665
+ self._FilterTagKeys = None
8663
8666
 
8664
8667
  @property
8665
8668
  def InstanceId(self):
@@ -8760,6 +8763,17 @@ class DescribeSpanTreeByIDRequest(AbstractModel):
8760
8763
  def EnableResourceLink(self, EnableResourceLink):
8761
8764
  self._EnableResourceLink = EnableResourceLink
8762
8765
 
8766
+ @property
8767
+ def FilterTagKeys(self):
8768
+ r"""<p>字符串数组,tagstag里面的key</p>
8769
+ :rtype: list of str
8770
+ """
8771
+ return self._FilterTagKeys
8772
+
8773
+ @FilterTagKeys.setter
8774
+ def FilterTagKeys(self, FilterTagKeys):
8775
+ self._FilterTagKeys = FilterTagKeys
8776
+
8763
8777
 
8764
8778
  def _deserialize(self, params):
8765
8779
  self._InstanceId = params.get("InstanceId")
@@ -8776,6 +8790,7 @@ class DescribeSpanTreeByIDRequest(AbstractModel):
8776
8790
  self._FocusSpanId = params.get("FocusSpanId")
8777
8791
  self._FilterViewTagKeyList = params.get("FilterViewTagKeyList")
8778
8792
  self._EnableResourceLink = params.get("EnableResourceLink")
8793
+ self._FilterTagKeys = params.get("FilterTagKeys")
8779
8794
  memeber_set = set(params.keys())
8780
8795
  for name, value in vars(self).items():
8781
8796
  property_name = name[1:]
@@ -5426,9 +5426,12 @@ class CoefficientTierCondition(AbstractModel):
5426
5426
  :type InputTokensAbove: int
5427
5427
  :param _Resolution: <p>video 仅 480p/720p/768p/1024p/1080p/2k/4k,统一小写;只校验全局枚举,不校验模型支持子集;列表内不重复</p>
5428
5428
  :type Resolution: str
5429
+ :param _HasInputVideo: <p>是否有视频输入</p>
5430
+ :type HasInputVideo: bool
5429
5431
  """
5430
5432
  self._InputTokensAbove = None
5431
5433
  self._Resolution = None
5434
+ self._HasInputVideo = None
5432
5435
 
5433
5436
  @property
5434
5437
  def InputTokensAbove(self):
@@ -5452,10 +5455,22 @@ class CoefficientTierCondition(AbstractModel):
5452
5455
  def Resolution(self, Resolution):
5453
5456
  self._Resolution = Resolution
5454
5457
 
5458
+ @property
5459
+ def HasInputVideo(self):
5460
+ r"""<p>是否有视频输入</p>
5461
+ :rtype: bool
5462
+ """
5463
+ return self._HasInputVideo
5464
+
5465
+ @HasInputVideo.setter
5466
+ def HasInputVideo(self, HasInputVideo):
5467
+ self._HasInputVideo = HasInputVideo
5468
+
5455
5469
 
5456
5470
  def _deserialize(self, params):
5457
5471
  self._InputTokensAbove = params.get("InputTokensAbove")
5458
5472
  self._Resolution = params.get("Resolution")
5473
+ self._HasInputVideo = params.get("HasInputVideo")
5459
5474
  memeber_set = set(params.keys())
5460
5475
  for name, value in vars(self).items():
5461
5476
  property_name = name[1:]
@@ -31546,18 +31561,21 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31546
31561
  :type ServiceProviderId: str
31547
31562
  :param _ModelName: <p>待修改的模型的名称(原始模型名称)</p>
31548
31563
  :type ModelName: str
31549
- :param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
31564
+ :param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
31550
31565
  :type InputModalities: list of str
31551
31566
  :param _NewModelName: <p>新的上游模型名称</p>
31552
31567
  :type NewModelName: str
31553
31568
  :param _NewModelAlias: <p>新的对外模型名称</p>
31554
31569
  :type NewModelAlias: str
31570
+ :param _UpstreamRollout: <p>上游模型灰度操作,支持 Set、Promote、Rollback。</p><p>入参限制:未传时沿用普通属性编辑;显式 null、空对象及未知字段拒绝。与显式传入的 NewModelName、NewModelAlias、InputModalities 互斥,包括 null 和空别名。</p><p>Set 必须提供候选 ModelName 和 1~99 的整数 Weight,可调整同一候选的比例;相同配置在资源可编辑时成功且不重复下发。Promote、Rollback 仅传 Operation,分别全量切换到候选或恢复主模型并结束灰度。外层 ModelName 定位当前主模型;响应仍为 RequestId,任务通过 DescribeAsyncJobs 查询。</p>
31571
+ :type UpstreamRollout: :class:`tencentcloud.clb.v20180317.models.UpstreamRolloutOperation`
31555
31572
  """
31556
31573
  self._ServiceProviderId = None
31557
31574
  self._ModelName = None
31558
31575
  self._InputModalities = None
31559
31576
  self._NewModelName = None
31560
31577
  self._NewModelAlias = None
31578
+ self._UpstreamRollout = None
31561
31579
 
31562
31580
  @property
31563
31581
  def ServiceProviderId(self):
@@ -31583,7 +31601,7 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31583
31601
 
31584
31602
  @property
31585
31603
  def InputModalities(self):
31586
- r"""<p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
31604
+ r"""<p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
31587
31605
  :rtype: list of str
31588
31606
  """
31589
31607
  return self._InputModalities
@@ -31614,6 +31632,17 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31614
31632
  def NewModelAlias(self, NewModelAlias):
31615
31633
  self._NewModelAlias = NewModelAlias
31616
31634
 
31635
+ @property
31636
+ def UpstreamRollout(self):
31637
+ r"""<p>上游模型灰度操作,支持 Set、Promote、Rollback。</p><p>入参限制:未传时沿用普通属性编辑;显式 null、空对象及未知字段拒绝。与显式传入的 NewModelName、NewModelAlias、InputModalities 互斥,包括 null 和空别名。</p><p>Set 必须提供候选 ModelName 和 1~99 的整数 Weight,可调整同一候选的比例;相同配置在资源可编辑时成功且不重复下发。Promote、Rollback 仅传 Operation,分别全量切换到候选或恢复主模型并结束灰度。外层 ModelName 定位当前主模型;响应仍为 RequestId,任务通过 DescribeAsyncJobs 查询。</p>
31638
+ :rtype: :class:`tencentcloud.clb.v20180317.models.UpstreamRolloutOperation`
31639
+ """
31640
+ return self._UpstreamRollout
31641
+
31642
+ @UpstreamRollout.setter
31643
+ def UpstreamRollout(self, UpstreamRollout):
31644
+ self._UpstreamRollout = UpstreamRollout
31645
+
31617
31646
 
31618
31647
  def _deserialize(self, params):
31619
31648
  self._ServiceProviderId = params.get("ServiceProviderId")
@@ -31621,6 +31650,9 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31621
31650
  self._InputModalities = params.get("InputModalities")
31622
31651
  self._NewModelName = params.get("NewModelName")
31623
31652
  self._NewModelAlias = params.get("NewModelAlias")
31653
+ if params.get("UpstreamRollout") is not None:
31654
+ self._UpstreamRollout = UpstreamRolloutOperation()
31655
+ self._UpstreamRollout._deserialize(params.get("UpstreamRollout"))
31624
31656
  memeber_set = set(params.keys())
31625
31657
  for name, value in vars(self).items():
31626
31658
  property_name = name[1:]
@@ -40242,6 +40274,72 @@ class TypeInfo(AbstractModel):
40242
40274
 
40243
40275
 
40244
40276
 
40277
+ class UpstreamRolloutOperation(AbstractModel):
40278
+ r"""BYOK 上游模型灰度操作。Set 开启灰度或调整同一候选比例,Promote 全量切换,Rollback 结束灰度并恢复主模型。
40279
+
40280
+ """
40281
+
40282
+ def __init__(self):
40283
+ r"""
40284
+ :param _Operation: <p>上游模型灰度操作类型。Set:开始灰度或调整同一候选的比例;Promote:全量切换到候选模型并结束灰度;Rollback:保留当前主模型并结束灰度。</p><p>入参限制:仅支持 Set、Promote、Rollback,区分大小写。Promote 和 Rollback 仅允许在灰度中使用,且禁止携带 ModelName、Weight。</p>
40285
+ :type Operation: str
40286
+ :param _ModelName: <p>候选上游模型的原始名称,保留名称中的斜杠。</p><p>入参限制:Operation 为 Set 时必填,非空且最长 128 个字符;不能与当前主模型相同,不能占用同一 BYOK 的其他主模型或有效灰度候选名称。Promote、Rollback 禁止传入。</p>
40287
+ :type ModelName: str
40288
+ :param _Weight: <p>候选上游模型的灰度流量比例。</p><p>取值范围:[1, 99]</p><p>单位:%</p><p>Set 时必填,无默认值,必须为整数;拒绝 0、100、小数、布尔值及字符串。Promote、Rollback 禁止传入。比例只影响需要重新选择上游的请求,已有有效 Sticky 绑定不迁移,实际流量占比不保证等于配置比例。</p>
40289
+ :type Weight: int
40290
+ """
40291
+ self._Operation = None
40292
+ self._ModelName = None
40293
+ self._Weight = None
40294
+
40295
+ @property
40296
+ def Operation(self):
40297
+ r"""<p>上游模型灰度操作类型。Set:开始灰度或调整同一候选的比例;Promote:全量切换到候选模型并结束灰度;Rollback:保留当前主模型并结束灰度。</p><p>入参限制:仅支持 Set、Promote、Rollback,区分大小写。Promote 和 Rollback 仅允许在灰度中使用,且禁止携带 ModelName、Weight。</p>
40298
+ :rtype: str
40299
+ """
40300
+ return self._Operation
40301
+
40302
+ @Operation.setter
40303
+ def Operation(self, Operation):
40304
+ self._Operation = Operation
40305
+
40306
+ @property
40307
+ def ModelName(self):
40308
+ r"""<p>候选上游模型的原始名称,保留名称中的斜杠。</p><p>入参限制:Operation 为 Set 时必填,非空且最长 128 个字符;不能与当前主模型相同,不能占用同一 BYOK 的其他主模型或有效灰度候选名称。Promote、Rollback 禁止传入。</p>
40309
+ :rtype: str
40310
+ """
40311
+ return self._ModelName
40312
+
40313
+ @ModelName.setter
40314
+ def ModelName(self, ModelName):
40315
+ self._ModelName = ModelName
40316
+
40317
+ @property
40318
+ def Weight(self):
40319
+ r"""<p>候选上游模型的灰度流量比例。</p><p>取值范围:[1, 99]</p><p>单位:%</p><p>Set 时必填,无默认值,必须为整数;拒绝 0、100、小数、布尔值及字符串。Promote、Rollback 禁止传入。比例只影响需要重新选择上游的请求,已有有效 Sticky 绑定不迁移,实际流量占比不保证等于配置比例。</p>
40320
+ :rtype: int
40321
+ """
40322
+ return self._Weight
40323
+
40324
+ @Weight.setter
40325
+ def Weight(self, Weight):
40326
+ self._Weight = Weight
40327
+
40328
+
40329
+ def _deserialize(self, params):
40330
+ self._Operation = params.get("Operation")
40331
+ self._ModelName = params.get("ModelName")
40332
+ self._Weight = params.get("Weight")
40333
+ memeber_set = set(params.keys())
40334
+ for name, value in vars(self).items():
40335
+ property_name = name[1:]
40336
+ if property_name in memeber_set:
40337
+ memeber_set.remove(property_name)
40338
+ if len(memeber_set) > 0:
40339
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40340
+
40341
+
40342
+
40245
40343
  class UserGroupInfo(AbstractModel):
40246
40344
  r"""用户组信息。
40247
40345
 
@@ -19312,11 +19312,14 @@ class CloneViralAIGC(AbstractModel):
19312
19312
  :type Resolution: str
19313
19313
  :param _ModelTier: <p>模式。flagship(高级版,默认)、standard(标准版)、depthcrafter(深度提取)</p>
19314
19314
  :type ModelTier: str
19315
+ :param _DepthWithAudio: <p>深度估计结果是否含音频, 默认不含</p>
19316
+ :type DepthWithAudio: bool
19315
19317
  """
19316
19318
  self._Duration = None
19317
19319
  self._AspectRatio = None
19318
19320
  self._Resolution = None
19319
19321
  self._ModelTier = None
19322
+ self._DepthWithAudio = None
19320
19323
 
19321
19324
  @property
19322
19325
  def Duration(self):
@@ -19362,12 +19365,24 @@ class CloneViralAIGC(AbstractModel):
19362
19365
  def ModelTier(self, ModelTier):
19363
19366
  self._ModelTier = ModelTier
19364
19367
 
19368
+ @property
19369
+ def DepthWithAudio(self):
19370
+ r"""<p>深度估计结果是否含音频, 默认不含</p>
19371
+ :rtype: bool
19372
+ """
19373
+ return self._DepthWithAudio
19374
+
19375
+ @DepthWithAudio.setter
19376
+ def DepthWithAudio(self, DepthWithAudio):
19377
+ self._DepthWithAudio = DepthWithAudio
19378
+
19365
19379
 
19366
19380
  def _deserialize(self, params):
19367
19381
  self._Duration = params.get("Duration")
19368
19382
  self._AspectRatio = params.get("AspectRatio")
19369
19383
  self._Resolution = params.get("Resolution")
19370
19384
  self._ModelTier = params.get("ModelTier")
19385
+ self._DepthWithAudio = params.get("DepthWithAudio")
19371
19386
  memeber_set = set(params.keys())
19372
19387
  for name, value in vars(self).items():
19373
19388
  property_name = name[1:]
@@ -19593,11 +19608,14 @@ class CloneViralPersona(AbstractModel):
19593
19608
  :type Ethnicity: str
19594
19609
  :param _BodyType: <p>体型。slim / standard / athletic / chubby</p>
19595
19610
  :type BodyType: str
19611
+ :param _Images: <p>人物图片</p>
19612
+ :type Images: list of str
19596
19613
  """
19597
19614
  self._Gender = None
19598
19615
  self._Age = None
19599
19616
  self._Ethnicity = None
19600
19617
  self._BodyType = None
19618
+ self._Images = None
19601
19619
 
19602
19620
  @property
19603
19621
  def Gender(self):
@@ -19643,12 +19661,24 @@ class CloneViralPersona(AbstractModel):
19643
19661
  def BodyType(self, BodyType):
19644
19662
  self._BodyType = BodyType
19645
19663
 
19664
+ @property
19665
+ def Images(self):
19666
+ r"""<p>人物图片</p>
19667
+ :rtype: list of str
19668
+ """
19669
+ return self._Images
19670
+
19671
+ @Images.setter
19672
+ def Images(self, Images):
19673
+ self._Images = Images
19674
+
19646
19675
 
19647
19676
  def _deserialize(self, params):
19648
19677
  self._Gender = params.get("Gender")
19649
19678
  self._Age = params.get("Age")
19650
19679
  self._Ethnicity = params.get("Ethnicity")
19651
19680
  self._BodyType = params.get("BodyType")
19681
+ self._Images = params.get("Images")
19652
19682
  memeber_set = set(params.keys())
19653
19683
  for name, value in vars(self).items():
19654
19684
  property_name = name[1:]
@@ -19725,6 +19755,57 @@ class CloneViralProduct(AbstractModel):
19725
19755
 
19726
19756
 
19727
19757
 
19758
+ class CloneViralReference(AbstractModel):
19759
+ r"""动作级补充素材:服饰套装 / 背景
19760
+
19761
+ """
19762
+
19763
+ def __init__(self):
19764
+ r"""
19765
+ :param _Outfits: <p>服饰套装参考图,多套按视频中的分段换装</p>
19766
+ :type Outfits: list of str
19767
+ :param _Backgrounds: <p>背景/场景参考图</p>
19768
+ :type Backgrounds: list of str
19769
+ """
19770
+ self._Outfits = None
19771
+ self._Backgrounds = None
19772
+
19773
+ @property
19774
+ def Outfits(self):
19775
+ r"""<p>服饰套装参考图,多套按视频中的分段换装</p>
19776
+ :rtype: list of str
19777
+ """
19778
+ return self._Outfits
19779
+
19780
+ @Outfits.setter
19781
+ def Outfits(self, Outfits):
19782
+ self._Outfits = Outfits
19783
+
19784
+ @property
19785
+ def Backgrounds(self):
19786
+ r"""<p>背景/场景参考图</p>
19787
+ :rtype: list of str
19788
+ """
19789
+ return self._Backgrounds
19790
+
19791
+ @Backgrounds.setter
19792
+ def Backgrounds(self, Backgrounds):
19793
+ self._Backgrounds = Backgrounds
19794
+
19795
+
19796
+ def _deserialize(self, params):
19797
+ self._Outfits = params.get("Outfits")
19798
+ self._Backgrounds = params.get("Backgrounds")
19799
+ memeber_set = set(params.keys())
19800
+ for name, value in vars(self).items():
19801
+ property_name = name[1:]
19802
+ if property_name in memeber_set:
19803
+ memeber_set.remove(property_name)
19804
+ if len(memeber_set) > 0:
19805
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19806
+
19807
+
19808
+
19728
19809
  class CloneViralRequest(AbstractModel):
19729
19810
  r"""CloneViral请求参数结构体
19730
19811
 
@@ -19734,6 +19815,8 @@ class CloneViralRequest(AbstractModel):
19734
19815
  r"""
19735
19816
  :param _VideoUrl: <p>爆款视频Url</p>
19736
19817
  :type VideoUrl: str
19818
+ :param _Mode: <p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
19819
+ :type Mode: str
19737
19820
  :param _Product: <p>产品信息。除深度提取外,其他模式必填</p>
19738
19821
  :type Product: :class:`tencentcloud.mps.v20190612.models.CloneViralProduct`
19739
19822
  :param _AIGCParam: <p>AIGC生视频相关参数</p>
@@ -19744,13 +19827,17 @@ class CloneViralRequest(AbstractModel):
19744
19827
  :type Persona: :class:`tencentcloud.mps.v20190612.models.CloneViralPersona`
19745
19828
  :param _Output: <p>输出相关参数</p>
19746
19829
  :type Output: :class:`tencentcloud.mps.v20190612.models.CloneViralOutputOption`
19830
+ :param _Reference: <p>其他参考素材(如背景、服装)</p>
19831
+ :type Reference: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
19747
19832
  """
19748
19833
  self._VideoUrl = None
19834
+ self._Mode = None
19749
19835
  self._Product = None
19750
19836
  self._AIGCParam = None
19751
19837
  self._ContentParam = None
19752
19838
  self._Persona = None
19753
19839
  self._Output = None
19840
+ self._Reference = None
19754
19841
 
19755
19842
  @property
19756
19843
  def VideoUrl(self):
@@ -19763,6 +19850,17 @@ class CloneViralRequest(AbstractModel):
19763
19850
  def VideoUrl(self, VideoUrl):
19764
19851
  self._VideoUrl = VideoUrl
19765
19852
 
19853
+ @property
19854
+ def Mode(self):
19855
+ r"""<p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
19856
+ :rtype: str
19857
+ """
19858
+ return self._Mode
19859
+
19860
+ @Mode.setter
19861
+ def Mode(self, Mode):
19862
+ self._Mode = Mode
19863
+
19766
19864
  @property
19767
19865
  def Product(self):
19768
19866
  r"""<p>产品信息。除深度提取外,其他模式必填</p>
@@ -19818,9 +19916,21 @@ class CloneViralRequest(AbstractModel):
19818
19916
  def Output(self, Output):
19819
19917
  self._Output = Output
19820
19918
 
19919
+ @property
19920
+ def Reference(self):
19921
+ r"""<p>其他参考素材(如背景、服装)</p>
19922
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
19923
+ """
19924
+ return self._Reference
19925
+
19926
+ @Reference.setter
19927
+ def Reference(self, Reference):
19928
+ self._Reference = Reference
19929
+
19821
19930
 
19822
19931
  def _deserialize(self, params):
19823
19932
  self._VideoUrl = params.get("VideoUrl")
19933
+ self._Mode = params.get("Mode")
19824
19934
  if params.get("Product") is not None:
19825
19935
  self._Product = CloneViralProduct()
19826
19936
  self._Product._deserialize(params.get("Product"))
@@ -19836,6 +19946,9 @@ class CloneViralRequest(AbstractModel):
19836
19946
  if params.get("Output") is not None:
19837
19947
  self._Output = CloneViralOutputOption()
19838
19948
  self._Output._deserialize(params.get("Output"))
19949
+ if params.get("Reference") is not None:
19950
+ self._Reference = CloneViralReference()
19951
+ self._Reference._deserialize(params.get("Reference"))
19839
19952
  memeber_set = set(params.keys())
19840
19953
  for name, value in vars(self).items():
19841
19954
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.1.198
3
+ Version: 3.1.199
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -50,7 +50,7 @@ QcloudApi/modules/vod.py,sha256=l05_qYx0l5bq6LJ8mAX2YO3pRXzxY3JMdDHV1N_SRKE,679
50
50
  QcloudApi/modules/vpc.py,sha256=JBiNpcnrAwf_UJ_UdpxQybKeCTfeveJ9R1B-vO1_w_U,679
51
51
  QcloudApi/modules/wenzhi.py,sha256=hr1rRLU8TxxSfejMqV2O4alO_yXF3C0tfZMSzziu54Q,685
52
52
  QcloudApi/modules/yunsou.py,sha256=JlgzMjnJaho6axFVhSTAv6DS0HLcjl0LJL02q6qI2yY,685
53
- tencentcloud/__init__.py,sha256=1oJbkihKUc7kj6TQX-332RPdZGul8XTJkApvvz9ZlDE,630
53
+ tencentcloud/__init__.py,sha256=ZmztO9woXlEWkYOPwaDFABrtuPqRynK045AsMiqf_ck,630
54
54
  tencentcloud/aai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  tencentcloud/aai/v20180522/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  tencentcloud/aai/v20180522/aai_client.py,sha256=yUeYfjviV9V9QBmtD5Qs1Kdjy_iSWkIrNeBabwYMCXw,5474
@@ -71,10 +71,10 @@ tencentcloud/acp/v20220105/errorcodes.py,sha256=w-vceryHC4VIlXA5zZ_KCi939Q3Ld_JN
71
71
  tencentcloud/acp/v20220105/models.py,sha256=fKf0EkyAqCYyGFUUG4oJoXgbcvHYKHqvtBLAuPRBxTQ,65318
72
72
  tencentcloud/adp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  tencentcloud/adp/v20260520/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
- tencentcloud/adp/v20260520/adp_client.py,sha256=rfs7TLpU-QL0KJIB-Gel2XrhcELISa1CTIgED5EX3i4,119595
75
- tencentcloud/adp/v20260520/adp_client_async.py,sha256=tkOEpXB52Jf7OTtjt_IYlcbyxa0MmHel8fpBlPpPB-U,79707
74
+ tencentcloud/adp/v20260520/adp_client.py,sha256=WLGdj3WfUdTvsUGJ0FiEvdmSTS4Vrq_QYEWLhdS_uic,120445
75
+ tencentcloud/adp/v20260520/adp_client_async.py,sha256=FWNuwFVwkuJuWB-HiP9l7HvnpNnee-S16J4LLnxCnVc,80261
76
76
  tencentcloud/adp/v20260520/errorcodes.py,sha256=AVXi2_qUYtnmL38OqK4NUd5ANZ9-icECRJ1DUJM5CPk,911
77
- tencentcloud/adp/v20260520/models.py,sha256=VfPGHjkMi05GMIDjsKGRqK-CL9lyG0MI50gBFL_fpf8,1585999
77
+ tencentcloud/adp/v20260520/models.py,sha256=_pF8MZFPpTgY8nB8wtKRyiKVAJjVdgdyBRYtvdfHaAs,1589033
78
78
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
79
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=QxlDZ23zWGJ1WEDCLHngxRiG7crKpIVrkAGVmOQi1c4,3815
@@ -180,7 +180,7 @@ tencentcloud/apm/v20210622/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
180
180
  tencentcloud/apm/v20210622/apm_client.py,sha256=D-c-iU4TqfhS0KSzanjLjVEVo8f_pvrx1mwKZTGsTV8,36814
181
181
  tencentcloud/apm/v20210622/apm_client_async.py,sha256=uTP7ouxbkCghVdEZ46czWdE9J4ll-HI65iAY2JZ0gwA,25757
182
182
  tencentcloud/apm/v20210622/errorcodes.py,sha256=NaqbTc0OTb89dw5j6K9Ua-j8bzu140D6EWb3r8Ql43E,8922
183
- tencentcloud/apm/v20210622/models.py,sha256=2lYqqFWwhnc8kTZohluscTzG65eSVcq_IchbUnih9cA,483117
183
+ tencentcloud/apm/v20210622/models.py,sha256=Y4d2-mmCEhGsBokMMLybTbGRAlMUlpc5bxb4979-GCU,483618
184
184
  tencentcloud/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
185
185
  tencentcloud/asr/v20190614/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
186
  tencentcloud/asr/v20190614/asr_client.py,sha256=WK-5DkZzPeAIN72snGn0M_ZDGTvoekLVH9LzJgrwdn0,39541
@@ -476,7 +476,7 @@ tencentcloud/clb/v20180317/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
476
476
  tencentcloud/clb/v20180317/clb_client.py,sha256=StbURdt5pJ4yzSUGMAe-HgXZaamSAD0uMOLIClwRTss,175360
477
477
  tencentcloud/clb/v20180317/clb_client_async.py,sha256=ISLq55izoAjbQKqGKktI2SY-ixA2RZktitV85-5kFdY,126554
478
478
  tencentcloud/clb/v20180317/errorcodes.py,sha256=-4FOPqu-FZVITYPY5a75PlybGvtEAzQUsXtGtSP32bA,8554
479
- tencentcloud/clb/v20180317/models.py,sha256=KWtfheTt9myNxMkt15MuLoF7bjU9-f3TnGnGP9lfNo0,1432599
479
+ tencentcloud/clb/v20180317/models.py,sha256=RXs2af0CxHl3c581NnaGm5prxlGmtbye8DuMQYj_Gs0,1438797
480
480
  tencentcloud/cloudapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
481
481
  tencentcloud/cloudapp/v20220530/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
482
482
  tencentcloud/cloudapp/v20220530/cloudapp_client.py,sha256=phtXasS2CCcSZkHT6TPMNJ55MOtoHE5lhYpnINl1gtE,9653
@@ -1170,7 +1170,7 @@ tencentcloud/monitor/v20230616/monitor_client_async.py,sha256=zQL289lF4MYRuVxOF6
1170
1170
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1171
1171
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1172
1172
  tencentcloud/mps/v20190612/errorcodes.py,sha256=OU4BxFgJzqWyTkG_3TU2_hqKXzxo-MEQr_gwM43kceo,21864
1173
- tencentcloud/mps/v20190612/models.py,sha256=46UgzjUO8nuxRQkQ4wmhqbar6kfzAGTejbsc_2AFEyY,3650575
1173
+ tencentcloud/mps/v20190612/models.py,sha256=ih57zZiyLTUaP-L3tLQYcDepsgNWGS4kjRtBOVb383k,3654200
1174
1174
  tencentcloud/mps/v20190612/mps_client.py,sha256=U5MWAF_hdcM6W0VW5ZCrz-3EEWVFOvxUDe_raKdT_60,225462
1175
1175
  tencentcloud/mps/v20190612/mps_client_async.py,sha256=aW681zFtm0SO8VpUVUnr31YrddDvzH2U22y-PVT6I2Y,154796
1176
1176
  tencentcloud/mqtt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1839,8 +1839,8 @@ tencentcloud/yunsou/v20191115/errorcodes.py,sha256=YV391ulIJZVFPtkkzGWg4n2fbxEDx
1839
1839
  tencentcloud/yunsou/v20191115/models.py,sha256=TQ-E6fkxGPYItLhPVApTt2PoY81gMZ4GE0yCF7pxZz8,27714
1840
1840
  tencentcloud/yunsou/v20191115/yunsou_client.py,sha256=7ut92qGz4H9bKC4ondQTiKsstVD1ZRYAQ40DNLaQXJE,2716
1841
1841
  tencentcloud/yunsou/v20191115/yunsou_client_async.py,sha256=yvmU3_WuPEV3e5ihepO4LQU_6dHbyOBJyeDyF_APnZ4,2030
1842
- tencentcloud_sdk_python-3.1.198.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1843
- tencentcloud_sdk_python-3.1.198.dist-info/METADATA,sha256=gwO2g4NfIU2IZPy_oSPGLoJt2OE_P83E7uS9h_MutMY,1679
1844
- tencentcloud_sdk_python-3.1.198.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
1845
- tencentcloud_sdk_python-3.1.198.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1846
- tencentcloud_sdk_python-3.1.198.dist-info/RECORD,,
1842
+ tencentcloud_sdk_python-3.1.199.dist-info/LICENSE,sha256=AJyIQ6mPzTpsFn6i0cG6OPVdhJ85l_mfdoOR7J4DnRw,11351
1843
+ tencentcloud_sdk_python-3.1.199.dist-info/METADATA,sha256=16HzCUTAMHfXW7k2kjcH8qOyKnSwU9U5uEOW8mJLcSU,1679
1844
+ tencentcloud_sdk_python-3.1.199.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
1845
+ tencentcloud_sdk_python-3.1.199.dist-info/top_level.txt,sha256=7kItXWSGlPDkhHTt2qPSt8zrlsPHLfRofR1QJo6eV_A,23
1846
+ tencentcloud_sdk_python-3.1.199.dist-info/RECORD,,