tencentcloud-sdk-nodejs-vod 4.0.310 → 4.0.311

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.
@@ -1160,6 +1160,30 @@ export interface ResetProcedureTemplateRequest {
1160
1160
  */
1161
1161
  SubAppId?: number;
1162
1162
  }
1163
+ /**
1164
+ * 图片Ocr 文字鉴别信息的任务结果类型
1165
+ */
1166
+ export interface ContentReviewOcrResult {
1167
+ /**
1168
+ * Ocr 文字鉴别结果的评分,分值为0到100。
1169
+ */
1170
+ Confidence: number;
1171
+ /**
1172
+ * Ocr 文字鉴别的结果建议,取值范围:
1173
+ <li>pass;</li>
1174
+ <li>review;</li>
1175
+ <li>block。</li>
1176
+ */
1177
+ Suggestion: string;
1178
+ /**
1179
+ * Ocr 文字鉴别的嫌疑关键词列表。
1180
+ */
1181
+ KeywordSet: Array<string>;
1182
+ /**
1183
+ * Ocr 文字鉴别的嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
1184
+ */
1185
+ AreaCoordSet: Array<number>;
1186
+ }
1163
1187
  /**
1164
1188
  * ComposeMedia返回参数结构体
1165
1189
  */
@@ -2679,6 +2703,15 @@ export interface DescribeDailyMostPlayedStatResponse {
2679
2703
  */
2680
2704
  RequestId?: string;
2681
2705
  }
2706
+ /**
2707
+ * ModifyAIRecognitionTemplate返回参数结构体
2708
+ */
2709
+ export interface ModifyAIRecognitionTemplateResponse {
2710
+ /**
2711
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2712
+ */
2713
+ RequestId?: string;
2714
+ }
2682
2715
  /**
2683
2716
  * 视频拆条任务配置信息。
2684
2717
  */
@@ -3803,6 +3836,51 @@ export interface ConcatFileInfo2017 {
3803
3836
  */
3804
3837
  FileType: string;
3805
3838
  }
3839
+ /**
3840
+ * 图片智能内容识别任务结果
3841
+ */
3842
+ export interface ContentReviewResult {
3843
+ /**
3844
+ * 结果类型,取值范围:
3845
+ <li>Porn.Image:图片画面中的鉴别令人反感的信息结果;</li>
3846
+ <li>Terrorism.Image:图片画面中的鉴别令人不安全的信息结果;</li>
3847
+ <li>Political.Image:图片画面中的鉴别令人不适宜信息结果;</li>
3848
+ <li>Porn.Ocr:图片 OCR 文字中的鉴别令人反感的信息结果;</li>
3849
+ <li>Terrorism.Ocr:图片 OCR 文字中的鉴别令人不安全的信息结果;</li>
3850
+ <li>Political.Ocr:图片 OCR 文字中的鉴别令人不适宜信息结果。</li>
3851
+ */
3852
+ Type: string;
3853
+ /**
3854
+ * 图片画面中的鉴别令人反感的信息结果,当 Type 为 Porn.Image 时有效。
3855
+ 注意:此字段可能返回 null,表示取不到有效值。
3856
+ */
3857
+ PornImageResult: PornImageResult;
3858
+ /**
3859
+ * 图片画面中的鉴别令人不安全的信息结果,当 Type 为 Terrorism.Image 时有效。
3860
+ 注意:此字段可能返回 null,表示取不到有效值。
3861
+ */
3862
+ TerrorismImageResult: TerrorismImageResult;
3863
+ /**
3864
+ * 图片画面中的鉴别令人不适宜信息结果,当 Type 为 Political.Image 时有效。
3865
+ 注意:此字段可能返回 null,表示取不到有效值。
3866
+ */
3867
+ PoliticalImageResult: PoliticalImageResult;
3868
+ /**
3869
+ * 图片 OCR 文字中的鉴别令人反感的信息结果,当 Type 为 Porn.Ocr 时有效。
3870
+ 注意:此字段可能返回 null,表示取不到有效值。
3871
+ */
3872
+ PornOcrResult: ContentReviewOcrResult;
3873
+ /**
3874
+ * 图片 OCR 中的鉴别令人不安全的信息结果,当 Type 为 Terrorism.Ocr 时有效。
3875
+ 注意:此字段可能返回 null,表示取不到有效值。
3876
+ */
3877
+ TerrorismOcrResult: ContentReviewOcrResult;
3878
+ /**
3879
+ * 图片 OCR 文字中的鉴别令人不适宜信息结果,当 Type 为 Political.Ocr 时有效。
3880
+ 注意:此字段可能返回 null,表示取不到有效值。
3881
+ */
3882
+ PoliticalOcrResult: ContentReviewOcrResult;
3883
+ }
3806
3884
  /**
3807
3885
  * 对视频截雪碧图任务结果类型
3808
3886
  */
@@ -5071,6 +5149,64 @@ export interface ProcessMediaRequest {
5071
5149
  */
5072
5150
  SubAppId?: number;
5073
5151
  }
5152
+ /**
5153
+ * 图片画面智能识别涉及令人反感的信息的任务结果类型
5154
+ */
5155
+ export interface PornImageResult {
5156
+ /**
5157
+ * 鉴别涉及令人反感的信息的评分,分值为0到100。
5158
+ */
5159
+ Confidence: number;
5160
+ /**
5161
+ * 鉴别涉及令人反感的信息的结果建议,取值范围:
5162
+ <li>pass;</li>
5163
+ <li>review;</li>
5164
+ <li>block。</li>
5165
+ */
5166
+ Suggestion: string;
5167
+ /**
5168
+ * 鉴别涉及令人反感的信息的结果标签,取值范围:
5169
+ <li>porn:色情;</li>
5170
+ <li>sexy:性感;</li>
5171
+ <li>vulgar:低俗;</li>
5172
+ <li>intimacy:亲密行为。</li>
5173
+ */
5174
+ Label: string;
5175
+ }
5176
+ /**
5177
+ * ProcessImage返回参数结构体
5178
+ */
5179
+ export interface ProcessImageResponse {
5180
+ /**
5181
+ * 图片内容智能识别任务结果。
5182
+ */
5183
+ ContentReviewResultSet: Array<ContentReviewResult>;
5184
+ /**
5185
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5186
+ */
5187
+ RequestId?: string;
5188
+ }
5189
+ /**
5190
+ * ProcessImage请求参数结构体
5191
+ */
5192
+ export interface ProcessImageRequest {
5193
+ /**
5194
+ * 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
5195
+ */
5196
+ FileId: string;
5197
+ /**
5198
+ * 操作类型。现在仅支持填 ContentReview,表示内容智能识别。
5199
+ */
5200
+ Operation: string;
5201
+ /**
5202
+ * 图片内容智能识别参数,当 Operation 为 ContentReview 时该字段有效。
5203
+ */
5204
+ ContentReviewInput?: ImageContentReviewInput;
5205
+ /**
5206
+ * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
5207
+ */
5208
+ SubAppId?: number;
5209
+ }
5074
5210
  /**
5075
5211
  * ModifyMediaInfo返回参数结构体
5076
5212
  */
@@ -5631,6 +5767,30 @@ export interface MediaDeleteItem {
5631
5767
  */
5632
5768
  Definition?: number;
5633
5769
  }
5770
+ /**
5771
+ * 图片画面智能识别涉及令人不适宜信息的任务结果类型
5772
+ */
5773
+ export interface PoliticalImageResult {
5774
+ /**
5775
+ * 鉴别涉及令人不适宜信息的评分,分值为0到100。
5776
+ */
5777
+ Confidence: number;
5778
+ /**
5779
+ * 鉴别涉及令人不适宜信息的结果建议,取值范围:
5780
+ <li>pass;</li>
5781
+ <li>review;</li>
5782
+ <li>block。</li>
5783
+ */
5784
+ Suggestion: string;
5785
+ /**
5786
+ * 涉及令人不适宜的信息、违规图标名字。
5787
+ */
5788
+ Name: string;
5789
+ /**
5790
+ * 涉及令人不适宜的信息、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
5791
+ */
5792
+ AreaCoordSet: Array<number>;
5793
+ }
5634
5794
  /**
5635
5795
  * AI 样本管理,人物信息。
5636
5796
  */
@@ -9309,6 +9469,33 @@ export interface AsrFullTextConfigureInfo {
9309
9469
  */
9310
9470
  SubtitleFormat?: string;
9311
9471
  }
9472
+ /**
9473
+ * 图片画面智能识别涉及令人不安全的信息的任务结果类型
9474
+ */
9475
+ export interface TerrorismImageResult {
9476
+ /**
9477
+ * 鉴别涉及令人不安全的信息的评分,分值为0到100。
9478
+ */
9479
+ Confidence: number;
9480
+ /**
9481
+ * 鉴别涉及令人不安全的信息的结果建议,取值范围:
9482
+ <li>pass;</li>
9483
+ <li>review;</li>
9484
+ <li>block。</li>
9485
+ */
9486
+ Suggestion: string;
9487
+ /**
9488
+ * 鉴别涉及令人不安全的信息的结果标签,取值范围:
9489
+ <li>guns:武器枪支;</li>
9490
+ <li>crowd:人群聚集;</li>
9491
+ <li>police:警察部队;</li>
9492
+ <li>bloody:血腥画面;</li>
9493
+ <li>banners:暴恐旗帜;</li>
9494
+ <li>explosion:爆炸火灾;</li>
9495
+ <li>scenario:暴恐画面。</li>
9496
+ */
9497
+ Label: string;
9498
+ }
9312
9499
  /**
9313
9500
  * DeleteVodDomain请求参数结构体
9314
9501
  */
@@ -9499,13 +9686,14 @@ export interface AiRecognitionTaskAsrFullTextResult {
9499
9686
  Output: AiRecognitionTaskAsrFullTextResultOutput;
9500
9687
  }
9501
9688
  /**
9502
- * ModifyAIRecognitionTemplate返回参数结构体
9689
+ * 图片智能内容识别任务输入
9503
9690
  */
9504
- export interface ModifyAIRecognitionTemplateResponse {
9691
+ export interface ImageContentReviewInput {
9505
9692
  /**
9506
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9507
- */
9508
- RequestId?: string;
9693
+ * 图片智能内容审核模板 ID。当前只支持:
9694
+ <li>10:所有审核类型均打开。</li>
9695
+ */
9696
+ Definition: number;
9509
9697
  }
9510
9698
  /**
9511
9699
  * 画面鉴别涉及令人不适宜的信息的任务控制参数