tencentcloud-sdk-python-mps 3.1.169__tar.gz → 3.1.170__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.169 → tencentcloud_sdk_python_mps-3.1.170}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/v20190612/models.py +434 -4
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.170/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.169/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.169 → tencentcloud_sdk_python_mps-3.1.170}/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.170
|
|
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.170
|
|
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.170,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -14206,6 +14206,12 @@ class AigcTaskListItem(AbstractModel):
|
|
|
14206
14206
|
:param _RequestBody: <p>任务请求包</p>
|
|
14207
14207
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14208
14208
|
:type RequestBody: str
|
|
14209
|
+
:param _TaskInfo: <p>任务其他信息</p>
|
|
14210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14211
|
+
:type TaskInfo: str
|
|
14212
|
+
:param _Stage: <p>任务子状态</p>
|
|
14213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14214
|
+
:type Stage: str
|
|
14209
14215
|
"""
|
|
14210
14216
|
self._TaskId = None
|
|
14211
14217
|
self._TaskType = None
|
|
@@ -14219,6 +14225,8 @@ class AigcTaskListItem(AbstractModel):
|
|
|
14219
14225
|
self._Resolution = None
|
|
14220
14226
|
self._Ratio = None
|
|
14221
14227
|
self._RequestBody = None
|
|
14228
|
+
self._TaskInfo = None
|
|
14229
|
+
self._Stage = None
|
|
14222
14230
|
|
|
14223
14231
|
@property
|
|
14224
14232
|
def TaskId(self):
|
|
@@ -14355,6 +14363,30 @@ class AigcTaskListItem(AbstractModel):
|
|
|
14355
14363
|
def RequestBody(self, RequestBody):
|
|
14356
14364
|
self._RequestBody = RequestBody
|
|
14357
14365
|
|
|
14366
|
+
@property
|
|
14367
|
+
def TaskInfo(self):
|
|
14368
|
+
r"""<p>任务其他信息</p>
|
|
14369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14370
|
+
:rtype: str
|
|
14371
|
+
"""
|
|
14372
|
+
return self._TaskInfo
|
|
14373
|
+
|
|
14374
|
+
@TaskInfo.setter
|
|
14375
|
+
def TaskInfo(self, TaskInfo):
|
|
14376
|
+
self._TaskInfo = TaskInfo
|
|
14377
|
+
|
|
14378
|
+
@property
|
|
14379
|
+
def Stage(self):
|
|
14380
|
+
r"""<p>任务子状态</p>
|
|
14381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14382
|
+
:rtype: str
|
|
14383
|
+
"""
|
|
14384
|
+
return self._Stage
|
|
14385
|
+
|
|
14386
|
+
@Stage.setter
|
|
14387
|
+
def Stage(self, Stage):
|
|
14388
|
+
self._Stage = Stage
|
|
14389
|
+
|
|
14358
14390
|
|
|
14359
14391
|
def _deserialize(self, params):
|
|
14360
14392
|
self._TaskId = params.get("TaskId")
|
|
@@ -14369,6 +14401,8 @@ class AigcTaskListItem(AbstractModel):
|
|
|
14369
14401
|
self._Resolution = params.get("Resolution")
|
|
14370
14402
|
self._Ratio = params.get("Ratio")
|
|
14371
14403
|
self._RequestBody = params.get("RequestBody")
|
|
14404
|
+
self._TaskInfo = params.get("TaskInfo")
|
|
14405
|
+
self._Stage = params.get("Stage")
|
|
14372
14406
|
memeber_set = set(params.keys())
|
|
14373
14407
|
for name, value in vars(self).items():
|
|
14374
14408
|
property_name = name[1:]
|
|
@@ -18408,7 +18442,7 @@ class CloneViralAIGC(AbstractModel):
|
|
|
18408
18442
|
r"""
|
|
18409
18443
|
:param _Duration: <p>视频时长</p><p>取值范围:[4, 15]</p>
|
|
18410
18444
|
:type Duration: int
|
|
18411
|
-
:param _AspectRatio: <p
|
|
18445
|
+
:param _AspectRatio: <p>宽高比。旗舰版支持 16:9/4:3/1:1/3:4/9:16/21:9/adaptive,标准版支持16:9/1:1/9:16</p>
|
|
18412
18446
|
:type AspectRatio: str
|
|
18413
18447
|
:param _Resolution: <p>分辨率。支持720p(默认)/1080p/2k/4k</p>
|
|
18414
18448
|
:type Resolution: str
|
|
@@ -18433,7 +18467,7 @@ class CloneViralAIGC(AbstractModel):
|
|
|
18433
18467
|
|
|
18434
18468
|
@property
|
|
18435
18469
|
def AspectRatio(self):
|
|
18436
|
-
r"""<p
|
|
18470
|
+
r"""<p>宽高比。旗舰版支持 16:9/4:3/1:1/3:4/9:16/21:9/adaptive,标准版支持16:9/1:1/9:16</p>
|
|
18437
18471
|
:rtype: str
|
|
18438
18472
|
"""
|
|
18439
18473
|
return self._AspectRatio
|
|
@@ -18561,6 +18595,125 @@ class CloneViralContent(AbstractModel):
|
|
|
18561
18595
|
|
|
18562
18596
|
|
|
18563
18597
|
|
|
18598
|
+
class CloneViralCosInfo(AbstractModel):
|
|
18599
|
+
r"""爆款复刻输出COS信息
|
|
18600
|
+
|
|
18601
|
+
"""
|
|
18602
|
+
|
|
18603
|
+
def __init__(self):
|
|
18604
|
+
r"""
|
|
18605
|
+
:param _Region: <p>区域</p>
|
|
18606
|
+
:type Region: str
|
|
18607
|
+
:param _Bucket: <p>COS桶</p>
|
|
18608
|
+
:type Bucket: str
|
|
18609
|
+
:param _Dir: <p>目录。空时默认根目录</p>
|
|
18610
|
+
:type Dir: str
|
|
18611
|
+
"""
|
|
18612
|
+
self._Region = None
|
|
18613
|
+
self._Bucket = None
|
|
18614
|
+
self._Dir = None
|
|
18615
|
+
|
|
18616
|
+
@property
|
|
18617
|
+
def Region(self):
|
|
18618
|
+
r"""<p>区域</p>
|
|
18619
|
+
:rtype: str
|
|
18620
|
+
"""
|
|
18621
|
+
return self._Region
|
|
18622
|
+
|
|
18623
|
+
@Region.setter
|
|
18624
|
+
def Region(self, Region):
|
|
18625
|
+
self._Region = Region
|
|
18626
|
+
|
|
18627
|
+
@property
|
|
18628
|
+
def Bucket(self):
|
|
18629
|
+
r"""<p>COS桶</p>
|
|
18630
|
+
:rtype: str
|
|
18631
|
+
"""
|
|
18632
|
+
return self._Bucket
|
|
18633
|
+
|
|
18634
|
+
@Bucket.setter
|
|
18635
|
+
def Bucket(self, Bucket):
|
|
18636
|
+
self._Bucket = Bucket
|
|
18637
|
+
|
|
18638
|
+
@property
|
|
18639
|
+
def Dir(self):
|
|
18640
|
+
r"""<p>目录。空时默认根目录</p>
|
|
18641
|
+
:rtype: str
|
|
18642
|
+
"""
|
|
18643
|
+
return self._Dir
|
|
18644
|
+
|
|
18645
|
+
@Dir.setter
|
|
18646
|
+
def Dir(self, Dir):
|
|
18647
|
+
self._Dir = Dir
|
|
18648
|
+
|
|
18649
|
+
|
|
18650
|
+
def _deserialize(self, params):
|
|
18651
|
+
self._Region = params.get("Region")
|
|
18652
|
+
self._Bucket = params.get("Bucket")
|
|
18653
|
+
self._Dir = params.get("Dir")
|
|
18654
|
+
memeber_set = set(params.keys())
|
|
18655
|
+
for name, value in vars(self).items():
|
|
18656
|
+
property_name = name[1:]
|
|
18657
|
+
if property_name in memeber_set:
|
|
18658
|
+
memeber_set.remove(property_name)
|
|
18659
|
+
if len(memeber_set) > 0:
|
|
18660
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18661
|
+
|
|
18662
|
+
|
|
18663
|
+
|
|
18664
|
+
class CloneViralOutputOption(AbstractModel):
|
|
18665
|
+
r"""爆款复刻输出配置
|
|
18666
|
+
|
|
18667
|
+
"""
|
|
18668
|
+
|
|
18669
|
+
def __init__(self):
|
|
18670
|
+
r"""
|
|
18671
|
+
:param _Type: <p>输出类型。默认url</p><p>枚举值:</p><ul><li>url: 临时链接,有效期24小时</li><li>cos: 指定cos桶和路径</li></ul>
|
|
18672
|
+
:type Type: str
|
|
18673
|
+
:param _CosInfo: <p>自定义cos信息</p>
|
|
18674
|
+
:type CosInfo: :class:`tencentcloud.mps.v20190612.models.CloneViralCosInfo`
|
|
18675
|
+
"""
|
|
18676
|
+
self._Type = None
|
|
18677
|
+
self._CosInfo = None
|
|
18678
|
+
|
|
18679
|
+
@property
|
|
18680
|
+
def Type(self):
|
|
18681
|
+
r"""<p>输出类型。默认url</p><p>枚举值:</p><ul><li>url: 临时链接,有效期24小时</li><li>cos: 指定cos桶和路径</li></ul>
|
|
18682
|
+
:rtype: str
|
|
18683
|
+
"""
|
|
18684
|
+
return self._Type
|
|
18685
|
+
|
|
18686
|
+
@Type.setter
|
|
18687
|
+
def Type(self, Type):
|
|
18688
|
+
self._Type = Type
|
|
18689
|
+
|
|
18690
|
+
@property
|
|
18691
|
+
def CosInfo(self):
|
|
18692
|
+
r"""<p>自定义cos信息</p>
|
|
18693
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CloneViralCosInfo`
|
|
18694
|
+
"""
|
|
18695
|
+
return self._CosInfo
|
|
18696
|
+
|
|
18697
|
+
@CosInfo.setter
|
|
18698
|
+
def CosInfo(self, CosInfo):
|
|
18699
|
+
self._CosInfo = CosInfo
|
|
18700
|
+
|
|
18701
|
+
|
|
18702
|
+
def _deserialize(self, params):
|
|
18703
|
+
self._Type = params.get("Type")
|
|
18704
|
+
if params.get("CosInfo") is not None:
|
|
18705
|
+
self._CosInfo = CloneViralCosInfo()
|
|
18706
|
+
self._CosInfo._deserialize(params.get("CosInfo"))
|
|
18707
|
+
memeber_set = set(params.keys())
|
|
18708
|
+
for name, value in vars(self).items():
|
|
18709
|
+
property_name = name[1:]
|
|
18710
|
+
if property_name in memeber_set:
|
|
18711
|
+
memeber_set.remove(property_name)
|
|
18712
|
+
if len(memeber_set) > 0:
|
|
18713
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18714
|
+
|
|
18715
|
+
|
|
18716
|
+
|
|
18564
18717
|
class CloneViralPersona(AbstractModel):
|
|
18565
18718
|
r"""爆款复刻模特形象
|
|
18566
18719
|
|
|
@@ -18725,12 +18878,15 @@ class CloneViralRequest(AbstractModel):
|
|
|
18725
18878
|
:type ContentParam: :class:`tencentcloud.mps.v20190612.models.CloneViralContent`
|
|
18726
18879
|
:param _Persona: <p>模特形象</p>
|
|
18727
18880
|
:type Persona: :class:`tencentcloud.mps.v20190612.models.CloneViralPersona`
|
|
18881
|
+
:param _Output: <p>输出相关参数</p>
|
|
18882
|
+
:type Output: :class:`tencentcloud.mps.v20190612.models.CloneViralOutputOption`
|
|
18728
18883
|
"""
|
|
18729
18884
|
self._VideoUrl = None
|
|
18730
18885
|
self._Product = None
|
|
18731
18886
|
self._AIGCParam = None
|
|
18732
18887
|
self._ContentParam = None
|
|
18733
18888
|
self._Persona = None
|
|
18889
|
+
self._Output = None
|
|
18734
18890
|
|
|
18735
18891
|
@property
|
|
18736
18892
|
def VideoUrl(self):
|
|
@@ -18787,6 +18943,17 @@ class CloneViralRequest(AbstractModel):
|
|
|
18787
18943
|
def Persona(self, Persona):
|
|
18788
18944
|
self._Persona = Persona
|
|
18789
18945
|
|
|
18946
|
+
@property
|
|
18947
|
+
def Output(self):
|
|
18948
|
+
r"""<p>输出相关参数</p>
|
|
18949
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CloneViralOutputOption`
|
|
18950
|
+
"""
|
|
18951
|
+
return self._Output
|
|
18952
|
+
|
|
18953
|
+
@Output.setter
|
|
18954
|
+
def Output(self, Output):
|
|
18955
|
+
self._Output = Output
|
|
18956
|
+
|
|
18790
18957
|
|
|
18791
18958
|
def _deserialize(self, params):
|
|
18792
18959
|
self._VideoUrl = params.get("VideoUrl")
|
|
@@ -18802,6 +18969,9 @@ class CloneViralRequest(AbstractModel):
|
|
|
18802
18969
|
if params.get("Persona") is not None:
|
|
18803
18970
|
self._Persona = CloneViralPersona()
|
|
18804
18971
|
self._Persona._deserialize(params.get("Persona"))
|
|
18972
|
+
if params.get("Output") is not None:
|
|
18973
|
+
self._Output = CloneViralOutputOption()
|
|
18974
|
+
self._Output._deserialize(params.get("Output"))
|
|
18805
18975
|
memeber_set = set(params.keys())
|
|
18806
18976
|
for name, value in vars(self).items():
|
|
18807
18977
|
property_name = name[1:]
|
|
@@ -34671,6 +34841,12 @@ class DescribeAigcTaskStatusResponse(AbstractModel):
|
|
|
34671
34841
|
:type RequestBody: str
|
|
34672
34842
|
:param _TaskType: <p>任务类型</p>
|
|
34673
34843
|
:type TaskType: str
|
|
34844
|
+
:param _TaskInfo: <p>任务其他信息</p>
|
|
34845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34846
|
+
:type TaskInfo: str
|
|
34847
|
+
:param _Stage: <p>任务子状态</p>
|
|
34848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34849
|
+
:type Stage: str
|
|
34674
34850
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34675
34851
|
:type RequestId: str
|
|
34676
34852
|
"""
|
|
@@ -34684,6 +34860,8 @@ class DescribeAigcTaskStatusResponse(AbstractModel):
|
|
|
34684
34860
|
self._TaskResultMsg = None
|
|
34685
34861
|
self._RequestBody = None
|
|
34686
34862
|
self._TaskType = None
|
|
34863
|
+
self._TaskInfo = None
|
|
34864
|
+
self._Stage = None
|
|
34687
34865
|
self._RequestId = None
|
|
34688
34866
|
|
|
34689
34867
|
@property
|
|
@@ -34797,6 +34975,30 @@ class DescribeAigcTaskStatusResponse(AbstractModel):
|
|
|
34797
34975
|
def TaskType(self, TaskType):
|
|
34798
34976
|
self._TaskType = TaskType
|
|
34799
34977
|
|
|
34978
|
+
@property
|
|
34979
|
+
def TaskInfo(self):
|
|
34980
|
+
r"""<p>任务其他信息</p>
|
|
34981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34982
|
+
:rtype: str
|
|
34983
|
+
"""
|
|
34984
|
+
return self._TaskInfo
|
|
34985
|
+
|
|
34986
|
+
@TaskInfo.setter
|
|
34987
|
+
def TaskInfo(self, TaskInfo):
|
|
34988
|
+
self._TaskInfo = TaskInfo
|
|
34989
|
+
|
|
34990
|
+
@property
|
|
34991
|
+
def Stage(self):
|
|
34992
|
+
r"""<p>任务子状态</p>
|
|
34993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34994
|
+
:rtype: str
|
|
34995
|
+
"""
|
|
34996
|
+
return self._Stage
|
|
34997
|
+
|
|
34998
|
+
@Stage.setter
|
|
34999
|
+
def Stage(self, Stage):
|
|
35000
|
+
self._Stage = Stage
|
|
35001
|
+
|
|
34800
35002
|
@property
|
|
34801
35003
|
def RequestId(self):
|
|
34802
35004
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -34820,6 +35022,8 @@ class DescribeAigcTaskStatusResponse(AbstractModel):
|
|
|
34820
35022
|
self._TaskResultMsg = params.get("TaskResultMsg")
|
|
34821
35023
|
self._RequestBody = params.get("RequestBody")
|
|
34822
35024
|
self._TaskType = params.get("TaskType")
|
|
35025
|
+
self._TaskInfo = params.get("TaskInfo")
|
|
35026
|
+
self._Stage = params.get("Stage")
|
|
34823
35027
|
self._RequestId = params.get("RequestId")
|
|
34824
35028
|
|
|
34825
35029
|
|
|
@@ -36165,12 +36369,15 @@ class DescribeCloneViralTaskResponse(AbstractModel):
|
|
|
36165
36369
|
:type Message: str
|
|
36166
36370
|
:param _VideoUrls: <p>当任务状态为 DONE时,返回视频Url列表,视频存储24小时</p>
|
|
36167
36371
|
:type VideoUrls: list of str
|
|
36372
|
+
:param _RequestBody: <p>任务请求体</p>
|
|
36373
|
+
:type RequestBody: str
|
|
36168
36374
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36169
36375
|
:type RequestId: str
|
|
36170
36376
|
"""
|
|
36171
36377
|
self._Status = None
|
|
36172
36378
|
self._Message = None
|
|
36173
36379
|
self._VideoUrls = None
|
|
36380
|
+
self._RequestBody = None
|
|
36174
36381
|
self._RequestId = None
|
|
36175
36382
|
|
|
36176
36383
|
@property
|
|
@@ -36206,6 +36413,17 @@ class DescribeCloneViralTaskResponse(AbstractModel):
|
|
|
36206
36413
|
def VideoUrls(self, VideoUrls):
|
|
36207
36414
|
self._VideoUrls = VideoUrls
|
|
36208
36415
|
|
|
36416
|
+
@property
|
|
36417
|
+
def RequestBody(self):
|
|
36418
|
+
r"""<p>任务请求体</p>
|
|
36419
|
+
:rtype: str
|
|
36420
|
+
"""
|
|
36421
|
+
return self._RequestBody
|
|
36422
|
+
|
|
36423
|
+
@RequestBody.setter
|
|
36424
|
+
def RequestBody(self, RequestBody):
|
|
36425
|
+
self._RequestBody = RequestBody
|
|
36426
|
+
|
|
36209
36427
|
@property
|
|
36210
36428
|
def RequestId(self):
|
|
36211
36429
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -36222,6 +36440,7 @@ class DescribeCloneViralTaskResponse(AbstractModel):
|
|
|
36222
36440
|
self._Status = params.get("Status")
|
|
36223
36441
|
self._Message = params.get("Message")
|
|
36224
36442
|
self._VideoUrls = params.get("VideoUrls")
|
|
36443
|
+
self._RequestBody = params.get("RequestBody")
|
|
36225
36444
|
self._RequestId = params.get("RequestId")
|
|
36226
36445
|
|
|
36227
36446
|
|
|
@@ -48460,6 +48679,42 @@ class DisassociateSecurityGroupResponse(AbstractModel):
|
|
|
48460
48679
|
self._RequestId = params.get("RequestId")
|
|
48461
48680
|
|
|
48462
48681
|
|
|
48682
|
+
class DocToVideoBackgroundInfo(AbstractModel):
|
|
48683
|
+
r"""AIGC 文档生成视频背景图片信息
|
|
48684
|
+
|
|
48685
|
+
"""
|
|
48686
|
+
|
|
48687
|
+
def __init__(self):
|
|
48688
|
+
r"""
|
|
48689
|
+
:param _ImageUrl: <p>用于生成视频的背景图片 URL。</p>
|
|
48690
|
+
:type ImageUrl: str
|
|
48691
|
+
"""
|
|
48692
|
+
self._ImageUrl = None
|
|
48693
|
+
|
|
48694
|
+
@property
|
|
48695
|
+
def ImageUrl(self):
|
|
48696
|
+
r"""<p>用于生成视频的背景图片 URL。</p>
|
|
48697
|
+
:rtype: str
|
|
48698
|
+
"""
|
|
48699
|
+
return self._ImageUrl
|
|
48700
|
+
|
|
48701
|
+
@ImageUrl.setter
|
|
48702
|
+
def ImageUrl(self, ImageUrl):
|
|
48703
|
+
self._ImageUrl = ImageUrl
|
|
48704
|
+
|
|
48705
|
+
|
|
48706
|
+
def _deserialize(self, params):
|
|
48707
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
48708
|
+
memeber_set = set(params.keys())
|
|
48709
|
+
for name, value in vars(self).items():
|
|
48710
|
+
property_name = name[1:]
|
|
48711
|
+
if property_name in memeber_set:
|
|
48712
|
+
memeber_set.remove(property_name)
|
|
48713
|
+
if len(memeber_set) > 0:
|
|
48714
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
48715
|
+
|
|
48716
|
+
|
|
48717
|
+
|
|
48463
48718
|
class DocToVideoCosInfo(AbstractModel):
|
|
48464
48719
|
r"""cos信息,存储用户请求时填写的cos信息,用于存放结果
|
|
48465
48720
|
|
|
@@ -48551,6 +48806,16 @@ class DocToVideoInput(AbstractModel):
|
|
|
48551
48806
|
:type EnableTTS: bool
|
|
48552
48807
|
:param _VoiceId: <p>音色ID。仅开启AI配音功能时有效。</p>
|
|
48553
48808
|
:type VoiceId: str
|
|
48809
|
+
:param _PPTXFidelity: <p>是否开启 PPTX 保真复刻模式。</p><p>开启状态下,会尽可能复刻输入 PPTX 文档的内容,无法完美复刻。<br>暂时无法复刻动画效果,</p><p>开启状态下,需保证输入文档中至少有一个 PPTX 文档。<br>如果有多个 PPTX 文档,则只会对首个文档进行保真复刻。</p><p>默认值:false</p>
|
|
48810
|
+
:type PPTXFidelity: bool
|
|
48811
|
+
:param _Mode: <p>生成视频的模式。</p><p>枚举值:</p><ul><li>stage: 确认后生成模式</li><li>auto: 端到端直接生成模式</li></ul>
|
|
48812
|
+
:type Mode: str
|
|
48813
|
+
:param _Background: <p>用于生成视频的背景图片信息。</p><p>仅在 PreserveLayout 为 false 时起作用。</p>
|
|
48814
|
+
:type Background: :class:`tencentcloud.mps.v20190612.models.DocToVideoBackgroundInfo`
|
|
48815
|
+
:param _Watermark: <p>用于生成视频的水印图片信息。</p><p>仅在 PreserveLayout 为 false 时起作用。</p>
|
|
48816
|
+
:type Watermark: :class:`tencentcloud.mps.v20190612.models.DocToVideoWatermarkInfo`
|
|
48817
|
+
:param _EnableCaption: <p>是否开启字幕生成。</p><p>默认值:false</p>
|
|
48818
|
+
:type EnableCaption: bool
|
|
48554
48819
|
"""
|
|
48555
48820
|
self._FileUrl = None
|
|
48556
48821
|
self._Prompt = None
|
|
@@ -48561,6 +48826,11 @@ class DocToVideoInput(AbstractModel):
|
|
|
48561
48826
|
self._ReferenceDuration = None
|
|
48562
48827
|
self._EnableTTS = None
|
|
48563
48828
|
self._VoiceId = None
|
|
48829
|
+
self._PPTXFidelity = None
|
|
48830
|
+
self._Mode = None
|
|
48831
|
+
self._Background = None
|
|
48832
|
+
self._Watermark = None
|
|
48833
|
+
self._EnableCaption = None
|
|
48564
48834
|
|
|
48565
48835
|
@property
|
|
48566
48836
|
def FileUrl(self):
|
|
@@ -48661,6 +48931,61 @@ class DocToVideoInput(AbstractModel):
|
|
|
48661
48931
|
def VoiceId(self, VoiceId):
|
|
48662
48932
|
self._VoiceId = VoiceId
|
|
48663
48933
|
|
|
48934
|
+
@property
|
|
48935
|
+
def PPTXFidelity(self):
|
|
48936
|
+
r"""<p>是否开启 PPTX 保真复刻模式。</p><p>开启状态下,会尽可能复刻输入 PPTX 文档的内容,无法完美复刻。<br>暂时无法复刻动画效果,</p><p>开启状态下,需保证输入文档中至少有一个 PPTX 文档。<br>如果有多个 PPTX 文档,则只会对首个文档进行保真复刻。</p><p>默认值:false</p>
|
|
48937
|
+
:rtype: bool
|
|
48938
|
+
"""
|
|
48939
|
+
return self._PPTXFidelity
|
|
48940
|
+
|
|
48941
|
+
@PPTXFidelity.setter
|
|
48942
|
+
def PPTXFidelity(self, PPTXFidelity):
|
|
48943
|
+
self._PPTXFidelity = PPTXFidelity
|
|
48944
|
+
|
|
48945
|
+
@property
|
|
48946
|
+
def Mode(self):
|
|
48947
|
+
r"""<p>生成视频的模式。</p><p>枚举值:</p><ul><li>stage: 确认后生成模式</li><li>auto: 端到端直接生成模式</li></ul>
|
|
48948
|
+
:rtype: str
|
|
48949
|
+
"""
|
|
48950
|
+
return self._Mode
|
|
48951
|
+
|
|
48952
|
+
@Mode.setter
|
|
48953
|
+
def Mode(self, Mode):
|
|
48954
|
+
self._Mode = Mode
|
|
48955
|
+
|
|
48956
|
+
@property
|
|
48957
|
+
def Background(self):
|
|
48958
|
+
r"""<p>用于生成视频的背景图片信息。</p><p>仅在 PreserveLayout 为 false 时起作用。</p>
|
|
48959
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DocToVideoBackgroundInfo`
|
|
48960
|
+
"""
|
|
48961
|
+
return self._Background
|
|
48962
|
+
|
|
48963
|
+
@Background.setter
|
|
48964
|
+
def Background(self, Background):
|
|
48965
|
+
self._Background = Background
|
|
48966
|
+
|
|
48967
|
+
@property
|
|
48968
|
+
def Watermark(self):
|
|
48969
|
+
r"""<p>用于生成视频的水印图片信息。</p><p>仅在 PreserveLayout 为 false 时起作用。</p>
|
|
48970
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DocToVideoWatermarkInfo`
|
|
48971
|
+
"""
|
|
48972
|
+
return self._Watermark
|
|
48973
|
+
|
|
48974
|
+
@Watermark.setter
|
|
48975
|
+
def Watermark(self, Watermark):
|
|
48976
|
+
self._Watermark = Watermark
|
|
48977
|
+
|
|
48978
|
+
@property
|
|
48979
|
+
def EnableCaption(self):
|
|
48980
|
+
r"""<p>是否开启字幕生成。</p><p>默认值:false</p>
|
|
48981
|
+
:rtype: bool
|
|
48982
|
+
"""
|
|
48983
|
+
return self._EnableCaption
|
|
48984
|
+
|
|
48985
|
+
@EnableCaption.setter
|
|
48986
|
+
def EnableCaption(self, EnableCaption):
|
|
48987
|
+
self._EnableCaption = EnableCaption
|
|
48988
|
+
|
|
48664
48989
|
|
|
48665
48990
|
def _deserialize(self, params):
|
|
48666
48991
|
self._FileUrl = params.get("FileUrl")
|
|
@@ -48672,6 +48997,66 @@ class DocToVideoInput(AbstractModel):
|
|
|
48672
48997
|
self._ReferenceDuration = params.get("ReferenceDuration")
|
|
48673
48998
|
self._EnableTTS = params.get("EnableTTS")
|
|
48674
48999
|
self._VoiceId = params.get("VoiceId")
|
|
49000
|
+
self._PPTXFidelity = params.get("PPTXFidelity")
|
|
49001
|
+
self._Mode = params.get("Mode")
|
|
49002
|
+
if params.get("Background") is not None:
|
|
49003
|
+
self._Background = DocToVideoBackgroundInfo()
|
|
49004
|
+
self._Background._deserialize(params.get("Background"))
|
|
49005
|
+
if params.get("Watermark") is not None:
|
|
49006
|
+
self._Watermark = DocToVideoWatermarkInfo()
|
|
49007
|
+
self._Watermark._deserialize(params.get("Watermark"))
|
|
49008
|
+
self._EnableCaption = params.get("EnableCaption")
|
|
49009
|
+
memeber_set = set(params.keys())
|
|
49010
|
+
for name, value in vars(self).items():
|
|
49011
|
+
property_name = name[1:]
|
|
49012
|
+
if property_name in memeber_set:
|
|
49013
|
+
memeber_set.remove(property_name)
|
|
49014
|
+
if len(memeber_set) > 0:
|
|
49015
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
49016
|
+
|
|
49017
|
+
|
|
49018
|
+
|
|
49019
|
+
class DocToVideoWatermarkInfo(AbstractModel):
|
|
49020
|
+
r"""AIGC 文档生成视频水印图片信息
|
|
49021
|
+
|
|
49022
|
+
"""
|
|
49023
|
+
|
|
49024
|
+
def __init__(self):
|
|
49025
|
+
r"""
|
|
49026
|
+
:param _ImageUrl: <p>用于生成视频的水印图片 URL。</p>
|
|
49027
|
+
:type ImageUrl: str
|
|
49028
|
+
:param _Position: <p>水印图片位置。</p><p>枚举值:</p><ul><li>top-left: 左上角</li><li>top-right: 右上角</li><li>bottom-left: 左下角</li><li>bottom-right: 右下角</li></ul>
|
|
49029
|
+
:type Position: str
|
|
49030
|
+
"""
|
|
49031
|
+
self._ImageUrl = None
|
|
49032
|
+
self._Position = None
|
|
49033
|
+
|
|
49034
|
+
@property
|
|
49035
|
+
def ImageUrl(self):
|
|
49036
|
+
r"""<p>用于生成视频的水印图片 URL。</p>
|
|
49037
|
+
:rtype: str
|
|
49038
|
+
"""
|
|
49039
|
+
return self._ImageUrl
|
|
49040
|
+
|
|
49041
|
+
@ImageUrl.setter
|
|
49042
|
+
def ImageUrl(self, ImageUrl):
|
|
49043
|
+
self._ImageUrl = ImageUrl
|
|
49044
|
+
|
|
49045
|
+
@property
|
|
49046
|
+
def Position(self):
|
|
49047
|
+
r"""<p>水印图片位置。</p><p>枚举值:</p><ul><li>top-left: 左上角</li><li>top-right: 右上角</li><li>bottom-left: 左下角</li><li>bottom-right: 右下角</li></ul>
|
|
49048
|
+
:rtype: str
|
|
49049
|
+
"""
|
|
49050
|
+
return self._Position
|
|
49051
|
+
|
|
49052
|
+
@Position.setter
|
|
49053
|
+
def Position(self, Position):
|
|
49054
|
+
self._Position = Position
|
|
49055
|
+
|
|
49056
|
+
|
|
49057
|
+
def _deserialize(self, params):
|
|
49058
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
49059
|
+
self._Position = params.get("Position")
|
|
48675
49060
|
memeber_set = set(params.keys())
|
|
48676
49061
|
for name, value in vars(self).items():
|
|
48677
49062
|
property_name = name[1:]
|
|
@@ -76793,7 +77178,7 @@ class QueryTaskFilter(AbstractModel):
|
|
|
76793
77178
|
r"""
|
|
76794
77179
|
:param _TaskId: <p>任务ID</p>
|
|
76795
77180
|
:type TaskId: str
|
|
76796
|
-
:param _TaskType: <p>任务类型</p>
|
|
77181
|
+
:param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>RedrawVideo: 视频重绘</li><li>AIDrama: AI漫剧</li><li>DocGenVideo: 文档生视频</li><li>FissionVideo: 视频裂变</li></ul>
|
|
76797
77182
|
:type TaskType: str
|
|
76798
77183
|
:param _TaskStatus: <p>任务状态</p>
|
|
76799
77184
|
:type TaskStatus: str
|
|
@@ -76801,12 +77186,21 @@ class QueryTaskFilter(AbstractModel):
|
|
|
76801
77186
|
:type Resolution: str
|
|
76802
77187
|
:param _Ratio: <p>宽高比</p>
|
|
76803
77188
|
:type Ratio: str
|
|
77189
|
+
:param _ExecuteMode: <p>任务执行模式</p><p>枚举值:</p><ul><li>auto: 直接生成</li><li>phased: 确认后再生成</li></ul>
|
|
77190
|
+
:type ExecuteMode: str
|
|
77191
|
+
:param _VideoType: <p>裂变任务视频类型过滤: ugc、talk、display、unboxing、reaction</p><p>枚举值:</p><ul><li>ugc: UGC种草</li><li>talk: 产品口播</li><li>display: 产品展示</li><li>unboxing: 开箱分享</li><li>reaction: 反应展示</li></ul>
|
|
77192
|
+
:type VideoType: str
|
|
77193
|
+
:param _ModelTier: <p>模型类型</p><p>枚举值:</p><ul><li>standard: 标准版</li><li>flagship: 高级版</li></ul>
|
|
77194
|
+
:type ModelTier: str
|
|
76804
77195
|
"""
|
|
76805
77196
|
self._TaskId = None
|
|
76806
77197
|
self._TaskType = None
|
|
76807
77198
|
self._TaskStatus = None
|
|
76808
77199
|
self._Resolution = None
|
|
76809
77200
|
self._Ratio = None
|
|
77201
|
+
self._ExecuteMode = None
|
|
77202
|
+
self._VideoType = None
|
|
77203
|
+
self._ModelTier = None
|
|
76810
77204
|
|
|
76811
77205
|
@property
|
|
76812
77206
|
def TaskId(self):
|
|
@@ -76821,7 +77215,7 @@ class QueryTaskFilter(AbstractModel):
|
|
|
76821
77215
|
|
|
76822
77216
|
@property
|
|
76823
77217
|
def TaskType(self):
|
|
76824
|
-
r"""<p>任务类型</p>
|
|
77218
|
+
r"""<p>任务类型</p><p>枚举值:</p><ul><li>RedrawVideo: 视频重绘</li><li>AIDrama: AI漫剧</li><li>DocGenVideo: 文档生视频</li><li>FissionVideo: 视频裂变</li></ul>
|
|
76825
77219
|
:rtype: str
|
|
76826
77220
|
"""
|
|
76827
77221
|
return self._TaskType
|
|
@@ -76863,6 +77257,39 @@ class QueryTaskFilter(AbstractModel):
|
|
|
76863
77257
|
def Ratio(self, Ratio):
|
|
76864
77258
|
self._Ratio = Ratio
|
|
76865
77259
|
|
|
77260
|
+
@property
|
|
77261
|
+
def ExecuteMode(self):
|
|
77262
|
+
r"""<p>任务执行模式</p><p>枚举值:</p><ul><li>auto: 直接生成</li><li>phased: 确认后再生成</li></ul>
|
|
77263
|
+
:rtype: str
|
|
77264
|
+
"""
|
|
77265
|
+
return self._ExecuteMode
|
|
77266
|
+
|
|
77267
|
+
@ExecuteMode.setter
|
|
77268
|
+
def ExecuteMode(self, ExecuteMode):
|
|
77269
|
+
self._ExecuteMode = ExecuteMode
|
|
77270
|
+
|
|
77271
|
+
@property
|
|
77272
|
+
def VideoType(self):
|
|
77273
|
+
r"""<p>裂变任务视频类型过滤: ugc、talk、display、unboxing、reaction</p><p>枚举值:</p><ul><li>ugc: UGC种草</li><li>talk: 产品口播</li><li>display: 产品展示</li><li>unboxing: 开箱分享</li><li>reaction: 反应展示</li></ul>
|
|
77274
|
+
:rtype: str
|
|
77275
|
+
"""
|
|
77276
|
+
return self._VideoType
|
|
77277
|
+
|
|
77278
|
+
@VideoType.setter
|
|
77279
|
+
def VideoType(self, VideoType):
|
|
77280
|
+
self._VideoType = VideoType
|
|
77281
|
+
|
|
77282
|
+
@property
|
|
77283
|
+
def ModelTier(self):
|
|
77284
|
+
r"""<p>模型类型</p><p>枚举值:</p><ul><li>standard: 标准版</li><li>flagship: 高级版</li></ul>
|
|
77285
|
+
:rtype: str
|
|
77286
|
+
"""
|
|
77287
|
+
return self._ModelTier
|
|
77288
|
+
|
|
77289
|
+
@ModelTier.setter
|
|
77290
|
+
def ModelTier(self, ModelTier):
|
|
77291
|
+
self._ModelTier = ModelTier
|
|
77292
|
+
|
|
76866
77293
|
|
|
76867
77294
|
def _deserialize(self, params):
|
|
76868
77295
|
self._TaskId = params.get("TaskId")
|
|
@@ -76870,6 +77297,9 @@ class QueryTaskFilter(AbstractModel):
|
|
|
76870
77297
|
self._TaskStatus = params.get("TaskStatus")
|
|
76871
77298
|
self._Resolution = params.get("Resolution")
|
|
76872
77299
|
self._Ratio = params.get("Ratio")
|
|
77300
|
+
self._ExecuteMode = params.get("ExecuteMode")
|
|
77301
|
+
self._VideoType = params.get("VideoType")
|
|
77302
|
+
self._ModelTier = params.get("ModelTier")
|
|
76873
77303
|
memeber_set = set(params.keys())
|
|
76874
77304
|
for name, value in vars(self).items():
|
|
76875
77305
|
property_name = name[1:]
|
|
@@ -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.170
|
|
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.170
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.170
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
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
|