tencentcloud-sdk-python-mps 3.1.154__tar.gz → 3.1.156__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.154 → tencentcloud_sdk_python_mps-3.1.156}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/v20190612/models.py +468 -4
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/v20190612/mps_client.py +23 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/v20190612/mps_client_async.py +18 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.156/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.154/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.154 → tencentcloud_sdk_python_mps-3.1.156}/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.156
|
|
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.156
|
|
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.156,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -13926,6 +13926,213 @@ class AigcStoreCosParam(AbstractModel):
|
|
|
13926
13926
|
|
|
13927
13927
|
|
|
13928
13928
|
|
|
13929
|
+
class AigcTaskListItem(AbstractModel):
|
|
13930
|
+
r"""Aigc任务详细信息
|
|
13931
|
+
|
|
13932
|
+
"""
|
|
13933
|
+
|
|
13934
|
+
def __init__(self):
|
|
13935
|
+
r"""
|
|
13936
|
+
:param _TaskId: <p>任务ID</p>
|
|
13937
|
+
:type TaskId: str
|
|
13938
|
+
:param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>VideoRedraw: 转绘任务</li><li>AIDrama: AI漫剧任务</li></ul>
|
|
13939
|
+
:type TaskType: str
|
|
13940
|
+
:param _TaskStatus: <p>任务状态</p><p>枚举值:</p><ul><li>PENDING: 任务等待调度</li><li>RUNNING: 任务运行中</li><li>FINISHED: 任务执行成功</li><li>STOP: 任务被中止</li><li>FAILED: 任务失败</li><li>TIMEOUT: 任务超时</li></ul>
|
|
13941
|
+
:type TaskStatus: str
|
|
13942
|
+
:param _CreateTime: <p>任务创建时间</p>
|
|
13943
|
+
:type CreateTime: str
|
|
13944
|
+
:param _ScheduledTime: <p>任务开始调度时间</p>
|
|
13945
|
+
:type ScheduledTime: str
|
|
13946
|
+
:param _FinishedTime: <p>任务结束时间</p>
|
|
13947
|
+
:type FinishedTime: str
|
|
13948
|
+
:param _Urls: <p>任务结果Url</p>
|
|
13949
|
+
:type Urls: list of str
|
|
13950
|
+
:param _TaskResultCode: <p>任务执行错误码</p>
|
|
13951
|
+
:type TaskResultCode: int
|
|
13952
|
+
:param _TaskResultMsg: <p>任务执行错误信息</p>
|
|
13953
|
+
:type TaskResultMsg: str
|
|
13954
|
+
:param _Resolution: <p>输出视频的分辨率</p>
|
|
13955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13956
|
+
:type Resolution: str
|
|
13957
|
+
:param _Ratio: <p>输出视频的宽高比</p>
|
|
13958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13959
|
+
:type Ratio: str
|
|
13960
|
+
:param _RequestBody: <p>任务请求包</p>
|
|
13961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13962
|
+
:type RequestBody: str
|
|
13963
|
+
"""
|
|
13964
|
+
self._TaskId = None
|
|
13965
|
+
self._TaskType = None
|
|
13966
|
+
self._TaskStatus = None
|
|
13967
|
+
self._CreateTime = None
|
|
13968
|
+
self._ScheduledTime = None
|
|
13969
|
+
self._FinishedTime = None
|
|
13970
|
+
self._Urls = None
|
|
13971
|
+
self._TaskResultCode = None
|
|
13972
|
+
self._TaskResultMsg = None
|
|
13973
|
+
self._Resolution = None
|
|
13974
|
+
self._Ratio = None
|
|
13975
|
+
self._RequestBody = None
|
|
13976
|
+
|
|
13977
|
+
@property
|
|
13978
|
+
def TaskId(self):
|
|
13979
|
+
r"""<p>任务ID</p>
|
|
13980
|
+
:rtype: str
|
|
13981
|
+
"""
|
|
13982
|
+
return self._TaskId
|
|
13983
|
+
|
|
13984
|
+
@TaskId.setter
|
|
13985
|
+
def TaskId(self, TaskId):
|
|
13986
|
+
self._TaskId = TaskId
|
|
13987
|
+
|
|
13988
|
+
@property
|
|
13989
|
+
def TaskType(self):
|
|
13990
|
+
r"""<p>任务类型</p><p>枚举值:</p><ul><li>VideoRedraw: 转绘任务</li><li>AIDrama: AI漫剧任务</li></ul>
|
|
13991
|
+
:rtype: str
|
|
13992
|
+
"""
|
|
13993
|
+
return self._TaskType
|
|
13994
|
+
|
|
13995
|
+
@TaskType.setter
|
|
13996
|
+
def TaskType(self, TaskType):
|
|
13997
|
+
self._TaskType = TaskType
|
|
13998
|
+
|
|
13999
|
+
@property
|
|
14000
|
+
def TaskStatus(self):
|
|
14001
|
+
r"""<p>任务状态</p><p>枚举值:</p><ul><li>PENDING: 任务等待调度</li><li>RUNNING: 任务运行中</li><li>FINISHED: 任务执行成功</li><li>STOP: 任务被中止</li><li>FAILED: 任务失败</li><li>TIMEOUT: 任务超时</li></ul>
|
|
14002
|
+
:rtype: str
|
|
14003
|
+
"""
|
|
14004
|
+
return self._TaskStatus
|
|
14005
|
+
|
|
14006
|
+
@TaskStatus.setter
|
|
14007
|
+
def TaskStatus(self, TaskStatus):
|
|
14008
|
+
self._TaskStatus = TaskStatus
|
|
14009
|
+
|
|
14010
|
+
@property
|
|
14011
|
+
def CreateTime(self):
|
|
14012
|
+
r"""<p>任务创建时间</p>
|
|
14013
|
+
:rtype: str
|
|
14014
|
+
"""
|
|
14015
|
+
return self._CreateTime
|
|
14016
|
+
|
|
14017
|
+
@CreateTime.setter
|
|
14018
|
+
def CreateTime(self, CreateTime):
|
|
14019
|
+
self._CreateTime = CreateTime
|
|
14020
|
+
|
|
14021
|
+
@property
|
|
14022
|
+
def ScheduledTime(self):
|
|
14023
|
+
r"""<p>任务开始调度时间</p>
|
|
14024
|
+
:rtype: str
|
|
14025
|
+
"""
|
|
14026
|
+
return self._ScheduledTime
|
|
14027
|
+
|
|
14028
|
+
@ScheduledTime.setter
|
|
14029
|
+
def ScheduledTime(self, ScheduledTime):
|
|
14030
|
+
self._ScheduledTime = ScheduledTime
|
|
14031
|
+
|
|
14032
|
+
@property
|
|
14033
|
+
def FinishedTime(self):
|
|
14034
|
+
r"""<p>任务结束时间</p>
|
|
14035
|
+
:rtype: str
|
|
14036
|
+
"""
|
|
14037
|
+
return self._FinishedTime
|
|
14038
|
+
|
|
14039
|
+
@FinishedTime.setter
|
|
14040
|
+
def FinishedTime(self, FinishedTime):
|
|
14041
|
+
self._FinishedTime = FinishedTime
|
|
14042
|
+
|
|
14043
|
+
@property
|
|
14044
|
+
def Urls(self):
|
|
14045
|
+
r"""<p>任务结果Url</p>
|
|
14046
|
+
:rtype: list of str
|
|
14047
|
+
"""
|
|
14048
|
+
return self._Urls
|
|
14049
|
+
|
|
14050
|
+
@Urls.setter
|
|
14051
|
+
def Urls(self, Urls):
|
|
14052
|
+
self._Urls = Urls
|
|
14053
|
+
|
|
14054
|
+
@property
|
|
14055
|
+
def TaskResultCode(self):
|
|
14056
|
+
r"""<p>任务执行错误码</p>
|
|
14057
|
+
:rtype: int
|
|
14058
|
+
"""
|
|
14059
|
+
return self._TaskResultCode
|
|
14060
|
+
|
|
14061
|
+
@TaskResultCode.setter
|
|
14062
|
+
def TaskResultCode(self, TaskResultCode):
|
|
14063
|
+
self._TaskResultCode = TaskResultCode
|
|
14064
|
+
|
|
14065
|
+
@property
|
|
14066
|
+
def TaskResultMsg(self):
|
|
14067
|
+
r"""<p>任务执行错误信息</p>
|
|
14068
|
+
:rtype: str
|
|
14069
|
+
"""
|
|
14070
|
+
return self._TaskResultMsg
|
|
14071
|
+
|
|
14072
|
+
@TaskResultMsg.setter
|
|
14073
|
+
def TaskResultMsg(self, TaskResultMsg):
|
|
14074
|
+
self._TaskResultMsg = TaskResultMsg
|
|
14075
|
+
|
|
14076
|
+
@property
|
|
14077
|
+
def Resolution(self):
|
|
14078
|
+
r"""<p>输出视频的分辨率</p>
|
|
14079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14080
|
+
:rtype: str
|
|
14081
|
+
"""
|
|
14082
|
+
return self._Resolution
|
|
14083
|
+
|
|
14084
|
+
@Resolution.setter
|
|
14085
|
+
def Resolution(self, Resolution):
|
|
14086
|
+
self._Resolution = Resolution
|
|
14087
|
+
|
|
14088
|
+
@property
|
|
14089
|
+
def Ratio(self):
|
|
14090
|
+
r"""<p>输出视频的宽高比</p>
|
|
14091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14092
|
+
:rtype: str
|
|
14093
|
+
"""
|
|
14094
|
+
return self._Ratio
|
|
14095
|
+
|
|
14096
|
+
@Ratio.setter
|
|
14097
|
+
def Ratio(self, Ratio):
|
|
14098
|
+
self._Ratio = Ratio
|
|
14099
|
+
|
|
14100
|
+
@property
|
|
14101
|
+
def RequestBody(self):
|
|
14102
|
+
r"""<p>任务请求包</p>
|
|
14103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14104
|
+
:rtype: str
|
|
14105
|
+
"""
|
|
14106
|
+
return self._RequestBody
|
|
14107
|
+
|
|
14108
|
+
@RequestBody.setter
|
|
14109
|
+
def RequestBody(self, RequestBody):
|
|
14110
|
+
self._RequestBody = RequestBody
|
|
14111
|
+
|
|
14112
|
+
|
|
14113
|
+
def _deserialize(self, params):
|
|
14114
|
+
self._TaskId = params.get("TaskId")
|
|
14115
|
+
self._TaskType = params.get("TaskType")
|
|
14116
|
+
self._TaskStatus = params.get("TaskStatus")
|
|
14117
|
+
self._CreateTime = params.get("CreateTime")
|
|
14118
|
+
self._ScheduledTime = params.get("ScheduledTime")
|
|
14119
|
+
self._FinishedTime = params.get("FinishedTime")
|
|
14120
|
+
self._Urls = params.get("Urls")
|
|
14121
|
+
self._TaskResultCode = params.get("TaskResultCode")
|
|
14122
|
+
self._TaskResultMsg = params.get("TaskResultMsg")
|
|
14123
|
+
self._Resolution = params.get("Resolution")
|
|
14124
|
+
self._Ratio = params.get("Ratio")
|
|
14125
|
+
self._RequestBody = params.get("RequestBody")
|
|
14126
|
+
memeber_set = set(params.keys())
|
|
14127
|
+
for name, value in vars(self).items():
|
|
14128
|
+
property_name = name[1:]
|
|
14129
|
+
if property_name in memeber_set:
|
|
14130
|
+
memeber_set.remove(property_name)
|
|
14131
|
+
if len(memeber_set) > 0:
|
|
14132
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14133
|
+
|
|
14134
|
+
|
|
14135
|
+
|
|
13929
14136
|
class AigcVideoExtraParam(AbstractModel):
|
|
13930
14137
|
r"""用于AIGC创作视频时用到的扩展参数信息。
|
|
13931
14138
|
|
|
@@ -33423,6 +33630,167 @@ class DescribeAigcImageTaskResponse(AbstractModel):
|
|
|
33423
33630
|
self._RequestId = params.get("RequestId")
|
|
33424
33631
|
|
|
33425
33632
|
|
|
33633
|
+
class DescribeAigcTaskListRequest(AbstractModel):
|
|
33634
|
+
r"""DescribeAigcTaskList请求参数结构体
|
|
33635
|
+
|
|
33636
|
+
"""
|
|
33637
|
+
|
|
33638
|
+
def __init__(self):
|
|
33639
|
+
r"""
|
|
33640
|
+
:param _PageNum: <p>开始查询页</p>
|
|
33641
|
+
:type PageNum: int
|
|
33642
|
+
:param _PageSize: <p>当前页要获取多少数据</p>
|
|
33643
|
+
:type PageSize: int
|
|
33644
|
+
:param _QueryTaskFilter: <p>查询过滤条件</p>
|
|
33645
|
+
:type QueryTaskFilter: :class:`tencentcloud.mps.v20190612.models.QueryTaskFilter`
|
|
33646
|
+
"""
|
|
33647
|
+
self._PageNum = None
|
|
33648
|
+
self._PageSize = None
|
|
33649
|
+
self._QueryTaskFilter = None
|
|
33650
|
+
|
|
33651
|
+
@property
|
|
33652
|
+
def PageNum(self):
|
|
33653
|
+
r"""<p>开始查询页</p>
|
|
33654
|
+
:rtype: int
|
|
33655
|
+
"""
|
|
33656
|
+
return self._PageNum
|
|
33657
|
+
|
|
33658
|
+
@PageNum.setter
|
|
33659
|
+
def PageNum(self, PageNum):
|
|
33660
|
+
self._PageNum = PageNum
|
|
33661
|
+
|
|
33662
|
+
@property
|
|
33663
|
+
def PageSize(self):
|
|
33664
|
+
r"""<p>当前页要获取多少数据</p>
|
|
33665
|
+
:rtype: int
|
|
33666
|
+
"""
|
|
33667
|
+
return self._PageSize
|
|
33668
|
+
|
|
33669
|
+
@PageSize.setter
|
|
33670
|
+
def PageSize(self, PageSize):
|
|
33671
|
+
self._PageSize = PageSize
|
|
33672
|
+
|
|
33673
|
+
@property
|
|
33674
|
+
def QueryTaskFilter(self):
|
|
33675
|
+
r"""<p>查询过滤条件</p>
|
|
33676
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.QueryTaskFilter`
|
|
33677
|
+
"""
|
|
33678
|
+
return self._QueryTaskFilter
|
|
33679
|
+
|
|
33680
|
+
@QueryTaskFilter.setter
|
|
33681
|
+
def QueryTaskFilter(self, QueryTaskFilter):
|
|
33682
|
+
self._QueryTaskFilter = QueryTaskFilter
|
|
33683
|
+
|
|
33684
|
+
|
|
33685
|
+
def _deserialize(self, params):
|
|
33686
|
+
self._PageNum = params.get("PageNum")
|
|
33687
|
+
self._PageSize = params.get("PageSize")
|
|
33688
|
+
if params.get("QueryTaskFilter") is not None:
|
|
33689
|
+
self._QueryTaskFilter = QueryTaskFilter()
|
|
33690
|
+
self._QueryTaskFilter._deserialize(params.get("QueryTaskFilter"))
|
|
33691
|
+
memeber_set = set(params.keys())
|
|
33692
|
+
for name, value in vars(self).items():
|
|
33693
|
+
property_name = name[1:]
|
|
33694
|
+
if property_name in memeber_set:
|
|
33695
|
+
memeber_set.remove(property_name)
|
|
33696
|
+
if len(memeber_set) > 0:
|
|
33697
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33698
|
+
|
|
33699
|
+
|
|
33700
|
+
|
|
33701
|
+
class DescribeAigcTaskListResponse(AbstractModel):
|
|
33702
|
+
r"""DescribeAigcTaskList返回参数结构体
|
|
33703
|
+
|
|
33704
|
+
"""
|
|
33705
|
+
|
|
33706
|
+
def __init__(self):
|
|
33707
|
+
r"""
|
|
33708
|
+
:param _Total: <p>当前任务待返回总数</p>
|
|
33709
|
+
:type Total: int
|
|
33710
|
+
:param _PageNum: <p>开始查询页</p>
|
|
33711
|
+
:type PageNum: int
|
|
33712
|
+
:param _PageSize: <p>当前页要获取数据条目数</p>
|
|
33713
|
+
:type PageSize: int
|
|
33714
|
+
:param _Tasks: <p>任务详情数据</p>
|
|
33715
|
+
:type Tasks: list of AigcTaskListItem
|
|
33716
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33717
|
+
:type RequestId: str
|
|
33718
|
+
"""
|
|
33719
|
+
self._Total = None
|
|
33720
|
+
self._PageNum = None
|
|
33721
|
+
self._PageSize = None
|
|
33722
|
+
self._Tasks = None
|
|
33723
|
+
self._RequestId = None
|
|
33724
|
+
|
|
33725
|
+
@property
|
|
33726
|
+
def Total(self):
|
|
33727
|
+
r"""<p>当前任务待返回总数</p>
|
|
33728
|
+
:rtype: int
|
|
33729
|
+
"""
|
|
33730
|
+
return self._Total
|
|
33731
|
+
|
|
33732
|
+
@Total.setter
|
|
33733
|
+
def Total(self, Total):
|
|
33734
|
+
self._Total = Total
|
|
33735
|
+
|
|
33736
|
+
@property
|
|
33737
|
+
def PageNum(self):
|
|
33738
|
+
r"""<p>开始查询页</p>
|
|
33739
|
+
:rtype: int
|
|
33740
|
+
"""
|
|
33741
|
+
return self._PageNum
|
|
33742
|
+
|
|
33743
|
+
@PageNum.setter
|
|
33744
|
+
def PageNum(self, PageNum):
|
|
33745
|
+
self._PageNum = PageNum
|
|
33746
|
+
|
|
33747
|
+
@property
|
|
33748
|
+
def PageSize(self):
|
|
33749
|
+
r"""<p>当前页要获取数据条目数</p>
|
|
33750
|
+
:rtype: int
|
|
33751
|
+
"""
|
|
33752
|
+
return self._PageSize
|
|
33753
|
+
|
|
33754
|
+
@PageSize.setter
|
|
33755
|
+
def PageSize(self, PageSize):
|
|
33756
|
+
self._PageSize = PageSize
|
|
33757
|
+
|
|
33758
|
+
@property
|
|
33759
|
+
def Tasks(self):
|
|
33760
|
+
r"""<p>任务详情数据</p>
|
|
33761
|
+
:rtype: list of AigcTaskListItem
|
|
33762
|
+
"""
|
|
33763
|
+
return self._Tasks
|
|
33764
|
+
|
|
33765
|
+
@Tasks.setter
|
|
33766
|
+
def Tasks(self, Tasks):
|
|
33767
|
+
self._Tasks = Tasks
|
|
33768
|
+
|
|
33769
|
+
@property
|
|
33770
|
+
def RequestId(self):
|
|
33771
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33772
|
+
:rtype: str
|
|
33773
|
+
"""
|
|
33774
|
+
return self._RequestId
|
|
33775
|
+
|
|
33776
|
+
@RequestId.setter
|
|
33777
|
+
def RequestId(self, RequestId):
|
|
33778
|
+
self._RequestId = RequestId
|
|
33779
|
+
|
|
33780
|
+
|
|
33781
|
+
def _deserialize(self, params):
|
|
33782
|
+
self._Total = params.get("Total")
|
|
33783
|
+
self._PageNum = params.get("PageNum")
|
|
33784
|
+
self._PageSize = params.get("PageSize")
|
|
33785
|
+
if params.get("Tasks") is not None:
|
|
33786
|
+
self._Tasks = []
|
|
33787
|
+
for item in params.get("Tasks"):
|
|
33788
|
+
obj = AigcTaskListItem()
|
|
33789
|
+
obj._deserialize(item)
|
|
33790
|
+
self._Tasks.append(obj)
|
|
33791
|
+
self._RequestId = params.get("RequestId")
|
|
33792
|
+
|
|
33793
|
+
|
|
33426
33794
|
class DescribeAigcTaskStatusRequest(AbstractModel):
|
|
33427
33795
|
r"""DescribeAigcTaskStatus请求参数结构体
|
|
33428
33796
|
|
|
@@ -50087,7 +50455,7 @@ class FissionTaskInfo(AbstractModel):
|
|
|
50087
50455
|
|
|
50088
50456
|
def __init__(self):
|
|
50089
50457
|
r"""
|
|
50090
|
-
:param _Duration: <p>视频输出时长</p><p>取值范围:[
|
|
50458
|
+
:param _Duration: <p>视频输出时长</p><p>取值范围:[4, 15]</p><p>单位:秒</p><p>默认值:15</p>
|
|
50091
50459
|
:type Duration: int
|
|
50092
50460
|
:param _ModelTier: <p>模型档位</p><p>枚举值:</p><ul><li>standard: 标准版</li><li>flagship: 旗舰版</li></ul>
|
|
50093
50461
|
:type ModelTier: str
|
|
@@ -50097,7 +50465,7 @@ class FissionTaskInfo(AbstractModel):
|
|
|
50097
50465
|
:type Resolution: str
|
|
50098
50466
|
:param _Market: <p>目标市场</p><p>枚举值:</p><ul><li>north_america: 北美</li><li>europe: 欧洲</li><li>china: 中国</li><li>japan: 日本</li><li>korea: 韩国</li><li>southeast_asia: 东南亚</li><li>brazil: 巴西</li><li>global: 全球</li><li>other: 其他</li></ul><p>影响默认出镜模特族裔与本地化风格;未指定 CustomModel 时按市场自动决定人种</p>
|
|
50099
50467
|
:type Market: str
|
|
50100
|
-
:param _Language: <p>口播/字幕语言</p><p>枚举值:</p><ul><li>english: 英文</li><li>chinese: 中文</li><li>japanese: 日语</li><li>korean:
|
|
50468
|
+
:param _Language: <p>口播/字幕语言</p><p>枚举值:</p><ul><li>english: 英文</li><li>chinese: 中文</li><li>japanese: 日语</li><li>korean: 韩语</li><li>spanish: 西班牙语</li><li>portuguese: 葡萄牙语</li><li>music_only: 纯音乐无口播</li></ul>
|
|
50101
50469
|
:type Language: str
|
|
50102
50470
|
:param _VideoType: <p>视频类型</p><p>枚举值:</p><ul><li>ugc: UGC种草</li><li>talk: 产品口播</li><li>display: 产品展示(纯商品、无人声)</li><li>unboxing: 开箱分享</li><li>reaction: 反应展示</li></ul>
|
|
50103
50471
|
:type VideoType: str
|
|
@@ -50118,7 +50486,7 @@ class FissionTaskInfo(AbstractModel):
|
|
|
50118
50486
|
|
|
50119
50487
|
@property
|
|
50120
50488
|
def Duration(self):
|
|
50121
|
-
r"""<p>视频输出时长</p><p>取值范围:[
|
|
50489
|
+
r"""<p>视频输出时长</p><p>取值范围:[4, 15]</p><p>单位:秒</p><p>默认值:15</p>
|
|
50122
50490
|
:rtype: int
|
|
50123
50491
|
"""
|
|
50124
50492
|
return self._Duration
|
|
@@ -50173,7 +50541,7 @@ class FissionTaskInfo(AbstractModel):
|
|
|
50173
50541
|
|
|
50174
50542
|
@property
|
|
50175
50543
|
def Language(self):
|
|
50176
|
-
r"""<p>口播/字幕语言</p><p>枚举值:</p><ul><li>english: 英文</li><li>chinese: 中文</li><li>japanese: 日语</li><li>korean:
|
|
50544
|
+
r"""<p>口播/字幕语言</p><p>枚举值:</p><ul><li>english: 英文</li><li>chinese: 中文</li><li>japanese: 日语</li><li>korean: 韩语</li><li>spanish: 西班牙语</li><li>portuguese: 葡萄牙语</li><li>music_only: 纯音乐无口播</li></ul>
|
|
50177
50545
|
:rtype: str
|
|
50178
50546
|
"""
|
|
50179
50547
|
return self._Language
|
|
@@ -75345,6 +75713,102 @@ class QueryProjectResponse(AbstractModel):
|
|
|
75345
75713
|
self._RequestId = params.get("RequestId")
|
|
75346
75714
|
|
|
75347
75715
|
|
|
75716
|
+
class QueryTaskFilter(AbstractModel):
|
|
75717
|
+
r"""查询AIGC任务列表过滤条件
|
|
75718
|
+
|
|
75719
|
+
"""
|
|
75720
|
+
|
|
75721
|
+
def __init__(self):
|
|
75722
|
+
r"""
|
|
75723
|
+
:param _TaskId: <p>任务ID</p>
|
|
75724
|
+
:type TaskId: str
|
|
75725
|
+
:param _TaskType: <p>任务类型</p>
|
|
75726
|
+
:type TaskType: str
|
|
75727
|
+
:param _TaskStatus: <p>任务状态</p>
|
|
75728
|
+
:type TaskStatus: str
|
|
75729
|
+
:param _Resolution: <p>分辨率</p>
|
|
75730
|
+
:type Resolution: str
|
|
75731
|
+
:param _Ratio: <p>宽高比</p>
|
|
75732
|
+
:type Ratio: str
|
|
75733
|
+
"""
|
|
75734
|
+
self._TaskId = None
|
|
75735
|
+
self._TaskType = None
|
|
75736
|
+
self._TaskStatus = None
|
|
75737
|
+
self._Resolution = None
|
|
75738
|
+
self._Ratio = None
|
|
75739
|
+
|
|
75740
|
+
@property
|
|
75741
|
+
def TaskId(self):
|
|
75742
|
+
r"""<p>任务ID</p>
|
|
75743
|
+
:rtype: str
|
|
75744
|
+
"""
|
|
75745
|
+
return self._TaskId
|
|
75746
|
+
|
|
75747
|
+
@TaskId.setter
|
|
75748
|
+
def TaskId(self, TaskId):
|
|
75749
|
+
self._TaskId = TaskId
|
|
75750
|
+
|
|
75751
|
+
@property
|
|
75752
|
+
def TaskType(self):
|
|
75753
|
+
r"""<p>任务类型</p>
|
|
75754
|
+
:rtype: str
|
|
75755
|
+
"""
|
|
75756
|
+
return self._TaskType
|
|
75757
|
+
|
|
75758
|
+
@TaskType.setter
|
|
75759
|
+
def TaskType(self, TaskType):
|
|
75760
|
+
self._TaskType = TaskType
|
|
75761
|
+
|
|
75762
|
+
@property
|
|
75763
|
+
def TaskStatus(self):
|
|
75764
|
+
r"""<p>任务状态</p>
|
|
75765
|
+
:rtype: str
|
|
75766
|
+
"""
|
|
75767
|
+
return self._TaskStatus
|
|
75768
|
+
|
|
75769
|
+
@TaskStatus.setter
|
|
75770
|
+
def TaskStatus(self, TaskStatus):
|
|
75771
|
+
self._TaskStatus = TaskStatus
|
|
75772
|
+
|
|
75773
|
+
@property
|
|
75774
|
+
def Resolution(self):
|
|
75775
|
+
r"""<p>分辨率</p>
|
|
75776
|
+
:rtype: str
|
|
75777
|
+
"""
|
|
75778
|
+
return self._Resolution
|
|
75779
|
+
|
|
75780
|
+
@Resolution.setter
|
|
75781
|
+
def Resolution(self, Resolution):
|
|
75782
|
+
self._Resolution = Resolution
|
|
75783
|
+
|
|
75784
|
+
@property
|
|
75785
|
+
def Ratio(self):
|
|
75786
|
+
r"""<p>宽高比</p>
|
|
75787
|
+
:rtype: str
|
|
75788
|
+
"""
|
|
75789
|
+
return self._Ratio
|
|
75790
|
+
|
|
75791
|
+
@Ratio.setter
|
|
75792
|
+
def Ratio(self, Ratio):
|
|
75793
|
+
self._Ratio = Ratio
|
|
75794
|
+
|
|
75795
|
+
|
|
75796
|
+
def _deserialize(self, params):
|
|
75797
|
+
self._TaskId = params.get("TaskId")
|
|
75798
|
+
self._TaskType = params.get("TaskType")
|
|
75799
|
+
self._TaskStatus = params.get("TaskStatus")
|
|
75800
|
+
self._Resolution = params.get("Resolution")
|
|
75801
|
+
self._Ratio = params.get("Ratio")
|
|
75802
|
+
memeber_set = set(params.keys())
|
|
75803
|
+
for name, value in vars(self).items():
|
|
75804
|
+
property_name = name[1:]
|
|
75805
|
+
if property_name in memeber_set:
|
|
75806
|
+
memeber_set.remove(property_name)
|
|
75807
|
+
if len(memeber_set) > 0:
|
|
75808
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
75809
|
+
|
|
75810
|
+
|
|
75811
|
+
|
|
75348
75812
|
class RTMPAddressDestination(AbstractModel):
|
|
75349
75813
|
r"""RTMP转推的目标地址信息。
|
|
75350
75814
|
|
|
@@ -2175,6 +2175,29 @@ class MpsClient(AbstractClient):
|
|
|
2175
2175
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2176
2176
|
|
|
2177
2177
|
|
|
2178
|
+
def DescribeAigcTaskList(self, request):
|
|
2179
|
+
r"""查询AIGC任务列表详细信息
|
|
2180
|
+
|
|
2181
|
+
:param request: Request instance for DescribeAigcTaskList.
|
|
2182
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeAigcTaskListRequest`
|
|
2183
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeAigcTaskListResponse`
|
|
2184
|
+
|
|
2185
|
+
"""
|
|
2186
|
+
try:
|
|
2187
|
+
params = request._serialize()
|
|
2188
|
+
headers = request.headers
|
|
2189
|
+
body = self.call("DescribeAigcTaskList", params, headers=headers)
|
|
2190
|
+
response = json.loads(body)
|
|
2191
|
+
model = models.DescribeAigcTaskListResponse()
|
|
2192
|
+
model._deserialize(response["Response"])
|
|
2193
|
+
return model
|
|
2194
|
+
except Exception as e:
|
|
2195
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2196
|
+
raise
|
|
2197
|
+
else:
|
|
2198
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2199
|
+
|
|
2200
|
+
|
|
2178
2201
|
def DescribeAigcTaskStatus(self, request):
|
|
2179
2202
|
r"""查询AIGC场景任务接口
|
|
2180
2203
|
|
|
@@ -1714,6 +1714,24 @@ class MpsClient(AbstractClient):
|
|
|
1714
1714
|
|
|
1715
1715
|
return await self.call_and_deserialize(**kwargs)
|
|
1716
1716
|
|
|
1717
|
+
async def DescribeAigcTaskList(
|
|
1718
|
+
self,
|
|
1719
|
+
request: models.DescribeAigcTaskListRequest,
|
|
1720
|
+
opts: Dict = None,
|
|
1721
|
+
) -> models.DescribeAigcTaskListResponse:
|
|
1722
|
+
"""
|
|
1723
|
+
查询AIGC任务列表详细信息
|
|
1724
|
+
"""
|
|
1725
|
+
|
|
1726
|
+
kwargs = {}
|
|
1727
|
+
kwargs["action"] = "DescribeAigcTaskList"
|
|
1728
|
+
kwargs["params"] = request._serialize()
|
|
1729
|
+
kwargs["resp_cls"] = models.DescribeAigcTaskListResponse
|
|
1730
|
+
kwargs["headers"] = request.headers
|
|
1731
|
+
kwargs["opts"] = opts or {}
|
|
1732
|
+
|
|
1733
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1734
|
+
|
|
1717
1735
|
async def DescribeAigcTaskStatus(
|
|
1718
1736
|
self,
|
|
1719
1737
|
request: models.DescribeAigcTaskStatusRequest,
|
|
@@ -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.156
|
|
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.156
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.156
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.154
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|