@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.
- package/dist/client.d.ts +230 -246
- package/dist/client.js +263 -288
- package/dist/client.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +3 -3
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -5
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +7 -7
- package/dist/models/ImageMattingResponseBody.d.ts +2 -2
- package/dist/models/ImageRemovalProRequest.d.ts +35 -0
- package/dist/models/{ImageTranslationPlusRequest.js → ImageRemovalProRequest.js} +6 -16
- package/dist/models/ImageRemovalProRequest.js.map +1 -0
- package/dist/models/{ImageTranslationPlusResponse.d.ts → ImageRemovalProResponse.d.ts} +3 -3
- package/dist/models/{ImageTranslationPlusResponse.js → ImageRemovalProResponse.js} +6 -6
- package/dist/models/ImageRemovalProResponse.js.map +1 -0
- package/dist/models/{ImageTranslationPlusResponseBody.d.ts → ImageRemovalProResponseBody.d.ts} +21 -6
- package/dist/models/{ImageTranslationPlusResponseBody.js → ImageRemovalProResponseBody.js} +14 -7
- package/dist/models/ImageRemovalProResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveRequest.d.ts +15 -5
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveResponseBody.d.ts +8 -8
- package/dist/models/ImageRemoveShrinkRequest.d.ts +15 -5
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +11 -7
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +55 -55
- package/dist/models/MaterialInspectionRequest.d.ts +14 -0
- package/dist/models/MaterialInspectionRequest.js.map +1 -1
- package/dist/models/MaterialInspectionResponseBody.d.ts +45 -0
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/TextTranslateRequest.d.ts +15 -5
- package/dist/models/TextTranslateRequest.js +4 -0
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +7 -7
- package/dist/models/TextTranslateShrinkRequest.d.ts +15 -5
- package/dist/models/TextTranslateShrinkRequest.js +4 -0
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -4
- package/dist/models/model.js +10 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +269 -297
- package/src/models/DocumentTranslateRequest.ts +3 -3
- package/src/models/DocumentTranslateResponseBody.ts +3 -5
- package/src/models/ImageMattingRequest.ts +7 -7
- package/src/models/ImageMattingResponseBody.ts +2 -2
- package/src/models/ImageRemovalProRequest.ts +50 -0
- package/src/models/{ImageTranslationPlusResponse.ts → ImageRemovalProResponse.ts} +4 -4
- package/src/models/{ImageTranslationPlusResponseBody.ts → ImageRemovalProResponseBody.ts} +27 -7
- package/src/models/ImageRemoveRequest.ts +15 -5
- package/src/models/ImageRemoveResponseBody.ts +8 -8
- package/src/models/ImageRemoveShrinkRequest.ts +15 -5
- package/src/models/ImageTranslationProRequest.ts +11 -7
- package/src/models/ImageTranslationProResponseBody.ts +55 -55
- package/src/models/MaterialInspectionRequest.ts +14 -0
- package/src/models/MaterialInspectionResponseBody.ts +45 -0
- package/src/models/TextTranslateRequest.ts +19 -5
- package/src/models/TextTranslateResponseBody.ts +7 -7
- package/src/models/TextTranslateShrinkRequest.ts +19 -5
- package/src/models/model.ts +4 -4
- package/dist/models/ImageTranslationPlusRequest.d.ts +0 -75
- package/dist/models/ImageTranslationPlusRequest.js.map +0 -1
- package/dist/models/ImageTranslationPlusResponse.js.map +0 -1
- package/dist/models/ImageTranslationPlusResponseBody.js.map +0 -1
- 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
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* -
|
|
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),
|
|
512
|
-
*
|
|
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
|
|
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
|
|
522
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
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
|
-
*
|
|
561
|
-
*
|
|
562
|
-
* -
|
|
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),
|
|
568
|
-
*
|
|
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
|
|
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
|
|
578
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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,
|
|
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
|
|
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
|
* |  |  |
|
|
697
695
|
* |  |  |
|
|
698
|
-
* |  | 
|
|
696
|
+
* |  |  |
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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,
|
|
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
|
|
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
|
* |  |  |
|
|
763
761
|
* |  |  |
|
|
764
|
-
* |  | 
|
|
762
|
+
* |  |  |
|
|
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
|
-
*
|
|
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
|
|
982
|
-
* The
|
|
983
|
-
* ##
|
|
984
|
-
* * **Efficient
|
|
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
|
|
987
|
-
* * **Multi-platform
|
|
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
|
|
990
|
-
*
|
|
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
|
-
*
|
|
993
|
-
*
|
|
994
|
-
*
|
|
995
|
-
*
|
|
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
|
+
* |  |  |
|
|
1000
|
+
* |  |  |
|
|
996
1001
|
*
|
|
997
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
1004
|
-
*
|
|
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
|
+
* |  |  |
|
|
1056
|
+
* |  |  |
|
|
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 | *
|
|
1093
|
+
* | Text | * Involves the image subject area
|
|
1007
1094
|
*
|
|
1008
1095
|
* 
|
|
1009
1096
|
*
|
|
1010
|
-
* *
|
|
1097
|
+
* * Does not involve the image subject area
|
|
1011
1098
|
*
|
|
1012
|
-
*  | *
|
|
1099
|
+
*  | * Involves the image subject area
|
|
1013
1100
|
*
|
|
1014
1101
|
* 
|
|
1015
|
-
* *
|
|
1102
|
+
* * Does not involve the image subject area
|
|
1016
1103
|
*
|
|
1017
1104
|
*  |
|
|
1018
|
-
* | Specific
|
|
1105
|
+
* | Specific names | * Involves the image subject area
|
|
1019
1106
|
*
|
|
1020
1107
|
* 
|
|
1021
1108
|
*
|
|
1022
|
-
* *
|
|
1109
|
+
* * Does not involve the image subject area
|
|
1023
1110
|
*
|
|
1024
|
-
*  | *
|
|
1111
|
+
*  | * Involves the image subject area
|
|
1025
1112
|
*
|
|
1026
1113
|
* 
|
|
1027
|
-
* *
|
|
1114
|
+
* * Does not involve the image subject area
|
|
1028
1115
|
*
|
|
1029
1116
|
*  |
|
|
1030
|
-
* | Transparent
|
|
1117
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1031
1118
|
*
|
|
1032
1119
|
* 
|
|
1033
1120
|
*
|
|
1034
|
-
* *
|
|
1121
|
+
* * Does not involve the image subject area
|
|
1035
1122
|
*
|
|
1036
|
-
*  | *
|
|
1123
|
+
*  | * Involves the image subject area
|
|
1037
1124
|
*
|
|
1038
1125
|
* 
|
|
1039
|
-
* *
|
|
1126
|
+
* * Does not involve the image subject area
|
|
1040
1127
|
*
|
|
1041
1128
|
*  |
|
|
1042
|
-
* |
|
|
1129
|
+
* | Image blemishes | * Involves the image subject area
|
|
1043
1130
|
*
|
|
1044
1131
|
* 
|
|
1045
1132
|
*
|
|
1046
|
-
* *
|
|
1133
|
+
* * Does not involve the image subject area
|
|
1047
1134
|
*
|
|
1048
|
-
*  | *
|
|
1135
|
+
*  | * Involves the image subject area
|
|
1049
1136
|
*
|
|
1050
1137
|
* 
|
|
1051
|
-
* *
|
|
1138
|
+
* * Does not involve the image subject area
|
|
1052
1139
|
*
|
|
1053
1140
|
*  |
|
|
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
|
-
*
|
|
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
|
|
1103
|
-
* The
|
|
1104
|
-
* ##
|
|
1105
|
-
* * **Efficient
|
|
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
|
-
*
|
|
1111
|
-
* * **
|
|
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
|
-
*
|
|
1114
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
1205
|
+
* 1. Image subject: The core product area in the image.
|
|
1121
1206
|
*
|
|
1122
|
-
*
|
|
1207
|
+
* 2. Image background: The remaining portion of the image outside the product subject.
|
|
1123
1208
|
*
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
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 | *
|
|
1213
|
+
* | Text | * Involves the image subject area
|
|
1128
1214
|
*
|
|
1129
1215
|
* 
|
|
1130
1216
|
*
|
|
1131
|
-
* *
|
|
1217
|
+
* * Does not involve the image subject area
|
|
1132
1218
|
*
|
|
1133
|
-
*  | *
|
|
1219
|
+
*  | * Involves the image subject area
|
|
1134
1220
|
*
|
|
1135
1221
|
* 
|
|
1136
|
-
* *
|
|
1222
|
+
* * Does not involve the image subject area
|
|
1137
1223
|
*
|
|
1138
1224
|
*  |
|
|
1139
|
-
* | Specific
|
|
1225
|
+
* | Specific names | * Involves the image subject area
|
|
1140
1226
|
*
|
|
1141
1227
|
* 
|
|
1142
1228
|
*
|
|
1143
|
-
* *
|
|
1229
|
+
* * Does not involve the image subject area
|
|
1144
1230
|
*
|
|
1145
|
-
*  | *
|
|
1231
|
+
*  | * Involves the image subject area
|
|
1146
1232
|
*
|
|
1147
1233
|
* 
|
|
1148
|
-
* *
|
|
1234
|
+
* * Does not involve the image subject area
|
|
1149
1235
|
*
|
|
1150
1236
|
*  |
|
|
1151
|
-
* | Transparent
|
|
1237
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1152
1238
|
*
|
|
1153
1239
|
* 
|
|
1154
1240
|
*
|
|
1155
|
-
* *
|
|
1241
|
+
* * Does not involve the image subject area
|
|
1156
1242
|
*
|
|
1157
|
-
*  | *
|
|
1243
|
+
*  | * Involves the image subject area
|
|
1158
1244
|
*
|
|
1159
1245
|
* 
|
|
1160
|
-
* *
|
|
1246
|
+
* * Does not involve the image subject area
|
|
1161
1247
|
*
|
|
1162
1248
|
*  |
|
|
1163
|
-
* |
|
|
1249
|
+
* | Image blemishes | * Involves the image subject area
|
|
1164
1250
|
*
|
|
1165
1251
|
* 
|
|
1166
1252
|
*
|
|
1167
|
-
* *
|
|
1253
|
+
* * Does not involve the image subject area
|
|
1168
1254
|
*
|
|
1169
|
-
*  | *
|
|
1255
|
+
*  | * Involves the image subject area
|
|
1170
1256
|
*
|
|
1171
1257
|
* 
|
|
1172
|
-
* *
|
|
1258
|
+
* * Does not involve the image subject area
|
|
1173
1259
|
*
|
|
1174
1260
|
*  |
|
|
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
|
-
*
|
|
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
|
|
1264
|
-
*
|
|
1265
|
-
*
|
|
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
|
|
1306
|
-
* - **Post-translation
|
|
1307
|
-
* - **Brand
|
|
1308
|
-
* - **Translation
|
|
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
|
-
*
|
|
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
|
|
1363
|
-
* ##
|
|
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
|
|
1367
|
-
* - **Post-translation
|
|
1368
|
-
* - **Brand
|
|
1369
|
-
* - **Translation
|
|
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
|
-
* - **
|
|
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
|
-
* -
|
|
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
|
-
* -
|
|
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
|
-
*
|
|
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
|
-
* -
|
|
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
|
-
* -
|
|
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
|
-
* - **
|
|
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
|
-
* -
|
|
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
|
-
* -
|
|
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
|
|
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
|
|
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
|
|
2165
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2166
|
-
* - Product attributes: Product attribute terms are
|
|
2167
|
-
* - Customer service conversations: In customer service scenarios,
|
|
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
|
|
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
|
|
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 (ABC
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2232
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2233
|
-
* - Product attributes: Product attribute terms are
|
|
2234
|
-
* - Customer service conversations: In customer service scenarios,
|
|
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
|
|
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
|
|
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 (ABC
|
|
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
|
|
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
|