tencentcloud-sdk-python-mps 3.1.89__tar.gz → 3.1.93__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.89 → tencentcloud_sdk_python_mps-3.1.93}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/v20190612/models.py +34 -4
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.93/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.89/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.89 → tencentcloud_sdk_python_mps-3.1.93}/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.93
|
|
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.93
|
|
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.93,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -12661,10 +12661,13 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12661
12661
|
:type Resolution: str
|
|
12662
12662
|
:param _LogoAdd: <p>是否添加图标水印。默认不加。1-添加,0-不添加。</p><p>取值范围:[0, 1]</p><p>默认值:0</p>
|
|
12663
12663
|
:type LogoAdd: int
|
|
12664
|
+
:param _OutputFormat: <p>指定图片的输出格式,支持jpeg, png。</p>
|
|
12665
|
+
:type OutputFormat: str
|
|
12664
12666
|
"""
|
|
12665
12667
|
self._AspectRatio = None
|
|
12666
12668
|
self._Resolution = None
|
|
12667
12669
|
self._LogoAdd = None
|
|
12670
|
+
self._OutputFormat = None
|
|
12668
12671
|
|
|
12669
12672
|
@property
|
|
12670
12673
|
def AspectRatio(self):
|
|
@@ -12699,11 +12702,23 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12699
12702
|
def LogoAdd(self, LogoAdd):
|
|
12700
12703
|
self._LogoAdd = LogoAdd
|
|
12701
12704
|
|
|
12705
|
+
@property
|
|
12706
|
+
def OutputFormat(self):
|
|
12707
|
+
r"""<p>指定图片的输出格式,支持jpeg, png。</p>
|
|
12708
|
+
:rtype: str
|
|
12709
|
+
"""
|
|
12710
|
+
return self._OutputFormat
|
|
12711
|
+
|
|
12712
|
+
@OutputFormat.setter
|
|
12713
|
+
def OutputFormat(self, OutputFormat):
|
|
12714
|
+
self._OutputFormat = OutputFormat
|
|
12715
|
+
|
|
12702
12716
|
|
|
12703
12717
|
def _deserialize(self, params):
|
|
12704
12718
|
self._AspectRatio = params.get("AspectRatio")
|
|
12705
12719
|
self._Resolution = params.get("Resolution")
|
|
12706
12720
|
self._LogoAdd = params.get("LogoAdd")
|
|
12721
|
+
self._OutputFormat = params.get("OutputFormat")
|
|
12707
12722
|
memeber_set = set(params.keys())
|
|
12708
12723
|
for name, value in vars(self).items():
|
|
12709
12724
|
property_name = name[1:]
|
|
@@ -20097,10 +20112,12 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20097
20112
|
|
|
20098
20113
|
def __init__(self):
|
|
20099
20114
|
r"""
|
|
20100
|
-
:param _ModelName: <p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen。</p>
|
|
20115
|
+
:param _ModelName: <p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen,<br>Vidu,<br>Kling。</p>
|
|
20101
20116
|
:type ModelName: str
|
|
20102
|
-
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM
|
|
20117
|
+
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM,可选[2.5,3.0,3.1]。</li><li>Vidu,可选[q2]。</li><li>Kling,可选[2.1、O1、3.0、3.0-Omni]</li></ol>
|
|
20103
20118
|
:type ModelVersion: str
|
|
20119
|
+
:param _SceneType: <p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
|
|
20120
|
+
:type SceneType: str
|
|
20104
20121
|
:param _Prompt: <p>生成图片的描述。(注:最大支持1000字符)。当未传入参考图片时,此参数必填。</p>
|
|
20105
20122
|
:type Prompt: str
|
|
20106
20123
|
:param _NegativePrompt: <p>用于描述您想要阻止模型生成的内容。 注意:部分模型支持。 例如: 顶部照明、明亮的色彩 人物、动物 多辆汽车、风。</p>
|
|
@@ -20120,6 +20137,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20120
20137
|
"""
|
|
20121
20138
|
self._ModelName = None
|
|
20122
20139
|
self._ModelVersion = None
|
|
20140
|
+
self._SceneType = None
|
|
20123
20141
|
self._Prompt = None
|
|
20124
20142
|
self._NegativePrompt = None
|
|
20125
20143
|
self._EnhancePrompt = None
|
|
@@ -20131,7 +20149,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20131
20149
|
|
|
20132
20150
|
@property
|
|
20133
20151
|
def ModelName(self):
|
|
20134
|
-
r"""<p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen。</p>
|
|
20152
|
+
r"""<p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>GEM,<br>Qwen,<br>Vidu,<br>Kling。</p>
|
|
20135
20153
|
:rtype: str
|
|
20136
20154
|
"""
|
|
20137
20155
|
return self._ModelName
|
|
@@ -20142,7 +20160,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20142
20160
|
|
|
20143
20161
|
@property
|
|
20144
20162
|
def ModelVersion(self):
|
|
20145
|
-
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM
|
|
20163
|
+
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>GEM,可选[2.5,3.0,3.1]。</li><li>Vidu,可选[q2]。</li><li>Kling,可选[2.1、O1、3.0、3.0-Omni]</li></ol>
|
|
20146
20164
|
:rtype: str
|
|
20147
20165
|
"""
|
|
20148
20166
|
return self._ModelVersion
|
|
@@ -20151,6 +20169,17 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20151
20169
|
def ModelVersion(self, ModelVersion):
|
|
20152
20170
|
self._ModelVersion = ModelVersion
|
|
20153
20171
|
|
|
20172
|
+
@property
|
|
20173
|
+
def SceneType(self):
|
|
20174
|
+
r"""<p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
|
|
20175
|
+
:rtype: str
|
|
20176
|
+
"""
|
|
20177
|
+
return self._SceneType
|
|
20178
|
+
|
|
20179
|
+
@SceneType.setter
|
|
20180
|
+
def SceneType(self, SceneType):
|
|
20181
|
+
self._SceneType = SceneType
|
|
20182
|
+
|
|
20154
20183
|
@property
|
|
20155
20184
|
def Prompt(self):
|
|
20156
20185
|
r"""<p>生成图片的描述。(注:最大支持1000字符)。当未传入参考图片时,此参数必填。</p>
|
|
@@ -20243,6 +20272,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
20243
20272
|
def _deserialize(self, params):
|
|
20244
20273
|
self._ModelName = params.get("ModelName")
|
|
20245
20274
|
self._ModelVersion = params.get("ModelVersion")
|
|
20275
|
+
self._SceneType = params.get("SceneType")
|
|
20246
20276
|
self._Prompt = params.get("Prompt")
|
|
20247
20277
|
self._NegativePrompt = params.get("NegativePrompt")
|
|
20248
20278
|
self._EnhancePrompt = params.get("EnhancePrompt")
|
|
@@ -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.93
|
|
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.93
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.89
|
|
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
|