tencentcloud-sdk-python-mps 3.1.26__tar.gz → 3.1.30__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.26 → tencentcloud_sdk_python_mps-3.1.30}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/v20190612/models.py +47 -28
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.30/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.26/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.26 → tencentcloud_sdk_python_mps-3.1.30}/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.30
|
|
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.30
|
|
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.30,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -12079,7 +12079,6 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12079
12079
|
|
|
12080
12080
|
不同模型支持的宽高比:
|
|
12081
12081
|
1. GEM支持:1:1、3:2、2:3、3:4、4:3、4:5、5:4、9:16、16:9 和 21:9。
|
|
12082
|
-
2. Jimeng:合用户prompt意图、参考图尺寸,由模型智能判断生图宽高比。
|
|
12083
12082
|
|
|
12084
12083
|
注:具体模型的宽高比参数,可查看相应模型官网获取更完整描述。
|
|
12085
12084
|
:type AspectRatio: str
|
|
@@ -12088,19 +12087,6 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12088
12087
|
支持该参数的模型:
|
|
12089
12088
|
支持选择: 720P, 1080P, 2K, 4K。
|
|
12090
12089
|
|
|
12091
|
-
1. Jimeng推荐通过prompt指定图片分辨率和宽高比。
|
|
12092
|
-
2K
|
|
12093
|
-
2048x2048 (1:1)
|
|
12094
|
-
2304x1728(4:3)
|
|
12095
|
-
2496x1664 (3:2)
|
|
12096
|
-
2560x1440 (16:9)
|
|
12097
|
-
3024x1296 (21:9)
|
|
12098
|
-
4K
|
|
12099
|
-
4096x4096 (1:1)
|
|
12100
|
-
4694x3520(4:3)
|
|
12101
|
-
4992x3328 (3:2)
|
|
12102
|
-
5404x3040 (16:9)
|
|
12103
|
-
6198x2656 (21:9)
|
|
12104
12090
|
:type Resolution: str
|
|
12105
12091
|
"""
|
|
12106
12092
|
self._AspectRatio = None
|
|
@@ -12112,7 +12098,6 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12112
12098
|
|
|
12113
12099
|
不同模型支持的宽高比:
|
|
12114
12100
|
1. GEM支持:1:1、3:2、2:3、3:4、4:3、4:5、5:4、9:16、16:9 和 21:9。
|
|
12115
|
-
2. Jimeng:合用户prompt意图、参考图尺寸,由模型智能判断生图宽高比。
|
|
12116
12101
|
|
|
12117
12102
|
注:具体模型的宽高比参数,可查看相应模型官网获取更完整描述。
|
|
12118
12103
|
:rtype: str
|
|
@@ -12130,19 +12115,6 @@ class AigcImageExtraParam(AbstractModel):
|
|
|
12130
12115
|
支持该参数的模型:
|
|
12131
12116
|
支持选择: 720P, 1080P, 2K, 4K。
|
|
12132
12117
|
|
|
12133
|
-
1. Jimeng推荐通过prompt指定图片分辨率和宽高比。
|
|
12134
|
-
2K
|
|
12135
|
-
2048x2048 (1:1)
|
|
12136
|
-
2304x1728(4:3)
|
|
12137
|
-
2496x1664 (3:2)
|
|
12138
|
-
2560x1440 (16:9)
|
|
12139
|
-
3024x1296 (21:9)
|
|
12140
|
-
4K
|
|
12141
|
-
4096x4096 (1:1)
|
|
12142
|
-
4694x3520(4:3)
|
|
12143
|
-
4992x3328 (3:2)
|
|
12144
|
-
5404x3040 (16:9)
|
|
12145
|
-
6198x2656 (21:9)
|
|
12146
12118
|
:rtype: str
|
|
12147
12119
|
"""
|
|
12148
12120
|
return self._Resolution
|
|
@@ -12321,9 +12293,13 @@ class AigcVideoExtraParam(AbstractModel):
|
|
|
12321
12293
|
|
|
12322
12294
|
注:关于具体模型支持的宽高比例,可查看具体模型官网介绍获取更完整描述。
|
|
12323
12295
|
:type AspectRatio: str
|
|
12296
|
+
:param _OffPeak: 错峰模型,目前仅支持Vidu模型。
|
|
12297
|
+
错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
|
|
12298
|
+
:type OffPeak: bool
|
|
12324
12299
|
"""
|
|
12325
12300
|
self._Resolution = None
|
|
12326
12301
|
self._AspectRatio = None
|
|
12302
|
+
self._OffPeak = None
|
|
12327
12303
|
|
|
12328
12304
|
@property
|
|
12329
12305
|
def Resolution(self):
|
|
@@ -12365,10 +12341,23 @@ class AigcVideoExtraParam(AbstractModel):
|
|
|
12365
12341
|
def AspectRatio(self, AspectRatio):
|
|
12366
12342
|
self._AspectRatio = AspectRatio
|
|
12367
12343
|
|
|
12344
|
+
@property
|
|
12345
|
+
def OffPeak(self):
|
|
12346
|
+
r"""错峰模型,目前仅支持Vidu模型。
|
|
12347
|
+
错峰模式下提交的任务,会在48小时内生成,未能完成的任务会被自动取消。
|
|
12348
|
+
:rtype: bool
|
|
12349
|
+
"""
|
|
12350
|
+
return self._OffPeak
|
|
12351
|
+
|
|
12352
|
+
@OffPeak.setter
|
|
12353
|
+
def OffPeak(self, OffPeak):
|
|
12354
|
+
self._OffPeak = OffPeak
|
|
12355
|
+
|
|
12368
12356
|
|
|
12369
12357
|
def _deserialize(self, params):
|
|
12370
12358
|
self._Resolution = params.get("Resolution")
|
|
12371
12359
|
self._AspectRatio = params.get("AspectRatio")
|
|
12360
|
+
self._OffPeak = params.get("OffPeak")
|
|
12372
12361
|
memeber_set = set(params.keys())
|
|
12373
12362
|
for name, value in vars(self).items():
|
|
12374
12363
|
property_name = name[1:]
|
|
@@ -43531,10 +43520,13 @@ class ImageProcessOutputConfig(AbstractModel):
|
|
|
43531
43520
|
:type ImageHeight: int
|
|
43532
43521
|
:param _ImageWidth: 图片输出宽度,单位:像素。
|
|
43533
43522
|
:type ImageWidth: int
|
|
43523
|
+
:param _ImageSize: 图片输出分辨率,取值:1K/2K/4K。
|
|
43524
|
+
:type ImageSize: str
|
|
43534
43525
|
"""
|
|
43535
43526
|
self._AspectRatio = None
|
|
43536
43527
|
self._ImageHeight = None
|
|
43537
43528
|
self._ImageWidth = None
|
|
43529
|
+
self._ImageSize = None
|
|
43538
43530
|
|
|
43539
43531
|
@property
|
|
43540
43532
|
def AspectRatio(self):
|
|
@@ -43577,11 +43569,23 @@ class ImageProcessOutputConfig(AbstractModel):
|
|
|
43577
43569
|
def ImageWidth(self, ImageWidth):
|
|
43578
43570
|
self._ImageWidth = ImageWidth
|
|
43579
43571
|
|
|
43572
|
+
@property
|
|
43573
|
+
def ImageSize(self):
|
|
43574
|
+
r"""图片输出分辨率,取值:1K/2K/4K。
|
|
43575
|
+
:rtype: str
|
|
43576
|
+
"""
|
|
43577
|
+
return self._ImageSize
|
|
43578
|
+
|
|
43579
|
+
@ImageSize.setter
|
|
43580
|
+
def ImageSize(self, ImageSize):
|
|
43581
|
+
self._ImageSize = ImageSize
|
|
43582
|
+
|
|
43580
43583
|
|
|
43581
43584
|
def _deserialize(self, params):
|
|
43582
43585
|
self._AspectRatio = params.get("AspectRatio")
|
|
43583
43586
|
self._ImageHeight = params.get("ImageHeight")
|
|
43584
43587
|
self._ImageWidth = params.get("ImageWidth")
|
|
43588
|
+
self._ImageSize = params.get("ImageSize")
|
|
43585
43589
|
memeber_set = set(params.keys())
|
|
43586
43590
|
for name, value in vars(self).items():
|
|
43587
43591
|
property_name = name[1:]
|
|
@@ -43607,10 +43611,13 @@ class ImageProcessTaskOutput(AbstractModel):
|
|
|
43607
43611
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
43608
43612
|
:param _SignedUrl: 输出文件的URL。
|
|
43609
43613
|
:type SignedUrl: str
|
|
43614
|
+
:param _Content: 图生文任务的处理结果。
|
|
43615
|
+
:type Content: str
|
|
43610
43616
|
"""
|
|
43611
43617
|
self._Path = None
|
|
43612
43618
|
self._OutputStorage = None
|
|
43613
43619
|
self._SignedUrl = None
|
|
43620
|
+
self._Content = None
|
|
43614
43621
|
|
|
43615
43622
|
@property
|
|
43616
43623
|
def Path(self):
|
|
@@ -43647,6 +43654,17 @@ class ImageProcessTaskOutput(AbstractModel):
|
|
|
43647
43654
|
def SignedUrl(self, SignedUrl):
|
|
43648
43655
|
self._SignedUrl = SignedUrl
|
|
43649
43656
|
|
|
43657
|
+
@property
|
|
43658
|
+
def Content(self):
|
|
43659
|
+
r"""图生文任务的处理结果。
|
|
43660
|
+
:rtype: str
|
|
43661
|
+
"""
|
|
43662
|
+
return self._Content
|
|
43663
|
+
|
|
43664
|
+
@Content.setter
|
|
43665
|
+
def Content(self, Content):
|
|
43666
|
+
self._Content = Content
|
|
43667
|
+
|
|
43650
43668
|
|
|
43651
43669
|
def _deserialize(self, params):
|
|
43652
43670
|
self._Path = params.get("Path")
|
|
@@ -43654,6 +43672,7 @@ class ImageProcessTaskOutput(AbstractModel):
|
|
|
43654
43672
|
self._OutputStorage = TaskOutputStorage()
|
|
43655
43673
|
self._OutputStorage._deserialize(params.get("OutputStorage"))
|
|
43656
43674
|
self._SignedUrl = params.get("SignedUrl")
|
|
43675
|
+
self._Content = params.get("Content")
|
|
43657
43676
|
memeber_set = set(params.keys())
|
|
43658
43677
|
for name, value in vars(self).items():
|
|
43659
43678
|
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.30
|
|
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.30
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.30
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.26
|
|
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
|