@alicloud/aidge20260428 2.0.0 → 3.0.0

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.
Files changed (64) hide show
  1. package/dist/client.d.ts +230 -246
  2. package/dist/client.js +263 -288
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DocumentTranslateRequest.d.ts +3 -3
  5. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -5
  6. package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
  7. package/dist/models/ImageMattingRequest.d.ts +7 -7
  8. package/dist/models/ImageMattingResponseBody.d.ts +2 -2
  9. package/dist/models/ImageRemovalProRequest.d.ts +35 -0
  10. package/dist/models/{ImageTranslationPlusRequest.js → ImageRemovalProRequest.js} +6 -16
  11. package/dist/models/ImageRemovalProRequest.js.map +1 -0
  12. package/dist/models/{ImageTranslationPlusResponse.d.ts → ImageRemovalProResponse.d.ts} +3 -3
  13. package/dist/models/{ImageTranslationPlusResponse.js → ImageRemovalProResponse.js} +6 -6
  14. package/dist/models/ImageRemovalProResponse.js.map +1 -0
  15. package/dist/models/{ImageTranslationPlusResponseBody.d.ts → ImageRemovalProResponseBody.d.ts} +21 -6
  16. package/dist/models/{ImageTranslationPlusResponseBody.js → ImageRemovalProResponseBody.js} +14 -7
  17. package/dist/models/ImageRemovalProResponseBody.js.map +1 -0
  18. package/dist/models/ImageRemoveRequest.d.ts +15 -5
  19. package/dist/models/ImageRemoveRequest.js.map +1 -1
  20. package/dist/models/ImageRemoveResponseBody.d.ts +8 -8
  21. package/dist/models/ImageRemoveShrinkRequest.d.ts +15 -5
  22. package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
  23. package/dist/models/ImageTranslationProRequest.d.ts +11 -7
  24. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  25. package/dist/models/ImageTranslationProResponseBody.d.ts +55 -55
  26. package/dist/models/MaterialInspectionRequest.d.ts +14 -0
  27. package/dist/models/MaterialInspectionRequest.js.map +1 -1
  28. package/dist/models/MaterialInspectionResponseBody.d.ts +45 -0
  29. package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
  30. package/dist/models/TextTranslateRequest.d.ts +15 -5
  31. package/dist/models/TextTranslateRequest.js +4 -0
  32. package/dist/models/TextTranslateRequest.js.map +1 -1
  33. package/dist/models/TextTranslateResponseBody.d.ts +7 -7
  34. package/dist/models/TextTranslateShrinkRequest.d.ts +15 -5
  35. package/dist/models/TextTranslateShrinkRequest.js +4 -0
  36. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  37. package/dist/models/model.d.ts +4 -4
  38. package/dist/models/model.js +10 -10
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +269 -297
  42. package/src/models/DocumentTranslateRequest.ts +3 -3
  43. package/src/models/DocumentTranslateResponseBody.ts +3 -5
  44. package/src/models/ImageMattingRequest.ts +7 -7
  45. package/src/models/ImageMattingResponseBody.ts +2 -2
  46. package/src/models/ImageRemovalProRequest.ts +50 -0
  47. package/src/models/{ImageTranslationPlusResponse.ts → ImageRemovalProResponse.ts} +4 -4
  48. package/src/models/{ImageTranslationPlusResponseBody.ts → ImageRemovalProResponseBody.ts} +27 -7
  49. package/src/models/ImageRemoveRequest.ts +15 -5
  50. package/src/models/ImageRemoveResponseBody.ts +8 -8
  51. package/src/models/ImageRemoveShrinkRequest.ts +15 -5
  52. package/src/models/ImageTranslationProRequest.ts +11 -7
  53. package/src/models/ImageTranslationProResponseBody.ts +55 -55
  54. package/src/models/MaterialInspectionRequest.ts +14 -0
  55. package/src/models/MaterialInspectionResponseBody.ts +45 -0
  56. package/src/models/TextTranslateRequest.ts +19 -5
  57. package/src/models/TextTranslateResponseBody.ts +7 -7
  58. package/src/models/TextTranslateShrinkRequest.ts +19 -5
  59. package/src/models/model.ts +4 -4
  60. package/dist/models/ImageTranslationPlusRequest.d.ts +0 -75
  61. package/dist/models/ImageTranslationPlusRequest.js.map +0 -1
  62. package/dist/models/ImageTranslationPlusResponse.js.map +0 -1
  63. package/dist/models/ImageTranslationPlusResponseBody.js.map +0 -1
  64. package/src/models/ImageTranslationPlusRequest.ts +0 -100
package/src/client.ts CHANGED
@@ -515,25 +515,24 @@ export default class Client extends OpenApi {
515
515
  }
516
516
 
517
517
  /**
518
- * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
519
- * The service excels in the following areas:
520
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
521
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
518
+ * Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
519
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
520
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
522
521
  *
523
522
  * @remarks
524
523
  * ## Product Introduction
525
- * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
526
- * The service excels in the following areas:
527
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
528
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
524
+ * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
525
+ * Excels in the following areas:
526
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
527
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
529
528
  * ## Common scenarios
530
529
  * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
531
530
  * 3. Features
532
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
533
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
531
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
532
+ * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
534
533
  * - Supports high-fidelity layout preservation after translation.
535
- * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
536
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
534
+ * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
535
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
537
536
  *
538
537
  * @param request - DocumentTranslateRequest
539
538
  * @param runtime - runtime options for this request RuntimeOptions
@@ -576,25 +575,24 @@ export default class Client extends OpenApi {
576
575
  }
577
576
 
578
577
  /**
579
- * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
580
- * The service excels in the following areas:
581
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
582
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
578
+ * Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
579
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
580
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
583
581
  *
584
582
  * @remarks
585
583
  * ## Product Introduction
586
- * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
587
- * The service excels in the following areas:
588
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
589
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
584
+ * Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
585
+ * Excels in the following areas:
586
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
587
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
590
588
  * ## Common scenarios
591
589
  * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
592
590
  * 3. Features
593
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
594
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
591
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
592
+ * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
595
593
  * - Supports high-fidelity layout preservation after translation.
596
- * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
597
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
594
+ * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
595
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
598
596
  *
599
597
  * @param request - DocumentTranslateRequest
600
598
  * @returns DocumentTranslateResponse
@@ -695,32 +693,32 @@ export default class Client extends OpenApi {
695
693
  }
696
694
 
697
695
  /**
698
- * Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
696
+ * Automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
699
697
  *
700
698
  * @remarks
701
699
  * ## Product Introduction
702
- * Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
700
+ * The intelligent image matting product automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
703
701
  * ## Scenarios
704
702
  * * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
705
703
  *
706
704
  * * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
707
705
  * ## Features.
708
706
  * #### 1. One-click precise subject recognition
709
- * * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
707
+ * * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
710
708
  *
711
709
  * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
712
710
  * #### 2. Intelligent edge optimization
713
- * * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
711
+ * * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
714
712
  * #### 3. Multi-format output and background operations
715
713
  * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
716
714
  *
717
- * * **Custom background color support**.
715
+ * * **Custom background color support**
718
716
  * ## Effect comparison
719
717
  * | **Original image (input)** | **Result image (output)** |
720
718
  * | --- | --- |
721
719
  * | ![主图3.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/62b39e16-5b30-469f-88cd-7f31ba790008.jpeg) | ![ae4cd8ce912c4d9fa171dc5217be576d_202605251928_0.5899999737739563.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/bfad041f-a8e0-4d6f-a2bf-999292ea9ebc.jpeg) |
722
720
  * | ![主图2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/b201b356-24b8-4f98-babc-c7fe918bdc37.jpeg) | ![52033655bd054737960a87518655d935_202605251926_5.959999978542328.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/8b266603-e80a-42dd-9d3d-6fa9f0948e52.jpeg) |
723
- * | ![主图6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |.
721
+ * | ![主图6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |
724
722
  *
725
723
  * @param request - ImageMattingRequest
726
724
  * @param runtime - runtime options for this request RuntimeOptions
@@ -767,32 +765,32 @@ export default class Client extends OpenApi {
767
765
  }
768
766
 
769
767
  /**
770
- * Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
768
+ * Automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
771
769
  *
772
770
  * @remarks
773
771
  * ## Product Introduction
774
- * Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
772
+ * The intelligent image matting product automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
775
773
  * ## Scenarios
776
774
  * * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
777
775
  *
778
776
  * * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
779
777
  * ## Features.
780
778
  * #### 1. One-click precise subject recognition
781
- * * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
779
+ * * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
782
780
  *
783
781
  * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
784
782
  * #### 2. Intelligent edge optimization
785
- * * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
783
+ * * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
786
784
  * #### 3. Multi-format output and background operations
787
785
  * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
788
786
  *
789
- * * **Custom background color support**.
787
+ * * **Custom background color support**
790
788
  * ## Effect comparison
791
789
  * | **Original image (input)** | **Result image (output)** |
792
790
  * | --- | --- |
793
791
  * | ![主图3.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/62b39e16-5b30-469f-88cd-7f31ba790008.jpeg) | ![ae4cd8ce912c4d9fa171dc5217be576d_202605251928_0.5899999737739563.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/bfad041f-a8e0-4d6f-a2bf-999292ea9ebc.jpeg) |
794
792
  * | ![主图2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/b201b356-24b8-4f98-babc-c7fe918bdc37.jpeg) | ![52033655bd054737960a87518655d935_202605251926_5.959999978542328.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/8b266603-e80a-42dd-9d3d-6fa9f0948e52.jpeg) |
795
- * | ![主图6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |.
793
+ * | ![主图6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |
796
794
  *
797
795
  * @param request - ImageMattingRequest
798
796
  * @returns ImageMattingResponse
@@ -1019,80 +1017,173 @@ export default class Client extends OpenApi {
1019
1017
  }
1020
1018
 
1021
1019
  /**
1022
- * The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
1020
+ * Intelligently identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images, supports specifying objects to remove as needed, enables efficient and precise batch processing of images, and simplifies image editing workflows (synchronous/asynchronous).
1023
1021
  *
1024
1022
  * @remarks
1025
- * ## Product Overview
1026
- * The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
1027
- * ## Use Cases
1028
- * * **Efficient E-commerce Image Processing:**
1023
+ * ## Product introduction
1024
+ * The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of images and simplifying image editing workflows. (Synchronous/Asynchronous)
1025
+ * ## Common scenarios
1026
+ * * **Efficient e-commerce image processing:**
1029
1027
  *
1030
- * Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
1031
- * * **Multi-platform Product Information Synchronization:**
1028
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1029
+ * * **Multi-platform product information synchronization:**
1032
1030
  *
1033
- * When merchants simultaneously list products across different e-commerce platforms, they can quickly remove specific text and blemishes to comply with different platform image specifications.
1034
- * * **Marketing Material Preparation:**
1031
+ * When merchants list products across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with image specifications of different platforms.
1032
+ * ## Features
1033
+ * 1. First, clarify the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1035
1034
  *
1036
- * Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
1037
- * > Note: Merchants or platforms can batch remove impurities from images to optimize image quality. We recommend using this in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and blemishes, then use the "Intelligent Removal API" to batch remove them. The Intelligent Recognition API focuses on "recognition," while the Intelligent Removal API focuses on "removal." By calling them in sequence, you can maximize removal effectiveness and reduce "false removals" and "false recognitions."
1038
- * ## Feature Introduction
1039
- * 1. First, clarify the definitions of image subject and image background. In actual use, when specifying removal targets, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
1035
+ * 1. Image subject: the core product area in the image.
1036
+ *
1037
+ * 2. Image background: the remaining part of the image other than the product subject.
1038
+ *
1039
+ * 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1040
+ * ## Effect comparison
1041
+ * | **Original image** | **Image after removal** |
1042
+ * | --- | --- |
1043
+ * | ![Main image 1 - Leopard print large capacity millennium crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1044
+ * | ![Main image 1 - Short round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1045
+ *
1046
+ * @param request - ImageRemovalProRequest
1047
+ * @param runtime - runtime options for this request RuntimeOptions
1048
+ * @returns ImageRemovalProResponse
1049
+ */
1050
+ async imageRemovalProWithOptions(request: $_model.ImageRemovalProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProResponse> {
1051
+ request.validate();
1052
+ let query = { };
1053
+ if (!$dara.isNull(request.async)) {
1054
+ query["Async"] = request.async;
1055
+ }
1056
+
1057
+ if (!$dara.isNull(request.imageUrl)) {
1058
+ query["ImageUrl"] = request.imageUrl;
1059
+ }
1060
+
1061
+ let req = new $OpenApiUtil.OpenApiRequest({
1062
+ query: OpenApiUtil.query(query),
1063
+ });
1064
+ let params = new $OpenApiUtil.Params({
1065
+ action: "ImageRemovalPro",
1066
+ version: "2026-04-28",
1067
+ protocol: "HTTPS",
1068
+ pathname: "/",
1069
+ method: "POST",
1070
+ authType: "AK",
1071
+ style: "RPC",
1072
+ reqBodyType: "formData",
1073
+ bodyType: "json",
1074
+ });
1075
+ return $dara.cast<$_model.ImageRemovalProResponse>(await this.callApi(params, req, runtime), new $_model.ImageRemovalProResponse({}));
1076
+ }
1077
+
1078
+ /**
1079
+ * Intelligently identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images, supports specifying objects to remove as needed, enables efficient and precise batch processing of images, and simplifies image editing workflows (synchronous/asynchronous).
1080
+ *
1081
+ * @remarks
1082
+ * ## Product introduction
1083
+ * The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of images and simplifying image editing workflows. (Synchronous/Asynchronous)
1084
+ * ## Common scenarios
1085
+ * * **Efficient e-commerce image processing:**
1040
1086
  *
1041
- * 1. Image subject: The core product area in the image
1087
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1088
+ * * **Multi-platform product information synchronization:**
1089
+ *
1090
+ * When merchants list products across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with image specifications of different platforms.
1091
+ * ## Features
1092
+ * 1. First, clarify the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1093
+ *
1094
+ * 1. Image subject: the core product area in the image.
1042
1095
  *
1043
- * 2. Image background: The remaining portion of the image apart from the product subject
1096
+ * 2. Image background: the remaining part of the image other than the product subject.
1044
1097
  *
1045
- * 2. Second, the removal targets support the following four types: text, specific names, transparent text blocks, and blemishes. You can use the following examples to clarify your usage requirements and perform targeted operations:
1098
+ * 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1099
+ * ## Effect comparison
1100
+ * | **Original image** | **Image after removal** |
1101
+ * | --- | --- |
1102
+ * | ![Main image 1 - Leopard print large capacity millennium crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1103
+ * | ![Main image 1 - Short round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1104
+ *
1105
+ * @param request - ImageRemovalProRequest
1106
+ * @returns ImageRemovalProResponse
1107
+ */
1108
+ async imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse> {
1109
+ let runtime = new $dara.RuntimeOptions({ });
1110
+ return await this.imageRemovalProWithOptions(request, runtime);
1111
+ }
1112
+
1113
+ /**
1114
+ * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and image blemishes, with support for specifying objects to erase as needed for efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
1115
+ *
1116
+ * @remarks
1117
+ * ## Product Introduction
1118
+ * The intelligent image erasure product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
1119
+ * ## Scenarios
1120
+ * * **Efficient e-commerce image processing:**
1046
1121
  *
1047
- * ## Effect Comparison
1048
- * | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
1122
+ * Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
1123
+ * * **Multi-platform product information synchronization:**
1124
+ *
1125
+ * When merchants list products across different e-commerce platforms, they can quickly erase specific text and image blemishes to comply with different platform image requirements.
1126
+ * * **Marketing material preparation:**
1127
+ *
1128
+ * Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
1129
+ * > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this API in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and image blemishes, then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition," while the Intelligent Erasure API focuses on "erasure." By calling them sequentially, you can maximize erasure effectiveness and reduce false removals and false identifications.
1130
+ * ## Features
1131
+ * 1. First, understand the definitions of image subject and image background. When specifying erasure objects, you can choose whether the erasure scope covers the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
1132
+ *
1133
+ * 1. Image subject: The core product area in the image.
1134
+ *
1135
+ * 2. Image background: The remaining portion of the image outside the product subject.
1136
+ *
1137
+ * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations:
1138
+ * ## Effect comparison
1139
+ * | **Erasable objects in images** | **Original image** | **Image after erasure** |
1049
1140
  * | --- | --- | --- |
1050
- * | Text | * Involving the image subject area
1141
+ * | Text | * Involves the image subject area
1051
1142
  *
1052
1143
  * ![done-image-4a2a96c2-9ac6-4b35-b76b-a6eac303740f (1).png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d72a7982-e761-4b45-af1e-f8f90b3f1fc3.png)
1053
1144
  *
1054
- * * Not involving the image subject area
1145
+ * * Does not involve the image subject area
1055
1146
  *
1056
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involving the image subject area
1147
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1057
1148
  *
1058
1149
  * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1059
- * * Not involving the image subject area
1150
+ * * Does not involve the image subject area
1060
1151
  *
1061
1152
  * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1062
- * | Specific Names | * Involving the image subject area
1153
+ * | Specific names | * Involves the image subject area
1063
1154
  *
1064
1155
  * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1065
1156
  *
1066
- * * Not involving the image subject area
1157
+ * * Does not involve the image subject area
1067
1158
  *
1068
- * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involving the image subject area
1159
+ * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involves the image subject area
1069
1160
  *
1070
1161
  * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1071
- * * Not involving the image subject area
1162
+ * * Does not involve the image subject area
1072
1163
  *
1073
1164
  * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1074
- * | Transparent Text Blocks | * Involving the image subject area
1165
+ * | Transparent text blocks | * Involves the image subject area
1075
1166
  *
1076
1167
  * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1077
1168
  *
1078
- * * Not involving the image subject area
1169
+ * * Does not involve the image subject area
1079
1170
  *
1080
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involving the image subject area
1171
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1081
1172
  *
1082
1173
  * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1083
- * * Not involving the image subject area
1174
+ * * Does not involve the image subject area
1084
1175
  *
1085
1176
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1086
- * | Blemishes | * Involving the image subject area
1177
+ * | Image blemishes | * Involves the image subject area
1087
1178
  *
1088
1179
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1089
1180
  *
1090
- * * Not involving the image subject area
1181
+ * * Does not involve the image subject area
1091
1182
  *
1092
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involving the image subject area
1183
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1093
1184
  *
1094
1185
  * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1095
- * * Not involving the image subject area
1186
+ * * Does not involve the image subject area
1096
1187
  *
1097
1188
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1098
1189
  *
@@ -1147,80 +1238,79 @@ export default class Client extends OpenApi {
1147
1238
  }
1148
1239
 
1149
1240
  /**
1150
- * The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
1241
+ * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and image blemishes, with support for specifying objects to erase as needed for efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
1151
1242
  *
1152
1243
  * @remarks
1153
- * ## Product Overview
1154
- * The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
1155
- * ## Use Cases
1156
- * * **Efficient E-commerce Image Processing:**
1244
+ * ## Product Introduction
1245
+ * The intelligent image erasure product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
1246
+ * ## Scenarios
1247
+ * * **Efficient e-commerce image processing:**
1157
1248
  *
1158
- * Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
1159
- * * **Multi-platform Product Information Synchronization:**
1249
+ * Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
1250
+ * * **Multi-platform product information synchronization:**
1160
1251
  *
1161
- * When merchants simultaneously list products across different e-commerce platforms, they can quickly remove specific text and blemishes to comply with different platform image specifications.
1162
- * * **Marketing Material Preparation:**
1252
+ * When merchants list products across different e-commerce platforms, they can quickly erase specific text and image blemishes to comply with different platform image requirements.
1253
+ * * **Marketing material preparation:**
1163
1254
  *
1164
- * Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
1165
- * > Note: Merchants or platforms can batch remove impurities from images to optimize image quality. We recommend using this in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and blemishes, then use the "Intelligent Removal API" to batch remove them. The Intelligent Recognition API focuses on "recognition," while the Intelligent Removal API focuses on "removal." By calling them in sequence, you can maximize removal effectiveness and reduce "false removals" and "false recognitions."
1166
- * ## Feature Introduction
1167
- * 1. First, clarify the definitions of image subject and image background. In actual use, when specifying removal targets, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
1255
+ * Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
1256
+ * > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this API in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and image blemishes, then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition," while the Intelligent Erasure API focuses on "erasure." By calling them sequentially, you can maximize erasure effectiveness and reduce false removals and false identifications.
1257
+ * ## Features
1258
+ * 1. First, understand the definitions of image subject and image background. When specifying erasure objects, you can choose whether the erasure scope covers the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
1168
1259
  *
1169
- * 1. Image subject: The core product area in the image
1260
+ * 1. Image subject: The core product area in the image.
1170
1261
  *
1171
- * 2. Image background: The remaining portion of the image apart from the product subject
1262
+ * 2. Image background: The remaining portion of the image outside the product subject.
1172
1263
  *
1173
- * 2. Second, the removal targets support the following four types: text, specific names, transparent text blocks, and blemishes. You can use the following examples to clarify your usage requirements and perform targeted operations:
1174
- *
1175
- * ## Effect Comparison
1176
- * | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
1264
+ * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations:
1265
+ * ## Effect comparison
1266
+ * | **Erasable objects in images** | **Original image** | **Image after erasure** |
1177
1267
  * | --- | --- | --- |
1178
- * | Text | * Involving the image subject area
1268
+ * | Text | * Involves the image subject area
1179
1269
  *
1180
1270
  * ![done-image-4a2a96c2-9ac6-4b35-b76b-a6eac303740f (1).png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d72a7982-e761-4b45-af1e-f8f90b3f1fc3.png)
1181
1271
  *
1182
- * * Not involving the image subject area
1272
+ * * Does not involve the image subject area
1183
1273
  *
1184
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involving the image subject area
1274
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1185
1275
  *
1186
1276
  * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1187
- * * Not involving the image subject area
1277
+ * * Does not involve the image subject area
1188
1278
  *
1189
1279
  * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1190
- * | Specific Names | * Involving the image subject area
1280
+ * | Specific names | * Involves the image subject area
1191
1281
  *
1192
1282
  * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1193
1283
  *
1194
- * * Not involving the image subject area
1284
+ * * Does not involve the image subject area
1195
1285
  *
1196
- * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involving the image subject area
1286
+ * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involves the image subject area
1197
1287
  *
1198
1288
  * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1199
- * * Not involving the image subject area
1289
+ * * Does not involve the image subject area
1200
1290
  *
1201
1291
  * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1202
- * | Transparent Text Blocks | * Involving the image subject area
1292
+ * | Transparent text blocks | * Involves the image subject area
1203
1293
  *
1204
1294
  * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1205
1295
  *
1206
- * * Not involving the image subject area
1296
+ * * Does not involve the image subject area
1207
1297
  *
1208
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involving the image subject area
1298
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1209
1299
  *
1210
1300
  * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1211
- * * Not involving the image subject area
1301
+ * * Does not involve the image subject area
1212
1302
  *
1213
1303
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1214
- * | Blemishes | * Involving the image subject area
1304
+ * | Image blemishes | * Involves the image subject area
1215
1305
  *
1216
1306
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1217
1307
  *
1218
- * * Not involving the image subject area
1308
+ * * Does not involve the image subject area
1219
1309
  *
1220
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involving the image subject area
1310
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1221
1311
  *
1222
1312
  * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1223
- * * Not involving the image subject area
1313
+ * * Does not involve the image subject area
1224
1314
  *
1225
1315
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1226
1316
  *
@@ -1233,140 +1323,18 @@ export default class Client extends OpenApi {
1233
1323
  }
1234
1324
 
1235
1325
  /**
1236
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
1326
+ * Translates images using the Pro edition, which is designed specifically for e-commerce images. This product integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
1237
1327
  *
1238
1328
  * @remarks
1239
1329
  * ## Product Introduction
1240
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
1241
- * Supported language pairs:
1242
- * | **No.** | **Source Language** | | **Target Language** | |
1243
- * | --- | --- | --- | --- | --- |
1244
- * | | Language Code | Language Name | Language Code | Language Name |
1245
- * | 1 | en | English | ar | Arabic |
1246
- * | 2 | en | English | id | Indonesian |
1247
- * | 3 | en | English | th | Thai |
1248
- * | 4 | en | English | ko | Korean |
1249
- * | 5 | en | English | ja | Japanese |
1250
- * | 6 | en | English | vi | Vietnamese |
1251
- * | 7 | en | English | ru | Russian |
1252
- * | 8 | en | English | tl | Filipino |
1253
- * | 9 | en | English | es | Spanish |
1254
- * | 10 | en | English | fr | French |
1255
- * | 11 | en | English | de | German |
1256
- * | 12 | en | English | pl | Polish |.
1257
- * ## Common scenarios
1258
- * Main product images and detail images for cross-border e-commerce.
1259
- * ## Functions and features
1260
- * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
1261
- *
1262
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1263
- *
1264
- * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1265
- *
1266
- * @param request - ImageTranslationPlusRequest
1267
- * @param runtime - runtime options for this request RuntimeOptions
1268
- * @returns ImageTranslationPlusResponse
1269
- */
1270
- async imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse> {
1271
- request.validate();
1272
- let body : {[key: string ]: any} = { };
1273
- if (!$dara.isNull(request.glossary)) {
1274
- body["Glossary"] = request.glossary;
1275
- }
1276
-
1277
- if (!$dara.isNull(request.imageUrl)) {
1278
- body["ImageUrl"] = request.imageUrl;
1279
- }
1280
-
1281
- if (!$dara.isNull(request.includingProductArea)) {
1282
- body["IncludingProductArea"] = request.includingProductArea;
1283
- }
1284
-
1285
- if (!$dara.isNull(request.sourceLanguage)) {
1286
- body["SourceLanguage"] = request.sourceLanguage;
1287
- }
1288
-
1289
- if (!$dara.isNull(request.targetLanguage)) {
1290
- body["TargetLanguage"] = request.targetLanguage;
1291
- }
1292
-
1293
- if (!$dara.isNull(request.translatingBrandInTheProduct)) {
1294
- body["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
1295
- }
1296
-
1297
- if (!$dara.isNull(request.useImageEditor)) {
1298
- body["UseImageEditor"] = request.useImageEditor;
1299
- }
1300
-
1301
- let req = new $OpenApiUtil.OpenApiRequest({
1302
- body: OpenApiUtil.parseToMap(body),
1303
- });
1304
- let params = new $OpenApiUtil.Params({
1305
- action: "ImageTranslationPlus",
1306
- version: "2026-04-28",
1307
- protocol: "HTTPS",
1308
- pathname: "/",
1309
- method: "POST",
1310
- authType: "AK",
1311
- style: "RPC",
1312
- reqBodyType: "formData",
1313
- bodyType: "json",
1314
- });
1315
- return $dara.cast<$_model.ImageTranslationPlusResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
1316
- }
1317
-
1318
- /**
1319
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
1320
- *
1321
- * @remarks
1322
- * ## Product Introduction
1323
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
1324
- * Supported language pairs:
1325
- * | **No.** | **Source Language** | | **Target Language** | |
1326
- * | --- | --- | --- | --- | --- |
1327
- * | | Language Code | Language Name | Language Code | Language Name |
1328
- * | 1 | en | English | ar | Arabic |
1329
- * | 2 | en | English | id | Indonesian |
1330
- * | 3 | en | English | th | Thai |
1331
- * | 4 | en | English | ko | Korean |
1332
- * | 5 | en | English | ja | Japanese |
1333
- * | 6 | en | English | vi | Vietnamese |
1334
- * | 7 | en | English | ru | Russian |
1335
- * | 8 | en | English | tl | Filipino |
1336
- * | 9 | en | English | es | Spanish |
1337
- * | 10 | en | English | fr | French |
1338
- * | 11 | en | English | de | German |
1339
- * | 12 | en | English | pl | Polish |.
1340
- * ## Common scenarios
1341
- * Main product images and detail images for cross-border e-commerce.
1342
- * ## Functions and features
1343
- * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
1344
- *
1345
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1346
- *
1347
- * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1348
- *
1349
- * @param request - ImageTranslationPlusRequest
1350
- * @returns ImageTranslationPlusResponse
1351
- */
1352
- async imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse> {
1353
- let runtime = new $dara.RuntimeOptions({ });
1354
- return await this.imageTranslationPlusWithOptions(request, runtime);
1355
- }
1356
-
1357
- /**
1358
- * The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
1359
- *
1360
- * @remarks
1361
- * ## Product Introduction
1362
- * The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
1363
- * ## Applicable Scenarios
1364
- * E-commerce product images, marketing images, and images for various other scenarios
1330
+ * The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
1331
+ * ## Scenarios
1332
+ * E-commerce product images, marketing images, and images for various other scenarios.
1365
1333
  * ## Features
1366
- * - **Product Subject Information Protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded product names.
1367
- * - **Post-translation Secondary Editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrating with an image editor. The editor SDK package is not yet publicly available; please follow platform notifications.
1368
- * - **Brand Name Protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1369
- * - **Translation Intervention Support**: Allows customization of translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to achieve this, meeting your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. For additional needs, please contact the platform for assistance.
1334
+ * - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
1335
+ * - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
1336
+ * - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1337
+ * - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
1370
1338
  *
1371
1339
  * @param request - ImageTranslationProRequest
1372
1340
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1425,18 +1393,18 @@ export default class Client extends OpenApi {
1425
1393
  }
1426
1394
 
1427
1395
  /**
1428
- * The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
1396
+ * Translates images using the Pro edition, which is designed specifically for e-commerce images. This product integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
1429
1397
  *
1430
1398
  * @remarks
1431
1399
  * ## Product Introduction
1432
- * The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
1433
- * ## Applicable Scenarios
1434
- * E-commerce product images, marketing images, and images for various other scenarios
1400
+ * The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
1401
+ * ## Scenarios
1402
+ * E-commerce product images, marketing images, and images for various other scenarios.
1435
1403
  * ## Features
1436
- * - **Product Subject Information Protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded product names.
1437
- * - **Post-translation Secondary Editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrating with an image editor. The editor SDK package is not yet publicly available; please follow platform notifications.
1438
- * - **Brand Name Protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1439
- * - **Translation Intervention Support**: Allows customization of translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to achieve this, meeting your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. For additional needs, please contact the platform for assistance.
1404
+ * - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
1405
+ * - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
1406
+ * - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1407
+ * - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
1440
1408
  *
1441
1409
  * @param request - ImageTranslationProRequest
1442
1410
  * @returns ImageTranslationProResponse
@@ -1579,31 +1547,29 @@ export default class Client extends OpenApi {
1579
1547
  }
1580
1548
 
1581
1549
  /**
1582
- * 物料陈列检测
1550
+ * Material display detection is an intelligent compliance detection capability for in-store marketing materials built on multimodal large language models (MLLMs). It is designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as function card stands, posters, and door-shaped display stands, as well as long-tail materials such as light box fabrics, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and Chinese evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
1583
1551
  *
1584
1552
  * @remarks
1585
- * ## **适用场景**
1586
- * - **门店营销物料合规巡检**:自动判定门店内是否按总部下发的标准陈列指引摆放 / 张贴指定营销物料(功能台卡、海报、门型展架等),识别「未摆放、摆放错误、内容不符」等典型问题。
1587
- *
1588
- * - **新品 / 活动期素材落地核验**:新品发布或大促活动期间,对门店实拍图中的活动物料是否已按要求上架进行批量自动核验,替代人工抽检。
1589
- *
1590
- * - **双图比对与单图检测自适应**:同一接口同时支持「参考图 + 目标图」双图比对(模式 A)与「仅目标图」单图检测(模式 B),根据是否传入 `ImageRefer` 自动切换,调用方无需区分调用方式。
1553
+ * ## **Common scenarios**
1554
+ * - **In-store marketing material compliance inspection**: Automatically determines whether a store has placed or posted specified marketing materials (function card stands, posters, door-shaped display stands, etc.) according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placement fault," or "content mismatch."
1591
1555
  *
1592
- * ## **功能介绍**
1593
- * - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
1556
+ * - **New product or campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been listed as required for publishing, overriding manual spot checks.
1594
1557
  *
1595
- * - **MLLM 语义级理解 + 规则结构化协同**:采用多模态大模型完成物料识别、内容比对、文字 OCR 等语义级理解,配合规则清洗与结构化模型将自然语言规则拆解为可逐条判定的步骤(S1 / S2…),在保证准确率的同时兼顾规则灵活性与可追溯性。
1558
+ * - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode uses automatic switchover based on whether `ImageRefer` is provided. The caller does not need to differentiate between invocation methods.
1559
+ * ## **Features**
1560
+ * - **Multi-mode intelligent routing**: The service has built-in material type parsing capabilities. It automatically identifies the target material type from the `Rules` natural language text and routes the request to the corresponding detection pipeline. The caller only needs to provide image URLs and rule text. Four detection routing pipelines are currently supported: "function card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
1596
1561
  *
1597
- * - **结构化审核结论输出**:输出统一为 `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` 的结构,整体结论由各步骤逻辑 AND 得出,每条步骤独立可见,便于直接驱动下游业务系统并支持 case 级人审追溯。
1562
+ * - **MLLM semantic-level understanding + structured rule coordination**: A multimodal large language model performs semantic-level understanding tasks such as material recognition, content comparison, and text OCR. Combined with rule cleaning and a structuring model, natural language rules are broken down into individually evaluable steps (S1, S2, ...), ensuring both accuracy and rule flexibility with full traceability.
1598
1563
  *
1599
- * - **支持的输入格式**:当前支持公网可访问的图像 URL;支持单图(模式 B)与双图(模式 A)两种调用形态,输出结构完全一致。
1564
+ * - **Structured inspection conclusion output**: The output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logically ANDing all step results. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
1600
1565
  *
1601
- * ## **调用方式**
1602
- * - **同步调用**:单次请求即返回检测结果,无需轮询。响应为 `Code` / `Message` / `RequestId` / `Success` / `Data` 统一信封。
1566
+ * - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) call modes are supported, with an identical output structure.
1567
+ * ## **How to invoke**
1568
+ * - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
1603
1569
  *
1604
- * - **鉴权与签名**:经 Aidge 网关调用,鉴权、签名与公共参数遵循平台统一接入方式。具体请求路径以正式发布的接口文档为准。
1570
+ * - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
1605
1571
  *
1606
- * - **超时设置**:建议将请求超时设置为不低于接口的最长响应时间(具体值以正式发布为准)。
1572
+ * - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
1607
1573
  *
1608
1574
  * @param request - MaterialInspectionRequest
1609
1575
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1650,31 +1616,29 @@ export default class Client extends OpenApi {
1650
1616
  }
1651
1617
 
1652
1618
  /**
1653
- * 物料陈列检测
1619
+ * Material display detection is an intelligent compliance detection capability for in-store marketing materials built on multimodal large language models (MLLMs). It is designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as function card stands, posters, and door-shaped display stands, as well as long-tail materials such as light box fabrics, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and Chinese evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
1654
1620
  *
1655
1621
  * @remarks
1656
- * ## **适用场景**
1657
- * - **门店营销物料合规巡检**:自动判定门店内是否按总部下发的标准陈列指引摆放 / 张贴指定营销物料(功能台卡、海报、门型展架等),识别「未摆放、摆放错误、内容不符」等典型问题。
1658
- *
1659
- * - **新品 / 活动期素材落地核验**:新品发布或大促活动期间,对门店实拍图中的活动物料是否已按要求上架进行批量自动核验,替代人工抽检。
1660
- *
1661
- * - **双图比对与单图检测自适应**:同一接口同时支持「参考图 + 目标图」双图比对(模式 A)与「仅目标图」单图检测(模式 B),根据是否传入 `ImageRefer` 自动切换,调用方无需区分调用方式。
1622
+ * ## **Common scenarios**
1623
+ * - **In-store marketing material compliance inspection**: Automatically determines whether a store has placed or posted specified marketing materials (function card stands, posters, door-shaped display stands, etc.) according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placement fault," or "content mismatch."
1662
1624
  *
1663
- * ## **功能介绍**
1664
- * - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
1625
+ * - **New product or campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been listed as required for publishing, overriding manual spot checks.
1665
1626
  *
1666
- * - **MLLM 语义级理解 + 规则结构化协同**:采用多模态大模型完成物料识别、内容比对、文字 OCR 等语义级理解,配合规则清洗与结构化模型将自然语言规则拆解为可逐条判定的步骤(S1 / S2…),在保证准确率的同时兼顾规则灵活性与可追溯性。
1627
+ * - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode uses automatic switchover based on whether `ImageRefer` is provided. The caller does not need to differentiate between invocation methods.
1628
+ * ## **Features**
1629
+ * - **Multi-mode intelligent routing**: The service has built-in material type parsing capabilities. It automatically identifies the target material type from the `Rules` natural language text and routes the request to the corresponding detection pipeline. The caller only needs to provide image URLs and rule text. Four detection routing pipelines are currently supported: "function card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
1667
1630
  *
1668
- * - **结构化审核结论输出**:输出统一为 `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` 的结构,整体结论由各步骤逻辑 AND 得出,每条步骤独立可见,便于直接驱动下游业务系统并支持 case 级人审追溯。
1631
+ * - **MLLM semantic-level understanding + structured rule coordination**: A multimodal large language model performs semantic-level understanding tasks such as material recognition, content comparison, and text OCR. Combined with rule cleaning and a structuring model, natural language rules are broken down into individually evaluable steps (S1, S2, ...), ensuring both accuracy and rule flexibility with full traceability.
1669
1632
  *
1670
- * - **支持的输入格式**:当前支持公网可访问的图像 URL;支持单图(模式 B)与双图(模式 A)两种调用形态,输出结构完全一致。
1633
+ * - **Structured inspection conclusion output**: The output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logically ANDing all step results. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
1671
1634
  *
1672
- * ## **调用方式**
1673
- * - **同步调用**:单次请求即返回检测结果,无需轮询。响应为 `Code` / `Message` / `RequestId` / `Success` / `Data` 统一信封。
1635
+ * - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) call modes are supported, with an identical output structure.
1636
+ * ## **How to invoke**
1637
+ * - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
1674
1638
  *
1675
- * - **鉴权与签名**:经 Aidge 网关调用,鉴权、签名与公共参数遵循平台统一接入方式。具体请求路径以正式发布的接口文档为准。
1639
+ * - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
1676
1640
  *
1677
- * - **超时设置**:建议将请求超时设置为不低于接口的最长响应时间(具体值以正式发布为准)。
1641
+ * - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
1678
1642
  *
1679
1643
  * @param request - MaterialInspectionRequest
1680
1644
  * @returns MaterialInspectionResponse
@@ -2265,28 +2229,28 @@ export default class Client extends OpenApi {
2265
2229
  }
2266
2230
 
2267
2231
  /**
2268
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2232
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2269
2233
  *
2270
2234
  * @remarks
2271
2235
  * ## Product Introduction
2272
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2236
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2273
2237
  * ## Common scenarios
2274
- * - Product titles: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
2275
- * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2276
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
2277
- * - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
2278
- * Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2238
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
2239
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2240
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2241
+ * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2242
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2279
2243
  * ## Features
2280
- * - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
2281
- * - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2244
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
2245
+ * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2282
2246
  * - **Supported text format types** Currently supports text and html text types.
2283
- * - **Translation intervention** Supports custom translation results, including do-not-translate (ABCABC), specified translation (ABCDEF), and skip translation (ABCempty value). This is commonly used for brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2247
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
2284
2248
  * ## Translation quality comparison
2285
2249
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2286
2250
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2287
2251
  * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
2288
2252
  * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
2289
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The product is a "key bag" rather than a "keychain." Other translations may cause ambiguity about the product subject |.
2253
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain". Other translations may cause ambiguity about the product subject |
2290
2254
  *
2291
2255
  * @param tmpReq - TextTranslateRequest
2292
2256
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2301,6 +2265,10 @@ export default class Client extends OpenApi {
2301
2265
  }
2302
2266
 
2303
2267
  let body : {[key: string ]: any} = { };
2268
+ if (!$dara.isNull(request.bizName)) {
2269
+ body["BizName"] = request.bizName;
2270
+ }
2271
+
2304
2272
  if (!$dara.isNull(request.formatType)) {
2305
2273
  body["FormatType"] = request.formatType;
2306
2274
  }
@@ -2321,6 +2289,10 @@ export default class Client extends OpenApi {
2321
2289
  body["TargetLanguage"] = request.targetLanguage;
2322
2290
  }
2323
2291
 
2292
+ if (!$dara.isNull(request.translateScene)) {
2293
+ body["TranslateScene"] = request.translateScene;
2294
+ }
2295
+
2324
2296
  let req = new $OpenApiUtil.OpenApiRequest({
2325
2297
  body: OpenApiUtil.parseToMap(body),
2326
2298
  });
@@ -2339,28 +2311,28 @@ export default class Client extends OpenApi {
2339
2311
  }
2340
2312
 
2341
2313
  /**
2342
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2314
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2343
2315
  *
2344
2316
  * @remarks
2345
2317
  * ## Product Introduction
2346
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2318
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2347
2319
  * ## Common scenarios
2348
- * - Product titles: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
2349
- * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2350
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
2351
- * - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
2352
- * Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2320
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
2321
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2322
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2323
+ * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2324
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2353
2325
  * ## Features
2354
- * - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
2355
- * - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2326
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
2327
+ * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2356
2328
  * - **Supported text format types** Currently supports text and html text types.
2357
- * - **Translation intervention** Supports custom translation results, including do-not-translate (ABCABC), specified translation (ABCDEF), and skip translation (ABCempty value). This is commonly used for brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2329
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
2358
2330
  * ## Translation quality comparison
2359
2331
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2360
2332
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2361
2333
  * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
2362
2334
  * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
2363
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The product is a "key bag" rather than a "keychain." Other translations may cause ambiguity about the product subject |.
2335
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain". Other translations may cause ambiguity about the product subject |
2364
2336
  *
2365
2337
  * @param request - TextTranslateRequest
2366
2338
  * @returns TextTranslateResponse