tencentcloud-sdk-nodejs-mps 4.0.1045 → 4.1.1

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.
@@ -688,6 +688,26 @@ export interface AiRecognitionTaskAsrFullTextResultOutput {
688
688
  */
689
689
  OutputStorage?: TaskOutputStorage;
690
690
  }
691
+ /**
692
+ * 单个热词信息
693
+ */
694
+ export interface AsrHotwordsSetItem {
695
+ /**
696
+ * 热词的序号
697
+ 注意:此字段可能返回 null,表示取不到有效值。
698
+ */
699
+ Id?: number;
700
+ /**
701
+ * 热词文本
702
+ 注意:此字段可能返回 null,表示取不到有效值。
703
+ */
704
+ Text?: string;
705
+ /**
706
+ * 词语权重,取值范围 1-10,11,100
707
+ 注意:此字段可能返回 null,表示取不到有效值。
708
+ */
709
+ Weight?: number;
710
+ }
691
711
  /**
692
712
  * Ocr 文字涉违禁信息
693
713
  */
@@ -717,6 +737,20 @@ export interface DeleteScheduleResponse {
717
737
  */
718
738
  RequestId?: string;
719
739
  }
740
+ /**
741
+ * 翻译结果。
742
+ */
743
+ export interface SmartSubtitleTaskTransTextResultOutput {
744
+ /**
745
+ * 翻译片段列表。
746
+ 注意:此字段可能返回 null,表示取不到有效值。
747
+ */
748
+ SegmentSet?: Array<SmartSubtitleTaskTransTextSegmentItem>;
749
+ /**
750
+ * 字幕文件地址。
751
+ */
752
+ SubtitlePath?: string;
753
+ }
720
754
  /**
721
755
  * ManageTask返回参数结构体
722
756
  */
@@ -841,6 +875,23 @@ export interface AwsS3FileUploadTrigger {
841
875
  */
842
876
  AwsSQS?: AwsSQS;
843
877
  }
878
+ /**
879
+ * 字词信息。
880
+ */
881
+ export interface WordResult {
882
+ /**
883
+ * 字词文本。
884
+ */
885
+ Word?: string;
886
+ /**
887
+ * 字词起始时间戳,单位秒。
888
+ */
889
+ Start?: number;
890
+ /**
891
+ * 字词结束时间戳,单位秒。
892
+ */
893
+ End?: number;
894
+ }
844
895
  /**
845
896
  * 用户自定义文本审核任务控制参数。
846
897
  */
@@ -1041,6 +1092,42 @@ export interface AiReviewPoliticalOcrTaskInput {
1041
1092
  */
1042
1093
  Definition: number;
1043
1094
  }
1095
+ /**
1096
+ * 翻译结果。
1097
+ */
1098
+ export interface SmartSubtitleTaskTransTextResult {
1099
+ /**
1100
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
1101
+ */
1102
+ Status?: string;
1103
+ /**
1104
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
1105
+ */
1106
+ ErrCodeExt?: string;
1107
+ /**
1108
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
1109
+ */
1110
+ ErrCode?: number;
1111
+ /**
1112
+ * 错误信息。
1113
+ */
1114
+ Message?: string;
1115
+ /**
1116
+ * 翻译任务输入信息。
1117
+ 注意:此字段可能返回 null,表示取不到有效值。
1118
+ */
1119
+ Input?: SmartSubtitleTaskResultInput;
1120
+ /**
1121
+ * 翻译任务输出信息。
1122
+ 注意:此字段可能返回 null,表示取不到有效值。
1123
+ */
1124
+ Output?: SmartSubtitleTaskTransTextResultOutput;
1125
+ /**
1126
+ * 任务进度。
1127
+ 注意:此字段可能返回 null,表示取不到有效值。
1128
+ */
1129
+ Progress?: number;
1130
+ }
1044
1131
  /**
1045
1132
  * ManageTask请求参数结构体
1046
1133
  */
@@ -1235,6 +1322,42 @@ export interface DescribeStreamLinkEventRequest {
1235
1322
  */
1236
1323
  EventId: string;
1237
1324
  }
1325
+ /**
1326
+ * DescribeAsrHotwords请求参数结构体
1327
+ */
1328
+ export interface DescribeAsrHotwordsRequest {
1329
+ /**
1330
+ * 需要查询的热词库 id
1331
+ **注意:HotwordsId 与 Name 必须选择填写一个,如果同时填写,HotwordsId 优先级高于 Name**
1332
+ */
1333
+ HotwordsId?: string;
1334
+ /**
1335
+ * 热词库名称,
1336
+ **注意:HotwordsId 与 Name 必须选择填写一个,如果同时填写,HotwordsId 优先级高于 Name**
1337
+ */
1338
+ Name?: string;
1339
+ /**
1340
+ * 分页偏移量,默认值:0。
1341
+
1342
+ */
1343
+ Offset?: number;
1344
+ /**
1345
+ * 返回记录条数,默认值:10,最大值:100。
1346
+ */
1347
+ Limit?: number;
1348
+ /**
1349
+ * 热词排序字段,目前可选值为
1350
+
1351
+ - Default:默认文件中的顺序
1352
+ - Weight:权重排序
1353
+ - Lexical:热词文本排序
1354
+ */
1355
+ OrderBy?: string;
1356
+ /**
1357
+ * 热词排序顺序 0:升序(默认) 1:降序
1358
+ */
1359
+ OrderType?: number;
1360
+ }
1238
1361
  /**
1239
1362
  * 转码信息
1240
1363
  */
@@ -1287,6 +1410,22 @@ export interface MediaTranscodeItem {
1287
1410
  * 视频流信息。
1288
1411
  */
1289
1412
  VideoStreamSet?: Array<MediaVideoStreamItem>;
1413
+ /**
1414
+ * 视频转码使用增强项说明,增强项解释
1415
+ <li>hdr:HDR配置</li>
1416
+ <li>wd_fps:插帧帧率配置</li>
1417
+ <li>video_super_resolution: 超分配置</li>
1418
+ <li>repair:综合增强配置</li>
1419
+ <li>denoise:视频降噪配置</li>
1420
+ <li>color_enhance:色彩增强配置</li>
1421
+ <li>scratch:去划痕配置</li>
1422
+ <li>artifact:去伪影(毛刺)配置</li>
1423
+ <li>sharp:细节增强配置</li>
1424
+ <li>low_light:低光照增强配置</li>
1425
+ <li>face_enhance:人脸增强配置</li>
1426
+ 注意:此字段可能返回 null,表示取不到有效值。
1427
+ */
1428
+ CallBackExtInfo?: string;
1290
1429
  }
1291
1430
  /**
1292
1431
  * 诊断结果项。
@@ -2177,81 +2316,21 @@ export interface AiRecognitionTaskAsrWordsSegmentItem {
2177
2316
  Confidence: number;
2178
2317
  }
2179
2318
  /**
2180
- * 内容审核结果
2319
+ * DescribeStreamLinkFlowRealtimeStatus返回参数结构体
2181
2320
  */
2182
- export interface AiContentReviewResult {
2183
- /**
2184
- * 任务的类型,可以取的值有:
2185
- <li>Porn:图片鉴黄</li>
2186
- <li>Terrorism:图片敏感</li>
2187
- <li>Political:图片敏感</li>
2188
- <li>Porn.Asr:Asr 文字鉴黄</li>
2189
- <li>Porn.Ocr:Ocr 文字鉴黄</li>
2190
- <li>Political.Asr:Asr 文字敏感</li>
2191
- <li>Political.Ocr:Ocr 文字敏感</li>
2192
- <li>Terrorism.Ocr:Ocr 文字敏感</li>
2193
- <li>Prohibited.Asr:Asr 文字鉴违禁</li>
2194
- <li>Prohibited.Ocr:Ocr 文字鉴违禁</li>
2195
- */
2196
- Type: string;
2197
- /**
2198
- * 采样频率,即对视频每秒截取进行审核的帧数。
2199
- */
2200
- SampleRate: number;
2201
- /**
2202
- * 审核的视频时长,单位:秒。
2203
- */
2204
- Duration: number;
2205
- /**
2206
- * 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 Porn 时有效。
2207
- 注意:此字段可能返回 null,表示取不到有效值。
2208
- */
2209
- PornTask: AiReviewTaskPornResult;
2210
- /**
2211
- * 视频内容审核智能画面敏感任务的查询结果,当任务类型为 Terrorism 时有效。
2212
- 注意:此字段可能返回 null,表示取不到有效值。
2213
- */
2214
- TerrorismTask: AiReviewTaskTerrorismResult;
2215
- /**
2216
- * 视频内容审核智能画面敏感任务的查询结果,当任务类型为 Political 时有效。
2217
- 注意:此字段可能返回 null,表示取不到有效值。
2218
- */
2219
- PoliticalTask: AiReviewTaskPoliticalResult;
2220
- /**
2221
- * 视频内容审核 Asr 文字鉴黄任务的查询结果,当任务类型为 Porn.Asr 时有效。
2222
- 注意:此字段可能返回 null,表示取不到有效值。
2223
- */
2224
- PornAsrTask: AiReviewTaskPornAsrResult;
2225
- /**
2226
- * 视频内容审核 Ocr 文字鉴黄任务的查询结果,当任务类型为 Porn.Ocr 时有效。
2227
- 注意:此字段可能返回 null,表示取不到有效值。
2228
- */
2229
- PornOcrTask: AiReviewTaskPornOcrResult;
2230
- /**
2231
- * 视频内容审核 Asr 文字敏感任务的查询结果,当任务类型为 Political.Asr 时有效。
2232
- 注意:此字段可能返回 null,表示取不到有效值。
2233
- */
2234
- PoliticalAsrTask: AiReviewTaskPoliticalAsrResult;
2235
- /**
2236
- * 视频内容审核 Ocr 文字敏感任务的查询结果,当任务类型为 Political.Ocr 时有效。
2237
- 注意:此字段可能返回 null,表示取不到有效值。
2238
- */
2239
- PoliticalOcrTask: AiReviewTaskPoliticalOcrResult;
2321
+ export interface DescribeStreamLinkFlowRealtimeStatusResponse {
2240
2322
  /**
2241
- * 视频内容审核 Ocr 文字敏感任务的查询结果,当任务类型为 Terrorism.Ocr 时有效。
2242
- 注意:此字段可能返回 null,表示取不到有效值。
2323
+ * 查询时间,单位s。
2243
2324
  */
2244
- TerrorismOcrTask: AiReviewTaskTerrorismOcrResult;
2325
+ Timestamp: number;
2245
2326
  /**
2246
- * 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。
2247
- 注意:此字段可能返回 null,表示取不到有效值。
2327
+ * 实时数据信息列表。
2248
2328
  */
2249
- ProhibitedAsrTask: AiReviewTaskProhibitedAsrResult;
2329
+ Datas: Array<FlowRealtimeStatusItem>;
2250
2330
  /**
2251
- * 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。
2252
- 注意:此字段可能返回 null,表示取不到有效值。
2331
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2253
2332
  */
2254
- ProhibitedOcrTask: AiReviewTaskProhibitedOcrResult;
2333
+ RequestId?: string;
2255
2334
  }
2256
2335
  /**
2257
2336
  * ParseLiveStreamProcessNotification返回参数结构体
@@ -2345,6 +2424,36 @@ export interface AiRecognitionTaskInput {
2345
2424
  */
2346
2425
  UserExtPara?: string;
2347
2426
  }
2427
+ /**
2428
+ * 智能按帧标签结果类型
2429
+ */
2430
+ export interface AiAnalysisTaskFrameTagResult {
2431
+ /**
2432
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
2433
+ */
2434
+ Status?: string;
2435
+ /**
2436
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
2437
+ */
2438
+ ErrCodeExt?: string;
2439
+ /**
2440
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
2441
+ */
2442
+ ErrCode?: number;
2443
+ /**
2444
+ * 错误信息。
2445
+ */
2446
+ Message?: string;
2447
+ /**
2448
+ * 智能按帧标签任务输入。
2449
+ */
2450
+ Input?: AiAnalysisTaskFrameTagInput;
2451
+ /**
2452
+ * 智能按帧标签任务输出。
2453
+ 注意:此字段可能返回 null,表示取不到有效值。
2454
+ */
2455
+ Output?: AiAnalysisTaskFrameTagOutput;
2456
+ }
2348
2457
  /**
2349
2458
  * 音频流配置参数
2350
2459
  */
@@ -3045,6 +3154,15 @@ export interface AiRecognitionTaskOcrWordsResultOutput {
3045
3154
  */
3046
3155
  ResultSet: Array<AiRecognitionTaskOcrWordsResultItem>;
3047
3156
  }
3157
+ /**
3158
+ * ModifyLiveRecordTemplate返回参数结构体
3159
+ */
3160
+ export interface ModifyLiveRecordTemplateResponse {
3161
+ /**
3162
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3163
+ */
3164
+ RequestId?: string;
3165
+ }
3048
3166
  /**
3049
3167
  * 分段信息。
3050
3168
  */
@@ -3286,6 +3404,33 @@ export interface DescribeFlowId {
3286
3404
  */
3287
3405
  Region: string;
3288
3406
  }
3407
+ /**
3408
+ * DescribeSmartSubtitleTemplates请求参数结构体
3409
+ */
3410
+ export interface DescribeSmartSubtitleTemplatesRequest {
3411
+ /**
3412
+ * 智能字幕模板唯一标识过滤条件,数组长度限制:10。
3413
+ */
3414
+ Definitions?: Array<number | bigint>;
3415
+ /**
3416
+ * 分页偏移量,默认值:0。
3417
+ */
3418
+ Offset?: number;
3419
+ /**
3420
+ * 返回记录条数,默认值:10,最大值:100。
3421
+ */
3422
+ Limit?: number;
3423
+ /**
3424
+ * 模板类型过滤条件,不填则返回所有,可选值:
3425
+ * Preset:系统预置模板;
3426
+ * Custom:用户自定义模板。
3427
+ */
3428
+ Type?: string;
3429
+ /**
3430
+ * 智能字幕模板标识过滤条件,长度限制:64 个字符。
3431
+ */
3432
+ Name?: string;
3433
+ }
3289
3434
  /**
3290
3435
  * 流状态实时查询接口的流状态信息
3291
3436
  */
@@ -4560,41 +4705,20 @@ export interface ModifyAnimatedGraphicsTemplateResponse {
4560
4705
  RequestId?: string;
4561
4706
  }
4562
4707
  /**
4563
- * 智能按帧标签结果类型
4708
+ * DeleteSmartSubtitleTemplate请求参数结构体
4564
4709
  */
4565
- export interface AiAnalysisTaskFrameTagResult {
4710
+ export interface DeleteSmartSubtitleTemplateRequest {
4566
4711
  /**
4567
- * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4568
- */
4569
- Status?: string;
4570
- /**
4571
- * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
4712
+ * 智能字幕模板唯一标识。
4572
4713
  */
4573
- ErrCodeExt?: string;
4714
+ Definition: number;
4715
+ }
4716
+ /**
4717
+ * DeleteAdaptiveDynamicStreamingTemplate请求参数结构体
4718
+ */
4719
+ export interface DeleteAdaptiveDynamicStreamingTemplateRequest {
4574
4720
  /**
4575
- * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4576
- */
4577
- ErrCode?: number;
4578
- /**
4579
- * 错误信息。
4580
- */
4581
- Message?: string;
4582
- /**
4583
- * 智能按帧标签任务输入。
4584
- */
4585
- Input?: AiAnalysisTaskFrameTagInput;
4586
- /**
4587
- * 智能按帧标签任务输出。
4588
- 注意:此字段可能返回 null,表示取不到有效值。
4589
- */
4590
- Output?: AiAnalysisTaskFrameTagOutput;
4591
- }
4592
- /**
4593
- * DeleteAdaptiveDynamicStreamingTemplate请求参数结构体
4594
- */
4595
- export interface DeleteAdaptiveDynamicStreamingTemplateRequest {
4596
- /**
4597
- * 自适应转码模板唯一标识。
4721
+ * 自适应转码模板唯一标识。
4598
4722
  */
4599
4723
  Definition: number;
4600
4724
  }
@@ -4889,6 +5013,48 @@ export interface MediaProcessTaskImageSpriteResult {
4889
5013
  */
4890
5014
  FinishTime?: string;
4891
5015
  }
5016
+ /**
5017
+ * DescribeAsrHotwordsList请求参数结构体
5018
+ */
5019
+ export interface DescribeAsrHotwordsListRequest {
5020
+ /**
5021
+ * 检索参数,根据热词库 id 查询
5022
+ */
5023
+ HotwordsId?: string;
5024
+ /**
5025
+ * 检索参数,根据热词库名称查询
5026
+ */
5027
+ Name?: string;
5028
+ /**
5029
+ * 分页偏移量,默认值:0。
5030
+ */
5031
+ Offset?: number;
5032
+ /**
5033
+ * 返回记录条数,默认返回所有热词库
5034
+ */
5035
+ Limit?: number;
5036
+ /**
5037
+ * 热词排序顺序
5038
+
5039
+ 0:升序(默认)
5040
+ 1:降序
5041
+ */
5042
+ OrderType?: number;
5043
+ /**
5044
+ * 根据某个字段排序,默认使用创建时间,使用非法字段视为默认情况
5045
+
5046
+ - CreateTime:创建时间排序
5047
+ - UpdateTime:更新时间排序
5048
+ - Name:热词库名称排序
5049
+ - WordCount:热词数量排序
5050
+ - HotwordsId:热词库 id 排序
5051
+ */
5052
+ OrderBy?: string;
5053
+ /**
5054
+ * 0 临时热词 1 文件热词
5055
+ */
5056
+ Types?: Array<number | bigint>;
5057
+ }
4892
5058
  /**
4893
5059
  * 智能描述结果信息
4894
5060
  */
@@ -6341,6 +6507,19 @@ export interface AiAnalysisTaskTagOutput {
6341
6507
  */
6342
6508
  TagSet: Array<MediaAiAnalysisTagItem>;
6343
6509
  }
6510
+ /**
6511
+ * CreateAsrHotwords返回参数结构体
6512
+ */
6513
+ export interface CreateAsrHotwordsResponse {
6514
+ /**
6515
+ * 热词库 id
6516
+ */
6517
+ HotwordsId?: string;
6518
+ /**
6519
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6520
+ */
6521
+ RequestId?: string;
6522
+ }
6344
6523
  /**
6345
6524
  * 智能精彩片段结果信息
6346
6525
  */
@@ -6564,6 +6743,17 @@ export interface ProcessMediaRequest {
6564
6743
  * 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
6565
6744
  */
6566
6745
  ResourceId?: string;
6746
+ /**
6747
+ * 智能字幕
6748
+ */
6749
+ SmartSubtitlesTask?: SmartSubtitlesTaskInput;
6750
+ /**
6751
+ * 是否跳过元信息获取,可选值:
6752
+ 0:表示不跳过
6753
+ 1:表示跳过
6754
+ 默认值:0
6755
+ */
6756
+ SkipMateData?: number;
6567
6757
  }
6568
6758
  /**
6569
6759
  * ProcessImage返回参数结构体
@@ -6857,6 +7047,92 @@ export interface AiAnalysisTaskSegmentResult {
6857
7047
  */
6858
7048
  Output?: AiAnalysisTaskSegmentOutput;
6859
7049
  }
7050
+ /**
7051
+ * 自定义智能字幕参数
7052
+ */
7053
+ export interface RawSmartSubtitleParameter {
7054
+ /**
7055
+ * 智能字幕字幕语言类型
7056
+ 0: 源语言
7057
+ 1: 翻译语言
7058
+ 2: 源语言+翻译语言
7059
+ 当TranslateSwitch为OFF时仅支持取0
7060
+ 当TranslateSwitch为ON时仅支持取1或2
7061
+ */
7062
+ SubtitleType: number;
7063
+ /**
7064
+ * 智能字幕视频源语言
7065
+ 当前支持以下语言:
7066
+ zh:简体中文
7067
+ en:英语
7068
+ ja:日语
7069
+ ko:韩语
7070
+ zh-PY:中英粤
7071
+ zh-medical:中文医疗
7072
+ yue:中文粤语
7073
+ vi:越南语
7074
+ ms:马来语
7075
+ id:印度尼西亚语
7076
+ fil:菲律宾语
7077
+ th:泰语
7078
+ pt:葡萄牙语
7079
+ tr:土耳其语
7080
+ ar:阿拉伯语
7081
+ es:西班牙语
7082
+ hi:印地语
7083
+ fr:法语
7084
+ de:德语
7085
+ zh_dialect:中文方言
7086
+ */
7087
+ VideoSrcLanguage: string;
7088
+ /**
7089
+ * 智能字幕文件格式
7090
+ vtt: WebVTT 格式
7091
+ 不填或填空:不生成字幕文件
7092
+ 注意:此字段可能返回 null,表示取不到有效值。
7093
+ */
7094
+ SubtitleFormat?: string;
7095
+ /**
7096
+ * 字幕翻译开关
7097
+ ON: 开启翻译
7098
+ OFF: 关闭翻译
7099
+ 注意:此字段可能返回 null,表示取不到有效值。
7100
+ */
7101
+ TranslateSwitch?: string;
7102
+ /**
7103
+ * 字幕翻译目标语言
7104
+ 当TranslateSwitch为ON的时候生效
7105
+ 当前支持以下语言:
7106
+ zh:简体中文
7107
+ en:英语
7108
+ ja:日语
7109
+ ko:韩语
7110
+ fr:法语
7111
+ es:西班牙语
7112
+ it:意大利语
7113
+ de:德语
7114
+ tr:土耳其语
7115
+ ru:俄语
7116
+ pt:葡萄牙语
7117
+ vi:越南语
7118
+ id:印度尼西亚语
7119
+ ms:马来语
7120
+ th:泰语
7121
+ ar:阿拉伯语
7122
+ hi:印地语
7123
+ 注意:此字段可能返回 null,表示取不到有效值。
7124
+ */
7125
+ TranslateDstLanguage?: string;
7126
+ /**
7127
+ * ASR热词库参数
7128
+ 注意:此字段可能返回 null,表示取不到有效值。
7129
+ */
7130
+ AsrHotWordsConfigure?: AsrHotWordsConfigure;
7131
+ /**
7132
+ * 自定义参数
7133
+ */
7134
+ ExtInfo?: string;
7135
+ }
6860
7136
  /**
6861
7137
  * 语音全文识别的输入。
6862
7138
  */
@@ -7323,6 +7599,47 @@ export interface AsrWordsConfigureInfoForUpdate {
7323
7599
  */
7324
7600
  LabelSet?: Array<string>;
7325
7601
  }
7602
+ /**
7603
+ * 编排智能字幕任务结果类型
7604
+ */
7605
+ export interface ScheduleSmartSubtitleTaskResult {
7606
+ /**
7607
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
7608
+ */
7609
+ Status?: string;
7610
+ /**
7611
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
7612
+ */
7613
+ ErrCodeExt?: string;
7614
+ /**
7615
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
7616
+ */
7617
+ ErrCode?: number;
7618
+ /**
7619
+ * 错误信息。
7620
+ */
7621
+ Message?: string;
7622
+ /**
7623
+ * 识别任务的输入。
7624
+ 注意:此字段可能返回 null,表示取不到有效值。
7625
+ */
7626
+ Input?: SmartSubtitlesTaskInput;
7627
+ /**
7628
+ * 识别任务的输出。
7629
+ 注意:此字段可能返回 null,表示取不到有效值。
7630
+ */
7631
+ Output?: Array<SmartSubtitlesResult>;
7632
+ /**
7633
+ * 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
7634
+ 注意:此字段可能返回 null,表示取不到有效值。
7635
+ */
7636
+ BeginProcessTime?: string;
7637
+ /**
7638
+ * 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
7639
+ 注意:此字段可能返回 null,表示取不到有效值。
7640
+ */
7641
+ FinishTime?: string;
7642
+ }
7326
7643
  /**
7327
7644
  * DeleteImageSpriteTemplate返回参数结构体
7328
7645
  */
@@ -7849,25 +8166,20 @@ export interface ActivityPara {
7849
8166
  注意:此字段可能返回 null,表示取不到有效值。
7850
8167
  */
7851
8168
  QualityControlTask?: AiQualityControlTaskInput;
8169
+ /**
8170
+ * 智能字幕任务
8171
+ 注意:此字段可能返回 null,表示取不到有效值。
8172
+ */
8173
+ SmartSubtitlesTask?: SmartSubtitlesTaskInput;
7852
8174
  }
7853
8175
  /**
7854
- * 文本涉敏任务控制参数
8176
+ * ModifyAsrHotwords返回参数结构体
7855
8177
  */
7856
- export interface TerrorismOcrReviewTemplateInfoForUpdate {
7857
- /**
7858
- * 文本涉敏任务开关,可选值:
7859
- <li>ON:开启文本涉敏任务;</li>
7860
- <li>OFF:关闭文本涉敏任务。</li>
7861
- */
7862
- Switch?: string;
7863
- /**
7864
- * 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
7865
- */
7866
- BlockConfidence?: number;
8178
+ export interface ModifyAsrHotwordsResponse {
7867
8179
  /**
7868
- * 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100
8180
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
7869
8181
  */
7870
- ReviewConfidence?: number;
8182
+ RequestId?: string;
7871
8183
  }
7872
8184
  /**
7873
8185
  * 用户自定义语音审核任务控制参数
@@ -8794,6 +9106,34 @@ export interface AiReviewTerrorismTaskOutput {
8794
9106
  */
8795
9107
  SegmentSet: Array<MediaContentReviewSegmentItem>;
8796
9108
  }
9109
+ /**
9110
+ * ModifyAsrHotwords请求参数结构体
9111
+ */
9112
+ export interface ModifyAsrHotwordsRequest {
9113
+ /**
9114
+ * 热词库 id
9115
+ */
9116
+ HotwordsId: string;
9117
+ /**
9118
+ * 热词库名称
9119
+ */
9120
+ Name?: string;
9121
+ /**
9122
+ * 热词库文本
9123
+ */
9124
+ Content?: string;
9125
+ /**
9126
+ * 热词库文件的 base64 的内容,Type 为 1 必选
9127
+
9128
+
9129
+
9130
+ */
9131
+ FileContent?: string;
9132
+ /**
9133
+ * 热词文件上传时的文件名
9134
+ */
9135
+ FileName?: string;
9136
+ }
8797
9137
  /**
8798
9138
  * BatchStartStreamLinkFlow返回参数结构体
8799
9139
  */
@@ -8864,6 +9204,31 @@ export interface AiReviewTerrorismOcrTaskOutput {
8864
9204
  */
8865
9205
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>;
8866
9206
  }
9207
+ /**
9208
+ * DescribeAsrHotwordsList返回参数结构体
9209
+ */
9210
+ export interface DescribeAsrHotwordsListResponse {
9211
+ /**
9212
+ * 总热词库数量
9213
+ */
9214
+ TotalCount?: number;
9215
+ /**
9216
+ * 分页偏移量,默认值:0。
9217
+ */
9218
+ Offset?: number;
9219
+ /**
9220
+ * 返回记录条数,默认返回所有热词库
9221
+ */
9222
+ Limit?: number;
9223
+ /**
9224
+ * 热词库列表
9225
+ */
9226
+ AsrHotwordsSet?: Array<AsrHotwordsSet>;
9227
+ /**
9228
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9229
+ */
9230
+ RequestId?: string;
9231
+ }
8867
9232
  /**
8868
9233
  * 智能分析结果
8869
9234
  */
@@ -8930,6 +9295,21 @@ export interface AiAnalysisResult {
8930
9295
  */
8931
9296
  HorizontalToVerticalTask?: AiAnalysisTaskHorizontalToVerticalResult;
8932
9297
  }
9298
+ /**
9299
+ * 智能字幕翻译的输入。
9300
+ */
9301
+ export interface SmartSubtitleTaskResultInput {
9302
+ /**
9303
+ * 智能字幕模板 ID。
9304
+ */
9305
+ Definition?: number;
9306
+ /**
9307
+ * 智能字幕自定义参数,当 Definition 填 0 时有效。
9308
+ 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
9309
+ 注意:此字段可能返回 null,表示取不到有效值。
9310
+ */
9311
+ RawParameter?: RawSmartSubtitleParameter;
9312
+ }
8933
9313
  /**
8934
9314
  * 图片水印模板输入参数
8935
9315
  */
@@ -9053,7 +9433,7 @@ export interface AiAnalysisTaskTagInput {
9053
9433
  /**
9054
9434
  * 视频智能标签模板 ID。
9055
9435
  */
9056
- Definition: number;
9436
+ Definition?: number;
9057
9437
  }
9058
9438
  /**
9059
9439
  * 智能描述结果类型
@@ -9081,6 +9461,15 @@ export interface AiAnalysisTaskDescriptionResult {
9081
9461
  */
9082
9462
  Output?: AiAnalysisTaskDescriptionOutput;
9083
9463
  }
9464
+ /**
9465
+ * DeleteSmartSubtitleTemplate返回参数结构体
9466
+ */
9467
+ export interface DeleteSmartSubtitleTemplateResponse {
9468
+ /**
9469
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9470
+ */
9471
+ RequestId?: string;
9472
+ }
9084
9473
  /**
9085
9474
  * ResetWorkflow请求参数结构体
9086
9475
  */
@@ -9547,6 +9936,25 @@ export interface DeleteSampleSnapshotTemplateRequest {
9547
9936
  */
9548
9937
  Definition: number;
9549
9938
  }
9939
+ /**
9940
+ * 文本涉敏任务控制参数
9941
+ */
9942
+ export interface TerrorismOcrReviewTemplateInfoForUpdate {
9943
+ /**
9944
+ * 文本涉敏任务开关,可选值:
9945
+ <li>ON:开启文本涉敏任务;</li>
9946
+ <li>OFF:关闭文本涉敏任务。</li>
9947
+ */
9948
+ Switch?: string;
9949
+ /**
9950
+ * 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围:0~100。
9951
+ */
9952
+ BlockConfidence?: number;
9953
+ /**
9954
+ * 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围:0~100。
9955
+ */
9956
+ ReviewConfidence?: number;
9957
+ }
9550
9958
  /**
9551
9959
  * DescribeTranscodeTemplates返回参数结构体
9552
9960
  */
@@ -9664,6 +10072,41 @@ export interface AiRecognitionTaskOcrFullTextSegmentTextItem {
9664
10072
  */
9665
10073
  Text: string;
9666
10074
  }
10075
+ /**
10076
+ * DeleteAsrHotwords返回参数结构体
10077
+ */
10078
+ export interface DeleteAsrHotwordsResponse {
10079
+ /**
10080
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10081
+ */
10082
+ RequestId?: string;
10083
+ }
10084
+ /**
10085
+ * 语音全文识别片段。
10086
+ */
10087
+ export interface SmartSubtitleTaskAsrFullTextSegmentItem {
10088
+ /**
10089
+ * 识别片段置信度。取值:0~100。
10090
+ */
10091
+ Confidence?: number;
10092
+ /**
10093
+ * 识别片段起始的偏移时间,单位:秒。
10094
+ */
10095
+ StartTimeOffset?: number;
10096
+ /**
10097
+ * 识别片段终止的偏移时间,单位:秒。
10098
+ */
10099
+ EndTimeOffset?: number;
10100
+ /**
10101
+ * 识别文本。
10102
+ */
10103
+ Text?: string;
10104
+ /**
10105
+ * 字词时间戳信息。
10106
+ 注意:此字段可能返回 null,表示取不到有效值。
10107
+ */
10108
+ Wordlist?: Array<WordResult>;
10109
+ }
9667
10110
  /**
9668
10111
  * 质检结果项
9669
10112
  */
@@ -9687,6 +10130,40 @@ export interface QualityControlItem {
9687
10130
  */
9688
10131
  AreaCoordSet?: Array<number | bigint>;
9689
10132
  }
10133
+ /**
10134
+ * FairPlay,WideVine,PlayReady 等Drm加密方式。
10135
+ */
10136
+ export interface SpekeDrm {
10137
+ /**
10138
+ * 资源标记,
10139
+ 支持1-128个字符的数字、字母、下划线(_)、中划线(-)。
10140
+ */
10141
+ ResourceId: string;
10142
+ /**
10143
+ * drm厂商访问地址;
10144
+
10145
+ 注: 不同DRM厂商对子流的数量限制不一样,如 pallycon 限制不能超过5条子流,drmtoday厂商最多仅支持9条子流加密
10146
+ */
10147
+ KeyServerUrl: string;
10148
+ /**
10149
+ * 加密初始化向量(32字节字符串)。
10150
+ */
10151
+ Vector: string;
10152
+ /**
10153
+ * 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
10154
+
10155
+ cbcs:PlayReady,Widevine,FairPlay 支持;
10156
+ cenc:PlayReady,Widevine支持;
10157
+ */
10158
+ EncryptionMethod?: string;
10159
+ /**
10160
+ * 子流加密规则,默认 preset0
10161
+ preset0:全部子流使用同一个key加密;
10162
+ preset1:每个子流使用不同的key加密;
10163
+
10164
+ */
10165
+ EncryptionPreset?: string;
10166
+ }
9690
10167
  /**
9691
10168
  * DeleteStreamLinkFlow返回参数结构体
9692
10169
  */
@@ -9753,17 +10230,31 @@ export interface AiReviewPornOcrTaskOutput {
9753
10230
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>;
9754
10231
  }
9755
10232
  /**
9756
- * CreateSampleSnapshotTemplate返回参数结构体
10233
+ * CreateAsrHotwords请求参数结构体
9757
10234
  */
9758
- export interface CreateSampleSnapshotTemplateResponse {
10235
+ export interface CreateAsrHotwordsRequest {
9759
10236
  /**
9760
- * 采样截图模板唯一标识。
10237
+ * 0 临时热词 1 文件热词
9761
10238
  */
9762
- Definition?: number;
10239
+ Type: number;
9763
10240
  /**
9764
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10241
+ * 热词库名称
9765
10242
  */
9766
- RequestId?: string;
10243
+ Name: string;
10244
+ /**
10245
+ * 热词库文本,Type为 0 必选
10246
+ */
10247
+ Content?: string;
10248
+ /**
10249
+ * 热词库文件的 base64 的内容,Type 为 1 必选
10250
+
10251
+
10252
+ */
10253
+ FileContent?: string;
10254
+ /**
10255
+ * 上传的文件名
10256
+ */
10257
+ FileName?: string;
9767
10258
  }
9768
10259
  /**
9769
10260
  * 智能精彩片段任务输入类型
@@ -10015,6 +10506,31 @@ export interface TranscodeTemplate {
10015
10506
  */
10016
10507
  AliasName?: string;
10017
10508
  }
10509
+ /**
10510
+ * 语音翻译任务控制参数
10511
+ */
10512
+ export interface TranslateConfigureInfo {
10513
+ /**
10514
+ * 语音翻译任务开关,可选值:
10515
+ <li>ON:开启智能语音翻译任务;</li>
10516
+ <li>OFF:关闭智能语音翻译任务。</li>
10517
+ */
10518
+ Switch: string;
10519
+ /**
10520
+ * 视频源语言。
10521
+ */
10522
+ SourceLanguage?: string;
10523
+ /**
10524
+ * 翻译目标语言。
10525
+ */
10526
+ DestinationLanguage?: string;
10527
+ /**
10528
+ * 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
10529
+ <li>vtt:生成 WebVTT 字幕文件。</li>
10530
+ 注意:此字段可能返回 null,表示取不到有效值。
10531
+ */
10532
+ SubtitleFormat?: string;
10533
+ }
10018
10534
  /**
10019
10535
  * DescribeStreamLinkFlowMediaStatistics返回参数结构体
10020
10536
  */
@@ -10228,6 +10744,20 @@ export interface DescribeMediaMetaDataResponse {
10228
10744
  */
10229
10745
  RequestId?: string;
10230
10746
  }
10747
+ /**
10748
+ * 语音全文识别结果。
10749
+ */
10750
+ export interface SmartSubtitleTaskAsrFullTextResultOutput {
10751
+ /**
10752
+ * 语音全文识别片段列表。
10753
+ 注意:此字段可能返回 null,表示取不到有效值。
10754
+ */
10755
+ SegmentSet?: Array<SmartSubtitleTaskAsrFullTextSegmentItem>;
10756
+ /**
10757
+ * 字幕文件地址。
10758
+ */
10759
+ SubtitlePath?: string;
10760
+ }
10231
10761
  /**
10232
10762
  * 文本涉敏任务控制参数
10233
10763
  */
@@ -10311,21 +10841,13 @@ export interface AiReviewTaskPornResult {
10311
10841
  Output?: AiReviewPornTaskOutput;
10312
10842
  }
10313
10843
  /**
10314
- * DescribeStreamLinkFlowRealtimeStatus请求参数结构体
10844
+ * 智能物体识别输出。
10315
10845
  */
10316
- export interface DescribeStreamLinkFlowRealtimeStatusRequest {
10317
- /**
10318
- * 流ID。
10319
- */
10320
- FlowId: string;
10321
- /**
10322
- * 输入id数组,如果输入输出数组都为空,则代表全量查询。
10323
- */
10324
- InputIds?: Array<string>;
10846
+ export interface AiRecognitionTaskObjectResultOutput {
10325
10847
  /**
10326
- * 输出id数组,如果输入输出数组都为空,则代表全量查询。
10848
+ * 智能物体识别结果集。
10327
10849
  */
10328
- OutputIds?: Array<string>;
10850
+ ResultSet: Array<AiRecognitionTaskObjectResultItem>;
10329
10851
  }
10330
10852
  /**
10331
10853
  * 智能擦除结果信息
@@ -10681,6 +11203,127 @@ export interface TranscodeTaskInput {
10681
11203
  */
10682
11204
  HeadTailParameter?: HeadTailParameter;
10683
11205
  }
11206
+ /**
11207
+ * 智能字幕模板详情
11208
+ */
11209
+ export interface SmartSubtitleTemplateItem {
11210
+ /**
11211
+ * 智能字幕模板唯一标识
11212
+ */
11213
+ Definition?: number;
11214
+ /**
11215
+ * 智能字幕模板名称
11216
+ 注意:此字段可能返回 null,表示取不到有效值。
11217
+ */
11218
+ Name?: string;
11219
+ /**
11220
+ * 智能字幕模板描述信息
11221
+ 注意:此字段可能返回 null,表示取不到有效值。
11222
+ */
11223
+ Comment?: string;
11224
+ /**
11225
+ * 模板类型,取值范围:
11226
+ * Preset:系统预置模板;
11227
+ * Custom:用户自定义模板。
11228
+ 注意:此字段可能返回 null,表示取不到有效值。
11229
+ */
11230
+ Type?: string;
11231
+ /**
11232
+ * ASR热词库参数
11233
+ 注意:此字段可能返回 null,表示取不到有效值。
11234
+ */
11235
+ AsrHotWordsConfigure?: AsrHotWordsConfigure;
11236
+ /**
11237
+ * 模板关联热词库名称
11238
+ 注意:此字段可能返回 null,表示取不到有效值。
11239
+ */
11240
+ AsrHotWordsLibraryName?: string;
11241
+ /**
11242
+ * 智能字幕视频源语言
11243
+ 当前支持以下语言:
11244
+ zh:简体中文
11245
+ en:英语
11246
+ ja:日语
11247
+ ko:韩语
11248
+ zh-PY:中英粤
11249
+ zh-medical:中文医疗
11250
+ yue:中文粤语
11251
+ vi:越南语
11252
+ ms:马来语
11253
+ id:印度尼西亚语
11254
+ fil:菲律宾语
11255
+ th:泰语
11256
+ pt:葡萄牙语
11257
+ tr:土耳其语
11258
+ ar:阿拉伯语
11259
+ es:西班牙语
11260
+ hi:印地语
11261
+ fr:法语
11262
+ de:德语
11263
+ zh_dialect:中文方言
11264
+ */
11265
+ VideoSrcLanguage?: string;
11266
+ /**
11267
+ * 智能字幕文件格式
11268
+ vtt: WebVTT 格式
11269
+ 不填或填空:不生成字幕文件
11270
+ 注意:此字段可能返回 null,表示取不到有效值。
11271
+ */
11272
+ SubtitleFormat?: string;
11273
+ /**
11274
+ * 智能字幕字幕语言类型
11275
+ 0: 源语言
11276
+ 1: 翻译语言
11277
+ 2: 源语言+翻译语言
11278
+ 当TranslateSwitch为OFF时仅支持取0
11279
+ 当TranslateSwitch为ON时仅支持取1或2
11280
+ */
11281
+ SubtitleType?: number;
11282
+ /**
11283
+ * 字幕翻译开关
11284
+ ON: 开启翻译
11285
+ OFF: 关闭翻译
11286
+ 注意:此字段可能返回 null,表示取不到有效值。
11287
+ */
11288
+ TranslateSwitch?: string;
11289
+ /**
11290
+ * 字幕翻译目标语言
11291
+ 当TranslateSwitch为ON的时候生效
11292
+ 当前支持以下语言:
11293
+ zh:简体中文
11294
+ en:英语
11295
+ ja:日语
11296
+ ko:韩语
11297
+ fr:法语
11298
+ es:西班牙语
11299
+ it:意大利语
11300
+ de:德语
11301
+ tr:土耳其语
11302
+ ru:俄语
11303
+ pt:葡萄牙语
11304
+ vi:越南语
11305
+ id:印度尼西亚语
11306
+ ms:马来语
11307
+ th:泰语
11308
+ ar:阿拉伯语
11309
+ hi:印地语
11310
+ 注意:此字段可能返回 null,表示取不到有效值。
11311
+ */
11312
+ TranslateDstLanguage?: string;
11313
+ /**
11314
+ * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
11315
+ */
11316
+ CreateTime?: string;
11317
+ /**
11318
+ * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
11319
+ */
11320
+ UpdateTime?: string;
11321
+ /**
11322
+ * 智能字幕预设模板别名
11323
+ 注意:此字段可能返回 null,表示取不到有效值。
11324
+ */
11325
+ AliasName?: string;
11326
+ }
10684
11327
  /**
10685
11328
  * CreateStreamLinkSecurityGroup返回参数结构体
10686
11329
  */
@@ -10806,6 +11449,19 @@ export interface ComposeImageOperation {
10806
11449
  */
10807
11450
  FlipType?: string;
10808
11451
  }
11452
+ /**
11453
+ * CreateSampleSnapshotTemplate返回参数结构体
11454
+ */
11455
+ export interface CreateSampleSnapshotTemplateResponse {
11456
+ /**
11457
+ * 采样截图模板唯一标识。
11458
+ */
11459
+ Definition?: number;
11460
+ /**
11461
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11462
+ */
11463
+ RequestId?: string;
11464
+ }
10809
11465
  /**
10810
11466
  * CreateLiveRecordTemplate返回参数结构体
10811
11467
  */
@@ -10835,6 +11491,7 @@ export interface ActivityResult {
10835
11491
  <li>AIRecognition:智能识别。</li>
10836
11492
  <li>AIAnalysis:智能分析。</li>
10837
11493
  <li>AiQualityControl:媒体质检。</li>
11494
+ <li>SmartSubtitles:智能字幕。</li>
10838
11495
  */
10839
11496
  ActivityType?: string;
10840
11497
  /**
@@ -10842,6 +11499,78 @@ export interface ActivityResult {
10842
11499
  */
10843
11500
  ActivityResItem?: ActivityResItem;
10844
11501
  }
11502
+ /**
11503
+ * DescribeAsrHotwords返回参数结构体
11504
+ */
11505
+ export interface DescribeAsrHotwordsResponse {
11506
+ /**
11507
+ * 需要查询的热词库 id
11508
+ */
11509
+ HotwordsId?: string;
11510
+ /**
11511
+ * 当前热词库 id 状态,为 0 表示查询的时刻,没有模板绑定这个热词库,可以删除
11512
+ 注意:此字段可能返回 null,表示取不到有效值。
11513
+ */
11514
+ Status?: number;
11515
+ /**
11516
+ * 热词库的名称
11517
+ 注意:此字段可能返回 null,表示取不到有效值。
11518
+ */
11519
+ Name?: string;
11520
+ /**
11521
+ * 临时热词库为 0,返回创建时候的字符串
11522
+ 文件热词库为 1,返回创建是上传的文件内容
11523
+
11524
+
11525
+ 注意:此字段可能返回 null,表示取不到有效值。
11526
+ */
11527
+ Type?: number;
11528
+ /**
11529
+ * 热词文件上传时的文件名
11530
+ 注意:此字段可能返回 null,表示取不到有效值。
11531
+ */
11532
+ FileName?: string;
11533
+ /**
11534
+ * 查询返回的热词库列表
11535
+ */
11536
+ HotWords?: Array<AsrHotwordsSetItem>;
11537
+ /**
11538
+ * 热词库文本,根据 Type 区分
11539
+ 如果 Type 为 0,是热词库字符串
11540
+ 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
11541
+ 注意:此字段可能返回 null,表示取不到有效值。
11542
+ */
11543
+ Content?: string;
11544
+ /**
11545
+ * 当前热词库包含的词语数量
11546
+ 注意:此字段可能返回 null,表示取不到有效值。
11547
+ */
11548
+ WordCount?: number;
11549
+ /**
11550
+ * 分页偏移量,默认值:0。
11551
+ 注意:此字段可能返回 null,表示取不到有效值。
11552
+ */
11553
+ Offset?: number;
11554
+ /**
11555
+ * 返回记录条数,默认值:10,最大值:100。
11556
+ 注意:此字段可能返回 null,表示取不到有效值。
11557
+ */
11558
+ Limit?: number;
11559
+ /**
11560
+ * 热词库创建时间 ISOUTC 格式 "2006-01-02T15:04:05Z"
11561
+ 注意:此字段可能返回 null,表示取不到有效值。
11562
+ */
11563
+ CreateTime?: string;
11564
+ /**
11565
+ * 热词库修改时间 ISOUTC 格式 "2006-01-02T15:04:05Z"
11566
+ 注意:此字段可能返回 null,表示取不到有效值。
11567
+ */
11568
+ UpdateTime?: string;
11569
+ /**
11570
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11571
+ */
11572
+ RequestId?: string;
11573
+ }
10845
11574
  /**
10846
11575
  * 查询输入的HLS配置信息。
10847
11576
  */
@@ -10966,6 +11695,15 @@ export interface OutputRISTSourceAddressResp {
10966
11695
  */
10967
11696
  Port?: number;
10968
11697
  }
11698
+ /**
11699
+ * ModifySmartSubtitleTemplate返回参数结构体
11700
+ */
11701
+ export interface ModifySmartSubtitleTemplateResponse {
11702
+ /**
11703
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11704
+ */
11705
+ RequestId?: string;
11706
+ }
10969
11707
  /**
10970
11708
  * 用户自定义审核任务控制参数。
10971
11709
  */
@@ -11702,6 +12440,7 @@ export interface Activity {
11702
12440
  <li>action-snapshotByTimeOffset: 时间点截图</li>
11703
12441
  <li>action-adaptive-substream:自适应码流</li>
11704
12442
  <li>action-AIQualityControl:媒体质检</li>
12443
+ <li>action-SmartSubtitles:智能字幕</li>
11705
12444
 
11706
12445
 
11707
12446
 
@@ -11969,15 +12708,15 @@ export interface CreateContentReviewTemplateRequest {
11969
12708
  */
11970
12709
  Comment?: string;
11971
12710
  /**
11972
- * 令人反感的信息的控制参数。
12711
+ * 鉴黄任务控制参数。
11973
12712
  */
11974
12713
  PornConfigure?: PornConfigureInfo;
11975
12714
  /**
11976
- * 令人不安全的信息的控制参数。
12715
+ * 涉暴任务控制参数。
11977
12716
  */
11978
12717
  TerrorismConfigure?: TerrorismConfigureInfo;
11979
12718
  /**
11980
- * 令人不适宜的信息的控制参数。
12719
+ * 涉敏任务控制参数。
11981
12720
  */
11982
12721
  PoliticalConfigure?: PoliticalConfigureInfo;
11983
12722
  /**
@@ -12317,13 +13056,39 @@ export interface HeadTailParameter {
12317
13056
  TailSet?: Array<MediaInputInfo>;
12318
13057
  }
12319
13058
  /**
12320
- * 智能分类任务输入类型
13059
+ * DescribeStreamLinkFlowMediaStatistics请求参数结构体
12321
13060
  */
12322
- export interface AiAnalysisTaskDescriptionInput {
13061
+ export interface DescribeStreamLinkFlowMediaStatisticsRequest {
12323
13062
  /**
12324
- * 视频智能描述模板 ID。
13063
+ * 传输流ID。
12325
13064
  */
12326
- Definition: number;
13065
+ FlowId: string;
13066
+ /**
13067
+ * 输入或输出类型,可选[input|output]。
13068
+ */
13069
+ Type: string;
13070
+ /**
13071
+ * 输入或输出Id。
13072
+ */
13073
+ InputOutputId: string;
13074
+ /**
13075
+ * 主通道或备通道,可选[0|1]。
13076
+ */
13077
+ Pipeline: string;
13078
+ /**
13079
+ * 查询间隔,可选[5s|1min|5min|15min]。
13080
+ */
13081
+ Period: string;
13082
+ /**
13083
+ * 统计的开始时间,默认为前一小时,最多支持查询近7天。
13084
+ UTC时间,如'2020-01-01T12:00:00Z'。
13085
+ */
13086
+ StartTime: string;
13087
+ /**
13088
+ * 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
13089
+ UTC时间,如'2020-01-01T12:00:00Z'。
13090
+ */
13091
+ EndTime: string;
12327
13092
  }
12328
13093
  /**
12329
13094
  * DescribeTaskDetail返回参数结构体
@@ -12859,6 +13624,30 @@ export interface AiRecognitionTaskTransTextResultOutput {
12859
13624
  */
12860
13625
  SubtitlePath?: string;
12861
13626
  }
13627
+ /**
13628
+ * 智能字幕结果。
13629
+ */
13630
+ export interface SmartSubtitlesResult {
13631
+ /**
13632
+ * 任务的类型,取值范围:
13633
+ <li>AsrFullTextRecognition:语音全文识别,</li>
13634
+ <li>TransTextRecognition:语音翻译。</li>
13635
+ */
13636
+ Type?: string;
13637
+ /**
13638
+ * 语音全文识别结果,当 Type 为
13639
+ AsrFullTextRecognition 时有效。
13640
+ 注意:此字段可能返回 null,表示取不到有效值。
13641
+ */
13642
+ AsrFullTextTask?: SmartSubtitleTaskAsrFullTextResult;
13643
+ /**
13644
+ * 翻译结果,当 Type 为
13645
+
13646
+ TransTextRecognition 时有效。
13647
+ 注意:此字段可能返回 null,表示取不到有效值。
13648
+ */
13649
+ TransTextTask?: SmartSubtitleTaskTransTextResult;
13650
+ }
12862
13651
  /**
12863
13652
  * ModifySnapshotByTimeOffsetTemplate请求参数结构体
12864
13653
  */
@@ -12914,6 +13703,21 @@ export interface ModifySnapshotByTimeOffsetTemplateRequest {
12914
13703
  */
12915
13704
  FillType?: string;
12916
13705
  }
13706
+ /**
13707
+ * 智能字幕热词参数
13708
+ */
13709
+ export interface AsrHotWordsConfigure {
13710
+ /**
13711
+ * 热词开关
13712
+ 注意:此字段可能返回 null,表示取不到有效值。
13713
+ */
13714
+ Switch?: string;
13715
+ /**
13716
+ * 热词库ID
13717
+ 注意:此字段可能返回 null,表示取不到有效值。
13718
+ */
13719
+ LibraryId?: string;
13720
+ }
12917
13721
  /**
12918
13722
  * 直播流 AI 审核结果
12919
13723
  */
@@ -13670,21 +14474,101 @@ export interface AwsSQS {
13670
14474
  S3SecretKey?: string;
13671
14475
  }
13672
14476
  /**
13673
- * 字词信息。
14477
+ * DeleteAsrHotwords请求参数结构体
13674
14478
  */
13675
- export interface WordResult {
14479
+ export interface DeleteAsrHotwordsRequest {
13676
14480
  /**
13677
- * 字词文本。
14481
+ * 删除的热词库 id
13678
14482
  */
13679
- Word?: string;
14483
+ HotwordsId: string;
14484
+ }
14485
+ /**
14486
+ * CreateSmartSubtitleTemplate请求参数结构体
14487
+ */
14488
+ export interface CreateSmartSubtitleTemplateRequest {
13680
14489
  /**
13681
- * 字词起始时间戳,单位秒。
14490
+ * 智能字幕模板名称
14491
+ 长度限制:64 个字符。
13682
14492
  */
13683
- Start?: number;
14493
+ Name: string;
13684
14494
  /**
13685
- * 字词结束时间戳,单位秒。
14495
+ * 智能字幕视频源语言
14496
+ 当前支持以下语言:
14497
+ zh:简体中文
14498
+ en:英语
14499
+ ja:日语
14500
+ ko:韩语
14501
+ zh-PY:中英粤
14502
+ zh-medical:中文医疗
14503
+ yue:中文粤语
14504
+ vi:越南语
14505
+ ms:马来语
14506
+ id:印度尼西亚语
14507
+ fil:菲律宾语
14508
+ th:泰语
14509
+ pt:葡萄牙语
14510
+ tr:土耳其语
14511
+ ar:阿拉伯语
14512
+ es:西班牙语
14513
+ hi:印地语
14514
+ fr:法语
14515
+ de:德语
14516
+ zh_dialect:中文方言
14517
+ */
14518
+ VideoSrcLanguage: string;
14519
+ /**
14520
+ * 智能字幕字幕语言类型
14521
+ 0: 源语言
14522
+ 1: 翻译语言
14523
+ 2: 源语言+翻译语言
14524
+ 当TranslateSwitch为OFF时仅支持取0
14525
+ 当TranslateSwitch为ON时仅支持取1或2
14526
+ */
14527
+ SubtitleType: number;
14528
+ /**
14529
+ * 智能字幕模板描述信息
14530
+ 长度限制:256 个字符。
13686
14531
  */
13687
- End?: number;
14532
+ Comment?: string;
14533
+ /**
14534
+ * 智能字幕文件格式
14535
+ vtt: WebVTT 格式
14536
+ 不填或填空:不生成字幕文件
14537
+ */
14538
+ SubtitleFormat?: string;
14539
+ /**
14540
+ * ASR热词库参数
14541
+ */
14542
+ AsrHotWordsConfigure?: AsrHotWordsConfigure;
14543
+ /**
14544
+ * 字幕翻译开关
14545
+ ON: 开启翻译
14546
+ OFF: 关闭翻译
14547
+ */
14548
+ TranslateSwitch?: string;
14549
+ /**
14550
+ * 字幕翻译目标语言
14551
+ 当TranslateSwitch为ON的时候生效
14552
+ 当前支持以下语言:
14553
+ zh:简体中文
14554
+ en:英语
14555
+ ja:日语
14556
+ ko:韩语
14557
+ fr:法语
14558
+ es:西班牙语
14559
+ it:意大利语
14560
+ de:德语
14561
+ tr:土耳其语
14562
+ ru:俄语
14563
+ pt:葡萄牙语
14564
+ vi:越南语
14565
+ id:印度尼西亚语
14566
+ ms:马来语
14567
+ th:泰语
14568
+ ar:阿拉伯语
14569
+ hi:印地语
14570
+ */
14571
+ TranslateDstLanguage?: string;
13688
14572
  }
13689
14573
  /**
13690
14574
  * 直播处理任务信息
@@ -13783,6 +14667,10 @@ export interface DrmInfo {
13783
14667
  注意:此字段可能返回 null,表示取不到有效值。
13784
14668
  */
13785
14669
  SimpleAesDrm?: SimpleAesDrm;
14670
+ /**
14671
+ * FairPlay, WideVine, PlayReady 加密信息。
14672
+ */
14673
+ SpekeDrm?: SpekeDrm;
13786
14674
  }
13787
14675
  /**
13788
14676
  * DescribeSampleSnapshotTemplates返回参数结构体
@@ -13922,21 +14810,81 @@ export interface MediaContentReviewSegmentItem {
13922
14810
  PicUrlExpireTime: string;
13923
14811
  }
13924
14812
  /**
13925
- * DescribeStreamLinkFlowRealtimeStatus返回参数结构体
14813
+ * 内容审核结果
13926
14814
  */
13927
- export interface DescribeStreamLinkFlowRealtimeStatusResponse {
14815
+ export interface AiContentReviewResult {
13928
14816
  /**
13929
- * 查询时间,单位s。
14817
+ * 任务的类型,可以取的值有:
14818
+ <li>Porn:图片鉴黄</li>
14819
+ <li>Terrorism:图片敏感</li>
14820
+ <li>Political:图片敏感</li>
14821
+ <li>Porn.Asr:Asr 文字鉴黄</li>
14822
+ <li>Porn.Ocr:Ocr 文字鉴黄</li>
14823
+ <li>Political.Asr:Asr 文字敏感</li>
14824
+ <li>Political.Ocr:Ocr 文字敏感</li>
14825
+ <li>Terrorism.Ocr:Ocr 文字敏感</li>
14826
+ <li>Prohibited.Asr:Asr 文字鉴违禁</li>
14827
+ <li>Prohibited.Ocr:Ocr 文字鉴违禁</li>
13930
14828
  */
13931
- Timestamp: number;
14829
+ Type: string;
13932
14830
  /**
13933
- * 实时数据信息列表。
14831
+ * 采样频率,即对视频每秒截取进行审核的帧数。
13934
14832
  */
13935
- Datas: Array<FlowRealtimeStatusItem>;
14833
+ SampleRate: number;
13936
14834
  /**
13937
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14835
+ * 审核的视频时长,单位:秒。
13938
14836
  */
13939
- RequestId?: string;
14837
+ Duration: number;
14838
+ /**
14839
+ * 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 Porn 时有效。
14840
+ 注意:此字段可能返回 null,表示取不到有效值。
14841
+ */
14842
+ PornTask: AiReviewTaskPornResult;
14843
+ /**
14844
+ * 视频内容审核智能画面敏感任务的查询结果,当任务类型为 Terrorism 时有效。
14845
+ 注意:此字段可能返回 null,表示取不到有效值。
14846
+ */
14847
+ TerrorismTask: AiReviewTaskTerrorismResult;
14848
+ /**
14849
+ * 视频内容审核智能画面敏感任务的查询结果,当任务类型为 Political 时有效。
14850
+ 注意:此字段可能返回 null,表示取不到有效值。
14851
+ */
14852
+ PoliticalTask: AiReviewTaskPoliticalResult;
14853
+ /**
14854
+ * 视频内容审核 Asr 文字鉴黄任务的查询结果,当任务类型为 Porn.Asr 时有效。
14855
+ 注意:此字段可能返回 null,表示取不到有效值。
14856
+ */
14857
+ PornAsrTask: AiReviewTaskPornAsrResult;
14858
+ /**
14859
+ * 视频内容审核 Ocr 文字鉴黄任务的查询结果,当任务类型为 Porn.Ocr 时有效。
14860
+ 注意:此字段可能返回 null,表示取不到有效值。
14861
+ */
14862
+ PornOcrTask: AiReviewTaskPornOcrResult;
14863
+ /**
14864
+ * 视频内容审核 Asr 文字敏感任务的查询结果,当任务类型为 Political.Asr 时有效。
14865
+ 注意:此字段可能返回 null,表示取不到有效值。
14866
+ */
14867
+ PoliticalAsrTask: AiReviewTaskPoliticalAsrResult;
14868
+ /**
14869
+ * 视频内容审核 Ocr 文字敏感任务的查询结果,当任务类型为 Political.Ocr 时有效。
14870
+ 注意:此字段可能返回 null,表示取不到有效值。
14871
+ */
14872
+ PoliticalOcrTask: AiReviewTaskPoliticalOcrResult;
14873
+ /**
14874
+ * 视频内容审核 Ocr 文字敏感任务的查询结果,当任务类型为 Terrorism.Ocr 时有效。
14875
+ 注意:此字段可能返回 null,表示取不到有效值。
14876
+ */
14877
+ TerrorismOcrTask: AiReviewTaskTerrorismOcrResult;
14878
+ /**
14879
+ * 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。
14880
+ 注意:此字段可能返回 null,表示取不到有效值。
14881
+ */
14882
+ ProhibitedAsrTask: AiReviewTaskProhibitedAsrResult;
14883
+ /**
14884
+ * 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。
14885
+ 注意:此字段可能返回 null,表示取不到有效值。
14886
+ */
14887
+ ProhibitedOcrTask: AiReviewTaskProhibitedOcrResult;
13940
14888
  }
13941
14889
  /**
13942
14890
  * 直播编排任务输出
@@ -13987,29 +14935,52 @@ export interface TerrorismImgReviewTemplateInfo {
13987
14935
  ReviewConfidence?: number;
13988
14936
  }
13989
14937
  /**
13990
- * 语音翻译任务控制参数
14938
+ * 热词库查询返回结果集
13991
14939
  */
13992
- export interface TranslateConfigureInfo {
14940
+ export interface AsrHotwordsSet {
13993
14941
  /**
13994
- * 语音翻译任务开关,可选值:
13995
- <li>ON:开启智能语音翻译任务;</li>
13996
- <li>OFF:关闭智能语音翻译任务。</li>
14942
+ * 热词库 Id
14943
+ 注意:此字段可能返回 null,表示取不到有效值。
13997
14944
  */
13998
- Switch: string;
14945
+ HotwordsId?: string;
13999
14946
  /**
14000
- * 视频源语言。
14947
+ * 当前热词库状态,数值表示绑定该热词库的智能字幕模板数量。
14948
+ Status 为 0 ,表示该热词库没有被智能字幕模版引用可以删除;
14949
+ Status 不为 0,表示该热词库不能被删除。
14950
+ 注意:此字段可能返回 null,表示取不到有效值。
14001
14951
  */
14002
- SourceLanguage?: string;
14952
+ Status?: number;
14003
14953
  /**
14004
- * 翻译目标语言。
14954
+ * 热词库名称
14955
+ 注意:此字段可能返回 null,表示取不到有效值。
14005
14956
  */
14006
- DestinationLanguage?: string;
14957
+ Name?: string;
14007
14958
  /**
14008
- * 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
14009
- <li>vtt:生成 WebVTT 字幕文件。</li>
14959
+ * 热词库中的热词数量
14010
14960
  注意:此字段可能返回 null,表示取不到有效值。
14011
14961
  */
14012
- SubtitleFormat?: string;
14962
+ WordCount?: number;
14963
+ /**
14964
+ * 热词文件上传时的文件名
14965
+ 注意:此字段可能返回 null,表示取不到有效值。
14966
+ */
14967
+ FileName?: string;
14968
+ /**
14969
+ * 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z
14970
+ 注意:此字段可能返回 null,表示取不到有效值。
14971
+ */
14972
+ CreateTime?: string;
14973
+ /**
14974
+ * 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z
14975
+ 注意:此字段可能返回 null,表示取不到有效值。
14976
+ */
14977
+ UpdateTime?: string;
14978
+ /**
14979
+ * 0:临时热词库
14980
+ 1:文件热词库
14981
+ 注意:此字段可能返回 null,表示取不到有效值。
14982
+ */
14983
+ Type?: number;
14013
14984
  }
14014
14985
  /**
14015
14986
  * 片头片尾任务输入类型
@@ -14112,9 +15083,17 @@ export interface DescribeTranscodeTemplatesRequest {
14112
15083
  CompressType?: string;
14113
15084
  }
14114
15085
  /**
14115
- * ModifyLiveRecordTemplate返回参数结构体
15086
+ * DescribeSmartSubtitleTemplates返回参数结构体
14116
15087
  */
14117
- export interface ModifyLiveRecordTemplateResponse {
15088
+ export interface DescribeSmartSubtitleTemplatesResponse {
15089
+ /**
15090
+ * 符合过滤条件的记录总数。
15091
+ */
15092
+ TotalCount?: number;
15093
+ /**
15094
+ * 智能字幕模板详情列表。
15095
+ */
15096
+ SmartSubtitleTemplateSet?: Array<SmartSubtitleTemplateItem>;
14118
15097
  /**
14119
15098
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14120
15099
  */
@@ -14724,13 +15703,21 @@ export interface AiRecognitionTaskObjectResult {
14724
15703
  Output?: AiRecognitionTaskObjectResultOutput;
14725
15704
  }
14726
15705
  /**
14727
- * 智能物体识别输出。
15706
+ * DescribeStreamLinkFlowRealtimeStatus请求参数结构体
14728
15707
  */
14729
- export interface AiRecognitionTaskObjectResultOutput {
15708
+ export interface DescribeStreamLinkFlowRealtimeStatusRequest {
14730
15709
  /**
14731
- * 智能物体识别结果集。
15710
+ * 流ID。
14732
15711
  */
14733
- ResultSet: Array<AiRecognitionTaskObjectResultItem>;
15712
+ FlowId: string;
15713
+ /**
15714
+ * 输入id数组,如果输入输出数组都为空,则代表全量查询。
15715
+ */
15716
+ InputIds?: Array<string>;
15717
+ /**
15718
+ * 输出id数组,如果输入输出数组都为空,则代表全量查询。
15719
+ */
15720
+ OutputIds?: Array<string>;
14734
15721
  }
14735
15722
  /**
14736
15723
  * DescribeAIAnalysisTemplates返回参数结构体
@@ -14981,6 +15968,11 @@ export interface WorkflowTask {
14981
15968
  注意:此字段可能返回 null,表示取不到有效值。
14982
15969
  */
14983
15970
  AiQualityControlTaskResult?: ScheduleQualityControlTaskResult;
15971
+ /**
15972
+ * 智能字幕任务的执行结果
15973
+ 注意:此字段可能返回 null,表示取不到有效值。
15974
+ */
15975
+ SmartSubtitlesTaskResult?: Array<SmartSubtitlesResult>;
14984
15976
  }
14985
15977
  /**
14986
15978
  * 传输流媒体的视频数据。
@@ -15003,6 +15995,42 @@ export interface FlowMediaVideo {
15003
15995
  */
15004
15996
  SessionId: string;
15005
15997
  }
15998
+ /**
15999
+ * 语音全文识别结果。
16000
+ */
16001
+ export interface SmartSubtitleTaskAsrFullTextResult {
16002
+ /**
16003
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
16004
+ */
16005
+ Status?: string;
16006
+ /**
16007
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
16008
+ */
16009
+ ErrCodeExt?: string;
16010
+ /**
16011
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
16012
+ */
16013
+ ErrCode?: number;
16014
+ /**
16015
+ * 错误信息。
16016
+ */
16017
+ Message?: string;
16018
+ /**
16019
+ * 语音全文识别任务输入信息。
16020
+ 注意:此字段可能返回 null,表示取不到有效值。
16021
+ */
16022
+ Input?: SmartSubtitleTaskResultInput;
16023
+ /**
16024
+ * 语音全文识别任务输出信息。
16025
+ 注意:此字段可能返回 null,表示取不到有效值。
16026
+ */
16027
+ Output?: SmartSubtitleTaskAsrFullTextResultOutput;
16028
+ /**
16029
+ * 任务进度。
16030
+ 注意:此字段可能返回 null,表示取不到有效值。
16031
+ */
16032
+ Progress?: number;
16033
+ }
15006
16034
  /**
15007
16035
  * 内容审核 Asr 文字鉴黄任务结果类型
15008
16036
  */
@@ -15082,6 +16110,36 @@ export interface ComposeAudioStream {
15082
16110
  */
15083
16111
  Bitrate?: number;
15084
16112
  }
16113
+ /**
16114
+ * 翻译片段。
16115
+ */
16116
+ export interface SmartSubtitleTaskTransTextSegmentItem {
16117
+ /**
16118
+ * 识别片段置信度。取值:0~100。
16119
+ */
16120
+ Confidence?: number;
16121
+ /**
16122
+ * 识别片段起始的偏移时间,单位:秒。
16123
+ */
16124
+ StartTimeOffset?: number;
16125
+ /**
16126
+ * 识别片段终止的偏移时间,单位:秒。
16127
+ */
16128
+ EndTimeOffset?: number;
16129
+ /**
16130
+ * 识别文本。
16131
+ */
16132
+ Text?: string;
16133
+ /**
16134
+ * 翻译文本。
16135
+ */
16136
+ Trans?: string;
16137
+ /**
16138
+ * 字词时间戳信息。
16139
+ 注意:此字段可能返回 null,表示取不到有效值。
16140
+ */
16141
+ Wordlist?: Array<WordResult>;
16142
+ }
15085
16143
  /**
15086
16144
  * 人脸识别任务控制参数
15087
16145
  */
@@ -15271,6 +16329,98 @@ export interface ModifyLiveRecordTemplateRequest {
15271
16329
  */
15272
16330
  Comment?: string;
15273
16331
  }
16332
+ /**
16333
+ * ModifySmartSubtitleTemplate请求参数结构体
16334
+ */
16335
+ export interface ModifySmartSubtitleTemplateRequest {
16336
+ /**
16337
+ * 智能字幕模板唯一标识
16338
+ */
16339
+ Definition: number;
16340
+ /**
16341
+ * 字幕翻译开关
16342
+ ON: 开启翻译
16343
+ OFF: 关闭翻译
16344
+ */
16345
+ TranslateSwitch?: string;
16346
+ /**
16347
+ * 智能字幕模板名称
16348
+ 长度限制:64 个字符。
16349
+ */
16350
+ Name?: string;
16351
+ /**
16352
+ * 智能字幕模板描述信息
16353
+ 长度限制:256 个字符。
16354
+ */
16355
+ Comment?: string;
16356
+ /**
16357
+ * 智能字幕视频源语言
16358
+ 当前支持以下语言:
16359
+ zh:简体中文
16360
+ en:英语
16361
+ ja:日语
16362
+ ko:韩语
16363
+ zh-PY:中英粤
16364
+ zh-medical:中文医疗
16365
+ yue:中文粤语
16366
+ vi:越南语
16367
+ ms:马来语
16368
+ id:印度尼西亚语
16369
+ fil:菲律宾语
16370
+ th:泰语
16371
+ pt:葡萄牙语
16372
+ tr:土耳其语
16373
+ ar:阿拉伯语
16374
+ es:西班牙语
16375
+ hi:印地语
16376
+ fr:法语
16377
+ de:德语
16378
+ zh_dialect:中文方言
16379
+ */
16380
+ VideoSrcLanguage?: string;
16381
+ /**
16382
+ * 智能字幕文件格式
16383
+ vtt: WebVTT 格式
16384
+ 不填或填空:不生成字幕文件
16385
+ */
16386
+ SubtitleFormat?: string;
16387
+ /**
16388
+ * 智能字幕字幕语言类型
16389
+ 0: 源语言
16390
+ 1: 翻译语言
16391
+ 2: 源语言+翻译语言
16392
+ 当TranslateSwitch为OFF时仅支持取0
16393
+ 当TranslateSwitch为ON时仅支持取1或2
16394
+ */
16395
+ SubtitleType?: number;
16396
+ /**
16397
+ * ASR热词库参数
16398
+ */
16399
+ AsrHotWordsConfigure?: AsrHotWordsConfigure;
16400
+ /**
16401
+ * 字幕翻译目标语言
16402
+ 当TranslateSwitch为ON的时候生效
16403
+ 当前支持以下语言:
16404
+ zh:简体中文
16405
+ en:英语
16406
+ ja:日语
16407
+ ko:韩语
16408
+ fr:法语
16409
+ es:西班牙语
16410
+ it:意大利语
16411
+ de:德语
16412
+ tr:土耳其语
16413
+ ru:俄语
16414
+ pt:葡萄牙语
16415
+ vi:越南语
16416
+ id:印度尼西亚语
16417
+ ms:马来语
16418
+ th:泰语
16419
+ ar:阿拉伯语
16420
+ hi:印地语
16421
+ */
16422
+ TranslateDstLanguage?: string;
16423
+ }
15274
16424
  /**
15275
16425
  * AI 视频智能分析输入参数类型
15276
16426
  */
@@ -15396,6 +16546,11 @@ export interface ActivityResItem {
15396
16546
  注意:此字段可能返回 null,表示取不到有效值。
15397
16547
  */
15398
16548
  QualityControlTask?: ScheduleQualityControlTaskResult;
16549
+ /**
16550
+ * 智能字幕任务输出
16551
+ 注意:此字段可能返回 null,表示取不到有效值。
16552
+ */
16553
+ SmartSubtitlesTask?: ScheduleSmartSubtitleTaskResult;
15399
16554
  }
15400
16555
  /**
15401
16556
  * 直播编排子任务输出
@@ -15585,6 +16740,24 @@ export interface PoliticalAsrReviewTemplateInfo {
15585
16740
  */
15586
16741
  ReviewConfidence?: number;
15587
16742
  }
16743
+ /**
16744
+ * 智能字幕输入结构体
16745
+ */
16746
+ export interface SmartSubtitlesTaskInput {
16747
+ /**
16748
+ * 智能字幕模板 ID 。
16749
+ */
16750
+ Definition?: number;
16751
+ /**
16752
+ * 用户扩展字段,一般场景不用填。
16753
+ */
16754
+ UserExtPara?: string;
16755
+ /**
16756
+ * 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
16757
+ 注意:此字段可能返回 null,表示取不到有效值。
16758
+ */
16759
+ RawParameter?: RawSmartSubtitleParameter;
16760
+ }
15588
16761
  /**
15589
16762
  * CreateAnimatedGraphicsTemplate返回参数结构体
15590
16763
  */
@@ -15851,39 +17024,13 @@ export interface AiRecognitionTaskFaceResultItem {
15851
17024
  Url?: string;
15852
17025
  }
15853
17026
  /**
15854
- * DescribeStreamLinkFlowMediaStatistics请求参数结构体
17027
+ * 智能分类任务输入类型
15855
17028
  */
15856
- export interface DescribeStreamLinkFlowMediaStatisticsRequest {
15857
- /**
15858
- * 传输流ID。
15859
- */
15860
- FlowId: string;
15861
- /**
15862
- * 输入或输出类型,可选[input|output]。
15863
- */
15864
- Type: string;
15865
- /**
15866
- * 输入或输出Id。
15867
- */
15868
- InputOutputId: string;
15869
- /**
15870
- * 主通道或备通道,可选[0|1]。
15871
- */
15872
- Pipeline: string;
15873
- /**
15874
- * 查询间隔,可选[5s|1min|5min|15min]。
15875
- */
15876
- Period: string;
15877
- /**
15878
- * 统计的开始时间,默认为前一小时,最多支持查询近7天。
15879
- UTC时间,如'2020-01-01T12:00:00Z'。
15880
- */
15881
- StartTime: string;
17029
+ export interface AiAnalysisTaskDescriptionInput {
15882
17030
  /**
15883
- * 统计的结束时间,默认为StartTime后一小时,最多支持查询24小时的数据。
15884
- UTC时间,如'2020-01-01T12:00:00Z'。
17031
+ * 视频智能描述模板 ID。
15885
17032
  */
15886
- EndTime: string;
17033
+ Definition: number;
15887
17034
  }
15888
17035
  /**
15889
17036
  * 智能分类任务输入类型
@@ -15901,7 +17048,7 @@ export interface RegionInfo {
15901
17048
  /**
15902
17049
  * 地区名称。
15903
17050
  */
15904
- Name: string;
17051
+ Name?: string;
15905
17052
  }
15906
17053
  /**
15907
17054
  * CreateStreamLinkInput返回参数结构体
@@ -15934,6 +17081,19 @@ export interface ComposeAudioOperation {
15934
17081
  */
15935
17082
  Volume?: number;
15936
17083
  }
17084
+ /**
17085
+ * CreateSmartSubtitleTemplate返回参数结构体
17086
+ */
17087
+ export interface CreateSmartSubtitleTemplateResponse {
17088
+ /**
17089
+ * 智能字幕模板唯一标识。
17090
+ */
17091
+ Definition?: number;
17092
+ /**
17093
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17094
+ */
17095
+ RequestId?: string;
17096
+ }
15937
17097
  /**
15938
17098
  * 直播流 AI 分析结果
15939
17099
  */