@alicloud/green20220302 2.2.9 → 2.2.11

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.
package/src/client.ts CHANGED
@@ -124,7 +124,7 @@ export class DescribeFileModerationResultResponse extends $tea.Model {
124
124
  export class DescribeImageModerationResultRequest extends $tea.Model {
125
125
  /**
126
126
  * @remarks
127
- * The reqId field returned by the Image Async Moderation API.
127
+ * The ReqId field returned by the asynchronous Image Moderation 2.0 API.
128
128
  *
129
129
  * @example
130
130
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -158,7 +158,7 @@ export class DescribeImageModerationResultResponseBody extends $tea.Model {
158
158
  code?: number;
159
159
  /**
160
160
  * @remarks
161
- * The data returned.
161
+ * The image moderation results.
162
162
  */
163
163
  data?: DescribeImageModerationResultResponseBodyData;
164
164
  /**
@@ -171,7 +171,7 @@ export class DescribeImageModerationResultResponseBody extends $tea.Model {
171
171
  msg?: string;
172
172
  /**
173
173
  * @remarks
174
- * The request ID.
174
+ * The request ID, which is used to locate and troubleshoot issues.
175
175
  *
176
176
  * @example
177
177
  * 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
@@ -420,7 +420,7 @@ export class DescribeUploadTokenResponse extends $tea.Model {
420
420
  export class DescribeUrlModerationResultRequest extends $tea.Model {
421
421
  /**
422
422
  * @remarks
423
- * The reqId field returned by the Url Async Moderation API.
423
+ * The ReqId field returned by an asynchronous URL moderation operation.
424
424
  *
425
425
  * @example
426
426
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -446,7 +446,7 @@ export class DescribeUrlModerationResultRequest extends $tea.Model {
446
446
  export class DescribeUrlModerationResultResponseBody extends $tea.Model {
447
447
  /**
448
448
  * @remarks
449
- * The returned HTTP status code.
449
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
450
450
  *
451
451
  * @example
452
452
  * 200
@@ -752,7 +752,27 @@ export class ImageAsyncModerationResponse extends $tea.Model {
752
752
  export class ImageModerationRequest extends $tea.Model {
753
753
  /**
754
754
  * @remarks
755
- * The type of the moderation service.
755
+ * The moderation services supported by Image Moderation 2.0. Valid values:
756
+ *
757
+ * * baselineCheck: common baseline moderation
758
+ * * baselineCheck_pro: common baseline moderation_Professional
759
+ * * baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland
760
+ * * tonalityImprove: content governance moderation
761
+ * * aigcCheck: AI-generated image identification
762
+ * * profilePhotoCheck: avatar image moderation
763
+ * * advertisingCheck: marketing material identification
764
+ * * liveStreamCheck: moderation of screenshots of videos and live streams
765
+ *
766
+ * Valid values:
767
+ *
768
+ * * liveStreamCheck: moderation of screenshots of videos and live streams
769
+ * * baselineCheck: common baseline moderation
770
+ * * aigcCheck: AI-generated image identification
771
+ * * baselineCheck_pro: common baseline moderation_Professional
772
+ * * advertisingCheck: marketing material identification
773
+ * * baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland
774
+ * * tonalityImprove: content governance moderation
775
+ * * profilePhotoCheck: avatar image moderation
756
776
  *
757
777
  * @example
758
778
  * baselineCheck
@@ -762,6 +782,9 @@ export class ImageModerationRequest extends $tea.Model {
762
782
  * @remarks
763
783
  * The parameters required by the moderation service. The value is a JSON string.
764
784
  *
785
+ * * imageUrl: the URL of the object that you want to moderate. This parameter is required.
786
+ * * dataId: the ID of the object that you want to moderate. This parameter is optional.
787
+ *
765
788
  * @example
766
789
  * {"imageUrl":"https://www.aliyun.com/test.jpg","dataId":"img1234567"}
767
790
  */
@@ -788,7 +811,7 @@ export class ImageModerationRequest extends $tea.Model {
788
811
  export class ImageModerationResponseBody extends $tea.Model {
789
812
  /**
790
813
  * @remarks
791
- * The returned HTTP status code.
814
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
792
815
  *
793
816
  * @example
794
817
  * 200
@@ -796,7 +819,7 @@ export class ImageModerationResponseBody extends $tea.Model {
796
819
  code?: number;
797
820
  /**
798
821
  * @remarks
799
- * The data returned.
822
+ * The moderation results.
800
823
  */
801
824
  data?: ImageModerationResponseBodyData;
802
825
  /**
@@ -809,7 +832,7 @@ export class ImageModerationResponseBody extends $tea.Model {
809
832
  msg?: string;
810
833
  /**
811
834
  * @remarks
812
- * The request ID.
835
+ * The request ID, which is used to locate and troubleshoot issues.
813
836
  *
814
837
  * @example
815
838
  * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
@@ -980,7 +1003,15 @@ export class TextModerationResponse extends $tea.Model {
980
1003
  export class TextModerationPlusRequest extends $tea.Model {
981
1004
  /**
982
1005
  * @remarks
983
- * The type of the moderation service.
1006
+ * The moderation service.
1007
+ *
1008
+ * Valid values:
1009
+ *
1010
+ * * chat_detection_pro: moderation of interactive content of private chats_Professional
1011
+ * * llm_response_moderation: moderation of text generated by LLMs
1012
+ * * llm_query_moderation: moderation of input text of LLMs
1013
+ * * nickname_detection_pro: moderation of user nicknames_Professional
1014
+ * * comment_detection_pro: moderation of comment content of public chats_Professional
984
1015
  *
985
1016
  * @example
986
1017
  * llm_query_moderation
@@ -1016,7 +1047,7 @@ export class TextModerationPlusRequest extends $tea.Model {
1016
1047
  export class TextModerationPlusResponseBody extends $tea.Model {
1017
1048
  /**
1018
1049
  * @remarks
1019
- * The returned HTTP status code.
1050
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
1020
1051
  *
1021
1052
  * @example
1022
1053
  * 200
@@ -1024,7 +1055,7 @@ export class TextModerationPlusResponseBody extends $tea.Model {
1024
1055
  code?: number;
1025
1056
  /**
1026
1057
  * @remarks
1027
- * The data returned.
1058
+ * The moderation results.
1028
1059
  */
1029
1060
  data?: TextModerationPlusResponseBodyData;
1030
1061
  /**
@@ -1037,7 +1068,7 @@ export class TextModerationPlusResponseBody extends $tea.Model {
1037
1068
  message?: string;
1038
1069
  /**
1039
1070
  * @remarks
1040
- * The request ID.
1071
+ * Id of the request
1041
1072
  *
1042
1073
  * @example
1043
1074
  * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
@@ -2222,12 +2253,20 @@ export class DescribeFileModerationResultResponseBodyData extends $tea.Model {
2222
2253
  export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Model {
2223
2254
  /**
2224
2255
  * @remarks
2225
- * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
2256
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
2226
2257
  *
2227
2258
  * @example
2228
2259
  * 81.22
2229
2260
  */
2230
2261
  confidence?: number;
2262
+ /**
2263
+ * @remarks
2264
+ * The description of the result.
2265
+ *
2266
+ * @example
2267
+ * no risk
2268
+ */
2269
+ description?: string;
2231
2270
  /**
2232
2271
  * @remarks
2233
2272
  * The labels returned after the image moderation.
@@ -2239,6 +2278,7 @@ export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Mo
2239
2278
  static names(): { [key: string]: string } {
2240
2279
  return {
2241
2280
  confidence: 'Confidence',
2281
+ description: 'Description',
2242
2282
  label: 'Label',
2243
2283
  };
2244
2284
  }
@@ -2246,6 +2286,7 @@ export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Mo
2246
2286
  static types(): { [key: string]: any } {
2247
2287
  return {
2248
2288
  confidence: 'number',
2289
+ description: 'string',
2249
2290
  label: 'string',
2250
2291
  };
2251
2292
  }
@@ -2258,7 +2299,7 @@ export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Mo
2258
2299
  export class DescribeImageModerationResultResponseBodyData extends $tea.Model {
2259
2300
  /**
2260
2301
  * @remarks
2261
- * The ID of the moderated object.
2302
+ * The value of dataId that is specified in the API request. If this parameter is not specified in the API request, this field is not available in the response.
2262
2303
  *
2263
2304
  * @example
2264
2305
  * 2a5389eb-4ff8-4584-ac99-644e2a539aa1
@@ -2266,7 +2307,7 @@ export class DescribeImageModerationResultResponseBodyData extends $tea.Model {
2266
2307
  dataId?: string;
2267
2308
  /**
2268
2309
  * @remarks
2269
- * Image frame information.
2310
+ * The information about the captured frames.
2270
2311
  *
2271
2312
  * @example
2272
2313
  * [{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]
@@ -2274,7 +2315,7 @@ export class DescribeImageModerationResultResponseBodyData extends $tea.Model {
2274
2315
  frame?: string;
2275
2316
  /**
2276
2317
  * @remarks
2277
- * Number of result frames
2318
+ * The number of frames.
2278
2319
  *
2279
2320
  * @example
2280
2321
  * 1
@@ -2619,7 +2660,7 @@ export class DescribeUploadTokenResponseBodyData extends $tea.Model {
2619
2660
  export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.Model {
2620
2661
  /**
2621
2662
  * @remarks
2622
- * ICP record number.
2663
+ * The ICP number.
2623
2664
  *
2624
2665
  * @example
2625
2666
  * xx
@@ -2627,12 +2668,19 @@ export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.M
2627
2668
  icpNo?: string;
2628
2669
  /**
2629
2670
  * @remarks
2630
- * ICP filing type.
2671
+ * The type of the ICP filing.
2631
2672
  *
2632
2673
  * @example
2633
2674
  * xx
2634
2675
  */
2635
2676
  icpType?: string;
2677
+ /**
2678
+ * @remarks
2679
+ * The type of site
2680
+ *
2681
+ * @example
2682
+ * game
2683
+ */
2636
2684
  siteType?: string;
2637
2685
  static names(): { [key: string]: string } {
2638
2686
  return {
@@ -2658,7 +2706,7 @@ export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.M
2658
2706
  export class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Model {
2659
2707
  /**
2660
2708
  * @remarks
2661
- * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
2709
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
2662
2710
  *
2663
2711
  * @example
2664
2712
  * 81.22
@@ -2666,7 +2714,7 @@ export class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Mode
2666
2714
  confidence?: number;
2667
2715
  /**
2668
2716
  * @remarks
2669
- * The labels returned after the url async moderation.
2717
+ * The labels returned after the asynchronous URL moderation.
2670
2718
  *
2671
2719
  * @example
2672
2720
  * sexual_url
@@ -2694,7 +2742,7 @@ export class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Mode
2694
2742
  export class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
2695
2743
  /**
2696
2744
  * @remarks
2697
- * The ID of the moderated object.
2745
+ * The value of dataId that is specified in the API request. If this parameter is not specified in the API request, this field is not available in the response.
2698
2746
  *
2699
2747
  * @example
2700
2748
  * 26769ada6e264e7ba9aa048241e12be9
@@ -2702,12 +2750,12 @@ export class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
2702
2750
  dataId?: string;
2703
2751
  /**
2704
2752
  * @remarks
2705
- * Supplementary information.
2753
+ * The supplementary information.
2706
2754
  */
2707
2755
  extraInfo?: DescribeUrlModerationResultResponseBodyDataExtraInfo;
2708
2756
  /**
2709
2757
  * @remarks
2710
- * The reqId field returned by the Url Async Moderation API.
2758
+ * The ReqId field returned by an asynchronous URL moderation operation.
2711
2759
  *
2712
2760
  * @example
2713
2761
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -2715,7 +2763,7 @@ export class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
2715
2763
  reqId?: string;
2716
2764
  /**
2717
2765
  * @remarks
2718
- * The results of url async moderation parameters such as the label parameter and the confidence parameter.
2766
+ * The returned results.
2719
2767
  */
2720
2768
  result?: DescribeUrlModerationResultResponseBodyDataResult[];
2721
2769
  static names(): { [key: string]: string } {
@@ -3071,9 +3119,37 @@ export class ImageModerationResponseBodyDataExtOcrResult extends $tea.Model {
3071
3119
  }
3072
3120
 
3073
3121
  export class ImageModerationResponseBodyDataExtPublicFigureLocation extends $tea.Model {
3122
+ /**
3123
+ * @remarks
3124
+ * The height
3125
+ *
3126
+ * @example
3127
+ * 44
3128
+ */
3074
3129
  h?: number;
3130
+ /**
3131
+ * @remarks
3132
+ * The weight
3133
+ *
3134
+ * @example
3135
+ * 33
3136
+ */
3075
3137
  w?: number;
3138
+ /**
3139
+ * @remarks
3140
+ * X coordinate
3141
+ *
3142
+ * @example
3143
+ * 11
3144
+ */
3076
3145
  x?: number;
3146
+ /**
3147
+ * @remarks
3148
+ * Y coordinate
3149
+ *
3150
+ * @example
3151
+ * 22
3152
+ */
3077
3153
  y?: number;
3078
3154
  static names(): { [key: string]: string } {
3079
3155
  return {
@@ -3115,6 +3191,10 @@ export class ImageModerationResponseBodyDataExtPublicFigure extends $tea.Model {
3115
3191
  * xx
3116
3192
  */
3117
3193
  figureName?: string;
3194
+ /**
3195
+ * @remarks
3196
+ * the data array of location info
3197
+ */
3118
3198
  location?: ImageModerationResponseBodyDataExtPublicFigureLocation[];
3119
3199
  static names(): { [key: string]: string } {
3120
3200
  return {
@@ -3414,7 +3494,15 @@ export class ImageModerationResponseBodyDataResult extends $tea.Model {
3414
3494
  confidence?: number;
3415
3495
  /**
3416
3496
  * @remarks
3417
- * The labels returned after the image moderation.
3497
+ * The description of the result.
3498
+ *
3499
+ * @example
3500
+ * no risk
3501
+ */
3502
+ description?: string;
3503
+ /**
3504
+ * @remarks
3505
+ * The labels returned after the image moderation. Multiple risk labels and the corresponding scores of confidence levels may be returned for an image.
3418
3506
  *
3419
3507
  * @example
3420
3508
  * violent_explosion
@@ -3423,6 +3511,7 @@ export class ImageModerationResponseBodyDataResult extends $tea.Model {
3423
3511
  static names(): { [key: string]: string } {
3424
3512
  return {
3425
3513
  confidence: 'Confidence',
3514
+ description: 'Description',
3426
3515
  label: 'Label',
3427
3516
  };
3428
3517
  }
@@ -3430,6 +3519,7 @@ export class ImageModerationResponseBodyDataResult extends $tea.Model {
3430
3519
  static types(): { [key: string]: any } {
3431
3520
  return {
3432
3521
  confidence: 'number',
3522
+ description: 'string',
3433
3523
  label: 'string',
3434
3524
  };
3435
3525
  }
@@ -3444,6 +3534,8 @@ export class ImageModerationResponseBodyData extends $tea.Model {
3444
3534
  * @remarks
3445
3535
  * The ID of the moderated object.
3446
3536
  *
3537
+ * > If you specify the dataId parameter in the request, the value of the dataId parameter is returned in the response.
3538
+ *
3447
3539
  * @example
3448
3540
  * fb5ffab1-993b-449f-b8d6-b97d5e3331f2
3449
3541
  */
@@ -3455,7 +3547,7 @@ export class ImageModerationResponseBodyData extends $tea.Model {
3455
3547
  ext?: ImageModerationResponseBodyDataExt;
3456
3548
  /**
3457
3549
  * @remarks
3458
- * The results of image moderation parameters such as the label parameter and the confidence parameter.
3550
+ * The results of image moderation parameters such as the label parameter and the confidence parameter, which are an array structure.
3459
3551
  */
3460
3552
  result?: ImageModerationResponseBodyDataResult[];
3461
3553
  /**
@@ -3548,7 +3640,7 @@ export class TextModerationResponseBodyData extends $tea.Model {
3548
3640
  export class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
3549
3641
  /**
3550
3642
  * @remarks
3551
- * Answer
3643
+ * The answer.
3552
3644
  *
3553
3645
  * @example
3554
3646
  * XXX
@@ -3594,7 +3686,7 @@ export class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
3594
3686
  export class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.Model {
3595
3687
  /**
3596
3688
  * @remarks
3597
- * Hit keywords, comma separated.
3689
+ * The terms that are hit. Multiple terms are separated by commas (,).
3598
3690
  *
3599
3691
  * @example
3600
3692
  * xxx
@@ -3602,7 +3694,7 @@ export class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.
3602
3694
  keyWords?: string;
3603
3695
  /**
3604
3696
  * @remarks
3605
- * Library Name
3697
+ * The library name.
3606
3698
  *
3607
3699
  * @example
3608
3700
  * test
@@ -3630,7 +3722,7 @@ export class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.
3630
3722
  export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3631
3723
  /**
3632
3724
  * @remarks
3633
- * Confidence score, 0 to 100, reserved to 2 decimal places.
3725
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
3634
3726
  *
3635
3727
  * @example
3636
3728
  * 81.22
@@ -3638,12 +3730,20 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3638
3730
  confidence?: number;
3639
3731
  /**
3640
3732
  * @remarks
3641
- * Custom keyword hits
3733
+ * The custom term hit by the moderated content.
3642
3734
  */
3643
3735
  customizedHit?: TextModerationPlusResponseBodyDataResultCustomizedHit[];
3644
3736
  /**
3645
3737
  * @remarks
3646
- * Labels.
3738
+ * The description of the label.
3739
+ *
3740
+ * @example
3741
+ * none
3742
+ */
3743
+ description?: string;
3744
+ /**
3745
+ * @remarks
3746
+ * The label.
3647
3747
  *
3648
3748
  * @example
3649
3749
  * porn
@@ -3651,7 +3751,7 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3651
3751
  label?: string;
3652
3752
  /**
3653
3753
  * @remarks
3654
- * Risk words
3754
+ * The term hit by the moderated content.
3655
3755
  *
3656
3756
  * @example
3657
3757
  * XXX
@@ -3661,6 +3761,7 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3661
3761
  return {
3662
3762
  confidence: 'Confidence',
3663
3763
  customizedHit: 'CustomizedHit',
3764
+ description: 'Description',
3664
3765
  label: 'Label',
3665
3766
  riskWords: 'RiskWords',
3666
3767
  };
@@ -3670,6 +3771,7 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3670
3771
  return {
3671
3772
  confidence: 'number',
3672
3773
  customizedHit: { 'type': 'array', 'itemType': TextModerationPlusResponseBodyDataResultCustomizedHit },
3774
+ description: 'string',
3673
3775
  label: 'string',
3674
3776
  riskWords: 'string',
3675
3777
  };
@@ -3683,12 +3785,12 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
3683
3785
  export class TextModerationPlusResponseBodyData extends $tea.Model {
3684
3786
  /**
3685
3787
  * @remarks
3686
- * Advice
3788
+ * The suggestion.
3687
3789
  */
3688
3790
  advice?: TextModerationPlusResponseBodyDataAdvice[];
3689
3791
  /**
3690
3792
  * @remarks
3691
- * The moderation results.
3793
+ * The results.
3692
3794
  */
3693
3795
  result?: TextModerationPlusResponseBodyDataResult[];
3694
3796
  /**
@@ -3701,7 +3803,7 @@ export class TextModerationPlusResponseBodyData extends $tea.Model {
3701
3803
  riskLevel?: string;
3702
3804
  /**
3703
3805
  * @remarks
3704
- * Score.
3806
+ * The score.
3705
3807
  *
3706
3808
  * @example
3707
3809
  * 1
@@ -4660,7 +4762,11 @@ export default class Client extends OpenApi {
4660
4762
  }
4661
4763
 
4662
4764
  /**
4663
- * 查询异步检测结果
4765
+ * Obtains the moderation results of an Image Moderation 2.0 task.
4766
+ *
4767
+ * @remarks
4768
+ * Billing: This operation is free of charge.
4769
+ * * QPS limit: You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4664
4770
  *
4665
4771
  * @param request - DescribeImageModerationResultRequest
4666
4772
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4691,7 +4797,11 @@ export default class Client extends OpenApi {
4691
4797
  }
4692
4798
 
4693
4799
  /**
4694
- * 查询异步检测结果
4800
+ * Obtains the moderation results of an Image Moderation 2.0 task.
4801
+ *
4802
+ * @remarks
4803
+ * Billing: This operation is free of charge.
4804
+ * * QPS limit: You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4695
4805
  *
4696
4806
  * @param request - DescribeImageModerationResultRequest
4697
4807
  * @returns DescribeImageModerationResultResponse
@@ -4780,7 +4890,12 @@ export default class Client extends OpenApi {
4780
4890
  }
4781
4891
 
4782
4892
  /**
4783
- * 查询 url 检测结果
4893
+ * Queries the moderation results based on the ReqId returned by asynchronous URL moderation.
4894
+ *
4895
+ * @remarks
4896
+ * Billing: This operation is free of charge.
4897
+ * * Query timeout: We recommend that you query moderation results at least 480 seconds after you send an asynchronous moderation request. Content Moderation retains moderation results for up to 3 days. After 3 days, the results are deleted.
4898
+ * * You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4784
4899
  *
4785
4900
  * @param request - DescribeUrlModerationResultRequest
4786
4901
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4811,7 +4926,12 @@ export default class Client extends OpenApi {
4811
4926
  }
4812
4927
 
4813
4928
  /**
4814
- * 查询 url 检测结果
4929
+ * Queries the moderation results based on the ReqId returned by asynchronous URL moderation.
4930
+ *
4931
+ * @remarks
4932
+ * Billing: This operation is free of charge.
4933
+ * * Query timeout: We recommend that you query moderation results at least 480 seconds after you send an asynchronous moderation request. Content Moderation retains moderation results for up to 3 days. After 3 days, the results are deleted.
4934
+ * * You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4815
4935
  *
4816
4936
  * @param request - DescribeUrlModerationResultRequest
4817
4937
  * @returns DescribeUrlModerationResultResponse
@@ -4914,7 +5034,10 @@ export default class Client extends OpenApi {
4914
5034
  }
4915
5035
 
4916
5036
  /**
4917
- * 图片审核
5037
+ * Identifies whether an image contains content or elements that violate relevant regulations on network content dissemination, affect the content order of a specific platform, or affect user experience. Image Moderation 2.0 supports over 90 content risk labels and over 100 risk control items. Image Moderation 2.0 of Content Moderation allows you to develop further moderation or governance measures for specific image content based on business scenarios, platform-specific content governance rules, or rich risk labels and scores of confidence levels returned by API calls.
5038
+ *
5039
+ * @remarks
5040
+ * *Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/467826.html)[](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag) of Image Moderation 2.0.
4918
5041
  *
4919
5042
  * @param request - ImageModerationRequest
4920
5043
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4949,7 +5072,10 @@ export default class Client extends OpenApi {
4949
5072
  }
4950
5073
 
4951
5074
  /**
4952
- * 图片审核
5075
+ * Identifies whether an image contains content or elements that violate relevant regulations on network content dissemination, affect the content order of a specific platform, or affect user experience. Image Moderation 2.0 supports over 90 content risk labels and over 100 risk control items. Image Moderation 2.0 of Content Moderation allows you to develop further moderation or governance measures for specific image content based on business scenarios, platform-specific content governance rules, or rich risk labels and scores of confidence levels returned by API calls.
5076
+ *
5077
+ * @remarks
5078
+ * *Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/467826.html)[](https://www.aliyun.com/price/product?#/lvwang/detail/cdibag) of Image Moderation 2.0.
4953
5079
  *
4954
5080
  * @param request - ImageModerationRequest
4955
5081
  * @returns ImageModerationResponse
@@ -5006,7 +5132,10 @@ export default class Client extends OpenApi {
5006
5132
  }
5007
5133
 
5008
5134
  /**
5009
- * 文本检测Plus版
5135
+ * Moderates the input command and generated text of large language models (LLMs). Specific model input commands can be used to retrieve standard answers. The feature of enabling and disabling the moderation labels is also available.
5136
+ *
5137
+ * @remarks
5138
+ * Before you call this operation, make sure that you have [activated the Content Moderation 2.0 service](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn) and are familiar with the [billing](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n) of the Text Moderation 2.0 Plus service.
5010
5139
  *
5011
5140
  * @param request - TextModerationPlusRequest
5012
5141
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5041,7 +5170,10 @@ export default class Client extends OpenApi {
5041
5170
  }
5042
5171
 
5043
5172
  /**
5044
- * 文本检测Plus版
5173
+ * Moderates the input command and generated text of large language models (LLMs). Specific model input commands can be used to retrieve standard answers. The feature of enabling and disabling the moderation labels is also available.
5174
+ *
5175
+ * @remarks
5176
+ * Before you call this operation, make sure that you have [activated the Content Moderation 2.0 service](https://common-buy.aliyun.com/?commodityCode=lvwang_cip_public_cn) and are familiar with the [billing](https://help.aliyun.com/document_detail/2671445.html?#section-6od-32j-99n) of the Text Moderation 2.0 Plus service.
5045
5177
  *
5046
5178
  * @param request - TextModerationPlusRequest
5047
5179
  * @returns TextModerationPlusResponse