tccli 3.0.1268.1__py2.py3-none-any.whl → 3.0.1269.1__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.
Files changed (87) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +5 -1
  3. tccli/services/aiart/aiart_client.py +106 -0
  4. tccli/services/aiart/v20221229/api.json +275 -0
  5. tccli/services/aiart/v20221229/examples.json +16 -0
  6. tccli/services/billing/billing_client.py +4 -163
  7. tccli/services/billing/v20180709/api.json +0 -489
  8. tccli/services/billing/v20180709/examples.json +0 -24
  9. tccli/services/cat/v20180409/api.json +3 -1
  10. tccli/services/cbs/v20170312/api.json +9 -0
  11. tccli/services/ccc/v20200210/api.json +11 -11
  12. tccli/services/ccc/v20200210/examples.json +2 -2
  13. tccli/services/cdb/v20170320/api.json +48 -18
  14. tccli/services/cfw/v20190904/api.json +30 -30
  15. tccli/services/ckafka/v20190819/api.json +10 -0
  16. tccli/services/csip/v20221121/api.json +38 -38
  17. tccli/services/cwp/cwp_client.py +4 -57
  18. tccli/services/cwp/v20180228/api.json +0 -184
  19. tccli/services/cwp/v20180228/examples.json +0 -8
  20. tccli/services/cynosdb/v20190107/api.json +1 -1
  21. tccli/services/cynosdb/v20190107/examples.json +1 -1
  22. tccli/services/dcdb/dcdb_client.py +122 -16
  23. tccli/services/dcdb/v20180411/api.json +222 -0
  24. tccli/services/dcdb/v20180411/examples.json +16 -0
  25. tccli/services/dlc/v20210125/api.json +145 -26
  26. tccli/services/dlc/v20210125/examples.json +18 -18
  27. tccli/services/domain/v20180808/api.json +8 -8
  28. tccli/services/domain/v20180808/examples.json +3 -3
  29. tccli/services/es/v20180416/api.json +9 -9
  30. tccli/services/ess/v20201111/api.json +1 -1
  31. tccli/services/essbasic/v20210526/api.json +3 -3
  32. tccli/services/essbasic/v20210526/examples.json +2 -2
  33. tccli/services/facefusion/v20220927/api.json +4 -4
  34. tccli/services/faceid/v20180301/api.json +5 -5
  35. tccli/services/faceid/v20180301/examples.json +6 -0
  36. tccli/services/gme/v20180711/api.json +118 -115
  37. tccli/services/gme/v20180711/examples.json +6 -6
  38. tccli/services/hunyuan/v20230901/api.json +9 -0
  39. tccli/services/iotexplorer/v20190423/api.json +4 -4
  40. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  41. tccli/services/keewidb/v20220308/api.json +2 -2
  42. tccli/services/lcic/v20220817/api.json +177 -177
  43. tccli/services/lcic/v20220817/examples.json +2 -2
  44. tccli/services/lighthouse/v20200324/api.json +76 -67
  45. tccli/services/live/v20180801/api.json +1 -1
  46. tccli/services/lke/v20231130/api.json +31 -0
  47. tccli/services/lkeap/v20240522/api.json +55 -9
  48. tccli/services/lkeap/v20240522/examples.json +1 -1
  49. tccli/services/mna/mna_client.py +106 -0
  50. tccli/services/mna/v20210119/api.json +246 -0
  51. tccli/services/mna/v20210119/examples.json +16 -0
  52. tccli/services/monitor/monitor_client.py +62 -57
  53. tccli/services/monitor/v20230616/api.json +266 -0
  54. tccli/services/monitor/v20230616/examples.json +19 -0
  55. tccli/services/mqtt/mqtt_client.py +489 -12
  56. tccli/services/mqtt/v20240516/api.json +864 -3
  57. tccli/services/mqtt/v20240516/examples.json +72 -0
  58. tccli/services/ocr/ocr_client.py +53 -0
  59. tccli/services/ocr/v20181119/api.json +246 -1
  60. tccli/services/ocr/v20181119/examples.json +8 -0
  61. tccli/services/postgres/postgres_client.py +334 -16
  62. tccli/services/postgres/v20170312/api.json +717 -34
  63. tccli/services/postgres/v20170312/examples.json +72 -0
  64. tccli/services/ssl/v20191205/api.json +496 -493
  65. tccli/services/ssl/v20191205/examples.json +144 -24
  66. tccli/services/taf/taf_client.py +0 -159
  67. tccli/services/taf/v20200210/api.json +0 -665
  68. tccli/services/taf/v20200210/examples.json +0 -24
  69. tccli/services/teo/v20220901/api.json +2 -2
  70. tccli/services/tione/v20211111/api.json +14 -3
  71. tccli/services/trabbit/__init__.py +4 -0
  72. tccli/services/trabbit/trabbit_client.py +1691 -0
  73. tccli/services/trabbit/v20230418/api.json +4773 -0
  74. tccli/services/trabbit/v20230418/examples.json +237 -0
  75. tccli/services/trtc/v20190722/api.json +8 -8
  76. tccli/services/trtc/v20190722/examples.json +2 -2
  77. tccli/services/vclm/v20240523/api.json +0 -450
  78. tccli/services/vclm/v20240523/examples.json +0 -48
  79. tccli/services/vclm/vclm_client.py +0 -159
  80. tccli/services/wedata/v20210820/api.json +211 -33
  81. tccli/services/wedata/v20210820/examples.json +14 -0
  82. tccli/services/wedata/wedata_client.py +53 -0
  83. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  84. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +87 -81
  85. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  86. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  87. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -7,13 +7,6 @@
7
7
  "output": "CheckAnimateImageJobResponse",
8
8
  "status": "online"
9
9
  },
10
- "ConfirmVideoTranslateJob": {
11
- "document": "确认视频转译结果",
12
- "input": "ConfirmVideoTranslateJobRequest",
13
- "name": "确认视频转译结果",
14
- "output": "ConfirmVideoTranslateJobResponse",
15
- "status": "online"
16
- },
17
10
  "DescribeImageAnimateJob": {
18
11
  "document": "用于查询图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。",
19
12
  "input": "DescribeImageAnimateJobRequest",
@@ -35,13 +28,6 @@
35
28
  "output": "DescribeVideoStylizationJobResponse",
36
29
  "status": "online"
37
30
  },
38
- "DescribeVideoTranslateJob": {
39
- "document": "查询视频转译任务",
40
- "input": "DescribeVideoTranslateJobRequest",
41
- "name": "查询视频转译任务",
42
- "output": "DescribeVideoTranslateJobResponse",
43
- "status": "online"
44
- },
45
31
  "SubmitImageAnimateJob": {
46
32
  "document": "用于提交图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。",
47
33
  "input": "SubmitImageAnimateJobRequest",
@@ -62,13 +48,6 @@
62
48
  "name": "提交视频风格化任务",
63
49
  "output": "SubmitVideoStylizationJobResponse",
64
50
  "status": "online"
65
- },
66
- "SubmitVideoTranslateJob": {
67
- "document": "### 支持音色种别列表。\n每个音色都支持:英语(美国)、阿拉伯语、德语、西班牙语、法语、印尼语、意大利语、日语、韩语、马来语、葡萄牙语、俄语、泰语、土耳其语、越南语。\n\n| 音色名称 | 性别 | 音色ID |\n| ----------- | ---- | ------ |\n| Seraphina | 女 | 701002 |\n| Ada | 女 | 701003 |\n| Emma | 女 | 701007 |\n| Brian | 男 | 701008 |\n| Amanda | 女 | 701013 |\n| Brandon | 男 | 701014 |\n| Christopher | 男 | 701015 |\n| Davis | 男 | 701017 |\n| Derek | 男 | 701018 |\n| Dustin | 男 | 701019 |\n| Evelyn | 女 | 701020 |\n| Lewis | 男 | 701021 |\n| Lola | 女 | 701022 |\n| Samuel | 男 | 701026 |\n| Steffan | 男 | 701028 |\n| Arabella | 女 | 701029 |\n| Isidora | 女 | 701030 |\n| Tristan | 男 | 701031 |\n| Vivienne | 女 | 701034 |\n| Lucien | 男 | 701035 |\n| Alessio | 男 | 701036 |\n| Giuseppe | 男 | 701037 |\n| Isabella | 女 | 701038 |\n| Marcello | 男 | 701039 |\n| Masaru | 男 | 701040 |\n| Macerio | 男 | 701042 |\n| Thalita | 女 | 701043 |\n| 晓晓 | 女 | 701045 |\n| 晓宇 | 女 | 701046 |\n| 云逸 | 男 | 701047 |\n| Yunfan | 男 | 701048 |",
68
- "input": "SubmitVideoTranslateJobRequest",
69
- "name": "提交视频转译任务",
70
- "output": "SubmitVideoTranslateJobResponse",
71
- "status": "online"
72
51
  }
73
52
  },
74
53
  "metadata": {
@@ -78,45 +57,6 @@
78
57
  "serviceShortName": "vclm"
79
58
  },
80
59
  "objects": {
81
- "AsrTimestamps": {
82
- "document": "文本片段及其时间戳",
83
- "members": [
84
- {
85
- "disabled": false,
86
- "document": "文本片段\t\n注意:此字段可能返回 null,表示取不到有效值。",
87
- "example": "无",
88
- "member": "string",
89
- "name": "Text",
90
- "output_required": true,
91
- "required": true,
92
- "type": "string",
93
- "value_allowed_null": true
94
- },
95
- {
96
- "disabled": false,
97
- "document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
98
- "example": "无",
99
- "member": "int64",
100
- "name": "StartMs",
101
- "output_required": true,
102
- "required": true,
103
- "type": "int",
104
- "value_allowed_null": true
105
- },
106
- {
107
- "disabled": false,
108
- "document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
109
- "example": "无",
110
- "member": "int64",
111
- "name": "EndMs",
112
- "output_required": true,
113
- "required": true,
114
- "type": "int",
115
- "value_allowed_null": true
116
- }
117
- ],
118
- "usage": "both"
119
- },
120
60
  "CheckAnimateImageJobRequest": {
121
61
  "document": "CheckAnimateImageJob请求参数结构体",
122
62
  "members": [
@@ -181,102 +121,6 @@
181
121
  ],
182
122
  "type": "object"
183
123
  },
184
- "ConfirmVideoTranslateJobRequest": {
185
- "document": "ConfirmVideoTranslateJob请求参数结构体",
186
- "members": [
187
- {
188
- "disabled": false,
189
- "document": "视频转译任务 ID",
190
- "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c",
191
- "member": "string",
192
- "name": "JobId",
193
- "required": true,
194
- "type": "string"
195
- },
196
- {
197
- "disabled": false,
198
- "document": "待确认文本。\n如果文本中含有数字,支持将数字配置为SSML语言",
199
- "example": "[{\"SourceText\":\"当工作或学习结果不理想,甚至面临被全盘否定的情况时,你会如何应对?可以举例说明当时你是如何处理负面情绪,并找到解决办法的。\",\"TargetText\":\"How do you cope when work or academic results are not ideal, or even when faced with a complete denial of your efforts? Provide an example of how you managed negative emotions and found a solution in such a situation.\"}]",
200
- "member": "TranslateResult",
201
- "name": "TranslateResults",
202
- "required": true,
203
- "type": "list"
204
- }
205
- ],
206
- "type": "object"
207
- },
208
- "ConfirmVideoTranslateJobResponse": {
209
- "document": "ConfirmVideoTranslateJob返回参数结构体",
210
- "members": [
211
- {
212
- "disabled": false,
213
- "document": "视频转译任务 ID。",
214
- "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c",
215
- "member": "string",
216
- "name": "JobId",
217
- "output_required": false,
218
- "type": "string",
219
- "value_allowed_null": false
220
- },
221
- {
222
- "disabled": true,
223
- "document": "音频转译任务 ID。",
224
- "example": "ecaa9680e41441399b4f29759174383f",
225
- "member": "string",
226
- "name": "TaskId",
227
- "output_required": false,
228
- "type": "string",
229
- "value_allowed_null": false
230
- },
231
- {
232
- "disabled": true,
233
- "document": "音频转译结果确认 session。\t",
234
- "example": "0bfda02b562d4432be1176904bbcbe68",
235
- "member": "string",
236
- "name": "SessionId",
237
- "output_required": false,
238
- "type": "string",
239
- "value_allowed_null": false
240
- },
241
- {
242
- "disabled": true,
243
- "document": "任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。",
244
- "example": "5",
245
- "member": "int64",
246
- "name": "Status",
247
- "output_required": false,
248
- "type": "int",
249
- "value_allowed_null": false
250
- },
251
- {
252
- "disabled": true,
253
- "document": "视频转译任务信息。\t",
254
- "example": "音频转译结果已确认",
255
- "member": "string",
256
- "name": "Message",
257
- "output_required": false,
258
- "type": "string",
259
- "value_allowed_null": false
260
- },
261
- {
262
- "disabled": false,
263
- "document": "任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。",
264
- "example": "5",
265
- "member": "int64",
266
- "name": "JobStatus",
267
- "output_required": false,
268
- "type": "int",
269
- "value_allowed_null": false
270
- },
271
- {
272
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
273
- "member": "string",
274
- "name": "RequestId",
275
- "type": "string"
276
- }
277
- ],
278
- "type": "object"
279
- },
280
124
  "DescribeImageAnimateJobRequest": {
281
125
  "document": "DescribeImageAnimateJob请求参数结构体",
282
126
  "members": [
@@ -508,163 +352,6 @@
508
352
  ],
509
353
  "type": "object"
510
354
  },
511
- "DescribeVideoTranslateJobRequest": {
512
- "document": "DescribeVideoTranslateJob请求参数结构体",
513
- "members": [
514
- {
515
- "disabled": false,
516
- "document": "视频转译任务 ID",
517
- "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c",
518
- "member": "string",
519
- "name": "JobId",
520
- "required": true,
521
- "type": "string"
522
- }
523
- ],
524
- "type": "object"
525
- },
526
- "DescribeVideoTranslateJobResponse": {
527
- "document": "DescribeVideoTranslateJob返回参数结构体",
528
- "members": [
529
- {
530
- "disabled": false,
531
- "document": "任务状态。0: 任务初始化。 1:音频转译中。 2:音频转译失败。 3:音频转译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频转译中。 7:视频转译失败。 8:视频转译成功。\t",
532
- "example": "8",
533
- "member": "int64",
534
- "name": "JobStatus",
535
- "output_required": false,
536
- "type": "int",
537
- "value_allowed_null": false
538
- },
539
- {
540
- "disabled": false,
541
- "document": "本次任务出错的错误码,用来定位问题原因。",
542
- "example": "FailedOperation.JobNotExist",
543
- "member": "string",
544
- "name": "JobErrorCode",
545
- "output_required": false,
546
- "type": "string",
547
- "value_allowed_null": false
548
- },
549
- {
550
- "disabled": false,
551
- "document": "任务错误信息,错误码出现的原因。",
552
- "example": "任务不存在",
553
- "member": "string",
554
- "name": "JobErrorMsg",
555
- "output_required": false,
556
- "type": "string",
557
- "value_allowed_null": false
558
- },
559
- {
560
- "disabled": false,
561
- "document": "视频转译生成结果视频url,有效期1天。当JobStatus为8时,该字段返回视频Url。",
562
- "example": "https://tencent.cos.ap-guangzhou.myqcloud.com/video_translate/output/video.mp4",
563
- "member": "string",
564
- "name": "ResultVideoUrl",
565
- "output_required": false,
566
- "type": "string",
567
- "value_allowed_null": false
568
- },
569
- {
570
- "disabled": false,
571
- "document": "音频转译后分句翻译内容,包含分句起始时间、源识别文本以及翻译后文本。\n当JobStatus为3、4时,该字段返回分句翻译数据。",
572
- "example": "无",
573
- "member": "TranslateResult",
574
- "name": "TranslateResults",
575
- "output_required": false,
576
- "type": "list",
577
- "value_allowed_null": false
578
- },
579
- {
580
- "disabled": true,
581
- "document": "是否需要确认翻译结果。0:不需要,1:需要。\t",
582
- "example": "1",
583
- "member": "int64",
584
- "name": "JobConfirm",
585
- "output_required": false,
586
- "type": "int",
587
- "value_allowed_null": false
588
- },
589
- {
590
- "disabled": true,
591
- "document": "音频任务 ID。\t",
592
- "example": "b4c2e836bf01418a888c8958f06c75fd",
593
- "member": "string",
594
- "name": "JobAudioTaskId",
595
- "output_required": false,
596
- "type": "string",
597
- "value_allowed_null": false
598
- },
599
- {
600
- "disabled": true,
601
- "document": "视频审核任务ID。",
602
- "example": "1245282556098985984",
603
- "member": "string",
604
- "name": "JobVideoModerationId",
605
- "output_required": false,
606
- "type": "string",
607
- "value_allowed_null": false
608
- },
609
- {
610
- "disabled": true,
611
- "document": "音频审核任务 ID。",
612
- "example": "1982362556098762761",
613
- "member": "string",
614
- "name": "JobAudioModerationId",
615
- "output_required": false,
616
- "type": "string",
617
- "value_allowed_null": false
618
- },
619
- {
620
- "disabled": true,
621
- "document": "口型驱动任务 ID。",
622
- "example": "1245339406861418496",
623
- "member": "string",
624
- "name": "JobVideoId",
625
- "output_required": false,
626
- "type": "string",
627
- "value_allowed_null": false
628
- },
629
- {
630
- "disabled": true,
631
- "document": "视频素材原始 URL。",
632
- "example": "https://console.cloud.tencent.com/cos/video.mp4",
633
- "member": "string",
634
- "name": "OriginalVideoUrl",
635
- "output_required": false,
636
- "type": "string",
637
- "value_allowed_null": false
638
- },
639
- {
640
- "disabled": false,
641
- "document": "文本片段及其时间戳。",
642
- "example": "无",
643
- "member": "AsrTimestamps",
644
- "name": "AsrTimestamps",
645
- "output_required": false,
646
- "type": "list",
647
- "value_allowed_null": false
648
- },
649
- {
650
- "disabled": true,
651
- "document": "提交视频转译任务时的 requestId。",
652
- "example": "403fb3f1-c40b-454b-9a68-fbcdefcdce58",
653
- "member": "string",
654
- "name": "JobSubmitReqId",
655
- "output_required": false,
656
- "type": "string",
657
- "value_allowed_null": false
658
- },
659
- {
660
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
661
- "member": "string",
662
- "name": "RequestId",
663
- "type": "string"
664
- }
665
- ],
666
- "type": "object"
667
- },
668
355
  "LogoParam": {
669
356
  "document": "logo参数",
670
357
  "members": [
@@ -999,143 +686,6 @@
999
686
  }
1000
687
  ],
1001
688
  "type": "object"
1002
- },
1003
- "SubmitVideoTranslateJobRequest": {
1004
- "document": "SubmitVideoTranslateJob请求参数结构体",
1005
- "members": [
1006
- {
1007
- "disabled": false,
1008
- "document": "视频地址URL。\n格式要求:支持 mp4、mov、avi 。\n时长要求:【5-600】秒。\nfps 要求:【15-60】fps\n分辨率要求:单边像素要求在 【360~4096】 之间。\n大小要求:不超过500MB\n请保证文件的下载速度,否则会下载失败。",
1009
- "example": "http://console.cloud.tencent.com/cos/video.mp4",
1010
- "member": "string",
1011
- "name": "VideoUrl",
1012
- "required": true,
1013
- "type": "string"
1014
- },
1015
- {
1016
- "disabled": false,
1017
- "document": "输入视频中音频语种\n目前支持语种范围:zh(中文), en(英文)",
1018
- "example": "zh(中文)",
1019
- "member": "string",
1020
- "name": "SrcLang",
1021
- "required": true,
1022
- "type": "string"
1023
- },
1024
- {
1025
- "disabled": false,
1026
- "document": "当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。\n格式要求:支持 mp3、m4a、aac、wav 格式。\n时长要求:【5~600】秒,音频时长要匹配视频时长。\n大小要求:不超过 100MB。\n请保证文件的下载速度,否则会下载失败。",
1027
- "example": "http://console.cloud.tencent.com/cos/audio.mp3",
1028
- "member": "string",
1029
- "name": "AudioUrl",
1030
- "required": false,
1031
- "type": "string"
1032
- },
1033
- {
1034
- "disabled": false,
1035
- "document": "输出视频中翻译语种。默认是en(英语)。\n目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)",
1036
- "example": "ar(阿拉伯语)",
1037
- "member": "string",
1038
- "name": "DstLang",
1039
- "required": false,
1040
- "type": "string"
1041
- },
1042
- {
1043
- "disabled": false,
1044
- "document": "翻译语种匹配音色种别,其他说明如下:\n1)默认不填代表克隆输入视频中音频音色;\n2)翻译语种非中英(即zh、en),该项必填;\n\n具体音色种别详见说明“支持音色种别列表”,每个音色都支持 15 个目标语种。\n",
1045
- "example": "701003",
1046
- "member": "string",
1047
- "name": "VoiceType",
1048
- "required": false,
1049
- "type": "string"
1050
- },
1051
- {
1052
- "disabled": false,
1053
- "document": "是否需要纠正视频中音频识别与翻译内容,取值范围:0-不需要,1-需要,默认0。\n",
1054
- "example": "1",
1055
- "member": "int64",
1056
- "name": "Confirm",
1057
- "required": false,
1058
- "type": "int"
1059
- },
1060
- {
1061
- "disabled": false,
1062
- "document": "是否需要去除VideoUrl或AudioUrl中背景音,取值范围:0-不需要,1-需要,默认0 。",
1063
- "example": "0",
1064
- "member": "int64",
1065
- "name": "RemoveVocal",
1066
- "required": false,
1067
- "type": "int"
1068
- },
1069
- {
1070
- "disabled": false,
1071
- "document": "是否开启口型驱动,0-不开启,1-开启。默认0。",
1072
- "example": "1",
1073
- "member": "int64",
1074
- "name": "LipSync",
1075
- "required": false,
1076
- "type": "int"
1077
- },
1078
- {
1079
- "disabled": false,
1080
- "document": "当 AudioUrl 字段有输入音频时,如果输入音频时长大于输入视频时长,会拼接视频( 0-正向拼接、1-反向拼接 )对齐音频时长。默认 0。",
1081
- "example": "0",
1082
- "member": "int64",
1083
- "name": "VideoLoop",
1084
- "required": false,
1085
- "type": "int"
1086
- }
1087
- ],
1088
- "type": "object"
1089
- },
1090
- "SubmitVideoTranslateJobResponse": {
1091
- "document": "SubmitVideoTranslateJob返回参数结构体",
1092
- "members": [
1093
- {
1094
- "disabled": false,
1095
- "document": "视频转译任务的ID",
1096
- "example": "vlSYvQkMM0KwPuoakawm0tPrREwc2p7c",
1097
- "member": "string",
1098
- "name": "JobId",
1099
- "output_required": false,
1100
- "type": "string",
1101
- "value_allowed_null": false
1102
- },
1103
- {
1104
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1105
- "member": "string",
1106
- "name": "RequestId",
1107
- "type": "string"
1108
- }
1109
- ],
1110
- "type": "object"
1111
- },
1112
- "TranslateResult": {
1113
- "document": "音频翻译结果",
1114
- "members": [
1115
- {
1116
- "disabled": false,
1117
- "document": "翻译源文字\n注意:此字段可能返回 null,表示取不到有效值。",
1118
- "example": "无",
1119
- "member": "string",
1120
- "name": "SourceText",
1121
- "output_required": true,
1122
- "required": false,
1123
- "type": "string",
1124
- "value_allowed_null": true
1125
- },
1126
- {
1127
- "disabled": false,
1128
- "document": "翻译后文字。\n注意:此字段可能返回 null,表示取不到有效值。",
1129
- "example": "无",
1130
- "member": "string",
1131
- "name": "TargetText",
1132
- "output_required": true,
1133
- "required": false,
1134
- "type": "string",
1135
- "value_allowed_null": true
1136
- }
1137
- ],
1138
- "usage": "both"
1139
689
  }
1140
690
  },
1141
691
  "version": "1.0"
@@ -8,14 +8,6 @@
8
8
  "title": "检测输入图成功案例"
9
9
  }
10
10
  ],
11
- "ConfirmVideoTranslateJob": [
12
- {
13
- "document": "确认视频翻译结果正例",
14
- "input": "POST / HTTP/1.1\nHost: vclm.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}",
15
- "output": "{\n \"Response\": {\n \"JobId\": \"bEOhlL4G87lFvVmN6PnG3LAH1Kdu5tgs\",\n \"JobStatus\": 5,\n \"RequestId\": \"8357c7a1-d348-4306-b744-ce6625c39fa4\"\n }\n}",
16
- "title": "确认视频翻译结果"
17
- }
18
- ],
19
11
  "DescribeImageAnimateJob": [
20
12
  {
21
13
  "document": "调用成功示例",
@@ -40,20 +32,6 @@
40
32
  "title": "成功调用-任务完成"
41
33
  }
42
34
  ],
43
- "DescribeVideoTranslateJob": [
44
- {
45
- "document": "调用失败示例",
46
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoTranslateJob\n<公共请求参数>\n\n{\n \"JobId\": \"vlSYvQkMM0KwPuoakawm0tPrREwc2p7c\"\n}",
47
- "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.JobNotExist\",\n \"Message\": \"任务不存在。\"\n },\n \"RequestId\": \"78254ad1-c184-4e9e-b5a0-9d3fc435576b\"\n }\n}",
48
- "title": "调用失败示例"
49
- },
50
- {
51
- "document": "调用成功示例",
52
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoTranslateJob\n<公共请求参数>\n\n{\n \"JobId\": \"vlSYvQkMM0KwPuoakawm0tPrREwc2p7c\"\n}",
53
- "output": "{\n \"Response\": {\n \"AsrTimestamps\": [\n {\n \"EndMs\": 14080,\n \"StartMs\": 360,\n \"Text\": \"当工作或学习结果不理想,甚至面临被全盘否定的情况时,你会如何应对?可以举例说明当时你是如何处理负面情绪,并找到解决办法的。\"\n }\n ],\n \"JobErrorCode\": \"FailedOperation.Success\",\n \"JobErrorMsg\": \"成功。\",\n \"JobStatus\": 8,\n \"RequestId\": \"a974b772-3c1d-4868-8909-b1386016b9f0\",\n \"ResultVideoUrl\": \"https://tencent.cos.ap-guangzhou.myqcloud.com/video_translate/output/video.mp4\",\n \"TranslateResults\": [\n {\n \"SourceText\": \"当工作或学习结果不理想,甚至面临被全盘否定的情况时,你会如何应对?可以举例说明当时你是如何处理负面情绪,并找到解决办法的。\",\n \"TargetText\": \"How do you cope when work or academic results are not ideal, or even when faced with a complete denial of your efforts? Provide an example of how you managed negative emotions and found a solution in such a situation.\"\n }\n ]\n }\n}",
54
- "title": "调用成功示例"
55
- }
56
- ],
57
35
  "SubmitImageAnimateJob": [
58
36
  {
59
37
  "document": "调用成功示例",
@@ -101,32 +79,6 @@
101
79
  "output": "{\n \"Response\": {\n \"JobId\": \"c5daf8f7077d41a69c13aab31a7164f3\",\n \"RequestId\": \"b1990ba2-2d71-419d-8c9d-cab8e33f8352\"\n }\n}",
102
80
  "title": "成功提交任务"
103
81
  }
104
- ],
105
- "SubmitVideoTranslateJob": [
106
- {
107
- "document": "中英转译失败案例",
108
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n\n\n{\n \"VideoUrl\": \"https://console.cloud.tencent.com/cos/video.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"zh\",\n \"Confirm\": 0,\n \"LipSync\": 0,\n \"VoiceType\": \"701001\"\n}",
109
- "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.InvalidParameter\",\n \"Message\": \"源语种(SrcLang)和目标语种(DstLang)不允许相同,请检查后重新输入\"\n },\n \"RequestId\": \"3787745f-b446-4b39-9471-9032a4c306ee\"\n }\n}",
110
- "title": "提交中英视频转译失败案例"
111
- },
112
- {
113
- "document": "中英转译成功案例",
114
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n\n\n{\n \"VideoUrl\": \"https://console.cloud.tencent.com/cos/video.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"en\",\n \"Confirm\": 0,\n \"LipSync\": 1,\n \"VoiceType\": \"701001\"\n}",
115
- "output": "{\n \"Response\": {\n \"JobId\": \"GLo7lni4PubX9xUwzesuKUOLJokVZ0ll\",\n \"RequestId\": \"950a5a45-7bf5-4db3-aef1-dfedda487575\"\n }\n}",
116
- "title": "提交中英视频转译成功案例"
117
- },
118
- {
119
- "document": "小语种转译成功案例",
120
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n{\n \"VideoUrl\": \"https://console.cloud.tencent.com/cos/video.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"ar\",\n \"Confirm\": 0,\n \"LipSync\": 1,\n \"VoiceType\": \"701001\"\n}",
121
- "output": "{\n \"Response\": {\n \"JobId\": \"GLo7lni4PubX9xUwzesuKUOLJokVZ0ll\",\n \"RequestId\": \"950a5a45-7bf5-4db3-aef1-dfedda487575\"\n }\n}",
122
- "title": "提交小语种视频转译成功案例"
123
- },
124
- {
125
- "document": "小语种转译失败案例",
126
- "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoTranslateJob\n<公共请求参数>\n\n\n\n{\n \"VideoUrl\": \"https://console.cloud.tencent.com/cos/video.mp4\",\n \"SrcLang\": \"zh\",\n \"DstLang\": \"ar\",\n \"Confirm\": 0,\n \"LipSync\": 1\n}",
127
- "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.InvalidParameter\",\n \"Message\": \"音色种别不能为空\"\n },\n \"RequestId\": \"3787745f-b446-4b39-9471-9032a4c306ee\"\n }\n}",
128
- "title": "提交小语种视频转译失败案例"
129
- }
130
82
  ]
131
83
  },
132
84
  "version": "1.0"