tccli 3.0.1108.1__py2.py3-none-any.whl → 3.0.1110.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/bi/v20220105/CreateEmbedToken.md +4 -2
- tccli/examples/cam/v20190116/CreateRole.md +1 -1
- tccli/examples/ccc/v20200210/CreateCompanyApply.md +10 -3
- tccli/examples/ccc/v20200210/DescribeCompanyList.md +2 -1
- tccli/examples/ccc/v20200210/ModifyCompanyApply.md +10 -3
- tccli/examples/emr/v20190103/DescribeEmrOverviewMetrics.md +40 -0
- tccli/examples/emr/v20190103/DescribeHBaseTableOverview.md +94 -0
- tccli/examples/ims/v20200713/ImageModeration.md +2 -2
- tccli/examples/ims/v20201229/ImageModeration.md +2 -2
- tccli/examples/vcg/v20240404/DescribeVideoStylizationJob.md +24 -0
- tccli/examples/vcg/v20240404/SubmitVideoStylizationJob.md +22 -0
- tccli/examples/vtc/v20240223/ConfirmVideoTranslateJob.md +33 -0
- tccli/examples/vtc/v20240223/DescribeVideoTranslateJob.md +70 -0
- tccli/examples/vtc/v20240223/SubmitVideoTranslateJob.md +49 -0
- tccli/services/__init__.py +6 -0
- tccli/services/autoscaling/v20180419/api.json +9 -8
- tccli/services/bi/v20220105/api.json +22 -3
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/cam/v20190116/api.json +71 -70
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +99 -11
- tccli/services/ccc/v20200210/examples.json +3 -3
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +33 -13
- tccli/services/cls/v20201016/api.json +10 -10
- tccli/services/cvm/v20170312/api.json +33 -0
- tccli/services/dbbrain/v20210527/api.json +5 -5
- tccli/services/emr/emr_client.py +114 -8
- tccli/services/emr/v20190103/api.json +493 -0
- tccli/services/emr/v20190103/examples.json +16 -0
- tccli/services/hunyuan/v20230901/api.json +9 -0
- tccli/services/ims/v20200713/api.json +1 -1
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +1 -1
- tccli/services/ims/v20201229/examples.json +1 -1
- tccli/services/ms/v20180408/api.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +10 -34
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/tcss/v20201101/api.json +5 -5
- tccli/services/tdmq/v20200217/api.json +7 -7
- tccli/services/trtc/v20190722/api.json +20 -11
- tccli/services/vcg/__init__.py +4 -0
- tccli/services/vcg/v20240404/api.json +140 -0
- tccli/services/vcg/v20240404/examples.json +21 -0
- tccli/services/vcg/vcg_client.py +248 -0
- tccli/services/vod/v20180717/api.json +9 -0
- tccli/services/vtc/__init__.py +4 -0
- tccli/services/vtc/v20240223/api.json +425 -0
- tccli/services/vtc/v20240223/examples.json +41 -0
- tccli/services/vtc/vtc_client.py +301 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/RECORD +57 -42
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,425 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"ConfirmVideoTranslateJob": {
|
4
|
+
"document": "确认视频翻译结果",
|
5
|
+
"input": "ConfirmVideoTranslateJobRequest",
|
6
|
+
"name": "确认视频翻译结果",
|
7
|
+
"output": "ConfirmVideoTranslateJobResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"DescribeVideoTranslateJob": {
|
11
|
+
"document": "查询视频翻译任务",
|
12
|
+
"input": "DescribeVideoTranslateJobRequest",
|
13
|
+
"name": "查询视频转译任务",
|
14
|
+
"output": "DescribeVideoTranslateJobResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
17
|
+
"SubmitVideoTranslateJob": {
|
18
|
+
"document": "提交视频转译任务",
|
19
|
+
"input": "SubmitVideoTranslateJobRequest",
|
20
|
+
"name": "提交视频转译任务",
|
21
|
+
"output": "SubmitVideoTranslateJobResponse",
|
22
|
+
"status": "online"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"metadata": {
|
26
|
+
"apiVersion": "2024-02-23",
|
27
|
+
"api_brief": "视频翻译",
|
28
|
+
"serviceNameCN": "视频转译",
|
29
|
+
"serviceShortName": "vtc"
|
30
|
+
},
|
31
|
+
"objects": {
|
32
|
+
"AsrTimestamps": {
|
33
|
+
"document": "文本片段及其时间戳",
|
34
|
+
"members": [
|
35
|
+
{
|
36
|
+
"disabled": false,
|
37
|
+
"document": "文本片段\n注意:此字段可能返回 null,表示取不到有效值。",
|
38
|
+
"example": "无",
|
39
|
+
"member": "string",
|
40
|
+
"name": "Text",
|
41
|
+
"output_required": true,
|
42
|
+
"type": "string",
|
43
|
+
"value_allowed_null": true
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"disabled": false,
|
47
|
+
"document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
48
|
+
"example": "无",
|
49
|
+
"member": "int64",
|
50
|
+
"name": "StartMs",
|
51
|
+
"output_required": true,
|
52
|
+
"type": "int",
|
53
|
+
"value_allowed_null": true
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"disabled": false,
|
57
|
+
"document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
58
|
+
"example": "无",
|
59
|
+
"member": "int64",
|
60
|
+
"name": "EndMs",
|
61
|
+
"output_required": true,
|
62
|
+
"type": "int",
|
63
|
+
"value_allowed_null": true
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"usage": "out"
|
67
|
+
},
|
68
|
+
"AudioTranslateResult": {
|
69
|
+
"document": "音频翻译结果",
|
70
|
+
"members": [
|
71
|
+
{
|
72
|
+
"disabled": false,
|
73
|
+
"document": "原文本",
|
74
|
+
"example": "无",
|
75
|
+
"member": "string",
|
76
|
+
"name": "SourceText",
|
77
|
+
"required": true,
|
78
|
+
"type": "string"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"disabled": false,
|
82
|
+
"document": "目标文本",
|
83
|
+
"example": "无",
|
84
|
+
"member": "string",
|
85
|
+
"name": "TargetText",
|
86
|
+
"required": true,
|
87
|
+
"type": "string"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"usage": "in"
|
91
|
+
},
|
92
|
+
"ConfirmVideoTranslateJobRequest": {
|
93
|
+
"document": "ConfirmVideoTranslateJob请求参数结构体",
|
94
|
+
"members": [
|
95
|
+
{
|
96
|
+
"disabled": false,
|
97
|
+
"document": "视频翻译任务 ID",
|
98
|
+
"example": "无",
|
99
|
+
"member": "string",
|
100
|
+
"name": "JobId",
|
101
|
+
"required": true,
|
102
|
+
"type": "string"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"disabled": false,
|
106
|
+
"document": "待确认文本",
|
107
|
+
"example": "无",
|
108
|
+
"member": "AudioTranslateResult",
|
109
|
+
"name": "TranslateResults",
|
110
|
+
"required": true,
|
111
|
+
"type": "list"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"type": "object"
|
115
|
+
},
|
116
|
+
"ConfirmVideoTranslateJobResponse": {
|
117
|
+
"document": "ConfirmVideoTranslateJob返回参数结构体",
|
118
|
+
"members": [
|
119
|
+
{
|
120
|
+
"disabled": false,
|
121
|
+
"document": "视频翻译任务 ID",
|
122
|
+
"example": "无",
|
123
|
+
"member": "string",
|
124
|
+
"name": "JobId",
|
125
|
+
"output_required": false,
|
126
|
+
"type": "string",
|
127
|
+
"value_allowed_null": false
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"disabled": false,
|
131
|
+
"document": "音频转换任务 ID",
|
132
|
+
"example": "无",
|
133
|
+
"member": "string",
|
134
|
+
"name": "TaskId",
|
135
|
+
"output_required": false,
|
136
|
+
"type": "string",
|
137
|
+
"value_allowed_null": false
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"disabled": false,
|
141
|
+
"document": "音频翻译结果确认 session",
|
142
|
+
"example": "无",
|
143
|
+
"member": "string",
|
144
|
+
"name": "SessionId",
|
145
|
+
"output_required": false,
|
146
|
+
"type": "string",
|
147
|
+
"value_allowed_null": false
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
151
|
+
"member": "string",
|
152
|
+
"name": "RequestId",
|
153
|
+
"type": "string"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"type": "object"
|
157
|
+
},
|
158
|
+
"DescribeVideoTranslateJobRequest": {
|
159
|
+
"document": "DescribeVideoTranslateJob请求参数结构体",
|
160
|
+
"members": [
|
161
|
+
{
|
162
|
+
"disabled": false,
|
163
|
+
"document": "JobId。",
|
164
|
+
"example": "无",
|
165
|
+
"member": "string",
|
166
|
+
"name": "JobId",
|
167
|
+
"required": true,
|
168
|
+
"type": "string"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"type": "object"
|
172
|
+
},
|
173
|
+
"DescribeVideoTranslateJobResponse": {
|
174
|
+
"document": "DescribeVideoTranslateJob返回参数结构体",
|
175
|
+
"members": [
|
176
|
+
{
|
177
|
+
"disabled": false,
|
178
|
+
"document": "任务状态。 1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。",
|
179
|
+
"example": "无",
|
180
|
+
"member": "int64",
|
181
|
+
"name": "JobStatus",
|
182
|
+
"output_required": false,
|
183
|
+
"type": "int",
|
184
|
+
"value_allowed_null": false
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"disabled": false,
|
188
|
+
"document": "任务错误码。",
|
189
|
+
"example": "无",
|
190
|
+
"member": "string",
|
191
|
+
"name": "JobErrorCode",
|
192
|
+
"output_required": false,
|
193
|
+
"type": "string",
|
194
|
+
"value_allowed_null": false
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"disabled": false,
|
198
|
+
"document": "任务错误信息。",
|
199
|
+
"example": "无",
|
200
|
+
"member": "string",
|
201
|
+
"name": "JobErrorMsg",
|
202
|
+
"output_required": false,
|
203
|
+
"type": "string",
|
204
|
+
"value_allowed_null": false
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"disabled": false,
|
208
|
+
"document": "视频翻译结果。",
|
209
|
+
"example": "无",
|
210
|
+
"member": "string",
|
211
|
+
"name": "ResultVideoUrl",
|
212
|
+
"output_required": false,
|
213
|
+
"type": "string",
|
214
|
+
"value_allowed_null": false
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"disabled": false,
|
218
|
+
"document": "音频翻译结果。",
|
219
|
+
"example": "无",
|
220
|
+
"member": "TranslateResult",
|
221
|
+
"name": "TranslateResults",
|
222
|
+
"output_required": false,
|
223
|
+
"type": "list",
|
224
|
+
"value_allowed_null": false
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"disabled": false,
|
228
|
+
"document": "是否需要确认翻译结果。0:不需要,1:需要",
|
229
|
+
"example": "无",
|
230
|
+
"member": "int64",
|
231
|
+
"name": "JobConfirm",
|
232
|
+
"output_required": false,
|
233
|
+
"type": "int",
|
234
|
+
"value_allowed_null": false
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"disabled": false,
|
238
|
+
"document": "音频任务 ID",
|
239
|
+
"example": "无",
|
240
|
+
"member": "string",
|
241
|
+
"name": "JobAudioTaskId",
|
242
|
+
"output_required": false,
|
243
|
+
"type": "string",
|
244
|
+
"value_allowed_null": false
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"disabled": false,
|
248
|
+
"document": "视频审核任务ID",
|
249
|
+
"example": "无",
|
250
|
+
"member": "string",
|
251
|
+
"name": "JobVideoModerationId",
|
252
|
+
"output_required": false,
|
253
|
+
"type": "string",
|
254
|
+
"value_allowed_null": false
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"disabled": false,
|
258
|
+
"document": "视频生成任务 ID",
|
259
|
+
"example": "无",
|
260
|
+
"member": "string",
|
261
|
+
"name": "JobVideoId",
|
262
|
+
"output_required": false,
|
263
|
+
"type": "string",
|
264
|
+
"value_allowed_null": false
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"disabled": false,
|
268
|
+
"document": "视频素材原始 URL",
|
269
|
+
"example": "无",
|
270
|
+
"member": "string",
|
271
|
+
"name": "OriginalVideoUrl",
|
272
|
+
"output_required": false,
|
273
|
+
"type": "string",
|
274
|
+
"value_allowed_null": false
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"disabled": false,
|
278
|
+
"document": "文本片段及其时间戳",
|
279
|
+
"example": "无",
|
280
|
+
"member": "AsrTimestamps",
|
281
|
+
"name": "AsrTimestamps",
|
282
|
+
"output_required": false,
|
283
|
+
"type": "list",
|
284
|
+
"value_allowed_null": false
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"disabled": false,
|
288
|
+
"document": "提交视频翻译任务时的 requestId",
|
289
|
+
"example": "无",
|
290
|
+
"member": "string",
|
291
|
+
"name": "JobSubmitReqId",
|
292
|
+
"output_required": false,
|
293
|
+
"type": "string",
|
294
|
+
"value_allowed_null": false
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"disabled": false,
|
298
|
+
"document": "音频审核任务 ID",
|
299
|
+
"example": "无",
|
300
|
+
"member": "string",
|
301
|
+
"name": "JobAudioModerationId",
|
302
|
+
"output_required": false,
|
303
|
+
"type": "string",
|
304
|
+
"value_allowed_null": false
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
308
|
+
"member": "string",
|
309
|
+
"name": "RequestId",
|
310
|
+
"type": "string"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"type": "object"
|
314
|
+
},
|
315
|
+
"SubmitVideoTranslateJobRequest": {
|
316
|
+
"document": "SubmitVideoTranslateJob请求参数结构体",
|
317
|
+
"members": [
|
318
|
+
{
|
319
|
+
"disabled": false,
|
320
|
+
"document": "视频地址URL。",
|
321
|
+
"example": "无",
|
322
|
+
"member": "string",
|
323
|
+
"name": "VideoUrl",
|
324
|
+
"required": true,
|
325
|
+
"type": "string"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"disabled": false,
|
329
|
+
"document": "源语言:zh, en",
|
330
|
+
"example": "无",
|
331
|
+
"member": "string",
|
332
|
+
"name": "SrcLang",
|
333
|
+
"required": true,
|
334
|
+
"type": "string"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"disabled": false,
|
338
|
+
"document": "目标语言:zh, en",
|
339
|
+
"example": "无",
|
340
|
+
"member": "string",
|
341
|
+
"name": "DstLang",
|
342
|
+
"required": true,
|
343
|
+
"type": "string"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"disabled": false,
|
347
|
+
"document": "当音频 URL 不为空时,默认以音频驱动视频任务口型",
|
348
|
+
"example": "无",
|
349
|
+
"member": "string",
|
350
|
+
"name": "AudioUrl",
|
351
|
+
"required": false,
|
352
|
+
"type": "string"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"disabled": false,
|
356
|
+
"document": "是否需要确认翻译结果0:不需要,1:需要",
|
357
|
+
"example": "无",
|
358
|
+
"member": "int64",
|
359
|
+
"name": "Confirm",
|
360
|
+
"required": false,
|
361
|
+
"type": "int"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"disabled": false,
|
365
|
+
"document": "是否开启口型驱动,0:不开启,1:开启。默认开启。",
|
366
|
+
"example": "无",
|
367
|
+
"member": "int64",
|
368
|
+
"name": "LipSync",
|
369
|
+
"required": false,
|
370
|
+
"type": "int"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"type": "object"
|
374
|
+
},
|
375
|
+
"SubmitVideoTranslateJobResponse": {
|
376
|
+
"document": "SubmitVideoTranslateJob返回参数结构体",
|
377
|
+
"members": [
|
378
|
+
{
|
379
|
+
"disabled": false,
|
380
|
+
"document": "任务ID。",
|
381
|
+
"example": "无",
|
382
|
+
"member": "string",
|
383
|
+
"name": "JobId",
|
384
|
+
"output_required": false,
|
385
|
+
"type": "string",
|
386
|
+
"value_allowed_null": false
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
390
|
+
"member": "string",
|
391
|
+
"name": "RequestId",
|
392
|
+
"type": "string"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"type": "object"
|
396
|
+
},
|
397
|
+
"TranslateResult": {
|
398
|
+
"document": "音频翻译结果。",
|
399
|
+
"members": [
|
400
|
+
{
|
401
|
+
"disabled": false,
|
402
|
+
"document": "翻译源文字。\n注意:此字段可能返回 null,表示取不到有效值。",
|
403
|
+
"example": "无",
|
404
|
+
"member": "string",
|
405
|
+
"name": "SourceText",
|
406
|
+
"output_required": false,
|
407
|
+
"type": "string",
|
408
|
+
"value_allowed_null": true
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"disabled": false,
|
412
|
+
"document": "翻译后文字。\n注意:此字段可能返回 null,表示取不到有效值。",
|
413
|
+
"example": "无",
|
414
|
+
"member": "string",
|
415
|
+
"name": "TargetText",
|
416
|
+
"output_required": false,
|
417
|
+
"type": "string",
|
418
|
+
"value_allowed_null": true
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"usage": "out"
|
422
|
+
}
|
423
|
+
},
|
424
|
+
"version": "1.0"
|
425
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"ConfirmVideoTranslateJob": [
|
4
|
+
{
|
5
|
+
"document": "确认视频翻译结果正例",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: vtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfirmVideoTranslateJob\n<公共请求参数>\n\n{\n \"JobId\": \"bEOhlL4G87lFvVmN6PnG3LAH1Kdu5tgs\",\n \"TranslateResults\": [\n {\n \"SourceText\": \"当工作或学习结果不理想,\",\n \"TargetText\": \"When the result of work or study is not ideal\"\n },\n {\n \"SourceText\": \"甚至面临被全盘否定的情况时,\",\n \"TargetText\": \"Even when faced with the situation of being completely denied\"\n },\n {\n \"SourceText\": \"你会如何应对?\",\n \"TargetText\": \"How would you deal with it?\"\n },\n {\n \"SourceText\": \"可以举例说明当时你是如何处理负面情绪,\",\n \"TargetText\": \"You can give an example of how you dealt with negative emotions at that time.\"\n },\n {\n \"SourceText\": \"并找到解决办法的。\",\n \"TargetText\": \"And find a solution.\"\n }\n ]\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"bEOhlL4G87lFvVmN6PnG3LAH1Kdu5tgs\",\n \"RequestId\": \"8357c7a1-d348-4306-b744-ce6625c39fa4\",\n \"SessionId\": \"0bfda02b562d4432be1176904bbcbe68\",\n \"TaskId\": \"ecaa9680e41441399b4f29759174383f\"\n }\n}",
|
8
|
+
"title": "确认视频翻译结果"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"DescribeVideoTranslateJob": [
|
12
|
+
{
|
13
|
+
"document": "调用失败示例",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: vtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoTranslateJob\n<公共请求参数>\n\n{\n \"JobId\": \"111\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.JobNotExist\",\n \"Message\": \"任务不存在。\"\n },\n \"RequestId\": \"78254ad1-c184-4e9e-b5a0-9d3fc435576b\"\n }\n}",
|
16
|
+
"title": "调用失败示例"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"document": "调用成功示例",
|
20
|
+
"input": "POST / HTTP/1.1\nHost: vtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoTranslateJob\n<公共请求参数>\n\n{\n \"JobId\": \"vlSYvQkMM0KwPuoakawm0tPrREwc2p7c\"\n}",
|
21
|
+
"output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatus\": 7,\n \"RequestId\": \"a974b772-3c1d-4868-8909-b1386016b9f0\",\n \"ResultVideoUrl\": \"http://xxx.com/url/xxx.mp4\",\n \"TranslateResults\": [\n {\n \"SourceText\": \"当工作或学习结果不理想,\",\n \"TargetText\": \"When the result of work or study is not ideal\"\n },\n {\n \"SourceText\": \"甚至面临被全盘否定的情况时,\",\n \"TargetText\": \"Even when faced with the situation of being completely denied\"\n },\n {\n \"SourceText\": \"你会如何应对?\",\n \"TargetText\": \"How would you respond?\"\n },\n {\n \"SourceText\": \"可以举例说明当时你是如何处理负面情绪,\",\n \"TargetText\": \"You can give an example of how you dealt with negative emotions at that time.\"\n },\n {\n \"SourceText\": \"并找到解决办法的。\",\n \"TargetText\": \"And find a solution.\"\n }\n ]\n }\n}",
|
22
|
+
"title": "调用成功示例"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"SubmitVideoTranslateJob": [
|
26
|
+
{
|
27
|
+
"document": "调用失败示例",
|
28
|
+
"input": "POST / HTTP/1.1\nHost: vtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n{\n \"VideoUrl\": \"https://xxx.com/url/xxx.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"zh\"\n}",
|
29
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"3787745f-b446-4b39-9471-9032a4c306ee\"\n }\n}",
|
30
|
+
"title": "调用失败示例"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"document": "测试提交视频翻译任务",
|
34
|
+
"input": "POST / HTTP/1.1\nHost: vtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n{\n \"VideoUrl\": \"https://xxx.com/url/xxx.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"en\"\n}",
|
35
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"GLo7lni4PubX9xUwzesuKUOLJokVZ0ll\",\n \"RequestId\": \"950a5a45-7bf5-4db3-aef1-dfedda487575\"\n }\n}",
|
36
|
+
"title": "调用成功示例"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"version": "1.0"
|
41
|
+
}
|