tencentcloud-sdk-python-vclm 3.1.8__tar.gz → 3.1.22__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.8 → tencentcloud_sdk_python_vclm-3.1.22}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/setup.py +1 -1
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/v20240523/models.py +302 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud_sdk_python_vclm.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vclm-3.1.22/tencentcloud_sdk_python_vclm.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vclm-3.1.8/tencentcloud_sdk_python_vclm.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/README.rst +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/__init__.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/v20240523/__init__.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud/vclm/v20240523/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/tencentcloud_sdk_python_vclm.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vclm-3.1.8 → tencentcloud_sdk_python_vclm-3.1.22}/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.22
|
|
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.22
|
|
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.22,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vclm SDK for Python',
|
|
@@ -980,6 +980,130 @@ class DescribeTemplateToVideoJobResponse(AbstractModel):
|
|
|
980
980
|
self._RequestId = params.get("RequestId")
|
|
981
981
|
|
|
982
982
|
|
|
983
|
+
class DescribeVideoEditJobRequest(AbstractModel):
|
|
984
|
+
r"""DescribeVideoEditJob请求参数结构体
|
|
985
|
+
|
|
986
|
+
"""
|
|
987
|
+
|
|
988
|
+
def __init__(self):
|
|
989
|
+
r"""
|
|
990
|
+
:param _JobId: 任务ID。
|
|
991
|
+
:type JobId: str
|
|
992
|
+
"""
|
|
993
|
+
self._JobId = None
|
|
994
|
+
|
|
995
|
+
@property
|
|
996
|
+
def JobId(self):
|
|
997
|
+
r"""任务ID。
|
|
998
|
+
:rtype: str
|
|
999
|
+
"""
|
|
1000
|
+
return self._JobId
|
|
1001
|
+
|
|
1002
|
+
@JobId.setter
|
|
1003
|
+
def JobId(self, JobId):
|
|
1004
|
+
self._JobId = JobId
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
def _deserialize(self, params):
|
|
1008
|
+
self._JobId = params.get("JobId")
|
|
1009
|
+
memeber_set = set(params.keys())
|
|
1010
|
+
for name, value in vars(self).items():
|
|
1011
|
+
property_name = name[1:]
|
|
1012
|
+
if property_name in memeber_set:
|
|
1013
|
+
memeber_set.remove(property_name)
|
|
1014
|
+
if len(memeber_set) > 0:
|
|
1015
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
class DescribeVideoEditJobResponse(AbstractModel):
|
|
1020
|
+
r"""DescribeVideoEditJob返回参数结构体
|
|
1021
|
+
|
|
1022
|
+
"""
|
|
1023
|
+
|
|
1024
|
+
def __init__(self):
|
|
1025
|
+
r"""
|
|
1026
|
+
:param _Status: 任务状态。 WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
1027
|
+
:type Status: str
|
|
1028
|
+
:param _ResultVideoUrl: 结果视频URL。有效期 24 小时。
|
|
1029
|
+
:type ResultVideoUrl: str
|
|
1030
|
+
:param _ErrorCode: 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
1031
|
+
:type ErrorCode: str
|
|
1032
|
+
:param _ErrorMessage: 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
1033
|
+
:type ErrorMessage: str
|
|
1034
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1035
|
+
:type RequestId: str
|
|
1036
|
+
"""
|
|
1037
|
+
self._Status = None
|
|
1038
|
+
self._ResultVideoUrl = None
|
|
1039
|
+
self._ErrorCode = None
|
|
1040
|
+
self._ErrorMessage = None
|
|
1041
|
+
self._RequestId = None
|
|
1042
|
+
|
|
1043
|
+
@property
|
|
1044
|
+
def Status(self):
|
|
1045
|
+
r"""任务状态。 WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
1046
|
+
:rtype: str
|
|
1047
|
+
"""
|
|
1048
|
+
return self._Status
|
|
1049
|
+
|
|
1050
|
+
@Status.setter
|
|
1051
|
+
def Status(self, Status):
|
|
1052
|
+
self._Status = Status
|
|
1053
|
+
|
|
1054
|
+
@property
|
|
1055
|
+
def ResultVideoUrl(self):
|
|
1056
|
+
r"""结果视频URL。有效期 24 小时。
|
|
1057
|
+
:rtype: str
|
|
1058
|
+
"""
|
|
1059
|
+
return self._ResultVideoUrl
|
|
1060
|
+
|
|
1061
|
+
@ResultVideoUrl.setter
|
|
1062
|
+
def ResultVideoUrl(self, ResultVideoUrl):
|
|
1063
|
+
self._ResultVideoUrl = ResultVideoUrl
|
|
1064
|
+
|
|
1065
|
+
@property
|
|
1066
|
+
def ErrorCode(self):
|
|
1067
|
+
r"""任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
1068
|
+
:rtype: str
|
|
1069
|
+
"""
|
|
1070
|
+
return self._ErrorCode
|
|
1071
|
+
|
|
1072
|
+
@ErrorCode.setter
|
|
1073
|
+
def ErrorCode(self, ErrorCode):
|
|
1074
|
+
self._ErrorCode = ErrorCode
|
|
1075
|
+
|
|
1076
|
+
@property
|
|
1077
|
+
def ErrorMessage(self):
|
|
1078
|
+
r"""任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
1079
|
+
:rtype: str
|
|
1080
|
+
"""
|
|
1081
|
+
return self._ErrorMessage
|
|
1082
|
+
|
|
1083
|
+
@ErrorMessage.setter
|
|
1084
|
+
def ErrorMessage(self, ErrorMessage):
|
|
1085
|
+
self._ErrorMessage = ErrorMessage
|
|
1086
|
+
|
|
1087
|
+
@property
|
|
1088
|
+
def RequestId(self):
|
|
1089
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1090
|
+
:rtype: str
|
|
1091
|
+
"""
|
|
1092
|
+
return self._RequestId
|
|
1093
|
+
|
|
1094
|
+
@RequestId.setter
|
|
1095
|
+
def RequestId(self, RequestId):
|
|
1096
|
+
self._RequestId = RequestId
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
def _deserialize(self, params):
|
|
1100
|
+
self._Status = params.get("Status")
|
|
1101
|
+
self._ResultVideoUrl = params.get("ResultVideoUrl")
|
|
1102
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
1103
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
|
1104
|
+
self._RequestId = params.get("RequestId")
|
|
1105
|
+
|
|
1106
|
+
|
|
983
1107
|
class DescribeVideoFaceFusionJobRequest(AbstractModel):
|
|
984
1108
|
r"""DescribeVideoFaceFusionJob请求参数结构体
|
|
985
1109
|
|
|
@@ -2462,6 +2586,8 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2462
2586
|
:type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
|
|
2463
2587
|
:param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
|
|
2464
2588
|
:type Prompt: str
|
|
2589
|
+
:param _Resolution: 输出视频分辨率。可选择:480p、720p、1080p。
|
|
2590
|
+
:type Resolution: str
|
|
2465
2591
|
:param _LogoAdd: 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
2466
2592
|
:type LogoAdd: int
|
|
2467
2593
|
:param _LogoParam: 默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。
|
|
@@ -2469,6 +2595,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2469
2595
|
"""
|
|
2470
2596
|
self._Image = None
|
|
2471
2597
|
self._Prompt = None
|
|
2598
|
+
self._Resolution = None
|
|
2472
2599
|
self._LogoAdd = None
|
|
2473
2600
|
self._LogoParam = None
|
|
2474
2601
|
|
|
@@ -2498,6 +2625,17 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2498
2625
|
def Prompt(self, Prompt):
|
|
2499
2626
|
self._Prompt = Prompt
|
|
2500
2627
|
|
|
2628
|
+
@property
|
|
2629
|
+
def Resolution(self):
|
|
2630
|
+
r"""输出视频分辨率。可选择:480p、720p、1080p。
|
|
2631
|
+
:rtype: str
|
|
2632
|
+
"""
|
|
2633
|
+
return self._Resolution
|
|
2634
|
+
|
|
2635
|
+
@Resolution.setter
|
|
2636
|
+
def Resolution(self, Resolution):
|
|
2637
|
+
self._Resolution = Resolution
|
|
2638
|
+
|
|
2501
2639
|
@property
|
|
2502
2640
|
def LogoAdd(self):
|
|
2503
2641
|
r"""为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
@@ -2526,6 +2664,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
|
|
|
2526
2664
|
self._Image = Image()
|
|
2527
2665
|
self._Image._deserialize(params.get("Image"))
|
|
2528
2666
|
self._Prompt = params.get("Prompt")
|
|
2667
|
+
self._Resolution = params.get("Resolution")
|
|
2529
2668
|
self._LogoAdd = params.get("LogoAdd")
|
|
2530
2669
|
if params.get("LogoParam") is not None:
|
|
2531
2670
|
self._LogoParam = LogoParam()
|
|
@@ -2986,6 +3125,169 @@ class SubmitTemplateToVideoJobResponse(AbstractModel):
|
|
|
2986
3125
|
self._RequestId = params.get("RequestId")
|
|
2987
3126
|
|
|
2988
3127
|
|
|
3128
|
+
class SubmitVideoEditJobRequest(AbstractModel):
|
|
3129
|
+
r"""SubmitVideoEditJob请求参数结构体
|
|
3130
|
+
|
|
3131
|
+
"""
|
|
3132
|
+
|
|
3133
|
+
def __init__(self):
|
|
3134
|
+
r"""
|
|
3135
|
+
:param _VideoUrl: 输入视频
|
|
3136
|
+
|
|
3137
|
+
- 视频格式:MP4
|
|
3138
|
+
- 视频时长:5s以内
|
|
3139
|
+
- 视频分辨率:无限制(待验证是否可以无损输出)
|
|
3140
|
+
:type VideoUrl: str
|
|
3141
|
+
:param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
|
|
3142
|
+
支持风格迁移、替换、元素增加、删除控制
|
|
3143
|
+
:type Prompt: str
|
|
3144
|
+
:param _Image: 图片base64或者图片url
|
|
3145
|
+
|
|
3146
|
+
- Base64 和 Url 必须提供一个,如果都提供以Url为准。
|
|
3147
|
+
- 上传图url大小不超过 8M
|
|
3148
|
+
- 支持jpg,png,jpeg,webp,bmp,tiff 格式
|
|
3149
|
+
- 单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
|
|
3150
|
+
:type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
|
|
3151
|
+
:param _LogoAdd: 为生成视频添加标识的开关,默认为1。 1:添加标识。 0:不添加标识。 其他数值:默认按1处理。 建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
|
3152
|
+
:type LogoAdd: int
|
|
3153
|
+
:param _LogoParam: 标识内容设置。 默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
3154
|
+
:type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
|
3155
|
+
"""
|
|
3156
|
+
self._VideoUrl = None
|
|
3157
|
+
self._Prompt = None
|
|
3158
|
+
self._Image = None
|
|
3159
|
+
self._LogoAdd = None
|
|
3160
|
+
self._LogoParam = None
|
|
3161
|
+
|
|
3162
|
+
@property
|
|
3163
|
+
def VideoUrl(self):
|
|
3164
|
+
r"""输入视频
|
|
3165
|
+
|
|
3166
|
+
- 视频格式:MP4
|
|
3167
|
+
- 视频时长:5s以内
|
|
3168
|
+
- 视频分辨率:无限制(待验证是否可以无损输出)
|
|
3169
|
+
:rtype: str
|
|
3170
|
+
"""
|
|
3171
|
+
return self._VideoUrl
|
|
3172
|
+
|
|
3173
|
+
@VideoUrl.setter
|
|
3174
|
+
def VideoUrl(self, VideoUrl):
|
|
3175
|
+
self._VideoUrl = VideoUrl
|
|
3176
|
+
|
|
3177
|
+
@property
|
|
3178
|
+
def Prompt(self):
|
|
3179
|
+
r"""视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
|
|
3180
|
+
支持风格迁移、替换、元素增加、删除控制
|
|
3181
|
+
:rtype: str
|
|
3182
|
+
"""
|
|
3183
|
+
return self._Prompt
|
|
3184
|
+
|
|
3185
|
+
@Prompt.setter
|
|
3186
|
+
def Prompt(self, Prompt):
|
|
3187
|
+
self._Prompt = Prompt
|
|
3188
|
+
|
|
3189
|
+
@property
|
|
3190
|
+
def Image(self):
|
|
3191
|
+
r"""图片base64或者图片url
|
|
3192
|
+
|
|
3193
|
+
- Base64 和 Url 必须提供一个,如果都提供以Url为准。
|
|
3194
|
+
- 上传图url大小不超过 8M
|
|
3195
|
+
- 支持jpg,png,jpeg,webp,bmp,tiff 格式
|
|
3196
|
+
- 单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
|
|
3197
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.Image`
|
|
3198
|
+
"""
|
|
3199
|
+
return self._Image
|
|
3200
|
+
|
|
3201
|
+
@Image.setter
|
|
3202
|
+
def Image(self, Image):
|
|
3203
|
+
self._Image = Image
|
|
3204
|
+
|
|
3205
|
+
@property
|
|
3206
|
+
def LogoAdd(self):
|
|
3207
|
+
r"""为生成视频添加标识的开关,默认为1。 1:添加标识。 0:不添加标识。 其他数值:默认按1处理。 建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
|
3208
|
+
:rtype: int
|
|
3209
|
+
"""
|
|
3210
|
+
return self._LogoAdd
|
|
3211
|
+
|
|
3212
|
+
@LogoAdd.setter
|
|
3213
|
+
def LogoAdd(self, LogoAdd):
|
|
3214
|
+
self._LogoAdd = LogoAdd
|
|
3215
|
+
|
|
3216
|
+
@property
|
|
3217
|
+
def LogoParam(self):
|
|
3218
|
+
r"""标识内容设置。 默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
3219
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
|
3220
|
+
"""
|
|
3221
|
+
return self._LogoParam
|
|
3222
|
+
|
|
3223
|
+
@LogoParam.setter
|
|
3224
|
+
def LogoParam(self, LogoParam):
|
|
3225
|
+
self._LogoParam = LogoParam
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
def _deserialize(self, params):
|
|
3229
|
+
self._VideoUrl = params.get("VideoUrl")
|
|
3230
|
+
self._Prompt = params.get("Prompt")
|
|
3231
|
+
if params.get("Image") is not None:
|
|
3232
|
+
self._Image = Image()
|
|
3233
|
+
self._Image._deserialize(params.get("Image"))
|
|
3234
|
+
self._LogoAdd = params.get("LogoAdd")
|
|
3235
|
+
if params.get("LogoParam") is not None:
|
|
3236
|
+
self._LogoParam = LogoParam()
|
|
3237
|
+
self._LogoParam._deserialize(params.get("LogoParam"))
|
|
3238
|
+
memeber_set = set(params.keys())
|
|
3239
|
+
for name, value in vars(self).items():
|
|
3240
|
+
property_name = name[1:]
|
|
3241
|
+
if property_name in memeber_set:
|
|
3242
|
+
memeber_set.remove(property_name)
|
|
3243
|
+
if len(memeber_set) > 0:
|
|
3244
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
class SubmitVideoEditJobResponse(AbstractModel):
|
|
3249
|
+
r"""SubmitVideoEditJob返回参数结构体
|
|
3250
|
+
|
|
3251
|
+
"""
|
|
3252
|
+
|
|
3253
|
+
def __init__(self):
|
|
3254
|
+
r"""
|
|
3255
|
+
:param _JobId: 任务ID。
|
|
3256
|
+
:type JobId: str
|
|
3257
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3258
|
+
:type RequestId: str
|
|
3259
|
+
"""
|
|
3260
|
+
self._JobId = None
|
|
3261
|
+
self._RequestId = None
|
|
3262
|
+
|
|
3263
|
+
@property
|
|
3264
|
+
def JobId(self):
|
|
3265
|
+
r"""任务ID。
|
|
3266
|
+
:rtype: str
|
|
3267
|
+
"""
|
|
3268
|
+
return self._JobId
|
|
3269
|
+
|
|
3270
|
+
@JobId.setter
|
|
3271
|
+
def JobId(self, JobId):
|
|
3272
|
+
self._JobId = JobId
|
|
3273
|
+
|
|
3274
|
+
@property
|
|
3275
|
+
def RequestId(self):
|
|
3276
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3277
|
+
:rtype: str
|
|
3278
|
+
"""
|
|
3279
|
+
return self._RequestId
|
|
3280
|
+
|
|
3281
|
+
@RequestId.setter
|
|
3282
|
+
def RequestId(self, RequestId):
|
|
3283
|
+
self._RequestId = RequestId
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
def _deserialize(self, params):
|
|
3287
|
+
self._JobId = params.get("JobId")
|
|
3288
|
+
self._RequestId = params.get("RequestId")
|
|
3289
|
+
|
|
3290
|
+
|
|
2989
3291
|
class SubmitVideoFaceFusionJobRequest(AbstractModel):
|
|
2990
3292
|
r"""SubmitVideoFaceFusionJob请求参数结构体
|
|
2991
3293
|
|
|
@@ -188,6 +188,29 @@ class VclmClient(AbstractClient):
|
|
|
188
188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
189
189
|
|
|
190
190
|
|
|
191
|
+
def DescribeVideoEditJob(self, request):
|
|
192
|
+
r"""用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
|
|
193
|
+
|
|
194
|
+
:param request: Request instance for DescribeVideoEditJob.
|
|
195
|
+
:type request: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoEditJobRequest`
|
|
196
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoEditJobResponse`
|
|
197
|
+
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
params = request._serialize()
|
|
201
|
+
headers = request.headers
|
|
202
|
+
body = self.call("DescribeVideoEditJob", params, headers=headers)
|
|
203
|
+
response = json.loads(body)
|
|
204
|
+
model = models.DescribeVideoEditJobResponse()
|
|
205
|
+
model._deserialize(response["Response"])
|
|
206
|
+
return model
|
|
207
|
+
except Exception as e:
|
|
208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
209
|
+
raise
|
|
210
|
+
else:
|
|
211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
212
|
+
|
|
213
|
+
|
|
191
214
|
def DescribeVideoFaceFusionJob(self, request):
|
|
192
215
|
r"""查询视频人脸融合任务
|
|
193
216
|
|
|
@@ -399,6 +422,29 @@ class VclmClient(AbstractClient):
|
|
|
399
422
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
400
423
|
|
|
401
424
|
|
|
425
|
+
def SubmitVideoEditJob(self, request):
|
|
426
|
+
r"""用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
|
|
427
|
+
|
|
428
|
+
:param request: Request instance for SubmitVideoEditJob.
|
|
429
|
+
:type request: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoEditJobRequest`
|
|
430
|
+
:rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoEditJobResponse`
|
|
431
|
+
|
|
432
|
+
"""
|
|
433
|
+
try:
|
|
434
|
+
params = request._serialize()
|
|
435
|
+
headers = request.headers
|
|
436
|
+
body = self.call("SubmitVideoEditJob", params, headers=headers)
|
|
437
|
+
response = json.loads(body)
|
|
438
|
+
model = models.SubmitVideoEditJobResponse()
|
|
439
|
+
model._deserialize(response["Response"])
|
|
440
|
+
return model
|
|
441
|
+
except Exception as e:
|
|
442
|
+
if isinstance(e, TencentCloudSDKException):
|
|
443
|
+
raise
|
|
444
|
+
else:
|
|
445
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
446
|
+
|
|
447
|
+
|
|
402
448
|
def SubmitVideoFaceFusionJob(self, request):
|
|
403
449
|
r"""提交视频人脸融合任务
|
|
404
450
|
|
|
@@ -152,6 +152,24 @@ class VclmClient(AbstractClient):
|
|
|
152
152
|
|
|
153
153
|
return await self.call_and_deserialize(**kwargs)
|
|
154
154
|
|
|
155
|
+
async def DescribeVideoEditJob(
|
|
156
|
+
self,
|
|
157
|
+
request: models.DescribeVideoEditJobRequest,
|
|
158
|
+
opts: Dict = None,
|
|
159
|
+
) -> models.DescribeVideoEditJobResponse:
|
|
160
|
+
"""
|
|
161
|
+
用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
kwargs = {}
|
|
165
|
+
kwargs["action"] = "DescribeVideoEditJob"
|
|
166
|
+
kwargs["params"] = request._serialize()
|
|
167
|
+
kwargs["resp_cls"] = models.DescribeVideoEditJobResponse
|
|
168
|
+
kwargs["headers"] = request.headers
|
|
169
|
+
kwargs["opts"] = opts or {}
|
|
170
|
+
|
|
171
|
+
return await self.call_and_deserialize(**kwargs)
|
|
172
|
+
|
|
155
173
|
async def DescribeVideoFaceFusionJob(
|
|
156
174
|
self,
|
|
157
175
|
request: models.DescribeVideoFaceFusionJobRequest,
|
|
@@ -318,6 +336,24 @@ class VclmClient(AbstractClient):
|
|
|
318
336
|
|
|
319
337
|
return await self.call_and_deserialize(**kwargs)
|
|
320
338
|
|
|
339
|
+
async def SubmitVideoEditJob(
|
|
340
|
+
self,
|
|
341
|
+
request: models.SubmitVideoEditJobRequest,
|
|
342
|
+
opts: Dict = None,
|
|
343
|
+
) -> models.SubmitVideoEditJobResponse:
|
|
344
|
+
"""
|
|
345
|
+
用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
|
|
346
|
+
"""
|
|
347
|
+
|
|
348
|
+
kwargs = {}
|
|
349
|
+
kwargs["action"] = "SubmitVideoEditJob"
|
|
350
|
+
kwargs["params"] = request._serialize()
|
|
351
|
+
kwargs["resp_cls"] = models.SubmitVideoEditJobResponse
|
|
352
|
+
kwargs["headers"] = request.headers
|
|
353
|
+
kwargs["opts"] = opts or {}
|
|
354
|
+
|
|
355
|
+
return await self.call_and_deserialize(**kwargs)
|
|
356
|
+
|
|
321
357
|
async def SubmitVideoFaceFusionJob(
|
|
322
358
|
self,
|
|
323
359
|
request: models.SubmitVideoFaceFusionJobRequest,
|
|
@@ -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.22
|
|
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.22
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.22
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.8
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|