tencentcloud-sdk-python-vclm 3.1.24__tar.gz → 3.1.41__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_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/setup.py +1 -1
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/v20240523/models.py +71 -1
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud_sdk_python_vclm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vclm-3.1.41/tencentcloud_sdk_python_vclm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vclm-3.1.24/tencentcloud_sdk_python_vclm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/README.rst +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/__init__.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/v20240523/__init__.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/v20240523/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/v20240523/vclm_client.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud/vclm/v20240523/vclm_client_async.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud_sdk_python_vclm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vclm-3.1.24 → tencentcloud_sdk_python_vclm-3.1.41}/tencentcloud_sdk_python_vclm.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vclm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.41
|
|
4
4
|
Summary: Tencent Cloud Vclm 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.41
|
|
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-vclm',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.41,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vclm SDK for Python',
|
|
@@ -2621,6 +2621,8 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2621
2621
|
:type Prompt: str
|
|
2622
2622
|
:param _Resolution: 输出视频分辨率。可选择:480p、720p、1080p。
|
|
2623
2623
|
:type Resolution: str
|
|
2624
|
+
:param _Fps: 生成视频的帧率,从16, 24, 30中选择。默认值:30
|
|
2625
|
+
:type Fps: int
|
|
2624
2626
|
:param _LogoAdd: 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
2625
2627
|
:type LogoAdd: int
|
|
2626
2628
|
:param _LogoParam: 默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。
|
|
@@ -2629,6 +2631,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2629
2631
|
self._Image = None
|
|
2630
2632
|
self._Prompt = None
|
|
2631
2633
|
self._Resolution = None
|
|
2634
|
+
self._Fps = None
|
|
2632
2635
|
self._LogoAdd = None
|
|
2633
2636
|
self._LogoParam = None
|
|
2634
2637
|
|
|
@@ -2669,6 +2672,17 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2669
2672
|
def Resolution(self, Resolution):
|
|
2670
2673
|
self._Resolution = Resolution
|
|
2671
2674
|
|
|
2675
|
+
@property
|
|
2676
|
+
def Fps(self):
|
|
2677
|
+
r"""生成视频的帧率,从16, 24, 30中选择。默认值:30
|
|
2678
|
+
:rtype: int
|
|
2679
|
+
"""
|
|
2680
|
+
return self._Fps
|
|
2681
|
+
|
|
2682
|
+
@Fps.setter
|
|
2683
|
+
def Fps(self, Fps):
|
|
2684
|
+
self._Fps = Fps
|
|
2685
|
+
|
|
2672
2686
|
@property
|
|
2673
2687
|
def LogoAdd(self):
|
|
2674
2688
|
r"""为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
@@ -2698,6 +2712,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2698
2712
|
self._Image._deserialize(params.get("Image"))
|
|
2699
2713
|
self._Prompt = params.get("Prompt")
|
|
2700
2714
|
self._Resolution = params.get("Resolution")
|
|
2715
|
+
self._Fps = params.get("Fps")
|
|
2701
2716
|
self._LogoAdd = params.get("LogoAdd")
|
|
2702
2717
|
if params.get("LogoParam") is not None:
|
|
2703
2718
|
self._LogoParam = LogoParam()
|
|
@@ -3188,6 +3203,8 @@ class SubmitVideoEditJobRequest(AbstractModel):
|
|
|
3188
3203
|
- 支持jpg,png,jpeg,webp,bmp,tiff 格式
|
|
3189
3204
|
- 单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
|
|
3190
3205
|
:type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
|
|
3206
|
+
:param _VideoEditParam: 扩展字段。
|
|
3207
|
+
:type VideoEditParam: :class:`tencentcloud.vclm.v20240523.models.VideoEditParam`
|
|
3191
3208
|
:param _LogoAdd: 为生成视频添加标识的开关,默认为1。传0 需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成后方可生效。
|
|
3192
3209
|
1:添加标识;
|
|
3193
3210
|
0:不添加标识;
|
|
@@ -3204,6 +3221,7 @@ class SubmitVideoEditJobRequest(AbstractModel):
|
|
|
3204
3221
|
self._Prompt = None
|
|
3205
3222
|
self._Images = None
|
|
3206
3223
|
self._Image = None
|
|
3224
|
+
self._VideoEditParam = None
|
|
3207
3225
|
self._LogoAdd = None
|
|
3208
3226
|
self._LogoParam = None
|
|
3209
3227
|
|
|
@@ -3270,6 +3288,17 @@ class SubmitVideoEditJobRequest(AbstractModel):
|
|
|
3270
3288
|
|
|
3271
3289
|
self._Image = Image
|
|
3272
3290
|
|
|
3291
|
+
@property
|
|
3292
|
+
def VideoEditParam(self):
|
|
3293
|
+
r"""扩展字段。
|
|
3294
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.VideoEditParam`
|
|
3295
|
+
"""
|
|
3296
|
+
return self._VideoEditParam
|
|
3297
|
+
|
|
3298
|
+
@VideoEditParam.setter
|
|
3299
|
+
def VideoEditParam(self, VideoEditParam):
|
|
3300
|
+
self._VideoEditParam = VideoEditParam
|
|
3301
|
+
|
|
3273
3302
|
@property
|
|
3274
3303
|
def LogoAdd(self):
|
|
3275
3304
|
r"""为生成视频添加标识的开关,默认为1。传0 需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成后方可生效。
|
|
@@ -3312,6 +3341,9 @@ class SubmitVideoEditJobRequest(AbstractModel):
|
|
|
3312
3341
|
if params.get("Image") is not None:
|
|
3313
3342
|
self._Image = Image()
|
|
3314
3343
|
self._Image._deserialize(params.get("Image"))
|
|
3344
|
+
if params.get("VideoEditParam") is not None:
|
|
3345
|
+
self._VideoEditParam = VideoEditParam()
|
|
3346
|
+
self._VideoEditParam._deserialize(params.get("VideoEditParam"))
|
|
3315
3347
|
self._LogoAdd = params.get("LogoAdd")
|
|
3316
3348
|
if params.get("LogoParam") is not None:
|
|
3317
3349
|
self._LogoParam = LogoParam()
|
|
@@ -3837,4 +3869,42 @@ class SubmitVideoVoiceJobResponse(AbstractModel):
|
|
|
3837
3869
|
|
|
3838
3870
|
def _deserialize(self, params):
|
|
3839
3871
|
self._JobId = params.get("JobId")
|
|
3840
|
-
self._RequestId = params.get("RequestId")
|
|
3872
|
+
self._RequestId = params.get("RequestId")
|
|
3873
|
+
|
|
3874
|
+
|
|
3875
|
+
class VideoEditParam(AbstractModel):
|
|
3876
|
+
r"""视频编辑参数
|
|
3877
|
+
|
|
3878
|
+
"""
|
|
3879
|
+
|
|
3880
|
+
def __init__(self):
|
|
3881
|
+
r"""
|
|
3882
|
+
:param _Magic: 魔法词,针对特定场景生效。不同场景传不同的值。默认不传。
|
|
3883
|
+
- 换人场景:1
|
|
3884
|
+
:type Magic: str
|
|
3885
|
+
"""
|
|
3886
|
+
self._Magic = None
|
|
3887
|
+
|
|
3888
|
+
@property
|
|
3889
|
+
def Magic(self):
|
|
3890
|
+
r"""魔法词,针对特定场景生效。不同场景传不同的值。默认不传。
|
|
3891
|
+
- 换人场景:1
|
|
3892
|
+
:rtype: str
|
|
3893
|
+
"""
|
|
3894
|
+
return self._Magic
|
|
3895
|
+
|
|
3896
|
+
@Magic.setter
|
|
3897
|
+
def Magic(self, Magic):
|
|
3898
|
+
self._Magic = Magic
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
def _deserialize(self, params):
|
|
3902
|
+
self._Magic = params.get("Magic")
|
|
3903
|
+
memeber_set = set(params.keys())
|
|
3904
|
+
for name, value in vars(self).items():
|
|
3905
|
+
property_name = name[1:]
|
|
3906
|
+
if property_name in memeber_set:
|
|
3907
|
+
memeber_set.remove(property_name)
|
|
3908
|
+
if len(memeber_set) > 0:
|
|
3909
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3910
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vclm
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.41
|
|
4
4
|
Summary: Tencent Cloud Vclm 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.41
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.41
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.24
|
|
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
|