tencentcloud-sdk-python-mps 3.1.178__tar.gz → 3.1.180__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.178 → tencentcloud_sdk_python_mps-3.1.180}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/v20190612/models.py +82 -36
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.180/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.178/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.178 → tencentcloud_sdk_python_mps-3.1.180}/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.180
|
|
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.180
|
|
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.180,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -14290,7 +14290,7 @@ class AiTryOnConfig(AbstractModel):
|
|
|
14290
14290
|
|
|
14291
14291
|
def __init__(self):
|
|
14292
14292
|
r"""
|
|
14293
|
-
:param _Model: <p>换装模型,取值:</p><ul><li>
|
|
14293
|
+
:param _Model: <p>换装模型,取值:</p><ul><li>tryon-1.0-lite</li><li>tryon-1.0-flash</li><li>tryon-1.0-pro</li></ul>
|
|
14294
14294
|
:type Model: str
|
|
14295
14295
|
:param _Prompt: <p>换装指令。</p><p>为空时使用内置指令。</p>
|
|
14296
14296
|
:type Prompt: str
|
|
@@ -14303,7 +14303,7 @@ class AiTryOnConfig(AbstractModel):
|
|
|
14303
14303
|
|
|
14304
14304
|
@property
|
|
14305
14305
|
def Model(self):
|
|
14306
|
-
r"""<p>换装模型,取值:</p><ul><li>
|
|
14306
|
+
r"""<p>换装模型,取值:</p><ul><li>tryon-1.0-lite</li><li>tryon-1.0-flash</li><li>tryon-1.0-pro</li></ul>
|
|
14307
14307
|
:rtype: str
|
|
14308
14308
|
"""
|
|
14309
14309
|
return self._Model
|
|
@@ -14358,8 +14358,11 @@ class AigcAudioExtraParam(AbstractModel):
|
|
|
14358
14358
|
r"""
|
|
14359
14359
|
:param _ResourceId: <p>资源id,根据具体需要填写。</p>
|
|
14360
14360
|
:type ResourceId: str
|
|
14361
|
+
:param _OutputAudioFormat: <p>指定的音频输出格式。</p>
|
|
14362
|
+
:type OutputAudioFormat: str
|
|
14361
14363
|
"""
|
|
14362
14364
|
self._ResourceId = None
|
|
14365
|
+
self._OutputAudioFormat = None
|
|
14363
14366
|
|
|
14364
14367
|
@property
|
|
14365
14368
|
def ResourceId(self):
|
|
@@ -14372,9 +14375,21 @@ class AigcAudioExtraParam(AbstractModel):
|
|
|
14372
14375
|
def ResourceId(self, ResourceId):
|
|
14373
14376
|
self._ResourceId = ResourceId
|
|
14374
14377
|
|
|
14378
|
+
@property
|
|
14379
|
+
def OutputAudioFormat(self):
|
|
14380
|
+
r"""<p>指定的音频输出格式。</p>
|
|
14381
|
+
:rtype: str
|
|
14382
|
+
"""
|
|
14383
|
+
return self._OutputAudioFormat
|
|
14384
|
+
|
|
14385
|
+
@OutputAudioFormat.setter
|
|
14386
|
+
def OutputAudioFormat(self, OutputAudioFormat):
|
|
14387
|
+
self._OutputAudioFormat = OutputAudioFormat
|
|
14388
|
+
|
|
14375
14389
|
|
|
14376
14390
|
def _deserialize(self, params):
|
|
14377
14391
|
self._ResourceId = params.get("ResourceId")
|
|
14392
|
+
self._OutputAudioFormat = params.get("OutputAudioFormat")
|
|
14378
14393
|
memeber_set = set(params.keys())
|
|
14379
14394
|
for name, value in vars(self).items():
|
|
14380
14395
|
property_name = name[1:]
|
|
@@ -18051,17 +18066,20 @@ class BeautyConfig(AbstractModel):
|
|
|
18051
18066
|
|
|
18052
18067
|
def __init__(self):
|
|
18053
18068
|
r"""
|
|
18054
|
-
:param _BeautyEffectItems:
|
|
18069
|
+
:param _BeautyEffectItems: <p>美颜效果</p>
|
|
18055
18070
|
:type BeautyEffectItems: list of BeautyEffectItemConfig
|
|
18056
|
-
:param _BeautyFilterItems:
|
|
18071
|
+
:param _BeautyFilterItems: <p>美颜滤镜</p>
|
|
18057
18072
|
:type BeautyFilterItems: list of BeautyFilterItemConfig
|
|
18073
|
+
:param _Type: <p>美颜类型</p><p>枚举值:</p><ul><li>auto: 智能自动美颜</li></ul><p>传入美颜参数时,忽略该参数。</p>
|
|
18074
|
+
:type Type: str
|
|
18058
18075
|
"""
|
|
18059
18076
|
self._BeautyEffectItems = None
|
|
18060
18077
|
self._BeautyFilterItems = None
|
|
18078
|
+
self._Type = None
|
|
18061
18079
|
|
|
18062
18080
|
@property
|
|
18063
18081
|
def BeautyEffectItems(self):
|
|
18064
|
-
r"""
|
|
18082
|
+
r"""<p>美颜效果</p>
|
|
18065
18083
|
:rtype: list of BeautyEffectItemConfig
|
|
18066
18084
|
"""
|
|
18067
18085
|
return self._BeautyEffectItems
|
|
@@ -18072,7 +18090,7 @@ class BeautyConfig(AbstractModel):
|
|
|
18072
18090
|
|
|
18073
18091
|
@property
|
|
18074
18092
|
def BeautyFilterItems(self):
|
|
18075
|
-
r"""
|
|
18093
|
+
r"""<p>美颜滤镜</p>
|
|
18076
18094
|
:rtype: list of BeautyFilterItemConfig
|
|
18077
18095
|
"""
|
|
18078
18096
|
return self._BeautyFilterItems
|
|
@@ -18081,6 +18099,17 @@ class BeautyConfig(AbstractModel):
|
|
|
18081
18099
|
def BeautyFilterItems(self, BeautyFilterItems):
|
|
18082
18100
|
self._BeautyFilterItems = BeautyFilterItems
|
|
18083
18101
|
|
|
18102
|
+
@property
|
|
18103
|
+
def Type(self):
|
|
18104
|
+
r"""<p>美颜类型</p><p>枚举值:</p><ul><li>auto: 智能自动美颜</li></ul><p>传入美颜参数时,忽略该参数。</p>
|
|
18105
|
+
:rtype: str
|
|
18106
|
+
"""
|
|
18107
|
+
return self._Type
|
|
18108
|
+
|
|
18109
|
+
@Type.setter
|
|
18110
|
+
def Type(self, Type):
|
|
18111
|
+
self._Type = Type
|
|
18112
|
+
|
|
18084
18113
|
|
|
18085
18114
|
def _deserialize(self, params):
|
|
18086
18115
|
if params.get("BeautyEffectItems") is not None:
|
|
@@ -18095,6 +18124,7 @@ class BeautyConfig(AbstractModel):
|
|
|
18095
18124
|
obj = BeautyFilterItemConfig()
|
|
18096
18125
|
obj._deserialize(item)
|
|
18097
18126
|
self._BeautyFilterItems.append(obj)
|
|
18127
|
+
self._Type = params.get("Type")
|
|
18098
18128
|
memeber_set = set(params.keys())
|
|
18099
18129
|
for name, value in vars(self).items():
|
|
18100
18130
|
property_name = name[1:]
|
|
@@ -23970,7 +24000,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
23970
24000
|
r"""
|
|
23971
24001
|
:param _ModelName: <p>模型名称。当前支持的模型列表:Hunyuan,Qwen,Vidu,Kling。</p>
|
|
23972
24002
|
:type ModelName: str
|
|
23973
|
-
: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>
|
|
24003
|
+
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.5-preview、3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li></ol>
|
|
23974
24004
|
:type ModelVersion: str
|
|
23975
24005
|
:param _SceneType: <p>场景化生图使用,仅部分模型支持。</p><p>枚举值:</p><ul><li>3d_panorama: 全景图。仅Hunyuan支持。</li></ul>
|
|
23976
24006
|
:type SceneType: str
|
|
@@ -23980,7 +24010,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
23980
24010
|
:type NegativePrompt: str
|
|
23981
24011
|
:param _EnhancePrompt: <p>默认取值为False,模型会严格地遵循指令。<br>如果需要更精细的prompt获得最佳效果,可将此参数设置为True,将自动优化传入的prompt,以提升生成质量。</p>
|
|
23982
24012
|
:type EnhancePrompt: bool
|
|
23983
|
-
: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
|
|
24013
|
+
: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.5-preview 可最多支持5张参数图,3.0 可支持最多 3 张图片输入作为资源图。</li></ol><p>注意:</p><ol><li>推荐图片小于7M,各模型限制不同。</li><li>图片格式支持:jpeg, png, webp。</li></ol>
|
|
23984
24014
|
:type ImageInfos: list of AigcImageInfo
|
|
23985
24015
|
:param _OutputImageCount: <p>指定图片输出张数。目前默认支持输出 1 张。</p>
|
|
23986
24016
|
:type OutputImageCount: int
|
|
@@ -24019,7 +24049,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
24019
24049
|
|
|
24020
24050
|
@property
|
|
24021
24051
|
def ModelVersion(self):
|
|
24022
|
-
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>
|
|
24052
|
+
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [3.5-preview、3.0]。</li><li>Vidu,可选 [q2]。</li><li>Kling,可选 [2.1、O1、3.0、3.0-Omni]。</li><li>Qwen,可选 [0925]。</li></ol>
|
|
24023
24053
|
:rtype: str
|
|
24024
24054
|
"""
|
|
24025
24055
|
return self._ModelVersion
|
|
@@ -24074,7 +24104,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
|
|
|
24074
24104
|
|
|
24075
24105
|
@property
|
|
24076
24106
|
def ImageInfos(self):
|
|
24077
|
-
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
|
|
24107
|
+
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.5-preview 可最多支持5张参数图,3.0 可支持最多 3 张图片输入作为资源图。</li></ol><p>注意:</p><ol><li>推荐图片小于7M,各模型限制不同。</li><li>图片格式支持:jpeg, png, webp。</li></ol>
|
|
24078
24108
|
:rtype: list of AigcImageInfo
|
|
24079
24109
|
"""
|
|
24080
24110
|
return self._ImageInfos
|
|
@@ -25364,9 +25394,9 @@ class CreateImageConfig(AbstractModel):
|
|
|
25364
25394
|
:type Model: str
|
|
25365
25395
|
:param _Prompt: <p>生图指令</p>
|
|
25366
25396
|
:type Prompt: str
|
|
25367
|
-
:param _Resolution: <p
|
|
25397
|
+
:param _Resolution: <p>输出图片的分辨率,可取值:1K/2K/4K。</p><p>默认值:1K</p>
|
|
25368
25398
|
:type Resolution: str
|
|
25369
|
-
:param _AspectRatio: <p
|
|
25399
|
+
:param _AspectRatio: <p>输出图片的宽高比,可取值:</p><ul><li>1:1</li><li>2:3</li><li>3:2</li><li>3:4</li><li>4:3</li><li>4:5</li><li>5:4</li><li>9:16</li><li>16:9</li></ul><p>默认值:1:1</p>
|
|
25370
25400
|
:type AspectRatio: str
|
|
25371
25401
|
:param _AdditionalParameters: <p>附加参数。</p>
|
|
25372
25402
|
:type AdditionalParameters: str
|
|
@@ -25401,7 +25431,7 @@ class CreateImageConfig(AbstractModel):
|
|
|
25401
25431
|
|
|
25402
25432
|
@property
|
|
25403
25433
|
def Resolution(self):
|
|
25404
|
-
r"""<p
|
|
25434
|
+
r"""<p>输出图片的分辨率,可取值:1K/2K/4K。</p><p>默认值:1K</p>
|
|
25405
25435
|
:rtype: str
|
|
25406
25436
|
"""
|
|
25407
25437
|
return self._Resolution
|
|
@@ -25412,7 +25442,7 @@ class CreateImageConfig(AbstractModel):
|
|
|
25412
25442
|
|
|
25413
25443
|
@property
|
|
25414
25444
|
def AspectRatio(self):
|
|
25415
|
-
r"""<p
|
|
25445
|
+
r"""<p>输出图片的宽高比,可取值:</p><ul><li>1:1</li><li>2:3</li><li>3:2</li><li>3:4</li><li>4:3</li><li>4:5</li><li>5:4</li><li>9:16</li><li>16:9</li></ul><p>默认值:1:1</p>
|
|
25416
25446
|
:rtype: str
|
|
25417
25447
|
"""
|
|
25418
25448
|
return self._AspectRatio
|
|
@@ -55651,33 +55681,29 @@ class ImageEraseLogoConfig(AbstractModel):
|
|
|
55651
55681
|
|
|
55652
55682
|
def __init__(self):
|
|
55653
55683
|
r"""
|
|
55654
|
-
:param _Switch:
|
|
55655
|
-
<li>ON:开启;</li>
|
|
55656
|
-
<li>OFF:关闭。</li>
|
|
55657
|
-
默认值:ON。
|
|
55684
|
+
:param _Switch: <p>能力配置开关,可选值:</p><li>ON:开启;</li><li>OFF:关闭。</li>默认值:ON。
|
|
55658
55685
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55659
55686
|
:type Switch: str
|
|
55660
|
-
:param _ImageAreaBoxes:
|
|
55661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
55687
|
+
:param _ImageAreaBoxes: <p>需要擦除的多个框选区域,最多开启16个区域。<br>注意:此字段可能返回 null,表示取不到有效值。</p>
|
|
55662
55688
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55663
55689
|
:type ImageAreaBoxes: list of ImageAreaBoxInfo
|
|
55664
|
-
:param _DetectTypes:
|
|
55665
|
-
<li>logo:图标;</li>
|
|
55666
|
-
<li>text:文字;</li>
|
|
55667
|
-
<li>watermark:水印;</li>
|
|
55690
|
+
:param _DetectTypes: <p>图片框选区域类型,可选值:</p><li>logo:图标;</li><li>text:文字;</li><li>watermark:水印;</li>
|
|
55668
55691
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55669
55692
|
:type DetectTypes: list of str
|
|
55693
|
+
:param _EraseStrength: <p>水印擦除能力档位,可选值:</p><p>枚举值:</p><ul><li>low: 快速擦除档位</li><li>mid: 擦除效果和速度均衡档位</li><li>high: 进阶擦除效果档位</li></ul><p>注意:根据擦除场景复杂度选择对应擦除档位。</p>
|
|
55694
|
+
:type EraseStrength: str
|
|
55695
|
+
:param _WatermarkType: <p>擦除图像水印时,选择特定水印类型,可选值:</p><p>枚举值:</p><ul><li>corner_watermark: 擦除常规定点水印</li><li>tiled_watermark: 擦除全图平铺水印</li><li>auto_detect_type: 自动识别水印类型擦除</li><li>selected_watermark: 跳过自动擦除,按指定位置进行水印擦除</li></ul>
|
|
55696
|
+
:type WatermarkType: str
|
|
55670
55697
|
"""
|
|
55671
55698
|
self._Switch = None
|
|
55672
55699
|
self._ImageAreaBoxes = None
|
|
55673
55700
|
self._DetectTypes = None
|
|
55701
|
+
self._EraseStrength = None
|
|
55702
|
+
self._WatermarkType = None
|
|
55674
55703
|
|
|
55675
55704
|
@property
|
|
55676
55705
|
def Switch(self):
|
|
55677
|
-
r"""
|
|
55678
|
-
<li>ON:开启;</li>
|
|
55679
|
-
<li>OFF:关闭。</li>
|
|
55680
|
-
默认值:ON。
|
|
55706
|
+
r"""<p>能力配置开关,可选值:</p><li>ON:开启;</li><li>OFF:关闭。</li>默认值:ON。
|
|
55681
55707
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55682
55708
|
:rtype: str
|
|
55683
55709
|
"""
|
|
@@ -55689,8 +55715,7 @@ class ImageEraseLogoConfig(AbstractModel):
|
|
|
55689
55715
|
|
|
55690
55716
|
@property
|
|
55691
55717
|
def ImageAreaBoxes(self):
|
|
55692
|
-
r"""
|
|
55693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
55718
|
+
r"""<p>需要擦除的多个框选区域,最多开启16个区域。<br>注意:此字段可能返回 null,表示取不到有效值。</p>
|
|
55694
55719
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55695
55720
|
:rtype: list of ImageAreaBoxInfo
|
|
55696
55721
|
"""
|
|
@@ -55702,10 +55727,7 @@ class ImageEraseLogoConfig(AbstractModel):
|
|
|
55702
55727
|
|
|
55703
55728
|
@property
|
|
55704
55729
|
def DetectTypes(self):
|
|
55705
|
-
r"""
|
|
55706
|
-
<li>logo:图标;</li>
|
|
55707
|
-
<li>text:文字;</li>
|
|
55708
|
-
<li>watermark:水印;</li>
|
|
55730
|
+
r"""<p>图片框选区域类型,可选值:</p><li>logo:图标;</li><li>text:文字;</li><li>watermark:水印;</li>
|
|
55709
55731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55710
55732
|
:rtype: list of str
|
|
55711
55733
|
"""
|
|
@@ -55715,6 +55737,28 @@ class ImageEraseLogoConfig(AbstractModel):
|
|
|
55715
55737
|
def DetectTypes(self, DetectTypes):
|
|
55716
55738
|
self._DetectTypes = DetectTypes
|
|
55717
55739
|
|
|
55740
|
+
@property
|
|
55741
|
+
def EraseStrength(self):
|
|
55742
|
+
r"""<p>水印擦除能力档位,可选值:</p><p>枚举值:</p><ul><li>low: 快速擦除档位</li><li>mid: 擦除效果和速度均衡档位</li><li>high: 进阶擦除效果档位</li></ul><p>注意:根据擦除场景复杂度选择对应擦除档位。</p>
|
|
55743
|
+
:rtype: str
|
|
55744
|
+
"""
|
|
55745
|
+
return self._EraseStrength
|
|
55746
|
+
|
|
55747
|
+
@EraseStrength.setter
|
|
55748
|
+
def EraseStrength(self, EraseStrength):
|
|
55749
|
+
self._EraseStrength = EraseStrength
|
|
55750
|
+
|
|
55751
|
+
@property
|
|
55752
|
+
def WatermarkType(self):
|
|
55753
|
+
r"""<p>擦除图像水印时,选择特定水印类型,可选值:</p><p>枚举值:</p><ul><li>corner_watermark: 擦除常规定点水印</li><li>tiled_watermark: 擦除全图平铺水印</li><li>auto_detect_type: 自动识别水印类型擦除</li><li>selected_watermark: 跳过自动擦除,按指定位置进行水印擦除</li></ul>
|
|
55754
|
+
:rtype: str
|
|
55755
|
+
"""
|
|
55756
|
+
return self._WatermarkType
|
|
55757
|
+
|
|
55758
|
+
@WatermarkType.setter
|
|
55759
|
+
def WatermarkType(self, WatermarkType):
|
|
55760
|
+
self._WatermarkType = WatermarkType
|
|
55761
|
+
|
|
55718
55762
|
|
|
55719
55763
|
def _deserialize(self, params):
|
|
55720
55764
|
self._Switch = params.get("Switch")
|
|
@@ -55725,6 +55769,8 @@ class ImageEraseLogoConfig(AbstractModel):
|
|
|
55725
55769
|
obj._deserialize(item)
|
|
55726
55770
|
self._ImageAreaBoxes.append(obj)
|
|
55727
55771
|
self._DetectTypes = params.get("DetectTypes")
|
|
55772
|
+
self._EraseStrength = params.get("EraseStrength")
|
|
55773
|
+
self._WatermarkType = params.get("WatermarkType")
|
|
55728
55774
|
memeber_set = set(params.keys())
|
|
55729
55775
|
for name, value in vars(self).items():
|
|
55730
55776
|
property_name = name[1:]
|
|
@@ -95226,7 +95272,7 @@ class UnderstandImageConfig(AbstractModel):
|
|
|
95226
95272
|
|
|
95227
95273
|
def __init__(self):
|
|
95228
95274
|
r"""
|
|
95229
|
-
:param _Model: <p>图片理解模型</p><p>枚举值:</p><ul><li>
|
|
95275
|
+
:param _Model: <p>图片理解模型</p><p>枚举值:</p><ul><li>understand-1.0-lite: 轻量理解模型</li><li>understand-1.0-flash: 质量-速度平衡理解模型</li><li>understand-1.0-pro: 高质量理解模型</li></ul>
|
|
95230
95276
|
:type Model: str
|
|
95231
95277
|
:param _Prompt: <p>图片理解指令</p>
|
|
95232
95278
|
:type Prompt: str
|
|
@@ -95239,7 +95285,7 @@ class UnderstandImageConfig(AbstractModel):
|
|
|
95239
95285
|
|
|
95240
95286
|
@property
|
|
95241
95287
|
def Model(self):
|
|
95242
|
-
r"""<p>图片理解模型</p><p>枚举值:</p><ul><li>
|
|
95288
|
+
r"""<p>图片理解模型</p><p>枚举值:</p><ul><li>understand-1.0-lite: 轻量理解模型</li><li>understand-1.0-flash: 质量-速度平衡理解模型</li><li>understand-1.0-pro: 高质量理解模型</li></ul>
|
|
95243
95289
|
:rtype: str
|
|
95244
95290
|
"""
|
|
95245
95291
|
return self._Model
|
|
@@ -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.180
|
|
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.180
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.180
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.178
|
|
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
|