@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/dist/client.d.ts CHANGED
@@ -89,7 +89,7 @@ export declare class DescribeFileModerationResultResponse extends $tea.Model {
89
89
  export declare class DescribeImageModerationResultRequest extends $tea.Model {
90
90
  /**
91
91
  * @remarks
92
- * The reqId field returned by the Image Async Moderation API.
92
+ * The ReqId field returned by the asynchronous Image Moderation 2.0 API.
93
93
  *
94
94
  * @example
95
95
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -116,7 +116,7 @@ export declare class DescribeImageModerationResultResponseBody extends $tea.Mode
116
116
  code?: number;
117
117
  /**
118
118
  * @remarks
119
- * The data returned.
119
+ * The image moderation results.
120
120
  */
121
121
  data?: DescribeImageModerationResultResponseBodyData;
122
122
  /**
@@ -129,7 +129,7 @@ export declare class DescribeImageModerationResultResponseBody extends $tea.Mode
129
129
  msg?: string;
130
130
  /**
131
131
  * @remarks
132
- * The request ID.
132
+ * The request ID, which is used to locate and troubleshoot issues.
133
133
  *
134
134
  * @example
135
135
  * 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
@@ -303,7 +303,7 @@ export declare class DescribeUploadTokenResponse extends $tea.Model {
303
303
  export declare class DescribeUrlModerationResultRequest extends $tea.Model {
304
304
  /**
305
305
  * @remarks
306
- * The reqId field returned by the Url Async Moderation API.
306
+ * The ReqId field returned by an asynchronous URL moderation operation.
307
307
  *
308
308
  * @example
309
309
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -322,7 +322,7 @@ export declare class DescribeUrlModerationResultRequest extends $tea.Model {
322
322
  export declare class DescribeUrlModerationResultResponseBody extends $tea.Model {
323
323
  /**
324
324
  * @remarks
325
- * The returned HTTP status code.
325
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
326
326
  *
327
327
  * @example
328
328
  * 200
@@ -544,7 +544,27 @@ export declare class ImageAsyncModerationResponse extends $tea.Model {
544
544
  export declare class ImageModerationRequest extends $tea.Model {
545
545
  /**
546
546
  * @remarks
547
- * The type of the moderation service.
547
+ * The moderation services supported by Image Moderation 2.0. Valid values:
548
+ *
549
+ * * baselineCheck: common baseline moderation
550
+ * * baselineCheck_pro: common baseline moderation_Professional
551
+ * * baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland
552
+ * * tonalityImprove: content governance moderation
553
+ * * aigcCheck: AI-generated image identification
554
+ * * profilePhotoCheck: avatar image moderation
555
+ * * advertisingCheck: marketing material identification
556
+ * * liveStreamCheck: moderation of screenshots of videos and live streams
557
+ *
558
+ * Valid values:
559
+ *
560
+ * * liveStreamCheck: moderation of screenshots of videos and live streams
561
+ * * baselineCheck: common baseline moderation
562
+ * * aigcCheck: AI-generated image identification
563
+ * * baselineCheck_pro: common baseline moderation_Professional
564
+ * * advertisingCheck: marketing material identification
565
+ * * baselineCheck_cb: common baseline moderation_For regions outside the Chinese mainland
566
+ * * tonalityImprove: content governance moderation
567
+ * * profilePhotoCheck: avatar image moderation
548
568
  *
549
569
  * @example
550
570
  * baselineCheck
@@ -554,6 +574,9 @@ export declare class ImageModerationRequest extends $tea.Model {
554
574
  * @remarks
555
575
  * The parameters required by the moderation service. The value is a JSON string.
556
576
  *
577
+ * * imageUrl: the URL of the object that you want to moderate. This parameter is required.
578
+ * * dataId: the ID of the object that you want to moderate. This parameter is optional.
579
+ *
557
580
  * @example
558
581
  * {"imageUrl":"https://www.aliyun.com/test.jpg","dataId":"img1234567"}
559
582
  */
@@ -571,7 +594,7 @@ export declare class ImageModerationRequest extends $tea.Model {
571
594
  export declare class ImageModerationResponseBody extends $tea.Model {
572
595
  /**
573
596
  * @remarks
574
- * The returned HTTP status code.
597
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
575
598
  *
576
599
  * @example
577
600
  * 200
@@ -579,7 +602,7 @@ export declare class ImageModerationResponseBody extends $tea.Model {
579
602
  code?: number;
580
603
  /**
581
604
  * @remarks
582
- * The data returned.
605
+ * The moderation results.
583
606
  */
584
607
  data?: ImageModerationResponseBodyData;
585
608
  /**
@@ -592,7 +615,7 @@ export declare class ImageModerationResponseBody extends $tea.Model {
592
615
  msg?: string;
593
616
  /**
594
617
  * @remarks
595
- * The request ID.
618
+ * The request ID, which is used to locate and troubleshoot issues.
596
619
  *
597
620
  * @example
598
621
  * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
@@ -710,7 +733,15 @@ export declare class TextModerationResponse extends $tea.Model {
710
733
  export declare class TextModerationPlusRequest extends $tea.Model {
711
734
  /**
712
735
  * @remarks
713
- * The type of the moderation service.
736
+ * The moderation service.
737
+ *
738
+ * Valid values:
739
+ *
740
+ * * chat_detection_pro: moderation of interactive content of private chats_Professional
741
+ * * llm_response_moderation: moderation of text generated by LLMs
742
+ * * llm_query_moderation: moderation of input text of LLMs
743
+ * * nickname_detection_pro: moderation of user nicknames_Professional
744
+ * * comment_detection_pro: moderation of comment content of public chats_Professional
714
745
  *
715
746
  * @example
716
747
  * llm_query_moderation
@@ -737,7 +768,7 @@ export declare class TextModerationPlusRequest extends $tea.Model {
737
768
  export declare class TextModerationPlusResponseBody extends $tea.Model {
738
769
  /**
739
770
  * @remarks
740
- * The returned HTTP status code.
771
+ * The returned HTTP status code. The status code 200 indicates that the request was successful.
741
772
  *
742
773
  * @example
743
774
  * 200
@@ -745,7 +776,7 @@ export declare class TextModerationPlusResponseBody extends $tea.Model {
745
776
  code?: number;
746
777
  /**
747
778
  * @remarks
748
- * The data returned.
779
+ * The moderation results.
749
780
  */
750
781
  data?: TextModerationPlusResponseBodyData;
751
782
  /**
@@ -758,7 +789,7 @@ export declare class TextModerationPlusResponseBody extends $tea.Model {
758
789
  message?: string;
759
790
  /**
760
791
  * @remarks
761
- * The request ID.
792
+ * Id of the request
762
793
  *
763
794
  * @example
764
795
  * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
@@ -1626,12 +1657,20 @@ export declare class DescribeFileModerationResultResponseBodyData extends $tea.M
1626
1657
  export declare class DescribeImageModerationResultResponseBodyDataResult extends $tea.Model {
1627
1658
  /**
1628
1659
  * @remarks
1629
- * 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.
1660
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
1630
1661
  *
1631
1662
  * @example
1632
1663
  * 81.22
1633
1664
  */
1634
1665
  confidence?: number;
1666
+ /**
1667
+ * @remarks
1668
+ * The description of the result.
1669
+ *
1670
+ * @example
1671
+ * no risk
1672
+ */
1673
+ description?: string;
1635
1674
  /**
1636
1675
  * @remarks
1637
1676
  * The labels returned after the image moderation.
@@ -1653,7 +1692,7 @@ export declare class DescribeImageModerationResultResponseBodyDataResult extends
1653
1692
  export declare class DescribeImageModerationResultResponseBodyData extends $tea.Model {
1654
1693
  /**
1655
1694
  * @remarks
1656
- * The ID of the moderated object.
1695
+ * 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.
1657
1696
  *
1658
1697
  * @example
1659
1698
  * 2a5389eb-4ff8-4584-ac99-644e2a539aa1
@@ -1661,7 +1700,7 @@ export declare class DescribeImageModerationResultResponseBodyData extends $tea.
1661
1700
  dataId?: string;
1662
1701
  /**
1663
1702
  * @remarks
1664
- * Image frame information.
1703
+ * The information about the captured frames.
1665
1704
  *
1666
1705
  * @example
1667
1706
  * [{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]
@@ -1669,7 +1708,7 @@ export declare class DescribeImageModerationResultResponseBodyData extends $tea.
1669
1708
  frame?: string;
1670
1709
  /**
1671
1710
  * @remarks
1672
- * Number of result frames
1711
+ * The number of frames.
1673
1712
  *
1674
1713
  * @example
1675
1714
  * 1
@@ -1925,7 +1964,7 @@ export declare class DescribeUploadTokenResponseBodyData extends $tea.Model {
1925
1964
  export declare class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.Model {
1926
1965
  /**
1927
1966
  * @remarks
1928
- * ICP record number.
1967
+ * The ICP number.
1929
1968
  *
1930
1969
  * @example
1931
1970
  * xx
@@ -1933,12 +1972,19 @@ export declare class DescribeUrlModerationResultResponseBodyDataExtraInfo extend
1933
1972
  icpNo?: string;
1934
1973
  /**
1935
1974
  * @remarks
1936
- * ICP filing type.
1975
+ * The type of the ICP filing.
1937
1976
  *
1938
1977
  * @example
1939
1978
  * xx
1940
1979
  */
1941
1980
  icpType?: string;
1981
+ /**
1982
+ * @remarks
1983
+ * The type of site
1984
+ *
1985
+ * @example
1986
+ * game
1987
+ */
1942
1988
  siteType?: string;
1943
1989
  static names(): {
1944
1990
  [key: string]: string;
@@ -1953,7 +1999,7 @@ export declare class DescribeUrlModerationResultResponseBodyDataExtraInfo extend
1953
1999
  export declare class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Model {
1954
2000
  /**
1955
2001
  * @remarks
1956
- * 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.
2002
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
1957
2003
  *
1958
2004
  * @example
1959
2005
  * 81.22
@@ -1961,7 +2007,7 @@ export declare class DescribeUrlModerationResultResponseBodyDataResult extends $
1961
2007
  confidence?: number;
1962
2008
  /**
1963
2009
  * @remarks
1964
- * The labels returned after the url async moderation.
2010
+ * The labels returned after the asynchronous URL moderation.
1965
2011
  *
1966
2012
  * @example
1967
2013
  * sexual_url
@@ -1980,7 +2026,7 @@ export declare class DescribeUrlModerationResultResponseBodyDataResult extends $
1980
2026
  export declare class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
1981
2027
  /**
1982
2028
  * @remarks
1983
- * The ID of the moderated object.
2029
+ * 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.
1984
2030
  *
1985
2031
  * @example
1986
2032
  * 26769ada6e264e7ba9aa048241e12be9
@@ -1988,12 +2034,12 @@ export declare class DescribeUrlModerationResultResponseBodyData extends $tea.Mo
1988
2034
  dataId?: string;
1989
2035
  /**
1990
2036
  * @remarks
1991
- * Supplementary information.
2037
+ * The supplementary information.
1992
2038
  */
1993
2039
  extraInfo?: DescribeUrlModerationResultResponseBodyDataExtraInfo;
1994
2040
  /**
1995
2041
  * @remarks
1996
- * The reqId field returned by the Url Async Moderation API.
2042
+ * The ReqId field returned by an asynchronous URL moderation operation.
1997
2043
  *
1998
2044
  * @example
1999
2045
  * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
@@ -2001,7 +2047,7 @@ export declare class DescribeUrlModerationResultResponseBodyData extends $tea.Mo
2001
2047
  reqId?: string;
2002
2048
  /**
2003
2049
  * @remarks
2004
- * The results of url async moderation parameters such as the label parameter and the confidence parameter.
2050
+ * The returned results.
2005
2051
  */
2006
2052
  result?: DescribeUrlModerationResultResponseBodyDataResult[];
2007
2053
  static names(): {
@@ -2262,9 +2308,37 @@ export declare class ImageModerationResponseBodyDataExtOcrResult extends $tea.Mo
2262
2308
  });
2263
2309
  }
2264
2310
  export declare class ImageModerationResponseBodyDataExtPublicFigureLocation extends $tea.Model {
2311
+ /**
2312
+ * @remarks
2313
+ * The height
2314
+ *
2315
+ * @example
2316
+ * 44
2317
+ */
2265
2318
  h?: number;
2319
+ /**
2320
+ * @remarks
2321
+ * The weight
2322
+ *
2323
+ * @example
2324
+ * 33
2325
+ */
2266
2326
  w?: number;
2327
+ /**
2328
+ * @remarks
2329
+ * X coordinate
2330
+ *
2331
+ * @example
2332
+ * 11
2333
+ */
2267
2334
  x?: number;
2335
+ /**
2336
+ * @remarks
2337
+ * Y coordinate
2338
+ *
2339
+ * @example
2340
+ * 22
2341
+ */
2268
2342
  y?: number;
2269
2343
  static names(): {
2270
2344
  [key: string]: string;
@@ -2293,6 +2367,10 @@ export declare class ImageModerationResponseBodyDataExtPublicFigure extends $tea
2293
2367
  * xx
2294
2368
  */
2295
2369
  figureName?: string;
2370
+ /**
2371
+ * @remarks
2372
+ * the data array of location info
2373
+ */
2296
2374
  location?: ImageModerationResponseBodyDataExtPublicFigureLocation[];
2297
2375
  static names(): {
2298
2376
  [key: string]: string;
@@ -2511,7 +2589,15 @@ export declare class ImageModerationResponseBodyDataResult extends $tea.Model {
2511
2589
  confidence?: number;
2512
2590
  /**
2513
2591
  * @remarks
2514
- * The labels returned after the image moderation.
2592
+ * The description of the result.
2593
+ *
2594
+ * @example
2595
+ * no risk
2596
+ */
2597
+ description?: string;
2598
+ /**
2599
+ * @remarks
2600
+ * The labels returned after the image moderation. Multiple risk labels and the corresponding scores of confidence levels may be returned for an image.
2515
2601
  *
2516
2602
  * @example
2517
2603
  * violent_explosion
@@ -2532,6 +2618,8 @@ export declare class ImageModerationResponseBodyData extends $tea.Model {
2532
2618
  * @remarks
2533
2619
  * The ID of the moderated object.
2534
2620
  *
2621
+ * > If you specify the dataId parameter in the request, the value of the dataId parameter is returned in the response.
2622
+ *
2535
2623
  * @example
2536
2624
  * fb5ffab1-993b-449f-b8d6-b97d5e3331f2
2537
2625
  */
@@ -2543,7 +2631,7 @@ export declare class ImageModerationResponseBodyData extends $tea.Model {
2543
2631
  ext?: ImageModerationResponseBodyDataExt;
2544
2632
  /**
2545
2633
  * @remarks
2546
- * The results of image moderation parameters such as the label parameter and the confidence parameter.
2634
+ * The results of image moderation parameters such as the label parameter and the confidence parameter, which are an array structure.
2547
2635
  */
2548
2636
  result?: ImageModerationResponseBodyDataResult[];
2549
2637
  /**
@@ -2610,7 +2698,7 @@ export declare class TextModerationResponseBodyData extends $tea.Model {
2610
2698
  export declare class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
2611
2699
  /**
2612
2700
  * @remarks
2613
- * Answer
2701
+ * The answer.
2614
2702
  *
2615
2703
  * @example
2616
2704
  * XXX
@@ -2645,7 +2733,7 @@ export declare class TextModerationPlusResponseBodyDataAdvice extends $tea.Model
2645
2733
  export declare class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.Model {
2646
2734
  /**
2647
2735
  * @remarks
2648
- * Hit keywords, comma separated.
2736
+ * The terms that are hit. Multiple terms are separated by commas (,).
2649
2737
  *
2650
2738
  * @example
2651
2739
  * xxx
@@ -2653,7 +2741,7 @@ export declare class TextModerationPlusResponseBodyDataResultCustomizedHit exten
2653
2741
  keyWords?: string;
2654
2742
  /**
2655
2743
  * @remarks
2656
- * Library Name
2744
+ * The library name.
2657
2745
  *
2658
2746
  * @example
2659
2747
  * test
@@ -2672,7 +2760,7 @@ export declare class TextModerationPlusResponseBodyDataResultCustomizedHit exten
2672
2760
  export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model {
2673
2761
  /**
2674
2762
  * @remarks
2675
- * Confidence score, 0 to 100, reserved to 2 decimal places.
2763
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
2676
2764
  *
2677
2765
  * @example
2678
2766
  * 81.22
@@ -2680,12 +2768,20 @@ export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model
2680
2768
  confidence?: number;
2681
2769
  /**
2682
2770
  * @remarks
2683
- * Custom keyword hits
2771
+ * The custom term hit by the moderated content.
2684
2772
  */
2685
2773
  customizedHit?: TextModerationPlusResponseBodyDataResultCustomizedHit[];
2686
2774
  /**
2687
2775
  * @remarks
2688
- * Labels.
2776
+ * The description of the label.
2777
+ *
2778
+ * @example
2779
+ * none
2780
+ */
2781
+ description?: string;
2782
+ /**
2783
+ * @remarks
2784
+ * The label.
2689
2785
  *
2690
2786
  * @example
2691
2787
  * porn
@@ -2693,7 +2789,7 @@ export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model
2693
2789
  label?: string;
2694
2790
  /**
2695
2791
  * @remarks
2696
- * Risk words
2792
+ * The term hit by the moderated content.
2697
2793
  *
2698
2794
  * @example
2699
2795
  * XXX
@@ -2712,12 +2808,12 @@ export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model
2712
2808
  export declare class TextModerationPlusResponseBodyData extends $tea.Model {
2713
2809
  /**
2714
2810
  * @remarks
2715
- * Advice
2811
+ * The suggestion.
2716
2812
  */
2717
2813
  advice?: TextModerationPlusResponseBodyDataAdvice[];
2718
2814
  /**
2719
2815
  * @remarks
2720
- * The moderation results.
2816
+ * The results.
2721
2817
  */
2722
2818
  result?: TextModerationPlusResponseBodyDataResult[];
2723
2819
  /**
@@ -2730,7 +2826,7 @@ export declare class TextModerationPlusResponseBodyData extends $tea.Model {
2730
2826
  riskLevel?: string;
2731
2827
  /**
2732
2828
  * @remarks
2733
- * Score.
2829
+ * The score.
2734
2830
  *
2735
2831
  * @example
2736
2832
  * 1
@@ -3407,7 +3503,11 @@ export default class Client extends OpenApi {
3407
3503
  */
3408
3504
  describeFileModerationResult(request: DescribeFileModerationResultRequest): Promise<DescribeFileModerationResultResponse>;
3409
3505
  /**
3410
- * 查询异步检测结果
3506
+ * Obtains the moderation results of an Image Moderation 2.0 task.
3507
+ *
3508
+ * @remarks
3509
+ * Billing: This operation is free of charge.
3510
+ * * 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.
3411
3511
  *
3412
3512
  * @param request - DescribeImageModerationResultRequest
3413
3513
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3415,7 +3515,11 @@ export default class Client extends OpenApi {
3415
3515
  */
3416
3516
  describeImageModerationResultWithOptions(request: DescribeImageModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageModerationResultResponse>;
3417
3517
  /**
3418
- * 查询异步检测结果
3518
+ * Obtains the moderation results of an Image Moderation 2.0 task.
3519
+ *
3520
+ * @remarks
3521
+ * Billing: This operation is free of charge.
3522
+ * * 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.
3419
3523
  *
3420
3524
  * @param request - DescribeImageModerationResultRequest
3421
3525
  * @returns DescribeImageModerationResultResponse
@@ -3450,7 +3554,12 @@ export default class Client extends OpenApi {
3450
3554
  */
3451
3555
  describeUploadToken(): Promise<DescribeUploadTokenResponse>;
3452
3556
  /**
3453
- * 查询 url 检测结果
3557
+ * Queries the moderation results based on the ReqId returned by asynchronous URL moderation.
3558
+ *
3559
+ * @remarks
3560
+ * Billing: This operation is free of charge.
3561
+ * * 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.
3562
+ * * 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.
3454
3563
  *
3455
3564
  * @param request - DescribeUrlModerationResultRequest
3456
3565
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3458,7 +3567,12 @@ export default class Client extends OpenApi {
3458
3567
  */
3459
3568
  describeUrlModerationResultWithOptions(request: DescribeUrlModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUrlModerationResultResponse>;
3460
3569
  /**
3461
- * 查询 url 检测结果
3570
+ * Queries the moderation results based on the ReqId returned by asynchronous URL moderation.
3571
+ *
3572
+ * @remarks
3573
+ * Billing: This operation is free of charge.
3574
+ * * 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.
3575
+ * * 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.
3462
3576
  *
3463
3577
  * @param request - DescribeUrlModerationResultRequest
3464
3578
  * @returns DescribeUrlModerationResultResponse
@@ -3495,7 +3609,10 @@ export default class Client extends OpenApi {
3495
3609
  */
3496
3610
  imageAsyncModeration(request: ImageAsyncModerationRequest): Promise<ImageAsyncModerationResponse>;
3497
3611
  /**
3498
- * 图片审核
3612
+ * 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.
3613
+ *
3614
+ * @remarks
3615
+ * *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.
3499
3616
  *
3500
3617
  * @param request - ImageModerationRequest
3501
3618
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3503,7 +3620,10 @@ export default class Client extends OpenApi {
3503
3620
  */
3504
3621
  imageModerationWithOptions(request: ImageModerationRequest, runtime: $Util.RuntimeOptions): Promise<ImageModerationResponse>;
3505
3622
  /**
3506
- * 图片审核
3623
+ * 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.
3624
+ *
3625
+ * @remarks
3626
+ * *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.
3507
3627
  *
3508
3628
  * @param request - ImageModerationRequest
3509
3629
  * @returns ImageModerationResponse
@@ -3525,7 +3645,10 @@ export default class Client extends OpenApi {
3525
3645
  */
3526
3646
  textModeration(request: TextModerationRequest): Promise<TextModerationResponse>;
3527
3647
  /**
3528
- * 文本检测Plus版
3648
+ * 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.
3649
+ *
3650
+ * @remarks
3651
+ * 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.
3529
3652
  *
3530
3653
  * @param request - TextModerationPlusRequest
3531
3654
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3533,7 +3656,10 @@ export default class Client extends OpenApi {
3533
3656
  */
3534
3657
  textModerationPlusWithOptions(request: TextModerationPlusRequest, runtime: $Util.RuntimeOptions): Promise<TextModerationPlusResponse>;
3535
3658
  /**
3536
- * 文本检测Plus版
3659
+ * 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.
3660
+ *
3661
+ * @remarks
3662
+ * 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.
3537
3663
  *
3538
3664
  * @param request - TextModerationPlusRequest
3539
3665
  * @returns TextModerationPlusResponse