tencentcloud-sdk-python-mps 3.1.196__py2.py3-none-any.whl → 3.1.200__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 +1 -1
- tencentcloud/mps/v20190612/models.py +123 -10
- {tencentcloud_sdk_python_mps-3.1.196.dist-info → tencentcloud_sdk_python_mps-3.1.200.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_mps-3.1.196.dist-info → tencentcloud_sdk_python_mps-3.1.200.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_mps-3.1.196.dist-info → tencentcloud_sdk_python_mps-3.1.200.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_mps-3.1.196.dist-info → tencentcloud_sdk_python_mps-3.1.200.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -19312,11 +19312,14 @@ class CloneViralAIGC(AbstractModel):
|
|
|
19312
19312
|
:type Resolution: str
|
|
19313
19313
|
:param _ModelTier: <p>模式。flagship(高级版,默认)、standard(标准版)、depthcrafter(深度提取)</p>
|
|
19314
19314
|
:type ModelTier: str
|
|
19315
|
+
:param _DepthWithAudio: <p>深度估计结果是否含音频, 默认不含</p>
|
|
19316
|
+
:type DepthWithAudio: bool
|
|
19315
19317
|
"""
|
|
19316
19318
|
self._Duration = None
|
|
19317
19319
|
self._AspectRatio = None
|
|
19318
19320
|
self._Resolution = None
|
|
19319
19321
|
self._ModelTier = None
|
|
19322
|
+
self._DepthWithAudio = None
|
|
19320
19323
|
|
|
19321
19324
|
@property
|
|
19322
19325
|
def Duration(self):
|
|
@@ -19362,12 +19365,24 @@ class CloneViralAIGC(AbstractModel):
|
|
|
19362
19365
|
def ModelTier(self, ModelTier):
|
|
19363
19366
|
self._ModelTier = ModelTier
|
|
19364
19367
|
|
|
19368
|
+
@property
|
|
19369
|
+
def DepthWithAudio(self):
|
|
19370
|
+
r"""<p>深度估计结果是否含音频, 默认不含</p>
|
|
19371
|
+
:rtype: bool
|
|
19372
|
+
"""
|
|
19373
|
+
return self._DepthWithAudio
|
|
19374
|
+
|
|
19375
|
+
@DepthWithAudio.setter
|
|
19376
|
+
def DepthWithAudio(self, DepthWithAudio):
|
|
19377
|
+
self._DepthWithAudio = DepthWithAudio
|
|
19378
|
+
|
|
19365
19379
|
|
|
19366
19380
|
def _deserialize(self, params):
|
|
19367
19381
|
self._Duration = params.get("Duration")
|
|
19368
19382
|
self._AspectRatio = params.get("AspectRatio")
|
|
19369
19383
|
self._Resolution = params.get("Resolution")
|
|
19370
19384
|
self._ModelTier = params.get("ModelTier")
|
|
19385
|
+
self._DepthWithAudio = params.get("DepthWithAudio")
|
|
19371
19386
|
memeber_set = set(params.keys())
|
|
19372
19387
|
for name, value in vars(self).items():
|
|
19373
19388
|
property_name = name[1:]
|
|
@@ -19593,11 +19608,14 @@ class CloneViralPersona(AbstractModel):
|
|
|
19593
19608
|
:type Ethnicity: str
|
|
19594
19609
|
:param _BodyType: <p>体型。slim / standard / athletic / chubby</p>
|
|
19595
19610
|
:type BodyType: str
|
|
19611
|
+
:param _Images: <p>人物图片</p>
|
|
19612
|
+
:type Images: list of str
|
|
19596
19613
|
"""
|
|
19597
19614
|
self._Gender = None
|
|
19598
19615
|
self._Age = None
|
|
19599
19616
|
self._Ethnicity = None
|
|
19600
19617
|
self._BodyType = None
|
|
19618
|
+
self._Images = None
|
|
19601
19619
|
|
|
19602
19620
|
@property
|
|
19603
19621
|
def Gender(self):
|
|
@@ -19643,12 +19661,24 @@ class CloneViralPersona(AbstractModel):
|
|
|
19643
19661
|
def BodyType(self, BodyType):
|
|
19644
19662
|
self._BodyType = BodyType
|
|
19645
19663
|
|
|
19664
|
+
@property
|
|
19665
|
+
def Images(self):
|
|
19666
|
+
r"""<p>人物图片</p>
|
|
19667
|
+
:rtype: list of str
|
|
19668
|
+
"""
|
|
19669
|
+
return self._Images
|
|
19670
|
+
|
|
19671
|
+
@Images.setter
|
|
19672
|
+
def Images(self, Images):
|
|
19673
|
+
self._Images = Images
|
|
19674
|
+
|
|
19646
19675
|
|
|
19647
19676
|
def _deserialize(self, params):
|
|
19648
19677
|
self._Gender = params.get("Gender")
|
|
19649
19678
|
self._Age = params.get("Age")
|
|
19650
19679
|
self._Ethnicity = params.get("Ethnicity")
|
|
19651
19680
|
self._BodyType = params.get("BodyType")
|
|
19681
|
+
self._Images = params.get("Images")
|
|
19652
19682
|
memeber_set = set(params.keys())
|
|
19653
19683
|
for name, value in vars(self).items():
|
|
19654
19684
|
property_name = name[1:]
|
|
@@ -19725,6 +19755,57 @@ class CloneViralProduct(AbstractModel):
|
|
|
19725
19755
|
|
|
19726
19756
|
|
|
19727
19757
|
|
|
19758
|
+
class CloneViralReference(AbstractModel):
|
|
19759
|
+
r"""动作级补充素材:服饰套装 / 背景
|
|
19760
|
+
|
|
19761
|
+
"""
|
|
19762
|
+
|
|
19763
|
+
def __init__(self):
|
|
19764
|
+
r"""
|
|
19765
|
+
:param _Outfits: <p>服饰套装参考图,多套按视频中的分段换装</p>
|
|
19766
|
+
:type Outfits: list of str
|
|
19767
|
+
:param _Backgrounds: <p>背景/场景参考图</p>
|
|
19768
|
+
:type Backgrounds: list of str
|
|
19769
|
+
"""
|
|
19770
|
+
self._Outfits = None
|
|
19771
|
+
self._Backgrounds = None
|
|
19772
|
+
|
|
19773
|
+
@property
|
|
19774
|
+
def Outfits(self):
|
|
19775
|
+
r"""<p>服饰套装参考图,多套按视频中的分段换装</p>
|
|
19776
|
+
:rtype: list of str
|
|
19777
|
+
"""
|
|
19778
|
+
return self._Outfits
|
|
19779
|
+
|
|
19780
|
+
@Outfits.setter
|
|
19781
|
+
def Outfits(self, Outfits):
|
|
19782
|
+
self._Outfits = Outfits
|
|
19783
|
+
|
|
19784
|
+
@property
|
|
19785
|
+
def Backgrounds(self):
|
|
19786
|
+
r"""<p>背景/场景参考图</p>
|
|
19787
|
+
:rtype: list of str
|
|
19788
|
+
"""
|
|
19789
|
+
return self._Backgrounds
|
|
19790
|
+
|
|
19791
|
+
@Backgrounds.setter
|
|
19792
|
+
def Backgrounds(self, Backgrounds):
|
|
19793
|
+
self._Backgrounds = Backgrounds
|
|
19794
|
+
|
|
19795
|
+
|
|
19796
|
+
def _deserialize(self, params):
|
|
19797
|
+
self._Outfits = params.get("Outfits")
|
|
19798
|
+
self._Backgrounds = params.get("Backgrounds")
|
|
19799
|
+
memeber_set = set(params.keys())
|
|
19800
|
+
for name, value in vars(self).items():
|
|
19801
|
+
property_name = name[1:]
|
|
19802
|
+
if property_name in memeber_set:
|
|
19803
|
+
memeber_set.remove(property_name)
|
|
19804
|
+
if len(memeber_set) > 0:
|
|
19805
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19806
|
+
|
|
19807
|
+
|
|
19808
|
+
|
|
19728
19809
|
class CloneViralRequest(AbstractModel):
|
|
19729
19810
|
r"""CloneViral请求参数结构体
|
|
19730
19811
|
|
|
@@ -19734,6 +19815,8 @@ class CloneViralRequest(AbstractModel):
|
|
|
19734
19815
|
r"""
|
|
19735
19816
|
:param _VideoUrl: <p>爆款视频Url</p>
|
|
19736
19817
|
:type VideoUrl: str
|
|
19818
|
+
:param _Mode: <p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
|
|
19819
|
+
:type Mode: str
|
|
19737
19820
|
:param _Product: <p>产品信息。除深度提取外,其他模式必填</p>
|
|
19738
19821
|
:type Product: :class:`tencentcloud.mps.v20190612.models.CloneViralProduct`
|
|
19739
19822
|
:param _AIGCParam: <p>AIGC生视频相关参数</p>
|
|
@@ -19744,13 +19827,17 @@ class CloneViralRequest(AbstractModel):
|
|
|
19744
19827
|
:type Persona: :class:`tencentcloud.mps.v20190612.models.CloneViralPersona`
|
|
19745
19828
|
:param _Output: <p>输出相关参数</p>
|
|
19746
19829
|
:type Output: :class:`tencentcloud.mps.v20190612.models.CloneViralOutputOption`
|
|
19830
|
+
:param _Reference: <p>其他参考素材(如背景、服装)</p>
|
|
19831
|
+
:type Reference: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
|
|
19747
19832
|
"""
|
|
19748
19833
|
self._VideoUrl = None
|
|
19834
|
+
self._Mode = None
|
|
19749
19835
|
self._Product = None
|
|
19750
19836
|
self._AIGCParam = None
|
|
19751
19837
|
self._ContentParam = None
|
|
19752
19838
|
self._Persona = None
|
|
19753
19839
|
self._Output = None
|
|
19840
|
+
self._Reference = None
|
|
19754
19841
|
|
|
19755
19842
|
@property
|
|
19756
19843
|
def VideoUrl(self):
|
|
@@ -19763,6 +19850,17 @@ class CloneViralRequest(AbstractModel):
|
|
|
19763
19850
|
def VideoUrl(self, VideoUrl):
|
|
19764
19851
|
self._VideoUrl = VideoUrl
|
|
19765
19852
|
|
|
19853
|
+
@property
|
|
19854
|
+
def Mode(self):
|
|
19855
|
+
r"""<p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
|
|
19856
|
+
:rtype: str
|
|
19857
|
+
"""
|
|
19858
|
+
return self._Mode
|
|
19859
|
+
|
|
19860
|
+
@Mode.setter
|
|
19861
|
+
def Mode(self, Mode):
|
|
19862
|
+
self._Mode = Mode
|
|
19863
|
+
|
|
19766
19864
|
@property
|
|
19767
19865
|
def Product(self):
|
|
19768
19866
|
r"""<p>产品信息。除深度提取外,其他模式必填</p>
|
|
@@ -19818,9 +19916,21 @@ class CloneViralRequest(AbstractModel):
|
|
|
19818
19916
|
def Output(self, Output):
|
|
19819
19917
|
self._Output = Output
|
|
19820
19918
|
|
|
19919
|
+
@property
|
|
19920
|
+
def Reference(self):
|
|
19921
|
+
r"""<p>其他参考素材(如背景、服装)</p>
|
|
19922
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
|
|
19923
|
+
"""
|
|
19924
|
+
return self._Reference
|
|
19925
|
+
|
|
19926
|
+
@Reference.setter
|
|
19927
|
+
def Reference(self, Reference):
|
|
19928
|
+
self._Reference = Reference
|
|
19929
|
+
|
|
19821
19930
|
|
|
19822
19931
|
def _deserialize(self, params):
|
|
19823
19932
|
self._VideoUrl = params.get("VideoUrl")
|
|
19933
|
+
self._Mode = params.get("Mode")
|
|
19824
19934
|
if params.get("Product") is not None:
|
|
19825
19935
|
self._Product = CloneViralProduct()
|
|
19826
19936
|
self._Product._deserialize(params.get("Product"))
|
|
@@ -19836,6 +19946,9 @@ class CloneViralRequest(AbstractModel):
|
|
|
19836
19946
|
if params.get("Output") is not None:
|
|
19837
19947
|
self._Output = CloneViralOutputOption()
|
|
19838
19948
|
self._Output._deserialize(params.get("Output"))
|
|
19949
|
+
if params.get("Reference") is not None:
|
|
19950
|
+
self._Reference = CloneViralReference()
|
|
19951
|
+
self._Reference._deserialize(params.get("Reference"))
|
|
19839
19952
|
memeber_set = set(params.keys())
|
|
19840
19953
|
for name, value in vars(self).items():
|
|
19841
19954
|
property_name = name[1:]
|
|
@@ -24492,7 +24605,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24492
24605
|
r"""
|
|
24493
24606
|
:param _ModelName: <p>模型名称。<br>当前支持的模型列表:<br>Hunyuan,<br>wand-vega-video,<br>Hailuo,<br>Kling,<br>Vidu,<br>PixVerse,<br>Mingmou,<br>H2。</p>
|
|
24494
24607
|
:type ModelName: str
|
|
24495
|
-
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [1.5]。</li><li>wand-vega-video, 可选[1.0-lite]。</li><li>Hailuo,可选 [02、2.3、2.3-fast]。</li><li>Kling,可选 [
|
|
24608
|
+
:param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [1.5]。</li><li>wand-vega-video, 可选[1.0-lite]。</li><li>Hailuo,可选 [02、2.3、2.3-fast、H3、H3-Max]。</li><li>Kling,可选 [2.5、O1、2.6、3.0、3.0-Omni、3.0-turbo、4.0、4.0-Omni]。</li><li>Vidu,可选 [q2、q2-pro、q2-turbo、q3-pro、q3-turbo、q3、q3-mix、q4-preview]。</li><li>PixVerse,可选 [v5.6、v6、c1]。</li><li>H2,可选 [1.0、1.1]。</li></ol>
|
|
24496
24609
|
:type ModelVersion: str
|
|
24497
24610
|
:param _SceneType: <p>指定场景生成视频。<br>注意:仅部分模型支持指定场景。</p><ol><li>Kling支持:动作控制,motion_control;数字人,avatar_i2v;对口型,lip_sync。</li><li>Mingmou支持:横转竖,land2port。</li><li>Vidu支持:特效模板,template_effect。</li><li>Hunyuan支持: 3d世界模型, 3d_scene;涉及的返回文件非视频。</li></ol>
|
|
24498
24611
|
:type SceneType: str
|
|
@@ -24504,17 +24617,17 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24504
24617
|
:type EnhancePrompt: bool
|
|
24505
24618
|
:param _ImageUrl: <p>用于指导视频生成的图片 URL。该URL需外网可访问。<br>注意:</p><ol><li>推荐图片大小不超过10M,不同模型大小限制不相同,可查看相应模型官网获取更完整描述。</li><li>支持的图片格式:jpeg、png。</li></ol>
|
|
24506
24619
|
:type ImageUrl: str
|
|
24507
|
-
:param _LastImageUrl: <p>模型将以此参数传入的图片作为尾帧画面来生成视频。<br>支持此参数的模型:</p><ol><li>Kling,
|
|
24620
|
+
:param _LastImageUrl: <p>模型将以此参数传入的图片作为尾帧画面来生成视频。<br>支持此参数的模型:</p><ol><li>Kling,O1、3.0、3.0-Omni、4.0、4.0-Omni 支持首尾帧。</li><li>Kling,2.5、2.6 在 Resolution:1080P 的情况下支持首尾帧。</li><li>Vidu,q2-pro、q2-turbo、q3-pro、q3-turbo 支持首尾帧。</li><li>PixVerse,v5.6、v6、c1 支持首尾帧。</li><li>Hailuo,02 支持首尾帧。</li><li>wand-vega-video,1.0-lite 支持首尾帧。</li></ol><p>注意:</p><ol><li>推荐图片大小不超过10M,各模型限制不同。</li><li>支持的图片格式:jpeg、png。</li></ol>
|
|
24508
24621
|
:type LastImageUrl: str
|
|
24509
|
-
:param _ImageInfos: <p>包含多张素材资源图片的列表,用于描述模型在生成视频时要使用的资源图片。</p><p>支持多图输入的模型:</p><ol><li>Vidu,q2、q2-pro、q3-turbo、q3、q3-mix
|
|
24622
|
+
:param _ImageInfos: <p>包含多张素材资源图片的列表,用于描述模型在生成视频时要使用的资源图片。</p><p>支持多图输入的模型:</p><ol><li>Vidu,q2、q2-pro、q3-turbo、q3、q3-mix、q4-preview 支持多图参考生视频。<ol><li>q2、q2-pro、q3-turbo、q3、q3-mix 支持上传 1-7 张图片,可通过 ImageInfos 里面的 ReferenceType 作为主体 id 来传入。</li><li>q4-preview 支持上传 1-15 张图片。</li></ol></li><li>wand-vega-video,1.0-lite支持最多9张参考图。</li><li>Kling,O1、3.0-Omni、4.0-Omni 支持多图参考生视频。<ol><li>Kling O1、3.0-Omni 支持上传 1-7 张图片。当有参考视频时,支持上传 0-4 张图片。</li><li>Kling 4.0-Omni 支持最多 10 张图片。</li></ol></li><li>PixVerse,v5.6、v6、c1 支持多图参考生视频。支持上传 1-7 张图片,需要通过 ImageInfos 里面的 Text 字段传入图片名称。</li><li>H2,1.0 支持多图参数生视频。支持上传 1-9 张图片。当有参考视频时,支持上传 0-5 张图片。</li><li>Hailuo H3、H3-Max 支持上传 1-9 张图片。</li></ol><p>注意:</p><ol><li>图片大小不超过10M。</li><li>支持的图片格式:jpeg、png。</li></ol>
|
|
24510
24623
|
:type ImageInfos: list of AigcVideoReferenceImageInfo
|
|
24511
|
-
: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>
|
|
24624
|
+
:param _VideoInfos: <p>目前仅 Kling O1、Kling 3.0-Omni、Kling 4.0-Omni、Vidu q2-pro、H2 1.0、Hailuo H3、Hailuo H3-Max 支持参考视频信息传入。</p><ol><li>Kling O1、3.0-Omni 可作为特征参考视频,也可作为待编辑视频,默认为待编辑视频;可选择性保留视频原声。</li><li>Vidu q2-pro 支持视频参考。</li><li>H2 1.0 支持视频参考。</li><li>Kling 4.0-Omni 可作为特征参考视频,也可作为待编辑视频。最多添加 1 段待编辑视频。</li><li>Hailuo H3、Hailuo H3-Max 支持视频参考。</li></ol>
|
|
24512
24625
|
:type VideoInfos: list of AigcVideoReferenceVideoInfo
|
|
24513
24626
|
:param _AudioInfos: <p>部分模型支持参考音频传入,使用URL传入。</p>
|
|
24514
24627
|
:type AudioInfos: list of AigcVideoReferenceAudioInfo
|
|
24515
24628
|
:param _SubjectInfos: <p>主体信息。</p>
|
|
24516
24629
|
:type SubjectInfos: list of AigcVideoReferenceSubjectInfo
|
|
24517
|
-
: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>wand-vega-video, 1.0-lite支持:4-15秒。</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>
|
|
24630
|
+
: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>4.0、4.0-Omni 支持 3-30 秒。</li><li>其他版本支持 5、10 秒。</li></ul></li><li>wand-vega-video, 1.0-lite支持:4-15秒。</li><li>Hailuo 的 std 模式可支持 6、10 秒,其他仅 6 秒。默认:6 秒。<ul><li>Hailuo H3 支持 4-15 秒。</li><li>Hailuo H3-Max 支持 5-15 秒。</li></ul></li><li>Vidu,默认:5 秒。<ul><li>q3-pro、q3-turbo、q3、q3-mix、q4-preview 支持 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>
|
|
24518
24631
|
:type Duration: int
|
|
24519
24632
|
:param _ExtraParameters: <p>用于传入要求的额外参数。</p>
|
|
24520
24633
|
:type ExtraParameters: :class:`tencentcloud.mps.v20190612.models.AigcVideoExtraParam`
|
|
@@ -24556,7 +24669,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24556
24669
|
|
|
24557
24670
|
@property
|
|
24558
24671
|
def ModelVersion(self):
|
|
24559
|
-
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [1.5]。</li><li>wand-vega-video, 可选[1.0-lite]。</li><li>Hailuo,可选 [02、2.3、2.3-fast]。</li><li>Kling,可选 [
|
|
24672
|
+
r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。</p><ol><li>Hunyuan,可选 [1.5]。</li><li>wand-vega-video, 可选[1.0-lite]。</li><li>Hailuo,可选 [02、2.3、2.3-fast、H3、H3-Max]。</li><li>Kling,可选 [2.5、O1、2.6、3.0、3.0-Omni、3.0-turbo、4.0、4.0-Omni]。</li><li>Vidu,可选 [q2、q2-pro、q2-turbo、q3-pro、q3-turbo、q3、q3-mix、q4-preview]。</li><li>PixVerse,可选 [v5.6、v6、c1]。</li><li>H2,可选 [1.0、1.1]。</li></ol>
|
|
24560
24673
|
:rtype: str
|
|
24561
24674
|
"""
|
|
24562
24675
|
return self._ModelVersion
|
|
@@ -24622,7 +24735,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24622
24735
|
|
|
24623
24736
|
@property
|
|
24624
24737
|
def LastImageUrl(self):
|
|
24625
|
-
r"""<p>模型将以此参数传入的图片作为尾帧画面来生成视频。<br>支持此参数的模型:</p><ol><li>Kling,
|
|
24738
|
+
r"""<p>模型将以此参数传入的图片作为尾帧画面来生成视频。<br>支持此参数的模型:</p><ol><li>Kling,O1、3.0、3.0-Omni、4.0、4.0-Omni 支持首尾帧。</li><li>Kling,2.5、2.6 在 Resolution:1080P 的情况下支持首尾帧。</li><li>Vidu,q2-pro、q2-turbo、q3-pro、q3-turbo 支持首尾帧。</li><li>PixVerse,v5.6、v6、c1 支持首尾帧。</li><li>Hailuo,02 支持首尾帧。</li><li>wand-vega-video,1.0-lite 支持首尾帧。</li></ol><p>注意:</p><ol><li>推荐图片大小不超过10M,各模型限制不同。</li><li>支持的图片格式:jpeg、png。</li></ol>
|
|
24626
24739
|
:rtype: str
|
|
24627
24740
|
"""
|
|
24628
24741
|
return self._LastImageUrl
|
|
@@ -24633,7 +24746,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24633
24746
|
|
|
24634
24747
|
@property
|
|
24635
24748
|
def ImageInfos(self):
|
|
24636
|
-
r"""<p>包含多张素材资源图片的列表,用于描述模型在生成视频时要使用的资源图片。</p><p>支持多图输入的模型:</p><ol><li>Vidu,q2、q2-pro、q3-turbo、q3、q3-mix
|
|
24749
|
+
r"""<p>包含多张素材资源图片的列表,用于描述模型在生成视频时要使用的资源图片。</p><p>支持多图输入的模型:</p><ol><li>Vidu,q2、q2-pro、q3-turbo、q3、q3-mix、q4-preview 支持多图参考生视频。<ol><li>q2、q2-pro、q3-turbo、q3、q3-mix 支持上传 1-7 张图片,可通过 ImageInfos 里面的 ReferenceType 作为主体 id 来传入。</li><li>q4-preview 支持上传 1-15 张图片。</li></ol></li><li>wand-vega-video,1.0-lite支持最多9张参考图。</li><li>Kling,O1、3.0-Omni、4.0-Omni 支持多图参考生视频。<ol><li>Kling O1、3.0-Omni 支持上传 1-7 张图片。当有参考视频时,支持上传 0-4 张图片。</li><li>Kling 4.0-Omni 支持最多 10 张图片。</li></ol></li><li>PixVerse,v5.6、v6、c1 支持多图参考生视频。支持上传 1-7 张图片,需要通过 ImageInfos 里面的 Text 字段传入图片名称。</li><li>H2,1.0 支持多图参数生视频。支持上传 1-9 张图片。当有参考视频时,支持上传 0-5 张图片。</li><li>Hailuo H3、H3-Max 支持上传 1-9 张图片。</li></ol><p>注意:</p><ol><li>图片大小不超过10M。</li><li>支持的图片格式:jpeg、png。</li></ol>
|
|
24637
24750
|
:rtype: list of AigcVideoReferenceImageInfo
|
|
24638
24751
|
"""
|
|
24639
24752
|
return self._ImageInfos
|
|
@@ -24644,7 +24757,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24644
24757
|
|
|
24645
24758
|
@property
|
|
24646
24759
|
def VideoInfos(self):
|
|
24647
|
-
r"""<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>
|
|
24760
|
+
r"""<p>目前仅 Kling O1、Kling 3.0-Omni、Kling 4.0-Omni、Vidu q2-pro、H2 1.0、Hailuo H3、Hailuo H3-Max 支持参考视频信息传入。</p><ol><li>Kling O1、3.0-Omni 可作为特征参考视频,也可作为待编辑视频,默认为待编辑视频;可选择性保留视频原声。</li><li>Vidu q2-pro 支持视频参考。</li><li>H2 1.0 支持视频参考。</li><li>Kling 4.0-Omni 可作为特征参考视频,也可作为待编辑视频。最多添加 1 段待编辑视频。</li><li>Hailuo H3、Hailuo H3-Max 支持视频参考。</li></ol>
|
|
24648
24761
|
:rtype: list of AigcVideoReferenceVideoInfo
|
|
24649
24762
|
"""
|
|
24650
24763
|
return self._VideoInfos
|
|
@@ -24677,7 +24790,7 @@ class CreateAigcVideoTaskRequest(AbstractModel):
|
|
|
24677
24790
|
|
|
24678
24791
|
@property
|
|
24679
24792
|
def Duration(self):
|
|
24680
|
-
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>wand-vega-video, 1.0-lite支持:4-15秒。</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>
|
|
24793
|
+
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>4.0、4.0-Omni 支持 3-30 秒。</li><li>其他版本支持 5、10 秒。</li></ul></li><li>wand-vega-video, 1.0-lite支持:4-15秒。</li><li>Hailuo 的 std 模式可支持 6、10 秒,其他仅 6 秒。默认:6 秒。<ul><li>Hailuo H3 支持 4-15 秒。</li><li>Hailuo H3-Max 支持 5-15 秒。</li></ul></li><li>Vidu,默认:5 秒。<ul><li>q3-pro、q3-turbo、q3、q3-mix、q4-preview 支持 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>
|
|
24681
24794
|
:rtype: int
|
|
24682
24795
|
"""
|
|
24683
24796
|
return self._Duration
|
|
@@ -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.200
|
|
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.200
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Tydeww-1eaKITX-gg9_aaZcChLmwzjp9OdL9h8QoHK8,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=OU4BxFgJzqWyTkG_3TU2_hqKXzxo-MEQr_gwM43kceo,21864
|
|
5
|
-
tencentcloud/mps/v20190612/models.py,sha256=
|
|
5
|
+
tencentcloud/mps/v20190612/models.py,sha256=UzuLs0vSuEWZ1Jx_-vPodb_os1b87qCJRAXa96t275Q,3655380
|
|
6
6
|
tencentcloud/mps/v20190612/mps_client.py,sha256=U5MWAF_hdcM6W0VW5ZCrz-3EEWVFOvxUDe_raKdT_60,225462
|
|
7
7
|
tencentcloud/mps/v20190612/mps_client_async.py,sha256=aW681zFtm0SO8VpUVUnr31YrddDvzH2U22y-PVT6I2Y,154796
|
|
8
|
-
tencentcloud_sdk_python_mps-3.1.
|
|
9
|
-
tencentcloud_sdk_python_mps-3.1.
|
|
10
|
-
tencentcloud_sdk_python_mps-3.1.
|
|
11
|
-
tencentcloud_sdk_python_mps-3.1.
|
|
8
|
+
tencentcloud_sdk_python_mps-3.1.200.dist-info/METADATA,sha256=yaCwZJ_w6T4_gtk7qResvn57LmyJY6qVPsCcpHLRDxw,1497
|
|
9
|
+
tencentcloud_sdk_python_mps-3.1.200.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_mps-3.1.200.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_mps-3.1.200.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|