tencentcloud-sdk-python-mps 3.1.129__tar.gz → 3.1.131__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.129 → tencentcloud_sdk_python_mps-3.1.131}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/v20190612/models.py +56 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.131/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.129/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.129 → tencentcloud_sdk_python_mps-3.1.131}/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.131
|
|
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.131
|
|
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.131,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -13497,6 +13497,42 @@ class AigcVideoExtraParam(AbstractModel):
|
|
|
13497
13497
|
|
|
13498
13498
|
|
|
13499
13499
|
|
|
13500
|
+
class AigcVideoReferenceAudioInfo(AbstractModel):
|
|
13501
|
+
r"""参考音频信息。
|
|
13502
|
+
|
|
13503
|
+
"""
|
|
13504
|
+
|
|
13505
|
+
def __init__(self):
|
|
13506
|
+
r"""
|
|
13507
|
+
:param _AudioUrl: <p>参考音频URL信息。需外网可访问。</p>
|
|
13508
|
+
:type AudioUrl: str
|
|
13509
|
+
"""
|
|
13510
|
+
self._AudioUrl = None
|
|
13511
|
+
|
|
13512
|
+
@property
|
|
13513
|
+
def AudioUrl(self):
|
|
13514
|
+
r"""<p>参考音频URL信息。需外网可访问。</p>
|
|
13515
|
+
:rtype: str
|
|
13516
|
+
"""
|
|
13517
|
+
return self._AudioUrl
|
|
13518
|
+
|
|
13519
|
+
@AudioUrl.setter
|
|
13520
|
+
def AudioUrl(self, AudioUrl):
|
|
13521
|
+
self._AudioUrl = AudioUrl
|
|
13522
|
+
|
|
13523
|
+
|
|
13524
|
+
def _deserialize(self, params):
|
|
13525
|
+
self._AudioUrl = params.get("AudioUrl")
|
|
13526
|
+
memeber_set = set(params.keys())
|
|
13527
|
+
for name, value in vars(self).items():
|
|
13528
|
+
property_name = name[1:]
|
|
13529
|
+
if property_name in memeber_set:
|
|
13530
|
+
memeber_set.remove(property_name)
|
|
13531
|
+
if len(memeber_set) > 0:
|
|
13532
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13533
|
+
|
|
13534
|
+
|
|
13535
|
+
|
|
13500
13536
|
class AigcVideoReferenceImageInfo(AbstractModel):
|
|
13501
13537
|
r"""用于AIGC生视频创作的参考图片信息。
|
|
13502
13538
|
|
|
@@ -21089,6 +21125,8 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
21089
21125
|
:type ImageInfos: list of AigcVideoReferenceImageInfo
|
|
21090
21126
|
:param _VideoInfos: <p>目前仅 Kling O1、Kling 3.0-Omni、Vidu q2-pro、H2 1.0 支持参考视频信息传入。</p><ol><li>Kling O1、3.0-Omni 可作为特征参考视频,也可作为待编辑视频,默认为待编辑视频;可选择性保留视频原声。</li><li>Vidu q2-pro 支持视频参考。</li><li>H2 1.0 支持视频参考。</li></ol>
|
|
21091
21127
|
:type VideoInfos: list of AigcVideoReferenceVideoInfo
|
|
21128
|
+
:param _AudioInfos: <p>部分模型支持参考音频传入,使用URL传入。</p>
|
|
21129
|
+
:type AudioInfos: list of AigcVideoReferenceAudioInfo
|
|
21092
21130
|
:param _Duration: <p>生成视频的时长。<br>注意:</p><ol><li>Kling,默认:5 秒。<ul><li>O1 支持 3-10 秒。</li><li>3.0-Omni 支持 3-15 秒,当使用视频参考时只支持 3-10 秒。</li><li>3.0 支持 3-15 秒。</li><li>其他版本支持 5、10 秒。</li></ul></li><li>Hailuo 的 std 模式可支持 6、10 秒,其他仅 6 秒。默认:6 秒。</li><li>Vidu,默认:5 秒。<ul><li>q3-pro、q3-turbo、q3、q3-mix 支持 3-16 秒。</li><li>q2-pro、q2-turbo、q2 支持 1-10 秒。 </li></ul></li><li>PixVerse,默认:5 秒。<ul><li>v5.6 支持 5、8、10 秒。</li><li>v6、c1 支持 1-15 秒。</li></ul></li><li>H2,支持 3-15 秒,默认 :5 秒。</li></ol>
|
|
21093
21131
|
:type Duration: int
|
|
21094
21132
|
:param _ExtraParameters: <p>用于传入要求的额外参数。</p>
|
|
@@ -21110,6 +21148,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
21110
21148
|
self._LastImageUrl = None
|
|
21111
21149
|
self._ImageInfos = None
|
|
21112
21150
|
self._VideoInfos = None
|
|
21151
|
+
self._AudioInfos = None
|
|
21113
21152
|
self._Duration = None
|
|
21114
21153
|
self._ExtraParameters = None
|
|
21115
21154
|
self._StoreCosParam = None
|
|
@@ -21226,6 +21265,17 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
21226
21265
|
def VideoInfos(self, VideoInfos):
|
|
21227
21266
|
self._VideoInfos = VideoInfos
|
|
21228
21267
|
|
|
21268
|
+
@property
|
|
21269
|
+
def AudioInfos(self):
|
|
21270
|
+
r"""<p>部分模型支持参考音频传入,使用URL传入。</p>
|
|
21271
|
+
:rtype: list of AigcVideoReferenceAudioInfo
|
|
21272
|
+
"""
|
|
21273
|
+
return self._AudioInfos
|
|
21274
|
+
|
|
21275
|
+
@AudioInfos.setter
|
|
21276
|
+
def AudioInfos(self, AudioInfos):
|
|
21277
|
+
self._AudioInfos = AudioInfos
|
|
21278
|
+
|
|
21229
21279
|
@property
|
|
21230
21280
|
def Duration(self):
|
|
21231
21281
|
r"""<p>生成视频的时长。<br>注意:</p><ol><li>Kling,默认:5 秒。<ul><li>O1 支持 3-10 秒。</li><li>3.0-Omni 支持 3-15 秒,当使用视频参考时只支持 3-10 秒。</li><li>3.0 支持 3-15 秒。</li><li>其他版本支持 5、10 秒。</li></ul></li><li>Hailuo 的 std 模式可支持 6、10 秒,其他仅 6 秒。默认:6 秒。</li><li>Vidu,默认:5 秒。<ul><li>q3-pro、q3-turbo、q3、q3-mix 支持 3-16 秒。</li><li>q2-pro、q2-turbo、q2 支持 1-10 秒。 </li></ul></li><li>PixVerse,默认:5 秒。<ul><li>v5.6 支持 5、8、10 秒。</li><li>v6、c1 支持 1-15 秒。</li></ul></li><li>H2,支持 3-15 秒,默认 :5 秒。</li></ol>
|
|
@@ -21303,6 +21353,12 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
21303
21353
|
obj = AigcVideoReferenceVideoInfo()
|
|
21304
21354
|
obj._deserialize(item)
|
|
21305
21355
|
self._VideoInfos.append(obj)
|
|
21356
|
+
if params.get("AudioInfos") is not None:
|
|
21357
|
+
self._AudioInfos = []
|
|
21358
|
+
for item in params.get("AudioInfos"):
|
|
21359
|
+
obj = AigcVideoReferenceAudioInfo()
|
|
21360
|
+
obj._deserialize(item)
|
|
21361
|
+
self._AudioInfos.append(obj)
|
|
21306
21362
|
self._Duration = params.get("Duration")
|
|
21307
21363
|
if params.get("ExtraParameters") is not None:
|
|
21308
21364
|
self._ExtraParameters = AigcVideoExtraParam()
|
|
@@ -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.131
|
|
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.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.129
|
|
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
|