tencentcloud-sdk-python-mps 3.1.183__tar.gz → 3.1.188__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.183 → tencentcloud_sdk_python_mps-3.1.188}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/v20190612/errorcodes.py +3 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/v20190612/models.py +424 -12
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.188/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.183/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.183 → tencentcloud_sdk_python_mps-3.1.188}/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.188
|
|
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.188
|
|
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.188,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -125,6 +125,9 @@ INVALIDPARAMETER_MODELNOTSUPPORTED = 'InvalidParameter.ModelNotSupported'
|
|
|
125
125
|
# InvalidParameter.Name
|
|
126
126
|
INVALIDPARAMETER_NAME = 'InvalidParameter.Name'
|
|
127
127
|
|
|
128
|
+
# 未指定输入类型
|
|
129
|
+
INVALIDPARAMETER_NOINPUTSPECIFIED = 'InvalidParameter.NoInputSpecified'
|
|
130
|
+
|
|
128
131
|
# InvalidParameter.NotFound
|
|
129
132
|
INVALIDPARAMETER_NOTFOUND = 'InvalidParameter.NotFound'
|
|
130
133
|
|
|
@@ -8068,6 +8068,87 @@ class AiCutoutConfig(AbstractModel):
|
|
|
8068
8068
|
|
|
8069
8069
|
|
|
8070
8070
|
|
|
8071
|
+
class AiDecomposeConfig(AbstractModel):
|
|
8072
|
+
r"""智能图层拆分配置。
|
|
8073
|
+
|
|
8074
|
+
"""
|
|
8075
|
+
|
|
8076
|
+
def __init__(self):
|
|
8077
|
+
r"""
|
|
8078
|
+
:param _Switch: <p>能力配置开关。</p><p>枚举值:</p><ul><li>ON: 开启图层分离功能。</li><li>OFF: 关闭图层分离功能。</li></ul><p>默认值:ON</p>
|
|
8079
|
+
:type Switch: str
|
|
8080
|
+
:param _Layers: <p>预期拆层数量。</p><p>取值范围:[2, 17]</p>
|
|
8081
|
+
:type Layers: int
|
|
8082
|
+
:param _Prompt: <p>提示词。</p>
|
|
8083
|
+
:type Prompt: str
|
|
8084
|
+
:param _Model: <p>模型名称。</p><p>枚举值:</p><ul><li>decompose-1.0-flash: 1.0版本 flash模型</li></ul>
|
|
8085
|
+
:type Model: str
|
|
8086
|
+
"""
|
|
8087
|
+
self._Switch = None
|
|
8088
|
+
self._Layers = None
|
|
8089
|
+
self._Prompt = None
|
|
8090
|
+
self._Model = None
|
|
8091
|
+
|
|
8092
|
+
@property
|
|
8093
|
+
def Switch(self):
|
|
8094
|
+
r"""<p>能力配置开关。</p><p>枚举值:</p><ul><li>ON: 开启图层分离功能。</li><li>OFF: 关闭图层分离功能。</li></ul><p>默认值:ON</p>
|
|
8095
|
+
:rtype: str
|
|
8096
|
+
"""
|
|
8097
|
+
return self._Switch
|
|
8098
|
+
|
|
8099
|
+
@Switch.setter
|
|
8100
|
+
def Switch(self, Switch):
|
|
8101
|
+
self._Switch = Switch
|
|
8102
|
+
|
|
8103
|
+
@property
|
|
8104
|
+
def Layers(self):
|
|
8105
|
+
r"""<p>预期拆层数量。</p><p>取值范围:[2, 17]</p>
|
|
8106
|
+
:rtype: int
|
|
8107
|
+
"""
|
|
8108
|
+
return self._Layers
|
|
8109
|
+
|
|
8110
|
+
@Layers.setter
|
|
8111
|
+
def Layers(self, Layers):
|
|
8112
|
+
self._Layers = Layers
|
|
8113
|
+
|
|
8114
|
+
@property
|
|
8115
|
+
def Prompt(self):
|
|
8116
|
+
r"""<p>提示词。</p>
|
|
8117
|
+
:rtype: str
|
|
8118
|
+
"""
|
|
8119
|
+
return self._Prompt
|
|
8120
|
+
|
|
8121
|
+
@Prompt.setter
|
|
8122
|
+
def Prompt(self, Prompt):
|
|
8123
|
+
self._Prompt = Prompt
|
|
8124
|
+
|
|
8125
|
+
@property
|
|
8126
|
+
def Model(self):
|
|
8127
|
+
r"""<p>模型名称。</p><p>枚举值:</p><ul><li>decompose-1.0-flash: 1.0版本 flash模型</li></ul>
|
|
8128
|
+
:rtype: str
|
|
8129
|
+
"""
|
|
8130
|
+
return self._Model
|
|
8131
|
+
|
|
8132
|
+
@Model.setter
|
|
8133
|
+
def Model(self, Model):
|
|
8134
|
+
self._Model = Model
|
|
8135
|
+
|
|
8136
|
+
|
|
8137
|
+
def _deserialize(self, params):
|
|
8138
|
+
self._Switch = params.get("Switch")
|
|
8139
|
+
self._Layers = params.get("Layers")
|
|
8140
|
+
self._Prompt = params.get("Prompt")
|
|
8141
|
+
self._Model = params.get("Model")
|
|
8142
|
+
memeber_set = set(params.keys())
|
|
8143
|
+
for name, value in vars(self).items():
|
|
8144
|
+
property_name = name[1:]
|
|
8145
|
+
if property_name in memeber_set:
|
|
8146
|
+
memeber_set.remove(property_name)
|
|
8147
|
+
if len(memeber_set) > 0:
|
|
8148
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8149
|
+
|
|
8150
|
+
|
|
8151
|
+
|
|
8071
8152
|
class AiDramaInput(AbstractModel):
|
|
8072
8153
|
r"""Ai自动生成漫剧的输入
|
|
8073
8154
|
|
|
@@ -16790,27 +16871,31 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16790
16871
|
|
|
16791
16872
|
def __init__(self):
|
|
16792
16873
|
r"""
|
|
16793
|
-
:param _Denoise:
|
|
16874
|
+
:param _Denoise: <p>音频降噪配置。</p>
|
|
16794
16875
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16795
16876
|
:type Denoise: :class:`tencentcloud.mps.v20190612.models.AudioDenoiseConfig`
|
|
16796
|
-
:param _Separate:
|
|
16877
|
+
:param _Separate: <p>音频分离配置。</p>
|
|
16797
16878
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16798
16879
|
:type Separate: :class:`tencentcloud.mps.v20190612.models.AudioSeparateConfig`
|
|
16799
|
-
:param _VolumeBalance:
|
|
16880
|
+
:param _VolumeBalance: <p>音量均衡配置。</p>
|
|
16800
16881
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16801
16882
|
:type VolumeBalance: :class:`tencentcloud.mps.v20190612.models.VolumeBalanceConfig`
|
|
16802
|
-
:param _Beautify:
|
|
16883
|
+
:param _Beautify: <p>音频美化配置。</p>
|
|
16803
16884
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16804
16885
|
:type Beautify: :class:`tencentcloud.mps.v20190612.models.AudioBeautifyConfig`
|
|
16886
|
+
:param _AudioEnhanceEdit: <p>音频增强编辑。</p>
|
|
16887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16888
|
+
:type AudioEnhanceEdit: :class:`tencentcloud.mps.v20190612.models.AudioEnhanceEditConfig`
|
|
16805
16889
|
"""
|
|
16806
16890
|
self._Denoise = None
|
|
16807
16891
|
self._Separate = None
|
|
16808
16892
|
self._VolumeBalance = None
|
|
16809
16893
|
self._Beautify = None
|
|
16894
|
+
self._AudioEnhanceEdit = None
|
|
16810
16895
|
|
|
16811
16896
|
@property
|
|
16812
16897
|
def Denoise(self):
|
|
16813
|
-
r"""
|
|
16898
|
+
r"""<p>音频降噪配置。</p>
|
|
16814
16899
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16815
16900
|
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioDenoiseConfig`
|
|
16816
16901
|
"""
|
|
@@ -16822,7 +16907,7 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16822
16907
|
|
|
16823
16908
|
@property
|
|
16824
16909
|
def Separate(self):
|
|
16825
|
-
r"""
|
|
16910
|
+
r"""<p>音频分离配置。</p>
|
|
16826
16911
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16827
16912
|
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioSeparateConfig`
|
|
16828
16913
|
"""
|
|
@@ -16834,7 +16919,7 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16834
16919
|
|
|
16835
16920
|
@property
|
|
16836
16921
|
def VolumeBalance(self):
|
|
16837
|
-
r"""
|
|
16922
|
+
r"""<p>音量均衡配置。</p>
|
|
16838
16923
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16839
16924
|
:rtype: :class:`tencentcloud.mps.v20190612.models.VolumeBalanceConfig`
|
|
16840
16925
|
"""
|
|
@@ -16846,7 +16931,7 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16846
16931
|
|
|
16847
16932
|
@property
|
|
16848
16933
|
def Beautify(self):
|
|
16849
|
-
r"""
|
|
16934
|
+
r"""<p>音频美化配置。</p>
|
|
16850
16935
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16851
16936
|
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioBeautifyConfig`
|
|
16852
16937
|
"""
|
|
@@ -16856,6 +16941,18 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16856
16941
|
def Beautify(self, Beautify):
|
|
16857
16942
|
self._Beautify = Beautify
|
|
16858
16943
|
|
|
16944
|
+
@property
|
|
16945
|
+
def AudioEnhanceEdit(self):
|
|
16946
|
+
r"""<p>音频增强编辑。</p>
|
|
16947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16948
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioEnhanceEditConfig`
|
|
16949
|
+
"""
|
|
16950
|
+
return self._AudioEnhanceEdit
|
|
16951
|
+
|
|
16952
|
+
@AudioEnhanceEdit.setter
|
|
16953
|
+
def AudioEnhanceEdit(self, AudioEnhanceEdit):
|
|
16954
|
+
self._AudioEnhanceEdit = AudioEnhanceEdit
|
|
16955
|
+
|
|
16859
16956
|
|
|
16860
16957
|
def _deserialize(self, params):
|
|
16861
16958
|
if params.get("Denoise") is not None:
|
|
@@ -16870,6 +16967,60 @@ class AudioEnhanceConfig(AbstractModel):
|
|
|
16870
16967
|
if params.get("Beautify") is not None:
|
|
16871
16968
|
self._Beautify = AudioBeautifyConfig()
|
|
16872
16969
|
self._Beautify._deserialize(params.get("Beautify"))
|
|
16970
|
+
if params.get("AudioEnhanceEdit") is not None:
|
|
16971
|
+
self._AudioEnhanceEdit = AudioEnhanceEditConfig()
|
|
16972
|
+
self._AudioEnhanceEdit._deserialize(params.get("AudioEnhanceEdit"))
|
|
16973
|
+
memeber_set = set(params.keys())
|
|
16974
|
+
for name, value in vars(self).items():
|
|
16975
|
+
property_name = name[1:]
|
|
16976
|
+
if property_name in memeber_set:
|
|
16977
|
+
memeber_set.remove(property_name)
|
|
16978
|
+
if len(memeber_set) > 0:
|
|
16979
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16980
|
+
|
|
16981
|
+
|
|
16982
|
+
|
|
16983
|
+
class AudioEnhanceEditConfig(AbstractModel):
|
|
16984
|
+
r"""音频增强编辑
|
|
16985
|
+
|
|
16986
|
+
"""
|
|
16987
|
+
|
|
16988
|
+
def __init__(self):
|
|
16989
|
+
r"""
|
|
16990
|
+
:param _Switch: <p>能力配置开关</p><p>枚举值:</p><ul><li>ON: 开启</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p>
|
|
16991
|
+
:type Switch: str
|
|
16992
|
+
:param _Type: <p>音频编辑类型</p><p>枚举值:</p><ul><li>restore: 修复</li></ul><p>默认值:restore</p>
|
|
16993
|
+
:type Type: str
|
|
16994
|
+
"""
|
|
16995
|
+
self._Switch = None
|
|
16996
|
+
self._Type = None
|
|
16997
|
+
|
|
16998
|
+
@property
|
|
16999
|
+
def Switch(self):
|
|
17000
|
+
r"""<p>能力配置开关</p><p>枚举值:</p><ul><li>ON: 开启</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p>
|
|
17001
|
+
:rtype: str
|
|
17002
|
+
"""
|
|
17003
|
+
return self._Switch
|
|
17004
|
+
|
|
17005
|
+
@Switch.setter
|
|
17006
|
+
def Switch(self, Switch):
|
|
17007
|
+
self._Switch = Switch
|
|
17008
|
+
|
|
17009
|
+
@property
|
|
17010
|
+
def Type(self):
|
|
17011
|
+
r"""<p>音频编辑类型</p><p>枚举值:</p><ul><li>restore: 修复</li></ul><p>默认值:restore</p>
|
|
17012
|
+
:rtype: str
|
|
17013
|
+
"""
|
|
17014
|
+
return self._Type
|
|
17015
|
+
|
|
17016
|
+
@Type.setter
|
|
17017
|
+
def Type(self, Type):
|
|
17018
|
+
self._Type = Type
|
|
17019
|
+
|
|
17020
|
+
|
|
17021
|
+
def _deserialize(self, params):
|
|
17022
|
+
self._Switch = params.get("Switch")
|
|
17023
|
+
self._Type = params.get("Type")
|
|
16873
17024
|
memeber_set = set(params.keys())
|
|
16874
17025
|
for name, value in vars(self).items():
|
|
16875
17026
|
property_name = name[1:]
|
|
@@ -34335,14 +34486,14 @@ class DeleteWordSamplesRequest(AbstractModel):
|
|
|
34335
34486
|
|
|
34336
34487
|
def __init__(self):
|
|
34337
34488
|
r"""
|
|
34338
|
-
:param _Keywords:
|
|
34489
|
+
:param _Keywords: <p>关键词,数组长度限制:100 个词。</p>
|
|
34339
34490
|
:type Keywords: list of str
|
|
34340
34491
|
"""
|
|
34341
34492
|
self._Keywords = None
|
|
34342
34493
|
|
|
34343
34494
|
@property
|
|
34344
34495
|
def Keywords(self):
|
|
34345
|
-
r"""
|
|
34496
|
+
r"""<p>关键词,数组长度限制:100 个词。</p>
|
|
34346
34497
|
:rtype: list of str
|
|
34347
34498
|
"""
|
|
34348
34499
|
return self._Keywords
|
|
@@ -37164,7 +37315,7 @@ class DescribeContentReviewTemplatesRequest(AbstractModel):
|
|
|
37164
37315
|
|
|
37165
37316
|
def __init__(self):
|
|
37166
37317
|
r"""
|
|
37167
|
-
:param _Definitions: 智能审核模板唯一标识过滤条件,数组长度限制:
|
|
37318
|
+
:param _Definitions: 智能审核模板唯一标识过滤条件,数组长度限制:100。
|
|
37168
37319
|
:type Definitions: list of int
|
|
37169
37320
|
:param _Offset: 分页偏移量,默认值:0。
|
|
37170
37321
|
:type Offset: int
|
|
@@ -37185,7 +37336,7 @@ class DescribeContentReviewTemplatesRequest(AbstractModel):
|
|
|
37185
37336
|
|
|
37186
37337
|
@property
|
|
37187
37338
|
def Definitions(self):
|
|
37188
|
-
r"""智能审核模板唯一标识过滤条件,数组长度限制:
|
|
37339
|
+
r"""智能审核模板唯一标识过滤条件,数组长度限制:100。
|
|
37189
37340
|
:rtype: list of int
|
|
37190
37341
|
"""
|
|
37191
37342
|
return self._Definitions
|
|
@@ -49210,6 +49361,59 @@ strong
|
|
|
49210
49361
|
|
|
49211
49362
|
|
|
49212
49363
|
|
|
49364
|
+
class DiffusionEnhanceV2Config(AbstractModel):
|
|
49365
|
+
r"""大模型增强-专业版
|
|
49366
|
+
|
|
49367
|
+
"""
|
|
49368
|
+
|
|
49369
|
+
def __init__(self):
|
|
49370
|
+
r"""
|
|
49371
|
+
:param _Switch: <p>能力配置开关</p><p>枚举值:</p><ul><li>ON: 开启</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p>
|
|
49372
|
+
:type Switch: str
|
|
49373
|
+
:param _Type: <p>强度类型</p><p>枚举值:</p><ul><li>weak: 弱</li><li>normal: 中</li><li>strong: 强</li></ul>
|
|
49374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
49375
|
+
:type Type: str
|
|
49376
|
+
"""
|
|
49377
|
+
self._Switch = None
|
|
49378
|
+
self._Type = None
|
|
49379
|
+
|
|
49380
|
+
@property
|
|
49381
|
+
def Switch(self):
|
|
49382
|
+
r"""<p>能力配置开关</p><p>枚举值:</p><ul><li>ON: 开启</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p>
|
|
49383
|
+
:rtype: str
|
|
49384
|
+
"""
|
|
49385
|
+
return self._Switch
|
|
49386
|
+
|
|
49387
|
+
@Switch.setter
|
|
49388
|
+
def Switch(self, Switch):
|
|
49389
|
+
self._Switch = Switch
|
|
49390
|
+
|
|
49391
|
+
@property
|
|
49392
|
+
def Type(self):
|
|
49393
|
+
r"""<p>强度类型</p><p>枚举值:</p><ul><li>weak: 弱</li><li>normal: 中</li><li>strong: 强</li></ul>
|
|
49394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
49395
|
+
:rtype: str
|
|
49396
|
+
"""
|
|
49397
|
+
return self._Type
|
|
49398
|
+
|
|
49399
|
+
@Type.setter
|
|
49400
|
+
def Type(self, Type):
|
|
49401
|
+
self._Type = Type
|
|
49402
|
+
|
|
49403
|
+
|
|
49404
|
+
def _deserialize(self, params):
|
|
49405
|
+
self._Switch = params.get("Switch")
|
|
49406
|
+
self._Type = params.get("Type")
|
|
49407
|
+
memeber_set = set(params.keys())
|
|
49408
|
+
for name, value in vars(self).items():
|
|
49409
|
+
property_name = name[1:]
|
|
49410
|
+
if property_name in memeber_set:
|
|
49411
|
+
memeber_set.remove(property_name)
|
|
49412
|
+
if len(memeber_set) > 0:
|
|
49413
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
49414
|
+
|
|
49415
|
+
|
|
49416
|
+
|
|
49213
49417
|
class DisableScheduleRequest(AbstractModel):
|
|
49214
49418
|
r"""DisableSchedule请求参数结构体
|
|
49215
49419
|
|
|
@@ -57263,6 +57467,8 @@ class ImageTaskInput(AbstractModel):
|
|
|
57263
57467
|
:type ImageQualityConfig: :class:`tencentcloud.mps.v20190612.models.ImageQualityConfig`
|
|
57264
57468
|
:param _AiComposeConfig: <p>图层融合配置。</p>
|
|
57265
57469
|
:type AiComposeConfig: :class:`tencentcloud.mps.v20190612.models.AiComposeConfig`
|
|
57470
|
+
:param _AiDecomposeConfig: <p>图层分离配置。</p>
|
|
57471
|
+
:type AiDecomposeConfig: :class:`tencentcloud.mps.v20190612.models.AiDecomposeConfig`
|
|
57266
57472
|
"""
|
|
57267
57473
|
self._EncodeConfig = None
|
|
57268
57474
|
self._EnhanceConfig = None
|
|
@@ -57279,6 +57485,7 @@ class ImageTaskInput(AbstractModel):
|
|
|
57279
57485
|
self._UnderstandImageConfig = None
|
|
57280
57486
|
self._ImageQualityConfig = None
|
|
57281
57487
|
self._AiComposeConfig = None
|
|
57488
|
+
self._AiDecomposeConfig = None
|
|
57282
57489
|
|
|
57283
57490
|
@property
|
|
57284
57491
|
def EncodeConfig(self):
|
|
@@ -57449,6 +57656,17 @@ class ImageTaskInput(AbstractModel):
|
|
|
57449
57656
|
def AiComposeConfig(self, AiComposeConfig):
|
|
57450
57657
|
self._AiComposeConfig = AiComposeConfig
|
|
57451
57658
|
|
|
57659
|
+
@property
|
|
57660
|
+
def AiDecomposeConfig(self):
|
|
57661
|
+
r"""<p>图层分离配置。</p>
|
|
57662
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AiDecomposeConfig`
|
|
57663
|
+
"""
|
|
57664
|
+
return self._AiDecomposeConfig
|
|
57665
|
+
|
|
57666
|
+
@AiDecomposeConfig.setter
|
|
57667
|
+
def AiDecomposeConfig(self, AiDecomposeConfig):
|
|
57668
|
+
self._AiDecomposeConfig = AiDecomposeConfig
|
|
57669
|
+
|
|
57452
57670
|
|
|
57453
57671
|
def _deserialize(self, params):
|
|
57454
57672
|
if params.get("EncodeConfig") is not None:
|
|
@@ -57496,6 +57714,9 @@ class ImageTaskInput(AbstractModel):
|
|
|
57496
57714
|
if params.get("AiComposeConfig") is not None:
|
|
57497
57715
|
self._AiComposeConfig = AiComposeConfig()
|
|
57498
57716
|
self._AiComposeConfig._deserialize(params.get("AiComposeConfig"))
|
|
57717
|
+
if params.get("AiDecomposeConfig") is not None:
|
|
57718
|
+
self._AiDecomposeConfig = AiDecomposeConfig()
|
|
57719
|
+
self._AiDecomposeConfig._deserialize(params.get("AiDecomposeConfig"))
|
|
57499
57720
|
memeber_set = set(params.keys())
|
|
57500
57721
|
for name, value in vars(self).items():
|
|
57501
57722
|
property_name = name[1:]
|
|
@@ -78638,6 +78859,26 @@ class QueryHunyuan3DTaskResponse(AbstractModel):
|
|
|
78638
78859
|
:type ErrorMessage: str
|
|
78639
78860
|
:param _ResultFile3Ds: <p>仅 Status=DONE 时有值,产物文件列表</p>
|
|
78640
78861
|
:type ResultFile3Ds: list of File3D
|
|
78862
|
+
:param _TaskId: <p>任务ID</p>
|
|
78863
|
+
:type TaskId: str
|
|
78864
|
+
:param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>text_to_3d: 文生3D</li><li>image_to_3d: 图生3D</li><li>multiview_to_3d: 多视图生3D</li><li>mesh_to_texture: 网格生纹理</li><li>mesh_to_geometry: 网格生几何</li></ul>
|
|
78865
|
+
:type TaskType: str
|
|
78866
|
+
:param _Prompt: <p>输入的Prompt</p>
|
|
78867
|
+
:type Prompt: str
|
|
78868
|
+
:param _RefImage: <p>图生3D场景下输入的图片URL</p>
|
|
78869
|
+
:type RefImage: str
|
|
78870
|
+
:param _MultiViewImages: <p>多图生3D场景下输入的图片信息</p>
|
|
78871
|
+
:type MultiViewImages: list of ViewImage
|
|
78872
|
+
:param _CreateTime: <p>任务创建时间</p>
|
|
78873
|
+
:type CreateTime: str
|
|
78874
|
+
:param _UpdateTime: <p>任务更新时间</p>
|
|
78875
|
+
:type UpdateTime: str
|
|
78876
|
+
:param _FaceCount: <p>提交任务的目标面数</p>
|
|
78877
|
+
:type FaceCount: int
|
|
78878
|
+
:param _GenerateType: <p>生成类型</p><p>枚举值:</p><ul><li>Normal: 生成完整 3D 资产(几何 + 纹理)</li><li>Geometry: 只生成几何体(无纹理,输出速度更快)</li><li>Texture: 只生成纹理(需要传 MeshUrl)</li></ul><p>默认值:Normal</p>
|
|
78879
|
+
:type GenerateType: str
|
|
78880
|
+
:param _QueuePosition: <p>任务在队列中的位置,数值越小越靠前;</p>
|
|
78881
|
+
:type QueuePosition: int
|
|
78641
78882
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
78642
78883
|
:type RequestId: str
|
|
78643
78884
|
"""
|
|
@@ -78646,6 +78887,16 @@ class QueryHunyuan3DTaskResponse(AbstractModel):
|
|
|
78646
78887
|
self._ErrorCode = None
|
|
78647
78888
|
self._ErrorMessage = None
|
|
78648
78889
|
self._ResultFile3Ds = None
|
|
78890
|
+
self._TaskId = None
|
|
78891
|
+
self._TaskType = None
|
|
78892
|
+
self._Prompt = None
|
|
78893
|
+
self._RefImage = None
|
|
78894
|
+
self._MultiViewImages = None
|
|
78895
|
+
self._CreateTime = None
|
|
78896
|
+
self._UpdateTime = None
|
|
78897
|
+
self._FaceCount = None
|
|
78898
|
+
self._GenerateType = None
|
|
78899
|
+
self._QueuePosition = None
|
|
78649
78900
|
self._RequestId = None
|
|
78650
78901
|
|
|
78651
78902
|
@property
|
|
@@ -78703,6 +78954,116 @@ class QueryHunyuan3DTaskResponse(AbstractModel):
|
|
|
78703
78954
|
def ResultFile3Ds(self, ResultFile3Ds):
|
|
78704
78955
|
self._ResultFile3Ds = ResultFile3Ds
|
|
78705
78956
|
|
|
78957
|
+
@property
|
|
78958
|
+
def TaskId(self):
|
|
78959
|
+
r"""<p>任务ID</p>
|
|
78960
|
+
:rtype: str
|
|
78961
|
+
"""
|
|
78962
|
+
return self._TaskId
|
|
78963
|
+
|
|
78964
|
+
@TaskId.setter
|
|
78965
|
+
def TaskId(self, TaskId):
|
|
78966
|
+
self._TaskId = TaskId
|
|
78967
|
+
|
|
78968
|
+
@property
|
|
78969
|
+
def TaskType(self):
|
|
78970
|
+
r"""<p>任务类型</p><p>枚举值:</p><ul><li>text_to_3d: 文生3D</li><li>image_to_3d: 图生3D</li><li>multiview_to_3d: 多视图生3D</li><li>mesh_to_texture: 网格生纹理</li><li>mesh_to_geometry: 网格生几何</li></ul>
|
|
78971
|
+
:rtype: str
|
|
78972
|
+
"""
|
|
78973
|
+
return self._TaskType
|
|
78974
|
+
|
|
78975
|
+
@TaskType.setter
|
|
78976
|
+
def TaskType(self, TaskType):
|
|
78977
|
+
self._TaskType = TaskType
|
|
78978
|
+
|
|
78979
|
+
@property
|
|
78980
|
+
def Prompt(self):
|
|
78981
|
+
r"""<p>输入的Prompt</p>
|
|
78982
|
+
:rtype: str
|
|
78983
|
+
"""
|
|
78984
|
+
return self._Prompt
|
|
78985
|
+
|
|
78986
|
+
@Prompt.setter
|
|
78987
|
+
def Prompt(self, Prompt):
|
|
78988
|
+
self._Prompt = Prompt
|
|
78989
|
+
|
|
78990
|
+
@property
|
|
78991
|
+
def RefImage(self):
|
|
78992
|
+
r"""<p>图生3D场景下输入的图片URL</p>
|
|
78993
|
+
:rtype: str
|
|
78994
|
+
"""
|
|
78995
|
+
return self._RefImage
|
|
78996
|
+
|
|
78997
|
+
@RefImage.setter
|
|
78998
|
+
def RefImage(self, RefImage):
|
|
78999
|
+
self._RefImage = RefImage
|
|
79000
|
+
|
|
79001
|
+
@property
|
|
79002
|
+
def MultiViewImages(self):
|
|
79003
|
+
r"""<p>多图生3D场景下输入的图片信息</p>
|
|
79004
|
+
:rtype: list of ViewImage
|
|
79005
|
+
"""
|
|
79006
|
+
return self._MultiViewImages
|
|
79007
|
+
|
|
79008
|
+
@MultiViewImages.setter
|
|
79009
|
+
def MultiViewImages(self, MultiViewImages):
|
|
79010
|
+
self._MultiViewImages = MultiViewImages
|
|
79011
|
+
|
|
79012
|
+
@property
|
|
79013
|
+
def CreateTime(self):
|
|
79014
|
+
r"""<p>任务创建时间</p>
|
|
79015
|
+
:rtype: str
|
|
79016
|
+
"""
|
|
79017
|
+
return self._CreateTime
|
|
79018
|
+
|
|
79019
|
+
@CreateTime.setter
|
|
79020
|
+
def CreateTime(self, CreateTime):
|
|
79021
|
+
self._CreateTime = CreateTime
|
|
79022
|
+
|
|
79023
|
+
@property
|
|
79024
|
+
def UpdateTime(self):
|
|
79025
|
+
r"""<p>任务更新时间</p>
|
|
79026
|
+
:rtype: str
|
|
79027
|
+
"""
|
|
79028
|
+
return self._UpdateTime
|
|
79029
|
+
|
|
79030
|
+
@UpdateTime.setter
|
|
79031
|
+
def UpdateTime(self, UpdateTime):
|
|
79032
|
+
self._UpdateTime = UpdateTime
|
|
79033
|
+
|
|
79034
|
+
@property
|
|
79035
|
+
def FaceCount(self):
|
|
79036
|
+
r"""<p>提交任务的目标面数</p>
|
|
79037
|
+
:rtype: int
|
|
79038
|
+
"""
|
|
79039
|
+
return self._FaceCount
|
|
79040
|
+
|
|
79041
|
+
@FaceCount.setter
|
|
79042
|
+
def FaceCount(self, FaceCount):
|
|
79043
|
+
self._FaceCount = FaceCount
|
|
79044
|
+
|
|
79045
|
+
@property
|
|
79046
|
+
def GenerateType(self):
|
|
79047
|
+
r"""<p>生成类型</p><p>枚举值:</p><ul><li>Normal: 生成完整 3D 资产(几何 + 纹理)</li><li>Geometry: 只生成几何体(无纹理,输出速度更快)</li><li>Texture: 只生成纹理(需要传 MeshUrl)</li></ul><p>默认值:Normal</p>
|
|
79048
|
+
:rtype: str
|
|
79049
|
+
"""
|
|
79050
|
+
return self._GenerateType
|
|
79051
|
+
|
|
79052
|
+
@GenerateType.setter
|
|
79053
|
+
def GenerateType(self, GenerateType):
|
|
79054
|
+
self._GenerateType = GenerateType
|
|
79055
|
+
|
|
79056
|
+
@property
|
|
79057
|
+
def QueuePosition(self):
|
|
79058
|
+
r"""<p>任务在队列中的位置,数值越小越靠前;</p>
|
|
79059
|
+
:rtype: int
|
|
79060
|
+
"""
|
|
79061
|
+
return self._QueuePosition
|
|
79062
|
+
|
|
79063
|
+
@QueuePosition.setter
|
|
79064
|
+
def QueuePosition(self, QueuePosition):
|
|
79065
|
+
self._QueuePosition = QueuePosition
|
|
79066
|
+
|
|
78706
79067
|
@property
|
|
78707
79068
|
def RequestId(self):
|
|
78708
79069
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -78726,6 +79087,21 @@ class QueryHunyuan3DTaskResponse(AbstractModel):
|
|
|
78726
79087
|
obj = File3D()
|
|
78727
79088
|
obj._deserialize(item)
|
|
78728
79089
|
self._ResultFile3Ds.append(obj)
|
|
79090
|
+
self._TaskId = params.get("TaskId")
|
|
79091
|
+
self._TaskType = params.get("TaskType")
|
|
79092
|
+
self._Prompt = params.get("Prompt")
|
|
79093
|
+
self._RefImage = params.get("RefImage")
|
|
79094
|
+
if params.get("MultiViewImages") is not None:
|
|
79095
|
+
self._MultiViewImages = []
|
|
79096
|
+
for item in params.get("MultiViewImages"):
|
|
79097
|
+
obj = ViewImage()
|
|
79098
|
+
obj._deserialize(item)
|
|
79099
|
+
self._MultiViewImages.append(obj)
|
|
79100
|
+
self._CreateTime = params.get("CreateTime")
|
|
79101
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
79102
|
+
self._FaceCount = params.get("FaceCount")
|
|
79103
|
+
self._GenerateType = params.get("GenerateType")
|
|
79104
|
+
self._QueuePosition = params.get("QueuePosition")
|
|
78729
79105
|
self._RequestId = params.get("RequestId")
|
|
78730
79106
|
|
|
78731
79107
|
|
|
@@ -89381,6 +89757,8 @@ class SubmitHunyuan3DTaskRequest(AbstractModel):
|
|
|
89381
89757
|
:type Seed: int
|
|
89382
89758
|
:param _Style: <p>风格控制词</p>
|
|
89383
89759
|
:type Style: str
|
|
89760
|
+
:param _StoreCosParam: <p>客户自己申请创建的COS存储桶</p>
|
|
89761
|
+
:type StoreCosParam: :class:`tencentcloud.mps.v20190612.models.AigcStoreCosParam`
|
|
89384
89762
|
"""
|
|
89385
89763
|
self._Prompt = None
|
|
89386
89764
|
self._ImageUrl = None
|
|
@@ -89393,6 +89771,7 @@ class SubmitHunyuan3DTaskRequest(AbstractModel):
|
|
|
89393
89771
|
self._ResultFormat = None
|
|
89394
89772
|
self._Seed = None
|
|
89395
89773
|
self._Style = None
|
|
89774
|
+
self._StoreCosParam = None
|
|
89396
89775
|
|
|
89397
89776
|
@property
|
|
89398
89777
|
def Prompt(self):
|
|
@@ -89515,6 +89894,17 @@ class SubmitHunyuan3DTaskRequest(AbstractModel):
|
|
|
89515
89894
|
def Style(self, Style):
|
|
89516
89895
|
self._Style = Style
|
|
89517
89896
|
|
|
89897
|
+
@property
|
|
89898
|
+
def StoreCosParam(self):
|
|
89899
|
+
r"""<p>客户自己申请创建的COS存储桶</p>
|
|
89900
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.AigcStoreCosParam`
|
|
89901
|
+
"""
|
|
89902
|
+
return self._StoreCosParam
|
|
89903
|
+
|
|
89904
|
+
@StoreCosParam.setter
|
|
89905
|
+
def StoreCosParam(self, StoreCosParam):
|
|
89906
|
+
self._StoreCosParam = StoreCosParam
|
|
89907
|
+
|
|
89518
89908
|
|
|
89519
89909
|
def _deserialize(self, params):
|
|
89520
89910
|
self._Prompt = params.get("Prompt")
|
|
@@ -89533,6 +89923,9 @@ class SubmitHunyuan3DTaskRequest(AbstractModel):
|
|
|
89533
89923
|
self._ResultFormat = params.get("ResultFormat")
|
|
89534
89924
|
self._Seed = params.get("Seed")
|
|
89535
89925
|
self._Style = params.get("Style")
|
|
89926
|
+
if params.get("StoreCosParam") is not None:
|
|
89927
|
+
self._StoreCosParam = AigcStoreCosParam()
|
|
89928
|
+
self._StoreCosParam._deserialize(params.get("StoreCosParam"))
|
|
89536
89929
|
memeber_set = set(params.keys())
|
|
89537
89930
|
for name, value in vars(self).items():
|
|
89538
89931
|
property_name = name[1:]
|
|
@@ -97959,6 +98352,9 @@ class VideoEnhanceConfig(AbstractModel):
|
|
|
97959
98352
|
:param _AiRestoration: <p>大模型修复配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。</p>
|
|
97960
98353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
97961
98354
|
:type AiRestoration: :class:`tencentcloud.mps.v20190612.models.AiRestorationConfig`
|
|
98355
|
+
:param _DiffusionEnhanceV2: <p>大模型增强专业版配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。</p>
|
|
98356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98357
|
+
:type DiffusionEnhanceV2: :class:`tencentcloud.mps.v20190612.models.DiffusionEnhanceV2Config`
|
|
97962
98358
|
"""
|
|
97963
98359
|
self._FrameRate = None
|
|
97964
98360
|
self._SuperResolution = None
|
|
@@ -97973,6 +98369,7 @@ class VideoEnhanceConfig(AbstractModel):
|
|
|
97973
98369
|
self._DiffusionEnhance = None
|
|
97974
98370
|
self._FrameRateWithDen = None
|
|
97975
98371
|
self._AiRestoration = None
|
|
98372
|
+
self._DiffusionEnhanceV2 = None
|
|
97976
98373
|
|
|
97977
98374
|
@property
|
|
97978
98375
|
def FrameRate(self):
|
|
@@ -98130,6 +98527,18 @@ class VideoEnhanceConfig(AbstractModel):
|
|
|
98130
98527
|
def AiRestoration(self, AiRestoration):
|
|
98131
98528
|
self._AiRestoration = AiRestoration
|
|
98132
98529
|
|
|
98530
|
+
@property
|
|
98531
|
+
def DiffusionEnhanceV2(self):
|
|
98532
|
+
r"""<p>大模型增强专业版配置。注意大模型、综合增强、去毛刺三项里最多配置一项。且不可与超分、降噪同时开启。</p>
|
|
98533
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98534
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DiffusionEnhanceV2Config`
|
|
98535
|
+
"""
|
|
98536
|
+
return self._DiffusionEnhanceV2
|
|
98537
|
+
|
|
98538
|
+
@DiffusionEnhanceV2.setter
|
|
98539
|
+
def DiffusionEnhanceV2(self, DiffusionEnhanceV2):
|
|
98540
|
+
self._DiffusionEnhanceV2 = DiffusionEnhanceV2
|
|
98541
|
+
|
|
98133
98542
|
|
|
98134
98543
|
def _deserialize(self, params):
|
|
98135
98544
|
if params.get("FrameRate") is not None:
|
|
@@ -98169,6 +98578,9 @@ class VideoEnhanceConfig(AbstractModel):
|
|
|
98169
98578
|
if params.get("AiRestoration") is not None:
|
|
98170
98579
|
self._AiRestoration = AiRestorationConfig()
|
|
98171
98580
|
self._AiRestoration._deserialize(params.get("AiRestoration"))
|
|
98581
|
+
if params.get("DiffusionEnhanceV2") is not None:
|
|
98582
|
+
self._DiffusionEnhanceV2 = DiffusionEnhanceV2Config()
|
|
98583
|
+
self._DiffusionEnhanceV2._deserialize(params.get("DiffusionEnhanceV2"))
|
|
98172
98584
|
memeber_set = set(params.keys())
|
|
98173
98585
|
for name, value in vars(self).items():
|
|
98174
98586
|
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.188
|
|
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.188
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.188
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.183
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|