tencentcloud-sdk-nodejs-ams 4.0.431 → 4.0.434

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.
@@ -19,26 +19,24 @@
19
19
  * 图片段信息
20
20
  */
21
21
  export interface ImageSegments {
22
+ /**
23
+ * 画面截帧结果详情
24
+ */
25
+ Result: ImageResult
22
26
 
23
- /**
24
- * 画面截帧结果详情
25
- */
26
- Result: ImageResult;
27
-
28
- /**
27
+ /**
29
28
  * 截帧时间。
30
29
  点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
31
30
  直播流:该值为时间戳,例如:1594650717
32
31
  */
33
- OffsetTime: string;
32
+ OffsetTime: string
34
33
  }
35
34
 
36
35
  /**
37
36
  * 图片输出结果的子结果
38
37
  */
39
38
  export interface ImageResultResult {
40
-
41
- /**
39
+ /**
42
40
  * 场景
43
41
  Porn 色情
44
42
  Sexy 性感
@@ -47,103 +45,101 @@ Ad 广告
47
45
  等多个识别场景
48
46
  注意:此字段可能返回 null,表示取不到有效值。
49
47
  */
50
- Scene: string;
51
-
52
- /**
48
+ Scene: string
49
+
50
+ /**
53
51
  * 是否命中
54
52
  0 未命中
55
53
  1 命中
56
54
  注意:此字段可能返回 null,表示取不到有效值。
57
55
  */
58
- HitFlag: number;
59
-
60
- /**
56
+ HitFlag: number
57
+
58
+ /**
61
59
  * 建议您拿到判断结果后的执行操作。
62
60
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
63
61
  注意:此字段可能返回 null,表示取不到有效值。
64
62
  */
65
- Suggestion: string;
66
-
67
- /**
63
+ Suggestion: string
64
+
65
+ /**
68
66
  * 标签
69
67
  注意:此字段可能返回 null,表示取不到有效值。
70
68
  */
71
- Label: string;
72
-
73
- /**
69
+ Label: string
70
+
71
+ /**
74
72
  * 子标签
75
73
  注意:此字段可能返回 null,表示取不到有效值。
76
74
  */
77
- SubLabel: string;
78
-
79
- /**
75
+ SubLabel: string
76
+
77
+ /**
80
78
  * 分数
81
79
  注意:此字段可能返回 null,表示取不到有效值。
82
80
  */
83
- Score: number;
84
-
85
- /**
86
- * 如果命中场景为涉政,则该数据为人物姓名列表,否则null
87
- */
88
- Names: Array<string>;
89
-
90
- /**
81
+ Score: number
82
+
83
+ /**
84
+ * 如果命中场景为涉政,则该数据为人物姓名列表,否则null
85
+ */
86
+ Names: Array<string>
87
+
88
+ /**
91
89
  * 图片OCR文本
92
90
  注意:此字段可能返回 null,表示取不到有效值。
93
91
  */
94
- Text: string;
95
-
96
- /**
97
- * 其他详情
98
- */
99
- Details: Array<ImageResultsResultDetail>;
92
+ Text: string
93
+
94
+ /**
95
+ * 其他详情
96
+ */
97
+ Details: Array<ImageResultsResultDetail>
100
98
  }
101
99
 
102
100
  /**
103
101
  * 输入信息详情
104
102
  */
105
103
  export interface InputInfo {
106
-
107
- /**
104
+ /**
108
105
  * 传入的类型可选:URL,COS
109
106
  注意:此字段可能返回 null,表示取不到有效值。
110
107
  */
111
- Type: string;
112
-
113
- /**
108
+ Type: string
109
+
110
+ /**
114
111
  * Url地址
115
112
  注意:此字段可能返回 null,表示取不到有效值。
116
113
  */
117
- Url: string;
118
-
119
- /**
114
+ Url: string
115
+
116
+ /**
120
117
  * 桶信息。当输入当时COS时,该字段不为空
121
118
  注意:此字段可能返回 null,表示取不到有效值。
122
119
  */
123
- BucketInfo: BucketInfo;
120
+ BucketInfo: BucketInfo
124
121
  }
125
122
 
126
123
  /**
127
124
  * 数据存储信息
128
125
  */
129
126
  export interface StorageInfo {
130
-
131
- /**
127
+ /**
132
128
  * 类型 可选:
133
129
  URL 资源链接类型
134
130
  COS 腾讯云对象存储类型
135
131
  */
136
- Type?: string;
137
-
138
- /**
139
- * 资源链接
140
- */
141
- Url?: string;
142
-
143
- /**
144
- * 腾讯云存储桶信息
145
- */
146
- BucketInfo?: BucketInfo;
132
+ Type?: string
133
+
134
+ /**
135
+ * 资源链接
136
+ */
137
+ Url?: string
138
+
139
+ /**
140
+ * 腾讯云存储桶信息
141
+ */
142
+ BucketInfo?: BucketInfo
147
143
  }
148
144
 
149
145
  /**
@@ -151,149 +147,142 @@ COS 腾讯云对象存储类型
151
147
  参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
152
148
  */
153
149
  export interface BucketInfo {
154
-
155
- /**
156
- * 腾讯云对象存储,存储桶名称
157
- */
158
- Bucket: string;
159
-
160
- /**
161
- * 地域
162
- */
163
- Region: string;
164
-
165
- /**
166
- * 对象Key
167
- */
168
- Object: string;
150
+ /**
151
+ * 腾讯云对象存储,存储桶名称
152
+ */
153
+ Bucket: string
154
+
155
+ /**
156
+ * 地域
157
+ */
158
+ Region: string
159
+
160
+ /**
161
+ * 对象Key
162
+ */
163
+ Object: string
169
164
  }
170
165
 
171
166
  /**
172
167
  * CreateAudioModerationTask返回参数结构体
173
168
  */
174
169
  export interface CreateAudioModerationTaskResponse {
175
-
176
- /**
170
+ /**
177
171
  * 任务创建结果
178
172
  注意:此字段可能返回 null,表示取不到有效值。
179
173
  */
180
- Results?: Array<TaskResult>;
181
-
182
- /**
183
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
184
- */
185
- RequestId?: string;
174
+ Results?: Array<TaskResult>
175
+
176
+ /**
177
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
178
+ */
179
+ RequestId?: string
186
180
  }
187
181
 
188
182
  /**
189
183
  * CreateBizConfig请求参数结构体
190
184
  */
191
185
  export interface CreateBizConfigRequest {
192
-
193
- /**
194
- * 业务类型,仅限英文字母、数字和下划线(_)组成,长度不超过8位
195
- */
196
- BizType: string;
197
-
198
- /**
199
- * 配置信息,
200
- */
201
- MediaModeration: MediaModerationConfig;
202
-
203
- /**
204
- * 业务名称,用于标识业务场景,长度不超过32位
205
- */
206
- BizName?: string;
207
-
208
- /**
209
- * 审核内容,可选:Polity (政治); Porn (色情); Illegal(违法);Abuse (谩骂); Terror (暴恐); Ad (广告);
210
- */
211
- ModerationCategories?: Array<string>;
186
+ /**
187
+ * 业务类型,仅限英文字母、数字和下划线(_)组成,长度不超过8位
188
+ */
189
+ BizType: string
190
+
191
+ /**
192
+ * 配置信息,
193
+ */
194
+ MediaModeration: MediaModerationConfig
195
+
196
+ /**
197
+ * 业务名称,用于标识业务场景,长度不超过32位
198
+ */
199
+ BizName?: string
200
+
201
+ /**
202
+ * 审核内容,可选:Polity (政治); Porn (色情); Illegal(违法);Abuse (谩骂); Terror (暴恐); Ad (广告);
203
+ */
204
+ ModerationCategories?: Array<string>
212
205
  }
213
206
 
214
207
  /**
215
208
  * DescribeBizConfig请求参数结构体
216
209
  */
217
210
  export interface DescribeBizConfigRequest {
218
-
219
- /**
220
- * 审核业务类类型
221
- */
222
- BizType: string;
211
+ /**
212
+ * 审核业务类类型
213
+ */
214
+ BizType: string
223
215
  }
224
216
 
225
217
  /**
226
218
  * 创建任务时的返回结果
227
219
  */
228
220
  export interface TaskResult {
229
-
230
- /**
221
+ /**
231
222
  * 请求时传入的DataId
232
223
  注意:此字段可能返回 null,表示取不到有效值。
233
224
  */
234
- DataId: string;
235
-
236
- /**
225
+ DataId: string
226
+
227
+ /**
237
228
  * TaskId,任务ID
238
229
  注意:此字段可能返回 null,表示取不到有效值。
239
230
  */
240
- TaskId: string;
241
-
242
- /**
231
+ TaskId: string
232
+
233
+ /**
243
234
  * 错误码。如果code为OK,则表示创建成功,其他则参考公共错误码
244
235
  注意:此字段可能返回 null,表示取不到有效值。
245
236
  */
246
- Code: string;
247
-
248
- /**
237
+ Code: string
238
+
239
+ /**
249
240
  * 如果错误,该字段表示错误详情
250
241
  注意:此字段可能返回 null,表示取不到有效值。
251
242
  */
252
- Message: string;
243
+ Message: string
253
244
  }
254
245
 
255
246
  /**
256
247
  * CancelTask请求参数结构体
257
248
  */
258
249
  export interface CancelTaskRequest {
259
-
260
- /**
261
- * 任务ID
262
- */
263
- TaskId: string;
250
+ /**
251
+ * 任务ID
252
+ */
253
+ TaskId: string
264
254
  }
265
255
 
266
256
  /**
267
257
  * DescribeTaskDetail返回参数结构体
268
258
  */
269
259
  export interface DescribeTaskDetailResponse {
270
-
271
- /**
260
+ /**
272
261
  * 任务ID
273
262
  注意:此字段可能返回 null,表示取不到有效值。
274
263
  */
275
- TaskId?: string;
276
-
277
- /**
264
+ TaskId?: string
265
+
266
+ /**
278
267
  * 审核时传入的数据Id
279
268
  注意:此字段可能返回 null,表示取不到有效值。
280
269
  */
281
- DataId?: string;
282
-
283
- /**
270
+ DataId?: string
271
+
272
+ /**
284
273
  * 业务类型,用于调用识别策略模板;
285
274
  (暂未发布功能,敬请期待)
286
275
  注意:此字段可能返回 null,表示取不到有效值。
287
276
  */
288
- BizType?: string;
289
-
290
- /**
277
+ BizType?: string
278
+
279
+ /**
291
280
  * 任务名称
292
281
  注意:此字段可能返回 null,表示取不到有效值。
293
282
  */
294
- Name?: string;
295
-
296
- /**
283
+ Name?: string
284
+
285
+ /**
297
286
  * 查询内容审核任务的状态,可选值:
298
287
  FINISH 已完成
299
288
  PENDING 等待中
@@ -302,1006 +291,977 @@ ERROR 出错
302
291
  CANCELLED 已取消
303
292
  注意:此字段可能返回 null,表示取不到有效值。
304
293
  */
305
- Status?: string;
306
-
307
- /**
294
+ Status?: string
295
+
296
+ /**
308
297
  * 任务类型:可选AUDIO(点播音频),LIVE_AUDIO(直播音频)
309
298
  注意:此字段可能返回 null,表示取不到有效值。
310
299
  */
311
- Type?: string;
312
-
313
- /**
300
+ Type?: string
301
+
302
+ /**
314
303
  * 智能审核服务对于内容违规类型的等级,可选值:
315
304
  Pass 建议通过;
316
305
  Reveiw 建议复审;
317
306
  Block 建议屏蔽;
318
307
  注意:此字段可能返回 null,表示取不到有效值。
319
308
  */
320
- Suggestion?: string;
321
-
322
- /**
309
+ Suggestion?: string
310
+
311
+ /**
323
312
  * 智能审核服务对于内容违规类型的判断,详见返回值列表
324
313
  如:Label:Porn(色情);
325
314
  注意:此字段可能返回 null,表示取不到有效值。
326
315
  */
327
- Labels?: Array<TaskLabel>;
328
-
329
- /**
316
+ Labels?: Array<TaskLabel>
317
+
318
+ /**
330
319
  * 传入媒体的解码信息
331
320
  注意:此字段可能返回 null,表示取不到有效值。
332
321
  */
333
- MediaInfo?: MediaInfo;
334
-
335
- /**
322
+ MediaInfo?: MediaInfo
323
+
324
+ /**
336
325
  * 审核任务的信息
337
326
  注意:此字段可能返回 null,表示取不到有效值。
338
327
  */
339
- InputInfo?: InputInfo;
340
-
341
- /**
328
+ InputInfo?: InputInfo
329
+
330
+ /**
342
331
  * 审核任务的创建时间
343
332
  注意:此字段可能返回 null,表示取不到有效值。
344
333
  */
345
- CreatedAt?: string;
346
-
347
- /**
334
+ CreatedAt?: string
335
+
336
+ /**
348
337
  * 审核任务的更新时间
349
338
  注意:此字段可能返回 null,表示取不到有效值。
350
339
  */
351
- UpdatedAt?: string;
352
-
353
- /**
340
+ UpdatedAt?: string
341
+
342
+ /**
354
343
  * 在N秒后重试
355
344
  注意:此字段可能返回 null,表示取不到有效值。
356
345
  */
357
- TryInSeconds?: number;
358
-
359
- /**
346
+ TryInSeconds?: number
347
+
348
+ /**
360
349
  * 视频/音频审核中的音频结果
361
350
  注意:此字段可能返回 null,表示取不到有效值。
362
351
  */
363
- AudioSegments?: Array<AudioSegments>;
364
-
365
- /**
352
+ AudioSegments?: Array<AudioSegments>
353
+
354
+ /**
366
355
  * 视频审核中的图片结果
367
356
  注意:此字段可能返回 null,表示取不到有效值。
368
357
  */
369
- ImageSegments?: Array<ImageSegments>;
370
-
371
- /**
358
+ ImageSegments?: Array<ImageSegments>
359
+
360
+ /**
372
361
  * 音频识别总文本
373
362
  注意:此字段可能返回 null,表示取不到有效值。
374
363
  */
375
- AudioText?: string;
376
-
377
- /**
378
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
379
- */
380
- RequestId?: string;
364
+ AudioText?: string
365
+
366
+ /**
367
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
368
+ */
369
+ RequestId?: string
381
370
  }
382
371
 
383
372
  /**
384
373
  * CreateAudioModerationTask请求参数结构体
385
374
  */
386
375
  export interface CreateAudioModerationTaskRequest {
387
-
388
- /**
389
- * 业务类型, 定义 模版策略,输出存储配置。如果没有BizType,可以先参考 【创建业务配置】接口进行创建
390
- */
391
- BizType?: string;
392
-
393
- /**
394
- * 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频)
395
- */
396
- Type?: string;
397
-
398
- /**
399
- * 回调签名key,具体可以查看签名文档。
400
- */
401
- Seed?: string;
402
-
403
- /**
404
- * 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
405
- */
406
- CallbackUrl?: string;
407
-
408
- /**
409
- * 输入的任务信息,最多可以同时创建10个任务
410
- */
411
- Tasks?: Array<TaskInput>;
376
+ /**
377
+ * 业务类型, 定义 模版策略,输出存储配置。如果没有BizType,可以先参考 【创建业务配置】接口进行创建
378
+ */
379
+ BizType?: string
380
+
381
+ /**
382
+ * 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频)
383
+ */
384
+ Type?: string
385
+
386
+ /**
387
+ * 回调签名key,具体可以查看签名文档。
388
+ */
389
+ Seed?: string
390
+
391
+ /**
392
+ * 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
393
+ */
394
+ CallbackUrl?: string
395
+
396
+ /**
397
+ * 输入的任务信息,最多可以同时创建10个任务
398
+ */
399
+ Tasks?: Array<TaskInput>
412
400
  }
413
401
 
414
402
  /**
415
403
  * CreateBizConfig返回参数结构体
416
404
  */
417
405
  export interface CreateBizConfigResponse {
418
-
419
- /**
420
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
421
- */
422
- RequestId?: string;
406
+ /**
407
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
408
+ */
409
+ RequestId?: string
423
410
  }
424
411
 
425
412
  /**
426
413
  * 音视频任务结构
427
414
  */
428
415
  export interface TaskInput {
429
-
430
- /**
431
- * 数据ID
432
- */
433
- DataId?: string;
434
-
435
- /**
436
- * 任务名
437
- */
438
- Name?: string;
439
-
440
- /**
441
- * 任务输入
442
- */
443
- Input?: StorageInfo;
416
+ /**
417
+ * 数据ID
418
+ */
419
+ DataId?: string
420
+
421
+ /**
422
+ * 任务名
423
+ */
424
+ Name?: string
425
+
426
+ /**
427
+ * 任务输入
428
+ */
429
+ Input?: StorageInfo
444
430
  }
445
431
 
446
432
  /**
447
433
  * DescribeTaskDetail请求参数结构体
448
434
  */
449
435
  export interface DescribeTaskDetailRequest {
450
-
451
- /**
452
- * 任务ID,创建任务后返回的TaskId字段
453
- */
454
- TaskId: string;
455
-
456
- /**
457
- * 是否展示所有分片,默认只展示命中规则的分片
458
- */
459
- ShowAllSegments?: boolean;
436
+ /**
437
+ * 任务ID,创建任务后返回的TaskId字段
438
+ */
439
+ TaskId: string
440
+
441
+ /**
442
+ * 是否展示所有分片,默认只展示命中规则的分片
443
+ */
444
+ ShowAllSegments?: boolean
460
445
  }
461
446
 
462
447
  /**
463
448
  * CancelTask返回参数结构体
464
449
  */
465
450
  export interface CancelTaskResponse {
466
-
467
- /**
468
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
469
- */
470
- RequestId?: string;
451
+ /**
452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
453
+ */
454
+ RequestId?: string
471
455
  }
472
456
 
473
457
  /**
474
458
  * 任务输出标签
475
459
  */
476
460
  export interface TaskLabel {
477
-
478
- /**
461
+ /**
479
462
  * 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
480
463
  以及令人反感、不安全或不适宜的内容类型。
481
464
  注意:此字段可能返回 null,表示取不到有效值。
482
465
  */
483
- Label: string;
484
-
485
- /**
466
+ Label: string
467
+
468
+ /**
486
469
  * 建议您拿到判断结果后的执行操作。
487
470
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
488
471
  注意:此字段可能返回 null,表示取不到有效值。
489
472
  */
490
- Suggestion: string;
491
-
492
- /**
473
+ Suggestion: string
474
+
475
+ /**
493
476
  * 得分,分数是 0 ~ 100
494
477
  注意:此字段可能返回 null,表示取不到有效值。
495
478
  */
496
- Score: number;
479
+ Score: number
497
480
  }
498
481
 
499
482
  /**
500
483
  * 具体场景下的图片识别结果
501
484
  */
502
485
  export interface ImageResultsResultDetail {
503
-
504
- /**
486
+ /**
505
487
  * 位置信息
506
488
  注意:此字段可能返回 null,表示取不到有效值。
507
489
  */
508
- Location: Array<ImageResultsResultDetailLocation>;
509
-
510
- /**
490
+ Location: Array<ImageResultsResultDetailLocation>
491
+
492
+ /**
511
493
  * 任务名称
512
494
  注意:此字段可能返回 null,表示取不到有效值。
513
495
  */
514
- Name: string;
515
-
516
- /**
496
+ Name: string
497
+
498
+ /**
517
499
  * OCR识别文本
518
500
  注意:此字段可能返回 null,表示取不到有效值。
519
501
  */
520
- Text: string;
521
-
522
- /**
523
- * 标签
524
- */
525
- Label: string;
526
-
527
- /**
502
+ Text: string
503
+
504
+ /**
505
+ * 标签
506
+ */
507
+ Label: string
508
+
509
+ /**
528
510
  * 库ID
529
511
  注意:此字段可能返回 null,表示取不到有效值。
530
512
  */
531
- LibId: string;
532
-
533
- /**
513
+ LibId: string
514
+
515
+ /**
534
516
  * 库名称
535
517
  注意:此字段可能返回 null,表示取不到有效值。
536
518
  */
537
- LibName: string;
538
-
539
- /**
519
+ LibName: string
520
+
521
+ /**
540
522
  * 命中的关键词
541
523
  注意:此字段可能返回 null,表示取不到有效值。
542
524
  */
543
- Keywords: Array<string>;
544
-
545
- /**
525
+ Keywords: Array<string>
526
+
527
+ /**
546
528
  * 建议
547
529
  注意:此字段可能返回 null,表示取不到有效值。
548
530
  */
549
- Suggestion: string;
550
-
551
- /**
531
+ Suggestion: string
532
+
533
+ /**
552
534
  * 得分
553
535
  注意:此字段可能返回 null,表示取不到有效值。
554
536
  */
555
- Score: number;
556
-
557
- /**
537
+ Score: number
538
+
539
+ /**
558
540
  * 子标签码
559
541
  注意:此字段可能返回 null,表示取不到有效值。
560
542
  */
561
- SubLabelCode: string;
543
+ SubLabelCode: string
562
544
  }
563
545
 
564
546
  /**
565
547
  * DescribeAmsList请求参数结构体
566
548
  */
567
549
  export interface DescribeAmsListRequest {
568
-
569
- /**
570
- * 页码
571
- */
572
- PageToken: string;
573
-
574
- /**
575
- * 过滤条件
576
- */
577
- Limit: number;
578
-
579
- /**
580
- * 查询方向
581
- */
582
- PageDirection: string;
583
-
584
- /**
585
- * 过滤条件
586
- */
587
- Filters?: Array<Filter>;
550
+ /**
551
+ * 页码
552
+ */
553
+ PageToken: string
554
+
555
+ /**
556
+ * 过滤条件
557
+ */
558
+ Limit: number
559
+
560
+ /**
561
+ * 查询方向
562
+ */
563
+ PageDirection: string
564
+
565
+ /**
566
+ * 过滤条件
567
+ */
568
+ Filters?: Array<Filter>
588
569
  }
589
570
 
590
571
  /**
591
572
  * 音频过滤条件
592
573
  */
593
574
  export interface Filters {
594
-
595
- /**
575
+ /**
596
576
  * 查询字段:
597
577
  策略BizType
598
578
  子账号SubUin
599
579
  日期区间DateRange
600
580
  */
601
- Name: string;
602
-
603
- /**
604
- * 查询值
605
- */
606
- Values: Array<string>;
581
+ Name: string
582
+
583
+ /**
584
+ * 查询值
585
+ */
586
+ Values: Array<string>
607
587
  }
608
588
 
609
589
  /**
610
590
  * 机器审核详情列表数据项
611
591
  */
612
592
  export interface AmsDetailInfo {
613
-
614
- /**
615
- * 标签
616
- */
617
- Label: Array<string>;
618
-
619
- /**
620
- * 时长(秒/s)
621
- */
622
- Duration: number;
623
-
624
- /**
625
- * 任务名
626
- */
627
- Name: string;
628
-
629
- /**
630
- * 任务ID,创建任务后返回的TaskId字段
631
- */
632
- TaskID: string;
633
-
634
- /**
635
- * 插入时间
636
- */
637
- InsertTime: string;
638
-
639
- /**
640
- * 数据来源 0机审,其他为自主审核
641
- */
642
- DataForm: number;
643
-
644
- /**
645
- * 操作人
646
- */
647
- Operator: string;
648
-
649
- /**
650
- * 原始命中标签
651
- */
652
- OriginalLabel: Array<string>;
653
-
654
- /**
655
- * 操作时间
656
- */
657
- OperateTime: string;
658
-
659
- /**
660
- * 视频原始地址
661
- */
662
- Url: string;
663
-
664
- /**
665
- * 封面图地址
666
- */
667
- Thumbnail: string;
668
-
669
- /**
670
- * 短音频内容
671
- */
672
- Content: string;
673
-
674
- /**
675
- * 短音频个数
676
- */
677
- DetailCount: number;
678
-
679
- /**
680
- * 音频审核的请求 id
681
- */
682
- RequestId: string;
683
-
684
- /**
685
- * 音频机审状态
686
- */
687
- Status: string;
593
+ /**
594
+ * 标签
595
+ */
596
+ Label: Array<string>
597
+
598
+ /**
599
+ * 时长(秒/s)
600
+ */
601
+ Duration: number
602
+
603
+ /**
604
+ * 任务名
605
+ */
606
+ Name: string
607
+
608
+ /**
609
+ * 任务ID,创建任务后返回的TaskId字段
610
+ */
611
+ TaskID: string
612
+
613
+ /**
614
+ * 插入时间
615
+ */
616
+ InsertTime: string
617
+
618
+ /**
619
+ * 数据来源 0机审,其他为自主审核
620
+ */
621
+ DataForm: number
622
+
623
+ /**
624
+ * 操作人
625
+ */
626
+ Operator: string
627
+
628
+ /**
629
+ * 原始命中标签
630
+ */
631
+ OriginalLabel: Array<string>
632
+
633
+ /**
634
+ * 操作时间
635
+ */
636
+ OperateTime: string
637
+
638
+ /**
639
+ * 视频原始地址
640
+ */
641
+ Url: string
642
+
643
+ /**
644
+ * 封面图地址
645
+ */
646
+ Thumbnail: string
647
+
648
+ /**
649
+ * 短音频内容
650
+ */
651
+ Content: string
652
+
653
+ /**
654
+ * 短音频个数
655
+ */
656
+ DetailCount: number
657
+
658
+ /**
659
+ * 音频审核的请求 id
660
+ */
661
+ RequestId: string
662
+
663
+ /**
664
+ * 音频机审状态
665
+ */
666
+ Status: string
688
667
  }
689
668
 
690
669
  /**
691
670
  * 音频小语种检测结果
692
671
  */
693
672
  export interface AudioResultDetailLanguageResult {
694
-
695
- /**
673
+ /**
696
674
  * 语言信息
697
675
  注意:此字段可能返回 null,表示取不到有效值。
698
676
  */
699
- Label: string;
700
-
701
- /**
677
+ Label: string
678
+
679
+ /**
702
680
  * 得分
703
681
  注意:此字段可能返回 null,表示取不到有效值。
704
682
  */
705
- Score: number;
706
-
707
- /**
683
+ Score: number
684
+
685
+ /**
708
686
  * 开始时间
709
687
  注意:此字段可能返回 null,表示取不到有效值。
710
688
  */
711
- StartTime: number;
712
-
713
- /**
689
+ StartTime: number
690
+
691
+ /**
714
692
  * 结束时间
715
693
  注意:此字段可能返回 null,表示取不到有效值。
716
694
  */
717
- EndTime: number;
718
-
719
- /**
695
+ EndTime: number
696
+
697
+ /**
720
698
  * 子标签码
721
699
  注意:此字段可能返回 null,表示取不到有效值。
722
700
  */
723
- SubLabelCode: string;
701
+ SubLabelCode: string
724
702
  }
725
703
 
726
704
  /**
727
- * Cos FileOutput
705
+ * Cos FileOutput
728
706
  */
729
707
  export interface FileOutput {
730
-
731
- /**
732
- * 存储的Bucket
733
- */
734
- Bucket: string;
735
-
736
- /**
737
- * Cos Region
738
- */
739
- Region: string;
740
-
741
- /**
742
- * 对象前缀
743
- */
744
- ObjectPrefix: string;
708
+ /**
709
+ * 存储的Bucket
710
+ */
711
+ Bucket: string
712
+
713
+ /**
714
+ * Cos Region
715
+ */
716
+ Region: string
717
+
718
+ /**
719
+ * 对象前缀
720
+ */
721
+ ObjectPrefix: string
745
722
  }
746
723
 
747
724
  /**
748
725
  * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
749
726
  */
750
727
  export interface Filter {
751
-
752
- /**
753
- * 过滤键的名称。
754
- */
755
- Name: string;
756
-
757
- /**
758
- * 一个或者多个过滤值。
759
- */
760
- Values: Array<string>;
728
+ /**
729
+ * 过滤键的名称。
730
+ */
731
+ Name: string
732
+
733
+ /**
734
+ * 一个或者多个过滤值。
735
+ */
736
+ Values: Array<string>
761
737
  }
762
738
 
763
739
  /**
764
740
  * DescribeAudioStat返回参数结构体
765
741
  */
766
742
  export interface DescribeAudioStatResponse {
767
-
768
- /**
769
- * 识别结果统计
770
- */
771
- Overview?: Overview;
772
-
773
- /**
774
- * 识别量统计
775
- */
776
- TrendCount?: Array<TrendCount>;
777
-
778
- /**
779
- * 违规数据分布
780
- */
781
- EvilCount?: Array<EvilCount>;
782
-
783
- /**
784
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
785
- */
786
- RequestId?: string;
743
+ /**
744
+ * 识别结果统计
745
+ */
746
+ Overview?: Overview
747
+
748
+ /**
749
+ * 识别量统计
750
+ */
751
+ TrendCount?: Array<TrendCount>
752
+
753
+ /**
754
+ * 违规数据分布
755
+ */
756
+ EvilCount?: Array<EvilCount>
757
+
758
+ /**
759
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
760
+ */
761
+ RequestId?: string
787
762
  }
788
763
 
789
764
  /**
790
765
  * DescribeAmsList返回参数结构体
791
766
  */
792
767
  export interface DescribeAmsListResponse {
793
-
794
- /**
795
- * 返回列表数据----非必选,该参数暂未对外开放
796
- */
797
- AmsDetailSet?: Array<AmsDetailInfo>;
798
-
799
- /**
800
- * 总条数
801
- */
802
- Total?: number;
803
-
804
- /**
805
- * 分页 token
806
- */
807
- PageToken?: string;
808
-
809
- /**
810
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
811
- */
812
- RequestId?: string;
768
+ /**
769
+ * 返回列表数据----非必选,该参数暂未对外开放
770
+ */
771
+ AmsDetailSet?: Array<AmsDetailInfo>
772
+
773
+ /**
774
+ * 总条数
775
+ */
776
+ Total?: number
777
+
778
+ /**
779
+ * 分页 token
780
+ */
781
+ PageToken?: string
782
+
783
+ /**
784
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
785
+ */
786
+ RequestId?: string
813
787
  }
814
788
 
815
789
  /**
816
790
  * 识别量统计
817
791
  */
818
792
  export interface TrendCount {
819
-
820
- /**
821
- * 总调用量
822
- */
823
- TotalCount: number;
824
-
825
- /**
826
- * 总调用时长
827
- */
828
- TotalHour: number;
829
-
830
- /**
831
- * 通过量
832
- */
833
- PassCount: number;
834
-
835
- /**
836
- * 通过时长
837
- */
838
- PassHour: number;
839
-
840
- /**
841
- * 违规量
842
- */
843
- EvilCount: number;
844
-
845
- /**
846
- * 违规时长
847
- */
848
- EvilHour: number;
849
-
850
- /**
851
- * 疑似违规量
852
- */
853
- SuspectCount: number;
854
-
855
- /**
856
- * 疑似违规时长
857
- */
858
- SuspectHour: number;
859
-
860
- /**
861
- * 日期
862
- */
863
- Date: string;
793
+ /**
794
+ * 总调用量
795
+ */
796
+ TotalCount: number
797
+
798
+ /**
799
+ * 总调用时长
800
+ */
801
+ TotalHour: number
802
+
803
+ /**
804
+ * 通过量
805
+ */
806
+ PassCount: number
807
+
808
+ /**
809
+ * 通过时长
810
+ */
811
+ PassHour: number
812
+
813
+ /**
814
+ * 违规量
815
+ */
816
+ EvilCount: number
817
+
818
+ /**
819
+ * 违规时长
820
+ */
821
+ EvilHour: number
822
+
823
+ /**
824
+ * 疑似违规量
825
+ */
826
+ SuspectCount: number
827
+
828
+ /**
829
+ * 疑似违规时长
830
+ */
831
+ SuspectHour: number
832
+
833
+ /**
834
+ * 日期
835
+ */
836
+ Date: string
864
837
  }
865
838
 
866
839
  /**
867
840
  * 音频ASR文本审核结果
868
841
  */
869
842
  export interface AudioResultDetailTextResult {
870
-
871
- /**
843
+ /**
872
844
  * 标签
873
845
  注意:此字段可能返回 null,表示取不到有效值。
874
846
  */
875
- Label: string;
876
-
877
- /**
847
+ Label: string
848
+
849
+ /**
878
850
  * 命中的关键词
879
851
  注意:此字段可能返回 null,表示取不到有效值。
880
852
  */
881
- Keywords: Array<string>;
882
-
883
- /**
853
+ Keywords: Array<string>
854
+
855
+ /**
884
856
  * 命中的LibId
885
857
  注意:此字段可能返回 null,表示取不到有效值。
886
858
  */
887
- LibId: string;
888
-
889
- /**
859
+ LibId: string
860
+
861
+ /**
890
862
  * 命中的LibName
891
863
  注意:此字段可能返回 null,表示取不到有效值。
892
864
  */
893
- LibName: string;
894
-
895
- /**
865
+ LibName: string
866
+
867
+ /**
896
868
  * 得分
897
869
  注意:此字段可能返回 null,表示取不到有效值。
898
870
  */
899
- Score: number;
900
-
901
- /**
871
+ Score: number
872
+
873
+ /**
902
874
  * 审核建议
903
875
  注意:此字段可能返回 null,表示取不到有效值。
904
876
  */
905
- Suggestion: string;
906
-
907
- /**
908
- * 词库类型 1 黑白库 2 自定义库
909
- */
910
- LibType: number;
877
+ Suggestion: string
878
+
879
+ /**
880
+ * 词库类型 1 黑白库 2 自定义库
881
+ */
882
+ LibType: number
911
883
  }
912
884
 
913
885
  /**
914
886
  * DescribeAudioStat请求参数结构体
915
887
  */
916
888
  export interface DescribeAudioStatRequest {
917
-
918
- /**
919
- * 审核类型 1: 机器审核; 2: 人工审核
920
- */
921
- AuditType: number;
922
-
923
- /**
924
- * 查询条件
925
- */
926
- Filters: Array<Filters>;
889
+ /**
890
+ * 审核类型 1: 机器审核; 2: 人工审核
891
+ */
892
+ AuditType: number
893
+
894
+ /**
895
+ * 查询条件
896
+ */
897
+ Filters: Array<Filters>
927
898
  }
928
899
 
929
900
  /**
930
901
  * 识别结果统计
931
902
  */
932
903
  export interface Overview {
933
-
934
- /**
935
- * 总调用量
936
- */
937
- TotalCount: number;
938
-
939
- /**
940
- * 总调用时长
941
- */
942
- TotalHour: number;
943
-
944
- /**
945
- * 通过量
946
- */
947
- PassCount: number;
948
-
949
- /**
950
- * 通过时长
951
- */
952
- PassHour: number;
953
-
954
- /**
955
- * 违规量
956
- */
957
- EvilCount: number;
958
-
959
- /**
960
- * 违规时长
961
- */
962
- EvilHour: number;
963
-
964
- /**
965
- * 疑似违规量
966
- */
967
- SuspectCount: number;
968
-
969
- /**
970
- * 疑似违规时长
971
- */
972
- SuspectHour: number;
904
+ /**
905
+ * 总调用量
906
+ */
907
+ TotalCount: number
908
+
909
+ /**
910
+ * 总调用时长
911
+ */
912
+ TotalHour: number
913
+
914
+ /**
915
+ * 通过量
916
+ */
917
+ PassCount: number
918
+
919
+ /**
920
+ * 通过时长
921
+ */
922
+ PassHour: number
923
+
924
+ /**
925
+ * 违规量
926
+ */
927
+ EvilCount: number
928
+
929
+ /**
930
+ * 违规时长
931
+ */
932
+ EvilHour: number
933
+
934
+ /**
935
+ * 疑似违规量
936
+ */
937
+ SuspectCount: number
938
+
939
+ /**
940
+ * 疑似违规时长
941
+ */
942
+ SuspectHour: number
973
943
  }
974
944
 
975
945
  /**
976
946
  * 音频输出参数
977
947
  */
978
948
  export interface AudioResult {
979
-
980
- /**
949
+ /**
981
950
  * 是否命中
982
951
  0 未命中
983
952
  1 命中
984
953
  注意:此字段可能返回 null,表示取不到有效值。
985
954
  */
986
- HitFlag: number;
987
-
988
- /**
955
+ HitFlag: number
956
+
957
+ /**
989
958
  * 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
990
959
  以及令人反感、不安全或不适宜的内容类型。
991
960
  注意:此字段可能返回 null,表示取不到有效值。
992
961
  */
993
- Label: string;
994
-
995
- /**
962
+ Label: string
963
+
964
+ /**
996
965
  * 建议您拿到判断结果后的执行操作。
997
966
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
998
967
  注意:此字段可能返回 null,表示取不到有效值。
999
968
  */
1000
- Suggestion: string;
1001
-
1002
- /**
969
+ Suggestion: string
970
+
971
+ /**
1003
972
  * 得分,0-100
1004
973
  注意:此字段可能返回 null,表示取不到有效值。
1005
974
  */
1006
- Score: number;
1007
-
1008
- /**
975
+ Score: number
976
+
977
+ /**
1009
978
  * 音频ASR文本
1010
979
  注意:此字段可能返回 null,表示取不到有效值。
1011
980
  */
1012
- Text: string;
1013
-
1014
- /**
981
+ Text: string
982
+
983
+ /**
1015
984
  * 音频片段存储URL,有效期为1天
1016
985
  注意:此字段可能返回 null,表示取不到有效值。
1017
986
  */
1018
- Url: string;
1019
-
1020
- /**
1021
- * 音频时长
1022
- */
1023
- Duration: string;
1024
-
1025
- /**
1026
- * 拓展字段
1027
- */
1028
- Extra: string;
1029
-
1030
- /**
1031
- * 文本识别结果
1032
- */
1033
- TextResults: Array<AudioResultDetailTextResult>;
1034
-
1035
- /**
1036
- * 音频呻吟检测结果
1037
- */
1038
- MoanResults: Array<AudioResultDetailMoanResult>;
1039
-
1040
- /**
1041
- * 音频语言检测结果
1042
- */
1043
- LanguageResults: Array<AudioResultDetailLanguageResult>;
987
+ Url: string
988
+
989
+ /**
990
+ * 音频时长
991
+ */
992
+ Duration: string
993
+
994
+ /**
995
+ * 拓展字段
996
+ */
997
+ Extra: string
998
+
999
+ /**
1000
+ * 文本识别结果
1001
+ */
1002
+ TextResults: Array<AudioResultDetailTextResult>
1003
+
1004
+ /**
1005
+ * 音频呻吟检测结果
1006
+ */
1007
+ MoanResults: Array<AudioResultDetailMoanResult>
1008
+
1009
+ /**
1010
+ * 音频语言检测结果
1011
+ */
1012
+ LanguageResults: Array<AudioResultDetailLanguageResult>
1044
1013
  }
1045
1014
 
1046
1015
  /**
1047
1016
  * 音频呻吟审核结果
1048
1017
  */
1049
1018
  export interface AudioResultDetailMoanResult {
1050
-
1051
- /**
1019
+ /**
1052
1020
  * 固定为Moan(呻吟)
1053
1021
  注意:此字段可能返回 null,表示取不到有效值。
1054
1022
  */
1055
- Label: string;
1056
-
1057
- /**
1058
- * 分数
1059
- */
1060
- Score: number;
1061
-
1062
- /**
1063
- * 开始时间
1064
- */
1065
- StartTime: number;
1066
-
1067
- /**
1068
- * 结束时间
1069
- */
1070
- EndTime: number;
1071
-
1072
- /**
1073
- * 子标签码
1074
- */
1075
- SubLabelCode: string;
1023
+ Label: string
1024
+
1025
+ /**
1026
+ * 分数
1027
+ */
1028
+ Score: number
1029
+
1030
+ /**
1031
+ * 开始时间
1032
+ */
1033
+ StartTime: number
1034
+
1035
+ /**
1036
+ * 结束时间
1037
+ */
1038
+ EndTime: number
1039
+
1040
+ /**
1041
+ * 子标签码
1042
+ */
1043
+ SubLabelCode: string
1076
1044
  }
1077
1045
 
1078
1046
  /**
1079
1047
  * DescribeBizConfig返回参数结构体
1080
1048
  */
1081
1049
  export interface DescribeBizConfigResponse {
1050
+ /**
1051
+ * 业务类型
1052
+ */
1053
+ BizType?: string
1082
1054
 
1083
- /**
1084
- * 业务类型
1085
- */
1086
- BizType?: string;
1087
-
1088
- /**
1055
+ /**
1089
1056
  * 业务名称
1090
1057
  注意:此字段可能返回 null,表示取不到有效值。
1091
1058
  */
1092
- BizName?: string;
1093
-
1094
- /**
1095
- * 审核范围
1096
- */
1097
- ModerationCategories?: Array<string>;
1098
-
1099
- /**
1059
+ BizName?: string
1060
+
1061
+ /**
1062
+ * 审核范围
1063
+ */
1064
+ ModerationCategories?: Array<string>
1065
+
1066
+ /**
1100
1067
  * 多媒体审核配置
1101
1068
  注意:此字段可能返回 null,表示取不到有效值。
1102
1069
  */
1103
- MediaModeration?: MediaModerationConfig;
1104
-
1105
- /**
1106
- * 创建时间
1107
- */
1108
- CreatedAt?: string;
1109
-
1110
- /**
1111
- * 更新时间
1112
- */
1113
- UpdatedAt?: string;
1114
-
1115
- /**
1116
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1117
- */
1118
- RequestId?: string;
1070
+ MediaModeration?: MediaModerationConfig
1071
+
1072
+ /**
1073
+ * 创建时间
1074
+ */
1075
+ CreatedAt?: string
1076
+
1077
+ /**
1078
+ * 更新时间
1079
+ */
1080
+ UpdatedAt?: string
1081
+
1082
+ /**
1083
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1084
+ */
1085
+ RequestId?: string
1119
1086
  }
1120
1087
 
1121
1088
  /**
1122
1089
  * 媒体类型
1123
1090
  */
1124
1091
  export interface MediaInfo {
1092
+ /**
1093
+ * 编码格式
1094
+ */
1095
+ Codecs: string
1125
1096
 
1126
- /**
1127
- * 编码格式
1128
- */
1129
- Codecs: string;
1130
-
1131
- /**
1097
+ /**
1132
1098
  * 流检测时分片时长
1133
1099
  注意:此字段可能返回 0,表示取不到有效值。
1134
1100
  */
1135
- Duration: number;
1136
-
1137
- /**
1138
- * 宽,单位为像素
1139
- */
1140
- Width: number;
1141
-
1142
- /**
1143
- * 高,单位为像素
1144
- */
1145
- Height: number;
1146
-
1147
- /**
1148
- * 缩略图
1149
- */
1150
- Thumbnail: string;
1101
+ Duration: number
1102
+
1103
+ /**
1104
+ * 宽,单位为像素
1105
+ */
1106
+ Width: number
1107
+
1108
+ /**
1109
+ * 高,单位为像素
1110
+ */
1111
+ Height: number
1112
+
1113
+ /**
1114
+ * 缩略图
1115
+ */
1116
+ Thumbnail: string
1151
1117
  }
1152
1118
 
1153
1119
  /**
1154
1120
  * 媒体审核配置
1155
1121
  */
1156
1122
  export interface MediaModerationConfig {
1157
-
1158
- /**
1159
- * 音频截帧频率。默认一分钟
1160
- */
1161
- AudioFrequency: number;
1162
-
1163
- /**
1164
- * 图片取帧频率, 单位(秒/帧),默认 5, 可选 1 ~ 300
1165
- */
1166
- ImageFrequency?: number;
1167
-
1168
- /**
1169
- * 异步回调地址。
1170
- */
1171
- CallbackUrl?: string;
1172
-
1173
- /**
1174
- * 临时文件存储位置
1175
- */
1176
- SegmentOutput?: FileOutput;
1177
-
1178
- /**
1179
- * 是否使用OCR,默认为true
1180
- */
1181
- UseOCR?: boolean;
1182
-
1183
- /**
1184
- * 是否使用音频。(音频场景下,该值永远为true)
1185
- */
1186
- UseAudio?: boolean;
1123
+ /**
1124
+ * 音频截帧频率。默认一分钟
1125
+ */
1126
+ AudioFrequency: number
1127
+
1128
+ /**
1129
+ * 图片取帧频率, 单位(秒/帧),默认 5, 可选 1 ~ 300
1130
+ */
1131
+ ImageFrequency?: number
1132
+
1133
+ /**
1134
+ * 异步回调地址。
1135
+ */
1136
+ CallbackUrl?: string
1137
+
1138
+ /**
1139
+ * 临时文件存储位置
1140
+ */
1141
+ SegmentOutput?: FileOutput
1142
+
1143
+ /**
1144
+ * 是否使用OCR,默认为true
1145
+ */
1146
+ UseOCR?: boolean
1147
+
1148
+ /**
1149
+ * 是否使用音频。(音频场景下,该值永远为true)
1150
+ */
1151
+ UseAudio?: boolean
1187
1152
  }
1188
1153
 
1189
1154
  /**
1190
1155
  * 声音段信息
1191
1156
  */
1192
1157
  export interface AudioSegments {
1193
-
1194
- /**
1158
+ /**
1195
1159
  * 截帧时间。
1196
1160
  点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
1197
1161
  直播流:该值为时间戳,例如:1594650717
1198
1162
  注意:此字段可能返回 null,表示取不到有效值。
1199
1163
  */
1200
- OffsetTime: string;
1201
-
1202
- /**
1164
+ OffsetTime: string
1165
+
1166
+ /**
1203
1167
  * 结果集
1204
1168
  注意:此字段可能返回 null,表示取不到有效值。
1205
1169
  */
1206
- Result: AudioResult;
1170
+ Result: AudioResult
1207
1171
  }
1208
1172
 
1209
1173
  /**
1210
1174
  * 违规数据分布
1211
1175
  */
1212
1176
  export interface EvilCount {
1213
-
1214
- /**
1215
- * ----非必选,该参数功能暂未对外开放
1216
- */
1217
- EvilType: string;
1218
-
1219
- /**
1220
- * 分布类型总量
1221
- */
1222
- Count: number;
1177
+ /**
1178
+ * ----非必选,该参数功能暂未对外开放
1179
+ */
1180
+ EvilType: string
1181
+
1182
+ /**
1183
+ * 分布类型总量
1184
+ */
1185
+ Count: number
1223
1186
  }
1224
1187
 
1225
1188
  /**
1226
1189
  * 图片详情位置信息
1227
1190
  */
1228
1191
  export interface ImageResultsResultDetailLocation {
1229
-
1230
- /**
1192
+ /**
1231
1193
  * x坐标
1232
1194
  注意:此字段可能返回 null,表示取不到有效值。
1233
1195
  */
1234
- X: number;
1235
-
1236
- /**
1196
+ X: number
1197
+
1198
+ /**
1237
1199
  * y坐标
1238
1200
  注意:此字段可能返回 null,表示取不到有效值。
1239
1201
  */
1240
- Y: number;
1241
-
1242
- /**
1202
+ Y: number
1203
+
1204
+ /**
1243
1205
  * 宽度
1244
1206
  注意:此字段可能返回 null,表示取不到有效值。
1245
1207
  */
1246
- Width: number;
1247
-
1248
- /**
1208
+ Width: number
1209
+
1210
+ /**
1249
1211
  * 高度
1250
1212
  注意:此字段可能返回 null,表示取不到有效值。
1251
1213
  */
1252
- Height: number;
1253
-
1254
- /**
1214
+ Height: number
1215
+
1216
+ /**
1255
1217
  * 旋转角度
1256
1218
  注意:此字段可能返回 null,表示取不到有效值。
1257
1219
  */
1258
- Rotate: number;
1220
+ Rotate: number
1259
1221
  }
1260
1222
 
1261
1223
  /**
1262
1224
  * Result结果详情
1263
1225
  */
1264
1226
  export interface ImageResult {
1265
-
1266
- /**
1227
+ /**
1267
1228
  * 违规标志
1268
1229
  0 未命中
1269
1230
  1 命中
1270
1231
  注意:此字段可能返回 null,表示取不到有效值。
1271
1232
  */
1272
- HitFlag: number;
1273
-
1274
- /**
1233
+ HitFlag: number
1234
+
1235
+ /**
1275
1236
  * 建议您拿到判断结果后的执行操作。
1276
1237
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
1277
1238
  */
1278
- Suggestion: string;
1279
-
1280
- /**
1239
+ Suggestion: string
1240
+
1241
+ /**
1281
1242
  * 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
1282
1243
  以及令人反感、不安全或不适宜的内容类型。
1283
1244
  注意:此字段可能返回 null,表示取不到有效值。
1284
1245
  */
1285
- Label: string;
1286
-
1287
- /**
1288
- * 得分
1289
- */
1290
- Score: number;
1291
-
1292
- /**
1293
- * 画面截帧图片结果集
1294
- */
1295
- Results: Array<ImageResultResult>;
1296
-
1297
- /**
1298
- * 图片URL地址
1299
- */
1300
- Url: string;
1301
-
1302
- /**
1303
- * 附加字段
1304
- */
1305
- Extra: string;
1306
- }
1246
+ Label: string
1247
+
1248
+ /**
1249
+ * 得分
1250
+ */
1251
+ Score: number
1307
1252
 
1253
+ /**
1254
+ * 画面截帧图片结果集
1255
+ */
1256
+ Results: Array<ImageResultResult>
1257
+
1258
+ /**
1259
+ * 图片URL地址
1260
+ */
1261
+ Url: string
1262
+
1263
+ /**
1264
+ * 附加字段
1265
+ */
1266
+ Extra: string
1267
+ }