tencentcloud-sdk-python-mps 3.1.129__py2.py3-none-any.whl → 3.1.131__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.129'
17
+ __version__ = '3.1.131'
@@ -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.129
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.129
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.131
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=f4JqVjj_StMd-z3jpkGB7D8oK_h7HJatqSqmqPRSOjc,630
1
+ tencentcloud/__init__.py,sha256=iPUcKGFMg5GkAgZid5JUePDxvlaJUP1qFKrO_ekYmg0,630
2
2
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/mps/v20190612/errorcodes.py,sha256=5etDi2ekQP5GQTA7Gq-XSMObBXDtIo6cdEn-ERhosaU,20892
5
- tencentcloud/mps/v20190612/models.py,sha256=A7V7sobNox6e-jfZU9BWBQipVhFMgYJ4Movd6wOLwLg,3339507
5
+ tencentcloud/mps/v20190612/models.py,sha256=5L2euCMobNwT-m6afCXdvOZFfQajnwoO4E3pinHPaeI,3341235
6
6
  tencentcloud/mps/v20190612/mps_client.py,sha256=KG8PKFx_mbVHfIp6OMf-QrRaUW0zZec6cuc3ROJgf4U,208949
7
7
  tencentcloud/mps/v20190612/mps_client_async.py,sha256=EcOP-YTzjvLMiNo-eOma6AD6eG7n6vICuF7gYQ9WA68,143681
8
- tencentcloud_sdk_python_mps-3.1.129.dist-info/METADATA,sha256=VvbskdMghl9lNsVUqAg8-77f8szT_CargESpbxkKG04,1497
9
- tencentcloud_sdk_python_mps-3.1.129.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_mps-3.1.129.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_mps-3.1.129.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_mps-3.1.131.dist-info/METADATA,sha256=GWfDRLbmm3NaI5vwnHmRugTn3DLhLLclAFlvNB37Mgs,1497
9
+ tencentcloud_sdk_python_mps-3.1.131.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_mps-3.1.131.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_mps-3.1.131.dist-info/RECORD,,