@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/dist/client.js CHANGED
@@ -501,25 +501,24 @@ class Client extends openapi_core_1.default {
501
501
  return await this.categoryMatchWithOptions(request, runtime);
502
502
  }
503
503
  /**
504
- * 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.
505
- * The service excels in the following areas:
506
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
507
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
504
+ * 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:
505
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
506
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
508
507
  *
509
508
  * @remarks
510
509
  * ## Product Introduction
511
- * 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.
512
- * The service excels in the following areas:
513
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
514
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
510
+ * 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.
511
+ * Excels in the following areas:
512
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
513
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
515
514
  * ## Common scenarios
516
515
  * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
517
516
  * 3. Features
518
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
519
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
517
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
518
+ * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
520
519
  * - Supports high-fidelity layout preservation after translation.
521
- * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
522
- * - 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.
520
+ * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
521
+ * - 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.
523
522
  *
524
523
  * @param request - DocumentTranslateRequest
525
524
  * @param runtime - runtime options for this request RuntimeOptions
@@ -557,25 +556,24 @@ class Client extends openapi_core_1.default {
557
556
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DocumentTranslateResponse({}));
558
557
  }
559
558
  /**
560
- * 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.
561
- * The service excels in the following areas:
562
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
563
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
559
+ * 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:
560
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
561
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
564
562
  *
565
563
  * @remarks
566
564
  * ## Product Introduction
567
- * 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.
568
- * The service excels in the following areas:
569
- * - Content accuracy: translation accuracy, parameter and unit accuracy.
570
- * - Structural integrity: overall layout continuity, page margin and layout preservation.
565
+ * 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.
566
+ * Excels in the following areas:
567
+ * - Content accuracy: translation accuracy, parameter and unit accuracy
568
+ * - Structural integrity: overall layout continuity, page margin and layout preservation
571
569
  * ## Common scenarios
572
570
  * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
573
571
  * 3. Features
574
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
575
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
572
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
573
+ * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
576
574
  * - Supports high-fidelity layout preservation after translation.
577
- * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
578
- * - 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.
575
+ * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
576
+ * - 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.
579
577
  *
580
578
  * @param request - DocumentTranslateRequest
581
579
  * @returns DocumentTranslateResponse
@@ -670,32 +668,32 @@ class Client extends openapi_core_1.default {
670
668
  return await this.imageCroppingWithOptions(request, runtime);
671
669
  }
672
670
  /**
673
- * 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).
671
+ * 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)
674
672
  *
675
673
  * @remarks
676
674
  * ## Product Introduction
677
- * 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).
675
+ * 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)
678
676
  * ## Scenarios
679
677
  * * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
680
678
  *
681
679
  * * **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.
682
680
  * ## Features.
683
681
  * #### 1. One-click precise subject recognition
684
- * * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
682
+ * * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
685
683
  *
686
684
  * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
687
685
  * #### 2. Intelligent edge optimization
688
- * * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
686
+ * * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
689
687
  * #### 3. Multi-format output and background operations
690
688
  * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
691
689
  *
692
- * * **Custom background color support**.
690
+ * * **Custom background color support**
693
691
  * ## Effect comparison
694
692
  * | **Original image (input)** | **Result image (output)** |
695
693
  * | --- | --- |
696
694
  * | ![主图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) |
697
695
  * | ![主图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) |
698
- * | ![主图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) |.
696
+ * | ![主图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) |
699
697
  *
700
698
  * @param request - ImageMattingRequest
701
699
  * @param runtime - runtime options for this request RuntimeOptions
@@ -736,32 +734,32 @@ class Client extends openapi_core_1.default {
736
734
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageMattingResponse({}));
737
735
  }
738
736
  /**
739
- * 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).
737
+ * 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)
740
738
  *
741
739
  * @remarks
742
740
  * ## Product Introduction
743
- * 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).
741
+ * 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)
744
742
  * ## Scenarios
745
743
  * * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
746
744
  *
747
745
  * * **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.
748
746
  * ## Features.
749
747
  * #### 1. One-click precise subject recognition
750
- * * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
748
+ * * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
751
749
  *
752
750
  * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
753
751
  * #### 2. Intelligent edge optimization
754
- * * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
752
+ * * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
755
753
  * #### 3. Multi-format output and background operations
756
754
  * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
757
755
  *
758
- * * **Custom background color support**.
756
+ * * **Custom background color support**
759
757
  * ## Effect comparison
760
758
  * | **Original image (input)** | **Result image (output)** |
761
759
  * | --- | --- |
762
760
  * | ![主图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) |
763
761
  * | ![主图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) |
764
- * | ![主图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) |.
762
+ * | ![主图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) |
765
763
  *
766
764
  * @param request - ImageMattingRequest
767
765
  * @returns ImageMattingResponse
@@ -975,80 +973,169 @@ class Client extends openapi_core_1.default {
975
973
  return await this.imageRecognitionWithOptions(request, runtime);
976
974
  }
977
975
  /**
978
- * 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)
976
+ * 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).
979
977
  *
980
978
  * @remarks
981
- * ## Product Overview
982
- * 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)
983
- * ## Use Cases
984
- * * **Efficient E-commerce Image Processing:**
979
+ * ## Product introduction
980
+ * 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)
981
+ * ## Common scenarios
982
+ * * **Efficient e-commerce image processing:**
985
983
  *
986
- * Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
987
- * * **Multi-platform Product Information Synchronization:**
984
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
985
+ * * **Multi-platform product information synchronization:**
988
986
  *
989
- * 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.
990
- * * **Marketing Material Preparation:**
987
+ * 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.
988
+ * ## Features
989
+ * 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.
991
990
  *
992
- * Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
993
- * > 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."
994
- * ## Feature Introduction
995
- * 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.
991
+ * 1. Image subject: the core product area in the image.
992
+ *
993
+ * 2. Image background: the remaining part of the image other than the product subject.
994
+ *
995
+ * 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:
996
+ * ## Effect comparison
997
+ * | **Original image** | **Image after removal** |
998
+ * | --- | --- |
999
+ * | ![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) |
1000
+ * | ![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) |
996
1001
  *
997
- * 1. Image subject: The core product area in the image
1002
+ * @param request - ImageRemovalProRequest
1003
+ * @param runtime - runtime options for this request RuntimeOptions
1004
+ * @returns ImageRemovalProResponse
1005
+ */
1006
+ async imageRemovalProWithOptions(request, runtime) {
1007
+ request.validate();
1008
+ let query = {};
1009
+ if (!$dara.isNull(request.async)) {
1010
+ query["Async"] = request.async;
1011
+ }
1012
+ if (!$dara.isNull(request.imageUrl)) {
1013
+ query["ImageUrl"] = request.imageUrl;
1014
+ }
1015
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1016
+ query: openapi_core_2.OpenApiUtil.query(query),
1017
+ });
1018
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1019
+ action: "ImageRemovalPro",
1020
+ version: "2026-04-28",
1021
+ protocol: "HTTPS",
1022
+ pathname: "/",
1023
+ method: "POST",
1024
+ authType: "AK",
1025
+ style: "RPC",
1026
+ reqBodyType: "formData",
1027
+ bodyType: "json",
1028
+ });
1029
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemovalProResponse({}));
1030
+ }
1031
+ /**
1032
+ * 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).
998
1033
  *
999
- * 2. Image background: The remaining portion of the image apart from the product subject
1034
+ * @remarks
1035
+ * ## Product introduction
1036
+ * 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)
1037
+ * ## Common scenarios
1038
+ * * **Efficient e-commerce image processing:**
1000
1039
  *
1001
- * 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:
1040
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1041
+ * * **Multi-platform product information synchronization:**
1002
1042
  *
1003
- * ## Effect Comparison
1004
- * | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
1043
+ * 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.
1044
+ * ## Features
1045
+ * 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.
1046
+ *
1047
+ * 1. Image subject: the core product area in the image.
1048
+ *
1049
+ * 2. Image background: the remaining part of the image other than the product subject.
1050
+ *
1051
+ * 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:
1052
+ * ## Effect comparison
1053
+ * | **Original image** | **Image after removal** |
1054
+ * | --- | --- |
1055
+ * | ![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) |
1056
+ * | ![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) |
1057
+ *
1058
+ * @param request - ImageRemovalProRequest
1059
+ * @returns ImageRemovalProResponse
1060
+ */
1061
+ async imageRemovalPro(request) {
1062
+ let runtime = new $dara.RuntimeOptions({});
1063
+ return await this.imageRemovalProWithOptions(request, runtime);
1064
+ }
1065
+ /**
1066
+ * 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)
1067
+ *
1068
+ * @remarks
1069
+ * ## Product Introduction
1070
+ * 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)
1071
+ * ## Scenarios
1072
+ * * **Efficient e-commerce image processing:**
1073
+ *
1074
+ * Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
1075
+ * * **Multi-platform product information synchronization:**
1076
+ *
1077
+ * 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.
1078
+ * * **Marketing material preparation:**
1079
+ *
1080
+ * Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
1081
+ * > 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.
1082
+ * ## Features
1083
+ * 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.
1084
+ *
1085
+ * 1. Image subject: The core product area in the image.
1086
+ *
1087
+ * 2. Image background: The remaining portion of the image outside the product subject.
1088
+ *
1089
+ * 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:
1090
+ * ## Effect comparison
1091
+ * | **Erasable objects in images** | **Original image** | **Image after erasure** |
1005
1092
  * | --- | --- | --- |
1006
- * | Text | * Involving the image subject area
1093
+ * | Text | * Involves the image subject area
1007
1094
  *
1008
1095
  * ![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)
1009
1096
  *
1010
- * * Not involving the image subject area
1097
+ * * Does not involve the image subject area
1011
1098
  *
1012
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involving the image subject area
1099
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1013
1100
  *
1014
1101
  * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1015
- * * Not involving the image subject area
1102
+ * * Does not involve the image subject area
1016
1103
  *
1017
1104
  * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1018
- * | Specific Names | * Involving the image subject area
1105
+ * | Specific names | * Involves the image subject area
1019
1106
  *
1020
1107
  * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1021
1108
  *
1022
- * * Not involving the image subject area
1109
+ * * Does not involve the image subject area
1023
1110
  *
1024
- * ![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
1111
+ * ![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
1025
1112
  *
1026
1113
  * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1027
- * * Not involving the image subject area
1114
+ * * Does not involve the image subject area
1028
1115
  *
1029
1116
  * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1030
- * | Transparent Text Blocks | * Involving the image subject area
1117
+ * | Transparent text blocks | * Involves the image subject area
1031
1118
  *
1032
1119
  * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1033
1120
  *
1034
- * * Not involving the image subject area
1121
+ * * Does not involve the image subject area
1035
1122
  *
1036
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involving the image subject area
1123
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1037
1124
  *
1038
1125
  * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1039
- * * Not involving the image subject area
1126
+ * * Does not involve the image subject area
1040
1127
  *
1041
1128
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1042
- * | Blemishes | * Involving the image subject area
1129
+ * | Image blemishes | * Involves the image subject area
1043
1130
  *
1044
1131
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1045
1132
  *
1046
- * * Not involving the image subject area
1133
+ * * Does not involve the image subject area
1047
1134
  *
1048
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involving the image subject area
1135
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1049
1136
  *
1050
1137
  * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1051
- * * Not involving the image subject area
1138
+ * * Does not involve the image subject area
1052
1139
  *
1053
1140
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1054
1141
  *
@@ -1096,80 +1183,79 @@ class Client extends openapi_core_1.default {
1096
1183
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveResponse({}));
1097
1184
  }
1098
1185
  /**
1099
- * 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)
1186
+ * 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)
1100
1187
  *
1101
1188
  * @remarks
1102
- * ## Product Overview
1103
- * 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)
1104
- * ## Use Cases
1105
- * * **Efficient E-commerce Image Processing:**
1106
- *
1107
- * Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
1108
- * * **Multi-platform Product Information Synchronization:**
1189
+ * ## Product Introduction
1190
+ * 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)
1191
+ * ## Scenarios
1192
+ * * **Efficient e-commerce image processing:**
1109
1193
  *
1110
- * 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.
1111
- * * **Marketing Material Preparation:**
1194
+ * Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
1195
+ * * **Multi-platform product information synchronization:**
1112
1196
  *
1113
- * Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
1114
- * > 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."
1115
- * ## Feature Introduction
1116
- * 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.
1197
+ * 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.
1198
+ * * **Marketing material preparation:**
1117
1199
  *
1118
- * 1. Image subject: The core product area in the image
1200
+ * Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
1201
+ * > 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.
1202
+ * ## Features
1203
+ * 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.
1119
1204
  *
1120
- * 2. Image background: The remaining portion of the image apart from the product subject
1205
+ * 1. Image subject: The core product area in the image.
1121
1206
  *
1122
- * 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:
1207
+ * 2. Image background: The remaining portion of the image outside the product subject.
1123
1208
  *
1124
- * ## Effect Comparison
1125
- * | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
1209
+ * 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:
1210
+ * ## Effect comparison
1211
+ * | **Erasable objects in images** | **Original image** | **Image after erasure** |
1126
1212
  * | --- | --- | --- |
1127
- * | Text | * Involving the image subject area
1213
+ * | Text | * Involves the image subject area
1128
1214
  *
1129
1215
  * ![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)
1130
1216
  *
1131
- * * Not involving the image subject area
1217
+ * * Does not involve the image subject area
1132
1218
  *
1133
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involving the image subject area
1219
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1134
1220
  *
1135
1221
  * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1136
- * * Not involving the image subject area
1222
+ * * Does not involve the image subject area
1137
1223
  *
1138
1224
  * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1139
- * | Specific Names | * Involving the image subject area
1225
+ * | Specific names | * Involves the image subject area
1140
1226
  *
1141
1227
  * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1142
1228
  *
1143
- * * Not involving the image subject area
1229
+ * * Does not involve the image subject area
1144
1230
  *
1145
- * ![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
1231
+ * ![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
1146
1232
  *
1147
1233
  * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1148
- * * Not involving the image subject area
1234
+ * * Does not involve the image subject area
1149
1235
  *
1150
1236
  * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1151
- * | Transparent Text Blocks | * Involving the image subject area
1237
+ * | Transparent text blocks | * Involves the image subject area
1152
1238
  *
1153
1239
  * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1154
1240
  *
1155
- * * Not involving the image subject area
1241
+ * * Does not involve the image subject area
1156
1242
  *
1157
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involving the image subject area
1243
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1158
1244
  *
1159
1245
  * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1160
- * * Not involving the image subject area
1246
+ * * Does not involve the image subject area
1161
1247
  *
1162
1248
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1163
- * | Blemishes | * Involving the image subject area
1249
+ * | Image blemishes | * Involves the image subject area
1164
1250
  *
1165
1251
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1166
1252
  *
1167
- * * Not involving the image subject area
1253
+ * * Does not involve the image subject area
1168
1254
  *
1169
- * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involving the image subject area
1255
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1170
1256
  *
1171
1257
  * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1172
- * * Not involving the image subject area
1258
+ * * Does not involve the image subject area
1173
1259
  *
1174
1260
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1175
1261
  *
@@ -1181,131 +1267,18 @@ class Client extends openapi_core_1.default {
1181
1267
  return await this.imageRemoveWithOptions(request, runtime);
1182
1268
  }
1183
1269
  /**
1184
- * 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.
1185
- *
1186
- * @remarks
1187
- * ## Product Introduction
1188
- * 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.
1189
- * Supported language pairs:
1190
- * | **No.** | **Source Language** | | **Target Language** | |
1191
- * | --- | --- | --- | --- | --- |
1192
- * | | Language Code | Language Name | Language Code | Language Name |
1193
- * | 1 | en | English | ar | Arabic |
1194
- * | 2 | en | English | id | Indonesian |
1195
- * | 3 | en | English | th | Thai |
1196
- * | 4 | en | English | ko | Korean |
1197
- * | 5 | en | English | ja | Japanese |
1198
- * | 6 | en | English | vi | Vietnamese |
1199
- * | 7 | en | English | ru | Russian |
1200
- * | 8 | en | English | tl | Filipino |
1201
- * | 9 | en | English | es | Spanish |
1202
- * | 10 | en | English | fr | French |
1203
- * | 11 | en | English | de | German |
1204
- * | 12 | en | English | pl | Polish |.
1205
- * ## Common scenarios
1206
- * Main product images and detail images for cross-border e-commerce.
1207
- * ## Functions and features
1208
- * * **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.
1209
- *
1210
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1211
- *
1212
- * * **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.
1213
- *
1214
- * @param request - ImageTranslationPlusRequest
1215
- * @param runtime - runtime options for this request RuntimeOptions
1216
- * @returns ImageTranslationPlusResponse
1217
- */
1218
- async imageTranslationPlusWithOptions(request, runtime) {
1219
- request.validate();
1220
- let body = {};
1221
- if (!$dara.isNull(request.glossary)) {
1222
- body["Glossary"] = request.glossary;
1223
- }
1224
- if (!$dara.isNull(request.imageUrl)) {
1225
- body["ImageUrl"] = request.imageUrl;
1226
- }
1227
- if (!$dara.isNull(request.includingProductArea)) {
1228
- body["IncludingProductArea"] = request.includingProductArea;
1229
- }
1230
- if (!$dara.isNull(request.sourceLanguage)) {
1231
- body["SourceLanguage"] = request.sourceLanguage;
1232
- }
1233
- if (!$dara.isNull(request.targetLanguage)) {
1234
- body["TargetLanguage"] = request.targetLanguage;
1235
- }
1236
- if (!$dara.isNull(request.translatingBrandInTheProduct)) {
1237
- body["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
1238
- }
1239
- if (!$dara.isNull(request.useImageEditor)) {
1240
- body["UseImageEditor"] = request.useImageEditor;
1241
- }
1242
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1243
- body: openapi_core_2.OpenApiUtil.parseToMap(body),
1244
- });
1245
- let params = new openapi_core_2.$OpenApiUtil.Params({
1246
- action: "ImageTranslationPlus",
1247
- version: "2026-04-28",
1248
- protocol: "HTTPS",
1249
- pathname: "/",
1250
- method: "POST",
1251
- authType: "AK",
1252
- style: "RPC",
1253
- reqBodyType: "formData",
1254
- bodyType: "json",
1255
- });
1256
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
1257
- }
1258
- /**
1259
- * 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.
1270
+ * 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).
1260
1271
  *
1261
1272
  * @remarks
1262
1273
  * ## Product Introduction
1263
- * 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.
1264
- * Supported language pairs:
1265
- * | **No.** | **Source Language** | | **Target Language** | |
1266
- * | --- | --- | --- | --- | --- |
1267
- * | | Language Code | Language Name | Language Code | Language Name |
1268
- * | 1 | en | English | ar | Arabic |
1269
- * | 2 | en | English | id | Indonesian |
1270
- * | 3 | en | English | th | Thai |
1271
- * | 4 | en | English | ko | Korean |
1272
- * | 5 | en | English | ja | Japanese |
1273
- * | 6 | en | English | vi | Vietnamese |
1274
- * | 7 | en | English | ru | Russian |
1275
- * | 8 | en | English | tl | Filipino |
1276
- * | 9 | en | English | es | Spanish |
1277
- * | 10 | en | English | fr | French |
1278
- * | 11 | en | English | de | German |
1279
- * | 12 | en | English | pl | Polish |.
1280
- * ## Common scenarios
1281
- * Main product images and detail images for cross-border e-commerce.
1282
- * ## Functions and features
1283
- * * **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.
1284
- *
1285
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1286
- *
1287
- * * **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.
1288
- *
1289
- * @param request - ImageTranslationPlusRequest
1290
- * @returns ImageTranslationPlusResponse
1291
- */
1292
- async imageTranslationPlus(request) {
1293
- let runtime = new $dara.RuntimeOptions({});
1294
- return await this.imageTranslationPlusWithOptions(request, runtime);
1295
- }
1296
- /**
1297
- * 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).
1298
- *
1299
- * @remarks
1300
- * ## Product Introduction
1301
- * 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).
1302
- * ## Applicable Scenarios
1303
- * E-commerce product images, marketing images, and images for various other scenarios
1274
+ * 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).
1275
+ * ## Scenarios
1276
+ * E-commerce product images, marketing images, and images for various other scenarios.
1304
1277
  * ## Features
1305
- * - **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.
1306
- * - **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.
1307
- * - **Brand Name Protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1308
- * - **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.
1278
+ * - **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.
1279
+ * - **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.
1280
+ * - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1281
+ * - **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.
1309
1282
  *
1310
1283
  * @param request - ImageTranslationProRequest
1311
1284
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1355,18 +1328,18 @@ class Client extends openapi_core_1.default {
1355
1328
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
1356
1329
  }
1357
1330
  /**
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).
1331
+ * 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).
1359
1332
  *
1360
1333
  * @remarks
1361
1334
  * ## 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
1335
+ * 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).
1336
+ * ## Scenarios
1337
+ * E-commerce product images, marketing images, and images for various other scenarios.
1365
1338
  * ## 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.
1339
+ * - **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.
1340
+ * - **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.
1341
+ * - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
1342
+ * - **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
1343
  *
1371
1344
  * @param request - ImageTranslationProRequest
1372
1345
  * @returns ImageTranslationProResponse
@@ -1497,31 +1470,29 @@ class Client extends openapi_core_1.default {
1497
1470
  return await this.languageDetectWithOptions(request, runtime);
1498
1471
  }
1499
1472
  /**
1500
- * 物料陈列检测
1473
+ * 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.
1501
1474
  *
1502
1475
  * @remarks
1503
- * ## **适用场景**
1504
- * - **门店营销物料合规巡检**:自动判定门店内是否按总部下发的标准陈列指引摆放 / 张贴指定营销物料(功能台卡、海报、门型展架等),识别「未摆放、摆放错误、内容不符」等典型问题。
1505
- *
1506
- * - **新品 / 活动期素材落地核验**:新品发布或大促活动期间,对门店实拍图中的活动物料是否已按要求上架进行批量自动核验,替代人工抽检。
1507
- *
1508
- * - **双图比对与单图检测自适应**:同一接口同时支持「参考图 + 目标图」双图比对(模式 A)与「仅目标图」单图检测(模式 B),根据是否传入 `ImageRefer` 自动切换,调用方无需区分调用方式。
1476
+ * ## **Common scenarios**
1477
+ * - **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."
1509
1478
  *
1510
- * ## **功能介绍**
1511
- * - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
1479
+ * - **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.
1512
1480
  *
1513
- * - **MLLM 语义级理解 + 规则结构化协同**:采用多模态大模型完成物料识别、内容比对、文字 OCR 等语义级理解,配合规则清洗与结构化模型将自然语言规则拆解为可逐条判定的步骤(S1 / S2…),在保证准确率的同时兼顾规则灵活性与可追溯性。
1481
+ * - **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.
1482
+ * ## **Features**
1483
+ * - **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.
1514
1484
  *
1515
- * - **结构化审核结论输出**:输出统一为 `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` 的结构,整体结论由各步骤逻辑 AND 得出,每条步骤独立可见,便于直接驱动下游业务系统并支持 case 级人审追溯。
1485
+ * - **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.
1516
1486
  *
1517
- * - **支持的输入格式**:当前支持公网可访问的图像 URL;支持单图(模式 B)与双图(模式 A)两种调用形态,输出结构完全一致。
1487
+ * - **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.
1518
1488
  *
1519
- * ## **调用方式**
1520
- * - **同步调用**:单次请求即返回检测结果,无需轮询。响应为 `Code` / `Message` / `RequestId` / `Success` / `Data` 统一信封。
1489
+ * - **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.
1490
+ * ## **How to invoke**
1491
+ * - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
1521
1492
  *
1522
- * - **鉴权与签名**:经 Aidge 网关调用,鉴权、签名与公共参数遵循平台统一接入方式。具体请求路径以正式发布的接口文档为准。
1493
+ * - **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.
1523
1494
  *
1524
- * - **超时设置**:建议将请求超时设置为不低于接口的最长响应时间(具体值以正式发布为准)。
1495
+ * - **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).
1525
1496
  *
1526
1497
  * @param request - MaterialInspectionRequest
1527
1498
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1562,31 +1533,29 @@ class Client extends openapi_core_1.default {
1562
1533
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.MaterialInspectionResponse({}));
1563
1534
  }
1564
1535
  /**
1565
- * 物料陈列检测
1536
+ * 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.
1566
1537
  *
1567
1538
  * @remarks
1568
- * ## **适用场景**
1569
- * - **门店营销物料合规巡检**:自动判定门店内是否按总部下发的标准陈列指引摆放 / 张贴指定营销物料(功能台卡、海报、门型展架等),识别「未摆放、摆放错误、内容不符」等典型问题。
1539
+ * ## **Common scenarios**
1540
+ * - **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."
1570
1541
  *
1571
- * - **新品 / 活动期素材落地核验**:新品发布或大促活动期间,对门店实拍图中的活动物料是否已按要求上架进行批量自动核验,替代人工抽检。
1542
+ * - **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.
1572
1543
  *
1573
- * - **双图比对与单图检测自适应**:同一接口同时支持「参考图 + 目标图」双图比对(模式 A)与「仅目标图」单图检测(模式 B),根据是否传入 `ImageRefer` 自动切换,调用方无需区分调用方式。
1544
+ * - **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.
1545
+ * ## **Features**
1546
+ * - **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.
1574
1547
  *
1575
- * ## **功能介绍**
1576
- * - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
1548
+ * - **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.
1577
1549
  *
1578
- * - **MLLM 语义级理解 + 规则结构化协同**:采用多模态大模型完成物料识别、内容比对、文字 OCR 等语义级理解,配合规则清洗与结构化模型将自然语言规则拆解为可逐条判定的步骤(S1 / S2…),在保证准确率的同时兼顾规则灵活性与可追溯性。
1550
+ * - **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.
1579
1551
  *
1580
- * - **结构化审核结论输出**:输出统一为 `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` 的结构,整体结论由各步骤逻辑 AND 得出,每条步骤独立可见,便于直接驱动下游业务系统并支持 case 级人审追溯。
1552
+ * - **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.
1553
+ * ## **How to invoke**
1554
+ * - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
1581
1555
  *
1582
- * - **支持的输入格式**:当前支持公网可访问的图像 URL;支持单图(模式 B)与双图(模式 A)两种调用形态,输出结构完全一致。
1556
+ * - **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.
1583
1557
  *
1584
- * ## **调用方式**
1585
- * - **同步调用**:单次请求即返回检测结果,无需轮询。响应为 `Code` / `Message` / `RequestId` / `Success` / `Data` 统一信封。
1586
- *
1587
- * - **鉴权与签名**:经 Aidge 网关调用,鉴权、签名与公共参数遵循平台统一接入方式。具体请求路径以正式发布的接口文档为准。
1588
- *
1589
- * - **超时设置**:建议将请求超时设置为不低于接口的最长响应时间(具体值以正式发布为准)。
1558
+ * - **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).
1590
1559
  *
1591
1560
  * @param request - MaterialInspectionRequest
1592
1561
  * @returns MaterialInspectionResponse
@@ -2155,28 +2124,28 @@ class Client extends openapi_core_1.default {
2155
2124
  return await this.textCorrectWithOptions(request, runtime);
2156
2125
  }
2157
2126
  /**
2158
- * 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.
2127
+ * 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.
2159
2128
  *
2160
2129
  * @remarks
2161
2130
  * ## Product Introduction
2162
- * 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.
2131
+ * 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.
2163
2132
  * ## Common scenarios
2164
- * - 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.
2165
- * - 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.
2166
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
2167
- * - 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.
2168
- * Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2133
+ * - 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.
2134
+ * - 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.
2135
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2136
+ * - 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.
2137
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2169
2138
  * ## Features
2170
- * - **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.
2171
- * - **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.
2139
+ * - **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.
2140
+ * - **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.
2172
2141
  * - **Supported text format types** Currently supports text and html text types.
2173
- * - **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.
2142
+ * - **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.
2174
2143
  * ## Translation quality comparison
2175
2144
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2176
2145
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2177
2146
  * | 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 |
2178
2147
  * | 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 |
2179
- * | 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 |.
2148
+ * | 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 |
2180
2149
  *
2181
2150
  * @param tmpReq - TextTranslateRequest
2182
2151
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2190,6 +2159,9 @@ class Client extends openapi_core_1.default {
2190
2159
  request.sourceTextListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceTextList, "SourceTextList", "json");
2191
2160
  }
2192
2161
  let body = {};
2162
+ if (!$dara.isNull(request.bizName)) {
2163
+ body["BizName"] = request.bizName;
2164
+ }
2193
2165
  if (!$dara.isNull(request.formatType)) {
2194
2166
  body["FormatType"] = request.formatType;
2195
2167
  }
@@ -2205,6 +2177,9 @@ class Client extends openapi_core_1.default {
2205
2177
  if (!$dara.isNull(request.targetLanguage)) {
2206
2178
  body["TargetLanguage"] = request.targetLanguage;
2207
2179
  }
2180
+ if (!$dara.isNull(request.translateScene)) {
2181
+ body["TranslateScene"] = request.translateScene;
2182
+ }
2208
2183
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2209
2184
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2210
2185
  });
@@ -2222,28 +2197,28 @@ class Client extends openapi_core_1.default {
2222
2197
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextTranslateResponse({}));
2223
2198
  }
2224
2199
  /**
2225
- * 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.
2200
+ * 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.
2226
2201
  *
2227
2202
  * @remarks
2228
2203
  * ## Product Introduction
2229
- * 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.
2204
+ * 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.
2230
2205
  * ## Common scenarios
2231
- * - 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.
2232
- * - 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.
2233
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
2234
- * - 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.
2235
- * Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2206
+ * - 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.
2207
+ * - 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.
2208
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2209
+ * - 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.
2210
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2236
2211
  * ## Features
2237
- * - **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.
2238
- * - **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.
2212
+ * - **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.
2213
+ * - **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.
2239
2214
  * - **Supported text format types** Currently supports text and html text types.
2240
- * - **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.
2215
+ * - **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.
2241
2216
  * ## Translation quality comparison
2242
2217
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2243
2218
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2244
2219
  * | 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 |
2245
2220
  * | 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 |
2246
- * | 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 |.
2221
+ * | 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 |
2247
2222
  *
2248
2223
  * @param request - TextTranslateRequest
2249
2224
  * @returns TextTranslateResponse