tencentcloud-sdk-python-vclm 3.0.1178__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.
@@ -0,0 +1,187 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.vclm.v20240523 import models
21
+
22
+
23
+ class VclmClient(AbstractClient):
24
+ _apiVersion = '2024-05-23'
25
+ _endpoint = 'vclm.tencentcloudapi.com'
26
+ _service = 'vclm'
27
+
28
+
29
+ def ConfirmVideoTranslateJob(self, request):
30
+ """确认视频转译结果
31
+
32
+ :param request: Request instance for ConfirmVideoTranslateJob.
33
+ :type request: :class:`tencentcloud.vclm.v20240523.models.ConfirmVideoTranslateJobRequest`
34
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.ConfirmVideoTranslateJobResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("ConfirmVideoTranslateJob", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.ConfirmVideoTranslateJobResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def DescribeImageAnimateJob(self, request):
53
+ """用于查询图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。
54
+
55
+ :param request: Request instance for DescribeImageAnimateJob.
56
+ :type request: :class:`tencentcloud.vclm.v20240523.models.DescribeImageAnimateJobRequest`
57
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeImageAnimateJobResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("DescribeImageAnimateJob", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.DescribeImageAnimateJobResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
75
+ def DescribeVideoStylizationJob(self, request):
76
+ """用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。
77
+
78
+ :param request: Request instance for DescribeVideoStylizationJob.
79
+ :type request: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoStylizationJobRequest`
80
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoStylizationJobResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("DescribeVideoStylizationJob", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.DescribeVideoStylizationJobResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
98
+ def DescribeVideoTranslateJob(self, request):
99
+ """查询视频翻译任务
100
+
101
+ :param request: Request instance for DescribeVideoTranslateJob.
102
+ :type request: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoTranslateJobRequest`
103
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoTranslateJobResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("DescribeVideoTranslateJob", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.DescribeVideoTranslateJobResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
121
+ def SubmitImageAnimateJob(self, request):
122
+ """用于提交图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。
123
+
124
+ :param request: Request instance for SubmitImageAnimateJob.
125
+ :type request: :class:`tencentcloud.vclm.v20240523.models.SubmitImageAnimateJobRequest`
126
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitImageAnimateJobResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("SubmitImageAnimateJob", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.SubmitImageAnimateJobResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
144
+ def SubmitVideoStylizationJob(self, request):
145
+ """用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。
146
+
147
+ :param request: Request instance for SubmitVideoStylizationJob.
148
+ :type request: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoStylizationJobRequest`
149
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoStylizationJobResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("SubmitVideoStylizationJob", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.SubmitVideoStylizationJobResponse()
158
+ model._deserialize(response["Response"])
159
+ return model
160
+ except Exception as e:
161
+ if isinstance(e, TencentCloudSDKException):
162
+ raise
163
+ else:
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
+
166
+
167
+ def SubmitVideoTranslateJob(self, request):
168
+ """提交视频转译任务
169
+
170
+ :param request: Request instance for SubmitVideoTranslateJob.
171
+ :type request: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoTranslateJobRequest`
172
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoTranslateJobResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("SubmitVideoTranslateJob", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.SubmitVideoTranslateJobResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-vclm
3
+ Version: 3.0.1178
4
+ Summary: Tencent Cloud Vclm SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Author-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1178)
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Vclm SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-vclm
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common vclm
46
+
47
+
48
+
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=viDcy97j7N6XPAFSXB4kn9qI0NFYbjqqmQLrO7EejN4,631
2
+ tencentcloud/vclm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/vclm/v20240523/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/vclm/v20240523/errorcodes.py,sha256=sR3dJQxWAC5E1M9m4bySw3DDn_Yrrgd1BPRBk46kwi4,6479
5
+ tencentcloud/vclm/v20240523/models.py,sha256=cBOEPDRhOs1DRwK6jiq5n--vJdhUssKVplQ7GfxTzjk,29762
6
+ tencentcloud/vclm/v20240523/vclm_client.py,sha256=uX_N13oIbeD8cgIyDcEU0MotOKPopEz-djOyeOI_s8c,8109
7
+ tencentcloud_sdk_python_vclm-3.0.1178.dist-info/METADATA,sha256=sbbhNqDPL09RUaeBRB4uOpzJvx6q6CcgsH0NpOGnPa4,1497
8
+ tencentcloud_sdk_python_vclm-3.0.1178.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_vclm-3.0.1178.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_vclm-3.0.1178.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.37.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
@@ -0,0 +1 @@
1
+ tencentcloud