tencentcloud-sdk-python-vclm 3.0.1217__py2.py3-none-any.whl → 3.0.1228__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.0.1217'
17
+ __version__ = '3.0.1228'
@@ -101,6 +101,9 @@ FAILEDOPERATION_REQUESTTIMEOUT = 'FailedOperation.RequestTimeout'
101
101
  # 系统内部错误。
102
102
  FAILEDOPERATION_SERVERERROR = 'FailedOperation.ServerError'
103
103
 
104
+ # 请求声伴分离失败,请重试。
105
+ FAILEDOPERATION_SUBMITASSPFAILED = 'FailedOperation.SubmitAsspFailed'
106
+
104
107
  # 任务不存在。
105
108
  FAILEDOPERATION_TASKNOTEXIST = 'FailedOperation.TaskNotExist'
106
109
 
@@ -1097,17 +1097,32 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
1097
1097
  def __init__(self):
1098
1098
  r"""
1099
1099
  :param _VideoUrl: 视频地址URL。
1100
+ 格式要求:支持 mp4、mov 。
1101
+ 时长要求:【10-300】秒。
1102
+ fps 要求:【15-60】fps
1103
+ 分辨率要求:单边像素要求在 【540~1920】 之间。
1104
+
1100
1105
  :type VideoUrl: str
1101
- :param _SrcLang: 源语言:zh, en
1106
+ :param _SrcLang: 源语言:zh(中文), en(英文)
1102
1107
  :type SrcLang: str
1103
- :param _DstLang: 目标语言:zh, en
1108
+ :param _DstLang: 目标语种:
1109
+ zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
1104
1110
  :type DstLang: str
1105
- :param _AudioUrl: 当音频 URL 不为空时,默认以音频驱动视频任务口型
1111
+ :param _AudioUrl: 当音频 URL 不为空时,默认以音频驱动视频任务口型。
1112
+ 格式要求:支持 mp3、m4a、acc、wav 格式。
1113
+ 时长要求:【10~300】秒
1114
+ 大小要求:不超过 100M。
1106
1115
  :type AudioUrl: str
1107
1116
  :param _Confirm: 是否需要确认翻译结果0:不需要,1:需要
1108
1117
  :type Confirm: int
1109
1118
  :param _LipSync: 是否开启口型驱动,0:不开启,1:开启。默认开启。
1110
1119
  :type LipSync: int
1120
+ :param _VoiceType: 音色种别:一种音色种别对应一种不同区域的音色
1121
+ 1)目标语种为小语种(非zh,en)时,该项为必填
1122
+ 2)目标语种为zh,en时,该项为非必填,若填入,则对应填入的音色
1123
+
1124
+ 具体音色包含请见“支持音色种别列表”
1125
+ :type VoiceType: str
1111
1126
  """
1112
1127
  self._VideoUrl = None
1113
1128
  self._SrcLang = None
@@ -1115,6 +1130,7 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
1115
1130
  self._AudioUrl = None
1116
1131
  self._Confirm = None
1117
1132
  self._LipSync = None
1133
+ self._VoiceType = None
1118
1134
 
1119
1135
  @property
1120
1136
  def VideoUrl(self):
@@ -1164,6 +1180,14 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
1164
1180
  def LipSync(self, LipSync):
1165
1181
  self._LipSync = LipSync
1166
1182
 
1183
+ @property
1184
+ def VoiceType(self):
1185
+ return self._VoiceType
1186
+
1187
+ @VoiceType.setter
1188
+ def VoiceType(self, VoiceType):
1189
+ self._VoiceType = VoiceType
1190
+
1167
1191
 
1168
1192
  def _deserialize(self, params):
1169
1193
  self._VideoUrl = params.get("VideoUrl")
@@ -1172,6 +1196,7 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
1172
1196
  self._AudioUrl = params.get("AudioUrl")
1173
1197
  self._Confirm = params.get("Confirm")
1174
1198
  self._LipSync = params.get("LipSync")
1199
+ self._VoiceType = params.get("VoiceType")
1175
1200
  memeber_set = set(params.keys())
1176
1201
  for name, value in vars(self).items():
1177
1202
  property_name = name[1:]
@@ -1189,7 +1214,7 @@ class SubmitVideoTranslateJobResponse(AbstractModel):
1189
1214
 
1190
1215
  def __init__(self):
1191
1216
  r"""
1192
- :param _JobId: 任务ID。
1217
+ :param _JobId: 视频转译任务的Job id
1193
1218
  :type JobId: str
1194
1219
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1195
1220
  :type RequestId: str
@@ -213,7 +213,59 @@ class VclmClient(AbstractClient):
213
213
 
214
214
 
215
215
  def SubmitVideoTranslateJob(self, request):
216
- """提交视频转译任务
216
+ """###### 支持音色种别列表
217
+ | 音色名称 | 性别 | 目标语言 | 音色ID |
218
+ | ------------------------ | ---- | ---------------- | ------ |
219
+ | Florian Multilingual | 男 | 德语(德国) | 701001 |
220
+ | Seraphina | 女 | 德语(德国) | 701002 |
221
+ | Ada Multilingual | 女 | 英语(英国) | 701003 |
222
+ | Ollie Multilingual | 男 | 英语(英国) | 701004 |
223
+ | Ava Multilingual | 女 | 英语(美国) | 701005 |
224
+ | Andrew Multilingual | 男 | 英语(美国) | 701006 |
225
+ | Emma Multilingual | 女 | 英语(美国) | 701007 |
226
+ | Brian Multilingual | 男 | 英语(美国) | 701008 |
227
+ | Jenny Multilingual | 女 | 英语(美国) | 701009 |
228
+ | Ryan Multilingual | 男 | 英语(美国) | 701010 |
229
+ | Adam Multilingual | 男 | 英语(美国) | 701011 |
230
+ | AlloyTurbo Multilingual | 男 | 英语(美国) | 701012 |
231
+ | Amanda Multilingual | 女 | 英语(美国) | 701013 |
232
+ | Brandon Multilingual | 男 | 英语(美国) | 701014 |
233
+ | Christopher Multilingual | 男 | 英语(美国) | 701015 |
234
+ | Cora Multilingual | 女 | 英语(美国) | 701016 |
235
+ | Davis Multilingual | 男 | 英语(美国) | 701017 |
236
+ | Derek Multilingual | 男 | 英语(美国) | 701018 |
237
+ | Dustin Multilingual | 男 | 英语(美国) | 701019 |
238
+ | Evelyn Multilingual | 女 | 英语(美国) | 701020 |
239
+ | Lewis Multilingual | 男 | 英语(美国) | 701021 |
240
+ | Lola Multilingual | 女 | 英语(美国) | 701022 |
241
+ | Nancy Multilingual | 女 | 英语(美国) | 701023 |
242
+ | NovaTurbo Multilingual | 女 | 英语(美国) | 701024 |
243
+ | Phoebe Multilingual | 女 | 英语(美国) | 701025 |
244
+ | Samuel Multilingual | 男 | 英语(美国) | 701026 |
245
+ | Serena Multilingual | 女 | 英语(美国) | 701027 |
246
+ | Steffan Multilingual | 男 | 英语(美国) | 701028 |
247
+ | Arabella Multilingual | 女 | 西班牙语(西班牙) | 701029 |
248
+ | Isidora Multilingual | 女 | 西班牙语(西班牙) | 701030 |
249
+ | Tristan Multilingual | 男 | 西班牙语(西班牙) | 701031 |
250
+ | Ximena Multilingual | 女 | 西班牙语(西班牙) | 701032 |
251
+ | Remy Multilingual | 男 | 法语(法国) | 701033 |
252
+ | Vivienne Multilingual | 女 | 法语(法国) | 701034 |
253
+ | Lucien Multilingual | 男 | 法语(法国) | 701035 |
254
+ | Alessio Multilingual | 男 | 意大利语(意大利) | 701036 |
255
+ | Giuseppe Multilingual | 男 | 意大利语(意大利) | 701037 |
256
+ | Isabella Multilingual | 女 | 意大利语(意大利) | 701038 |
257
+ | Marcello Multilingual | 男 | 意大利语(意大利) | 701039 |
258
+ | Masaru Multilingual | 男 | 日语(日本) | 701040 |
259
+ | Hyunsu Multilingual | 男 | 韩语(韩国) | 701041 |
260
+ | Macerio Multilingual | 男 | 葡萄牙语(巴西) | 701042 |
261
+ | Thalita Multilingual | 女 | 葡萄牙语(巴西) | 701043 |
262
+ | 晓辰 多语言 | 女 | 中文(普通话) | 701044 |
263
+ | 晓晓 多语言 | 女 | 中文(普通话) | 701045 |
264
+ | 晓宇 多语言 | 女 | 中文(普通话) | 701046 |
265
+ | 云逸 多语言 | 男 | 中文(普通话) | 701047 |
266
+ | Yunfan Multilingual | 男 | 中文(普通话) | 701048 |
267
+ | Yunxiao Multilingual | 男 | 中文(普通话) | 701049 |
268
+ | 晓晓 方言 | 女 | 中文(普通话) | 701050 |
217
269
 
218
270
  :param request: Request instance for SubmitVideoTranslateJob.
219
271
  :type request: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoTranslateJobRequest`
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vclm
3
- Version: 3.0.1217
3
+ Version: 3.0.1228
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 (==3.0.1217)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1228)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=yF0KudfiXmeWFHh3CcO5YQnW6pACTczZNWjoePDb4mI,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=FVEtNtmkiOzF8r35yn-zMi8wgmnA21NwgAU2NpDdzLA,9557
5
+ tencentcloud/vclm/v20240523/models.py,sha256=qulBDmUbTZb4MR1JDz7C4mOU2_lIhcV42StY_3gOv5A,37715
6
+ tencentcloud/vclm/v20240523/vclm_client.py,sha256=Karo2Q2sIi1_vWltJDVTt1mfzyVoZK0W61xmLgIoTYE,14182
7
+ tencentcloud_sdk_python_vclm-3.0.1228.dist-info/METADATA,sha256=kEsdvo-d1LD4wEM-f6fp0edXg6Fu_t-NBKeX2yZ0N44,1497
8
+ tencentcloud_sdk_python_vclm-3.0.1228.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_vclm-3.0.1228.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_vclm-3.0.1228.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=nAqJP-2EbR95pFSVXRNKiFs1cOl9Fv4Lz31OcExbf2U,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=0kzhgJozTfDCPWWsMho1zwCaaQ9kmtY6M-HNGRGUa0o,9444
5
- tencentcloud/vclm/v20240523/models.py,sha256=kjzR6yPmqwHJliUI86kKunk7HoV0M5bOaCMYw3cqGaI,36580
6
- tencentcloud/vclm/v20240523/vclm_client.py,sha256=QQ1lIjoAO_eWxERXOYmJCBNgN4TuV4LBIGgPEK5DhiI,10163
7
- tencentcloud_sdk_python_vclm-3.0.1217.dist-info/METADATA,sha256=-SD7Zauf0fKCPtuwY-CY7_S903KMrCvQ9XrOYplKs2I,1497
8
- tencentcloud_sdk_python_vclm-3.0.1217.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_vclm-3.0.1217.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_vclm-3.0.1217.dist-info/RECORD,,