tencentcloud-sdk-python-mps 3.1.151__tar.gz → 3.1.154__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.151 → tencentcloud_sdk_python_mps-3.1.154}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/v20190612/models.py +89 -6
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.154/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.151/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.151 → tencentcloud_sdk_python_mps-3.1.154}/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.154
|
|
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.154
|
|
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.154,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -22339,9 +22339,9 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
22339
22339
|
|
|
22340
22340
|
def __init__(self):
|
|
22341
22341
|
r"""
|
|
22342
|
-
:param _ModelName: <p
|
|
22342
|
+
:param _ModelName: <p>模型名称。当前支持的模型列表:Hunyuan,Qwen,Vidu,Kling。</p>
|
|
22343
22343
|
:type ModelName: str
|
|
22344
|
-
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li
|
|
22344
|
+
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li></ol>
|
|
22345
22345
|
:type ModelVersion: str
|
|
22346
22346
|
:param _SceneType: <p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
|
|
22347
22347
|
:type SceneType: str
|
|
@@ -22351,7 +22351,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
22351
22351
|
:type NegativePrompt: str
|
|
22352
22352
|
:param _EnhancePrompt: <p>默认取值为False,模型会严格地遵循指令。<br>如果需要更精细的prompt获得最佳效果,可将此参数设置为True,将自动优化传入的prompt,以提升生成质量。</p>
|
|
22353
22353
|
:type EnhancePrompt: bool
|
|
22354
|
-
:param _ImageInfos: <p>用于传入参考的资源图片信息,默认支持传入一张图片。</p><p>支持多图输入的模型:</p><ol><li>Kling 2.1,可支持最多 4 张图片输入作为资源图。</li><li>Kling 3.0-Omni,可支持最多 10 张图片输入作为资源图。</li><li>Kling O1,可支持最多 10 张图片输入作为资源图。</li><li>Vidu q2,可支持最多 7 张图片输入作为资源图。</li><li>Hunyuan 3.0,可支持最多 3 张图片输入作为资源图。</li
|
|
22354
|
+
:param _ImageInfos: <p>用于传入参考的资源图片信息,默认支持传入一张图片。</p><p>支持多图输入的模型:</p><ol><li>Kling 2.1,可支持最多 4 张图片输入作为资源图。</li><li>Kling 3.0-Omni,可支持最多 10 张图片输入作为资源图。</li><li>Kling O1,可支持最多 10 张图片输入作为资源图。</li><li>Vidu q2,可支持最多 7 张图片输入作为资源图。</li><li>Hunyuan 3.0,可支持最多 3 张图片输入作为资源图。</li></ol><p>注意:</p><ol><li>推荐图片小于7M,各模型限制不同。</li><li>图片格式支持:jpeg, png, webp。</li></ol>
|
|
22355
22355
|
:type ImageInfos: list of AigcImageInfo
|
|
22356
22356
|
:param _OutputImageCount: <p>指定图片输出张数。目前默认支持输出 1 张。</p>
|
|
22357
22357
|
:type OutputImageCount: int
|
|
@@ -22379,7 +22379,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
22379
22379
|
|
|
22380
22380
|
@property
|
|
22381
22381
|
def ModelName(self):
|
|
22382
|
-
r"""<p
|
|
22382
|
+
r"""<p>模型名称。当前支持的模型列表:Hunyuan,Qwen,Vidu,Kling。</p>
|
|
22383
22383
|
:rtype: str
|
|
22384
22384
|
"""
|
|
22385
22385
|
return self._ModelName
|
|
@@ -22390,7 +22390,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
22390
22390
|
|
|
22391
22391
|
@property
|
|
22392
22392
|
def ModelVersion(self):
|
|
22393
|
-
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li
|
|
22393
|
+
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li></ol>
|
|
22394
22394
|
:rtype: str
|
|
22395
22395
|
"""
|
|
22396
22396
|
return self._ModelVersion
|
|
@@ -22445,7 +22445,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
22445
22445
|
|
|
22446
22446
|
@property
|
|
22447
22447
|
def ImageInfos(self):
|
|
22448
|
-
r"""<p>用于传入参考的资源图片信息,默认支持传入一张图片。</p><p>支持多图输入的模型:</p><ol><li>Kling 2.1,可支持最多 4 张图片输入作为资源图。</li><li>Kling 3.0-Omni,可支持最多 10 张图片输入作为资源图。</li><li>Kling O1,可支持最多 10 张图片输入作为资源图。</li><li>Vidu q2,可支持最多 7 张图片输入作为资源图。</li><li>Hunyuan 3.0,可支持最多 3 张图片输入作为资源图。</li
|
|
22448
|
+
r"""<p>用于传入参考的资源图片信息,默认支持传入一张图片。</p><p>支持多图输入的模型:</p><ol><li>Kling 2.1,可支持最多 4 张图片输入作为资源图。</li><li>Kling 3.0-Omni,可支持最多 10 张图片输入作为资源图。</li><li>Kling O1,可支持最多 10 张图片输入作为资源图。</li><li>Vidu q2,可支持最多 7 张图片输入作为资源图。</li><li>Hunyuan 3.0,可支持最多 3 张图片输入作为资源图。</li></ol><p>注意:</p><ol><li>推荐图片小于7M,各模型限制不同。</li><li>图片格式支持:jpeg, png, webp。</li></ol>
|
|
22449
22449
|
:rtype: list of AigcImageInfo
|
|
22450
22450
|
"""
|
|
22451
22451
|
return self._ImageInfos
|
|
@@ -54149,6 +54149,8 @@ class ImageTaskInput(AbstractModel):
|
|
|
54149
54149
|
:type AiExpansionConfig: :class:`tencentcloud.mps.v20190612.models.AiExpansionConfig`
|
|
54150
54150
|
:param _AiStoryboardConfig: <p>Ai分镜拆解配置</p>
|
|
54151
54151
|
:type AiStoryboardConfig: :class:`tencentcloud.mps.v20190612.models.AiStoryboardConfig`
|
|
54152
|
+
:param _UnderstandImageConfig: <p>图片理解配置</p>
|
|
54153
|
+
:type UnderstandImageConfig: :class:`tencentcloud.mps.v20190612.models.UnderstandImageConfig`
|
|
54152
54154
|
"""
|
|
54153
54155
|
self._EncodeConfig = None
|
|
54154
54156
|
self._EnhanceConfig = None
|
|
@@ -54162,6 +54164,7 @@ class ImageTaskInput(AbstractModel):
|
|
|
54162
54164
|
self._AiCutoutConfig = None
|
|
54163
54165
|
self._AiExpansionConfig = None
|
|
54164
54166
|
self._AiStoryboardConfig = None
|
|
54167
|
+
self._UnderstandImageConfig = None
|
|
54165
54168
|
|
|
54166
54169
|
@property
|
|
54167
54170
|
def EncodeConfig(self):
|
|
@@ -54299,6 +54302,17 @@ class ImageTaskInput(AbstractModel):
|
|
|
54299
54302
|
def AiStoryboardConfig(self, AiStoryboardConfig):
|
|
54300
54303
|
self._AiStoryboardConfig = AiStoryboardConfig
|
|
54301
54304
|
|
|
54305
|
+
@property
|
|
54306
|
+
def UnderstandImageConfig(self):
|
|
54307
|
+
r"""<p>图片理解配置</p>
|
|
54308
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.UnderstandImageConfig`
|
|
54309
|
+
"""
|
|
54310
|
+
return self._UnderstandImageConfig
|
|
54311
|
+
|
|
54312
|
+
@UnderstandImageConfig.setter
|
|
54313
|
+
def UnderstandImageConfig(self, UnderstandImageConfig):
|
|
54314
|
+
self._UnderstandImageConfig = UnderstandImageConfig
|
|
54315
|
+
|
|
54302
54316
|
|
|
54303
54317
|
def _deserialize(self, params):
|
|
54304
54318
|
if params.get("EncodeConfig") is not None:
|
|
@@ -54337,6 +54351,9 @@ class ImageTaskInput(AbstractModel):
|
|
|
54337
54351
|
if params.get("AiStoryboardConfig") is not None:
|
|
54338
54352
|
self._AiStoryboardConfig = AiStoryboardConfig()
|
|
54339
54353
|
self._AiStoryboardConfig._deserialize(params.get("AiStoryboardConfig"))
|
|
54354
|
+
if params.get("UnderstandImageConfig") is not None:
|
|
54355
|
+
self._UnderstandImageConfig = UnderstandImageConfig()
|
|
54356
|
+
self._UnderstandImageConfig._deserialize(params.get("UnderstandImageConfig"))
|
|
54340
54357
|
memeber_set = set(params.keys())
|
|
54341
54358
|
for name, value in vars(self).items():
|
|
54342
54359
|
property_name = name[1:]
|
|
@@ -91546,6 +91563,57 @@ Output:输出。
|
|
|
91546
91563
|
|
|
91547
91564
|
|
|
91548
91565
|
|
|
91566
|
+
class UnderstandImageConfig(AbstractModel):
|
|
91567
|
+
r"""图片理解任务。
|
|
91568
|
+
|
|
91569
|
+
"""
|
|
91570
|
+
|
|
91571
|
+
def __init__(self):
|
|
91572
|
+
r"""
|
|
91573
|
+
:param _Model: <p>图片理解模型</p><p>枚举值:</p><ul><li>WAND-understand-1.0-lite: 轻量理解模型</li><li>WAND-understand-1.0-flash: 质量-速度平衡理解模型</li><li>WAND-understand-1.0-pro: 高质量理解模型</li></ul>
|
|
91574
|
+
:type Model: str
|
|
91575
|
+
:param _Prompt: <p>图片理解指令</p>
|
|
91576
|
+
:type Prompt: str
|
|
91577
|
+
"""
|
|
91578
|
+
self._Model = None
|
|
91579
|
+
self._Prompt = None
|
|
91580
|
+
|
|
91581
|
+
@property
|
|
91582
|
+
def Model(self):
|
|
91583
|
+
r"""<p>图片理解模型</p><p>枚举值:</p><ul><li>WAND-understand-1.0-lite: 轻量理解模型</li><li>WAND-understand-1.0-flash: 质量-速度平衡理解模型</li><li>WAND-understand-1.0-pro: 高质量理解模型</li></ul>
|
|
91584
|
+
:rtype: str
|
|
91585
|
+
"""
|
|
91586
|
+
return self._Model
|
|
91587
|
+
|
|
91588
|
+
@Model.setter
|
|
91589
|
+
def Model(self, Model):
|
|
91590
|
+
self._Model = Model
|
|
91591
|
+
|
|
91592
|
+
@property
|
|
91593
|
+
def Prompt(self):
|
|
91594
|
+
r"""<p>图片理解指令</p>
|
|
91595
|
+
:rtype: str
|
|
91596
|
+
"""
|
|
91597
|
+
return self._Prompt
|
|
91598
|
+
|
|
91599
|
+
@Prompt.setter
|
|
91600
|
+
def Prompt(self, Prompt):
|
|
91601
|
+
self._Prompt = Prompt
|
|
91602
|
+
|
|
91603
|
+
|
|
91604
|
+
def _deserialize(self, params):
|
|
91605
|
+
self._Model = params.get("Model")
|
|
91606
|
+
self._Prompt = params.get("Prompt")
|
|
91607
|
+
memeber_set = set(params.keys())
|
|
91608
|
+
for name, value in vars(self).items():
|
|
91609
|
+
property_name = name[1:]
|
|
91610
|
+
if property_name in memeber_set:
|
|
91611
|
+
memeber_set.remove(property_name)
|
|
91612
|
+
if len(memeber_set) > 0:
|
|
91613
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
91614
|
+
|
|
91615
|
+
|
|
91616
|
+
|
|
91549
91617
|
class UpdateProjectRequest(AbstractModel):
|
|
91550
91618
|
r"""UpdateProject请求参数结构体
|
|
91551
91619
|
|
|
@@ -95676,6 +95744,8 @@ class VoiceInfo(AbstractModel):
|
|
|
95676
95744
|
:type Labels: list of str
|
|
95677
95745
|
:param _Scenes: <p>推荐场景</p><p>如:教育</p>
|
|
95678
95746
|
:type Scenes: list of str
|
|
95747
|
+
:param _Engine: <p>音色所属引擎</p>
|
|
95748
|
+
:type Engine: str
|
|
95679
95749
|
"""
|
|
95680
95750
|
self._VoiceId = None
|
|
95681
95751
|
self._Name = None
|
|
@@ -95687,6 +95757,7 @@ class VoiceInfo(AbstractModel):
|
|
|
95687
95757
|
self._AudioUrl = None
|
|
95688
95758
|
self._Labels = None
|
|
95689
95759
|
self._Scenes = None
|
|
95760
|
+
self._Engine = None
|
|
95690
95761
|
|
|
95691
95762
|
@property
|
|
95692
95763
|
def VoiceId(self):
|
|
@@ -95798,6 +95869,17 @@ class VoiceInfo(AbstractModel):
|
|
|
95798
95869
|
def Scenes(self, Scenes):
|
|
95799
95870
|
self._Scenes = Scenes
|
|
95800
95871
|
|
|
95872
|
+
@property
|
|
95873
|
+
def Engine(self):
|
|
95874
|
+
r"""<p>音色所属引擎</p>
|
|
95875
|
+
:rtype: str
|
|
95876
|
+
"""
|
|
95877
|
+
return self._Engine
|
|
95878
|
+
|
|
95879
|
+
@Engine.setter
|
|
95880
|
+
def Engine(self, Engine):
|
|
95881
|
+
self._Engine = Engine
|
|
95882
|
+
|
|
95801
95883
|
|
|
95802
95884
|
def _deserialize(self, params):
|
|
95803
95885
|
self._VoiceId = params.get("VoiceId")
|
|
@@ -95810,6 +95892,7 @@ class VoiceInfo(AbstractModel):
|
|
|
95810
95892
|
self._AudioUrl = params.get("AudioUrl")
|
|
95811
95893
|
self._Labels = params.get("Labels")
|
|
95812
95894
|
self._Scenes = params.get("Scenes")
|
|
95895
|
+
self._Engine = params.get("Engine")
|
|
95813
95896
|
memeber_set = set(params.keys())
|
|
95814
95897
|
for name, value in vars(self).items():
|
|
95815
95898
|
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.154
|
|
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.154
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.154
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.151
|
|
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
|