tencentcloud-sdk-python-mps 3.1.148__tar.gz → 3.1.151__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.148 → tencentcloud_sdk_python_mps-3.1.151}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/v20190612/models.py +30 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/v20190612/mps_client.py +2 -1
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/v20190612/mps_client_async.py +2 -1
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.151/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.148/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.148 → tencentcloud_sdk_python_mps-3.1.151}/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.151
|
|
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.151
|
|
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.151,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -7069,10 +7069,13 @@ class AiCutoutConfig(AbstractModel):
|
|
|
7069
7069
|
:type Type: str
|
|
7070
7070
|
:param _PatternConfig: <p>图案抠图配置。仅在Type为pattern时生效。</p>
|
|
7071
7071
|
:type PatternConfig: :class:`tencentcloud.mps.v20190612.models.PatternConfig`
|
|
7072
|
+
:param _Model: <p>抠图模型选择,可不填。</p><p>枚举值:</p><ul><li>auto: 自动选择合适的模型</li><li>WAND-cutout-1.0-lite: 标准版,速度最快</li><li>WAND-cutout-2.0-lite: 增强版,速度最快</li><li>WAND-cutout-2.0-flash: 增强版,质量-速度平衡</li></ul>
|
|
7073
|
+
:type Model: str
|
|
7072
7074
|
"""
|
|
7073
7075
|
self._Switch = None
|
|
7074
7076
|
self._Type = None
|
|
7075
7077
|
self._PatternConfig = None
|
|
7078
|
+
self._Model = None
|
|
7076
7079
|
|
|
7077
7080
|
@property
|
|
7078
7081
|
def Switch(self):
|
|
@@ -7107,6 +7110,17 @@ class AiCutoutConfig(AbstractModel):
|
|
|
7107
7110
|
def PatternConfig(self, PatternConfig):
|
|
7108
7111
|
self._PatternConfig = PatternConfig
|
|
7109
7112
|
|
|
7113
|
+
@property
|
|
7114
|
+
def Model(self):
|
|
7115
|
+
r"""<p>抠图模型选择,可不填。</p><p>枚举值:</p><ul><li>auto: 自动选择合适的模型</li><li>WAND-cutout-1.0-lite: 标准版,速度最快</li><li>WAND-cutout-2.0-lite: 增强版,速度最快</li><li>WAND-cutout-2.0-flash: 增强版,质量-速度平衡</li></ul>
|
|
7116
|
+
:rtype: str
|
|
7117
|
+
"""
|
|
7118
|
+
return self._Model
|
|
7119
|
+
|
|
7120
|
+
@Model.setter
|
|
7121
|
+
def Model(self, Model):
|
|
7122
|
+
self._Model = Model
|
|
7123
|
+
|
|
7110
7124
|
|
|
7111
7125
|
def _deserialize(self, params):
|
|
7112
7126
|
self._Switch = params.get("Switch")
|
|
@@ -7114,6 +7128,7 @@ class AiCutoutConfig(AbstractModel):
|
|
|
7114
7128
|
if params.get("PatternConfig") is not None:
|
|
7115
7129
|
self._PatternConfig = PatternConfig()
|
|
7116
7130
|
self._PatternConfig._deserialize(params.get("PatternConfig"))
|
|
7131
|
+
self._Model = params.get("Model")
|
|
7117
7132
|
memeber_set = set(params.keys())
|
|
7118
7133
|
for name, value in vars(self).items():
|
|
7119
7134
|
property_name = name[1:]
|
|
@@ -23587,9 +23602,12 @@ class CreateDocToVideoTaskRequest(AbstractModel):
|
|
|
23587
23602
|
:type Input: :class:`tencentcloud.mps.v20190612.models.DocToVideoInput`
|
|
23588
23603
|
:param _CosInfo: <p>用户cos信息,用于保存生成结果</p>
|
|
23589
23604
|
:type CosInfo: :class:`tencentcloud.mps.v20190612.models.DocToVideoCosInfo`
|
|
23605
|
+
:param _ResourceId: <p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
|
|
23606
|
+
:type ResourceId: str
|
|
23590
23607
|
"""
|
|
23591
23608
|
self._Input = None
|
|
23592
23609
|
self._CosInfo = None
|
|
23610
|
+
self._ResourceId = None
|
|
23593
23611
|
|
|
23594
23612
|
@property
|
|
23595
23613
|
def Input(self):
|
|
@@ -23613,6 +23631,17 @@ class CreateDocToVideoTaskRequest(AbstractModel):
|
|
|
23613
23631
|
def CosInfo(self, CosInfo):
|
|
23614
23632
|
self._CosInfo = CosInfo
|
|
23615
23633
|
|
|
23634
|
+
@property
|
|
23635
|
+
def ResourceId(self):
|
|
23636
|
+
r"""<p>资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。</p>
|
|
23637
|
+
:rtype: str
|
|
23638
|
+
"""
|
|
23639
|
+
return self._ResourceId
|
|
23640
|
+
|
|
23641
|
+
@ResourceId.setter
|
|
23642
|
+
def ResourceId(self, ResourceId):
|
|
23643
|
+
self._ResourceId = ResourceId
|
|
23644
|
+
|
|
23616
23645
|
|
|
23617
23646
|
def _deserialize(self, params):
|
|
23618
23647
|
if params.get("Input") is not None:
|
|
@@ -23621,6 +23650,7 @@ class CreateDocToVideoTaskRequest(AbstractModel):
|
|
|
23621
23650
|
if params.get("CosInfo") is not None:
|
|
23622
23651
|
self._CosInfo = DocToVideoCosInfo()
|
|
23623
23652
|
self._CosInfo._deserialize(params.get("CosInfo"))
|
|
23653
|
+
self._ResourceId = params.get("ResourceId")
|
|
23624
23654
|
memeber_set = set(params.keys())
|
|
23625
23655
|
for name, value in vars(self).items():
|
|
23626
23656
|
property_name = name[1:]
|
|
@@ -488,7 +488,8 @@ class MpsClient(AbstractClient):
|
|
|
488
488
|
|
|
489
489
|
|
|
490
490
|
def CreateDocToVideoTask(self, request):
|
|
491
|
-
r"""创建
|
|
491
|
+
r"""创建 AIGC 文档生成视频任务
|
|
492
|
+
(使用 DescribeAigcTaskStatus 接口进行任务查询)
|
|
492
493
|
|
|
493
494
|
:param request: Request instance for CreateDocToVideoTask.
|
|
494
495
|
:type request: :class:`tencentcloud.mps.v20190612.models.CreateDocToVideoTaskRequest`
|
|
@@ -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.151
|
|
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.151
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.151
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.148
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|