@alicloud/aidge20260428 5.6.0 → 5.7.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 +137 -122
- package/dist/client.js +170 -122
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +42 -0
- package/dist/models/AiTryOnRequest.js +64 -0
- package/dist/models/AiTryOnRequest.js.map +1 -0
- package/dist/models/AiTryOnResponse.d.ts +19 -0
- package/dist/models/AiTryOnResponse.js +69 -0
- package/dist/models/AiTryOnResponse.js.map +1 -0
- package/dist/models/AiTryOnResponseBody.d.ts +90 -0
- package/dist/models/AiTryOnResponseBody.js +120 -0
- package/dist/models/AiTryOnResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageTranslationProRequest.d.ts +8 -8
- package/dist/models/PrepaidTextTranslateRequest.d.ts +1 -1
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +2 -2
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/TextCorrectResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateRequest.d.ts +11 -5
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +11 -5
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +14 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +176 -122
- package/src/models/AiTryOnRequest.ts +61 -0
- package/src/models/AiTryOnResponse.ts +40 -0
- package/src/models/AiTryOnResponseBody.ts +145 -0
- package/src/models/AssetOptimizeLiteResponseBody.ts +0 -2
- package/src/models/DocumentTranslateRequest.ts +1 -1
- package/src/models/DocumentTranslateResponseBody.ts +2 -2
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +2 -2
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageTranslationProRequest.ts +8 -8
- package/src/models/PrepaidTextTranslateRequest.ts +1 -1
- package/src/models/PrepaidTextTranslateResponseBody.ts +2 -2
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +1 -1
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/TextCorrectResponseBody.ts +1 -1
- package/src/models/TextTranslateRequest.ts +11 -5
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +11 -5
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/model.ts +5 -0
package/src/client.ts
CHANGED
|
@@ -29,6 +29,60 @@ export default class Client extends OpenApi {
|
|
|
29
29
|
return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* 虚拟试穿(同步)
|
|
34
|
+
*
|
|
35
|
+
* @param request - AiTryOnRequest
|
|
36
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37
|
+
* @returns AiTryOnResponse
|
|
38
|
+
*/
|
|
39
|
+
async aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse> {
|
|
40
|
+
request.validate();
|
|
41
|
+
let query = { };
|
|
42
|
+
if (!$dara.isNull(request.clothImageUrl)) {
|
|
43
|
+
query["ClothImageUrl"] = request.clothImageUrl;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (!$dara.isNull(request.clothType)) {
|
|
47
|
+
query["ClothType"] = request.clothType;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (!$dara.isNull(request.modelImageUrl)) {
|
|
51
|
+
query["ModelImageUrl"] = request.modelImageUrl;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (!$dara.isNull(request.resolution)) {
|
|
55
|
+
query["Resolution"] = request.resolution;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
59
|
+
query: OpenApiUtil.query(query),
|
|
60
|
+
});
|
|
61
|
+
let params = new $OpenApiUtil.Params({
|
|
62
|
+
action: "AiTryOn",
|
|
63
|
+
version: "2026-04-28",
|
|
64
|
+
protocol: "HTTPS",
|
|
65
|
+
pathname: "/",
|
|
66
|
+
method: "POST",
|
|
67
|
+
authType: "AK",
|
|
68
|
+
style: "RPC",
|
|
69
|
+
reqBodyType: "formData",
|
|
70
|
+
bodyType: "json",
|
|
71
|
+
});
|
|
72
|
+
return $dara.cast<$_model.AiTryOnResponse>(await this.callApi(params, req, runtime), new $_model.AiTryOnResponse({}));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* 虚拟试穿(同步)
|
|
77
|
+
*
|
|
78
|
+
* @param request - AiTryOnRequest
|
|
79
|
+
* @returns AiTryOnResponse
|
|
80
|
+
*/
|
|
81
|
+
async aiTryOn(request: $_model.AiTryOnRequest): Promise<$_model.AiTryOnResponse> {
|
|
82
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
83
|
+
return await this.aiTryOnWithOptions(request, runtime);
|
|
84
|
+
}
|
|
85
|
+
|
|
32
86
|
/**
|
|
33
87
|
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a product link from a source platform and outputs all listing assets adapted to the target platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses an officially preset minimum-cost workflow that focuses on filtering and lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
34
88
|
*
|
|
@@ -592,25 +646,25 @@ export default class Client extends OpenApi {
|
|
|
592
646
|
}
|
|
593
647
|
|
|
594
648
|
/**
|
|
595
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
649
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
596
650
|
* Excels in the following areas:
|
|
597
651
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
598
652
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
599
653
|
*
|
|
600
654
|
* @remarks
|
|
601
655
|
* ## Product Introduction
|
|
602
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
656
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
603
657
|
* Excels in the following areas:
|
|
604
658
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
605
659
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
606
660
|
* ## Common scenarios
|
|
607
661
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
608
|
-
* ##
|
|
662
|
+
* ## Functions and features
|
|
609
663
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
610
664
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
611
665
|
* - Supports high-fidelity layout restoration after translation.
|
|
612
666
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
613
|
-
* - 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
|
|
667
|
+
* - 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 and similar 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. If you need more, contact the platform for assistance.
|
|
614
668
|
*
|
|
615
669
|
* @param request - DocumentTranslateRequest
|
|
616
670
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -653,25 +707,25 @@ export default class Client extends OpenApi {
|
|
|
653
707
|
}
|
|
654
708
|
|
|
655
709
|
/**
|
|
656
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
710
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
657
711
|
* Excels in the following areas:
|
|
658
712
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
659
713
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
660
714
|
*
|
|
661
715
|
* @remarks
|
|
662
716
|
* ## Product Introduction
|
|
663
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
717
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
664
718
|
* Excels in the following areas:
|
|
665
719
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
666
720
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
667
721
|
* ## Common scenarios
|
|
668
722
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
669
|
-
* ##
|
|
723
|
+
* ## Functions and features
|
|
670
724
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
671
725
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
672
726
|
* - Supports high-fidelity layout restoration after translation.
|
|
673
727
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
674
|
-
* - 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
|
|
728
|
+
* - 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 and similar 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. If you need more, contact the platform for assistance.
|
|
675
729
|
*
|
|
676
730
|
* @param request - DocumentTranslateRequest
|
|
677
731
|
* @returns DocumentTranslateResponse
|
|
@@ -978,16 +1032,16 @@ export default class Client extends OpenApi {
|
|
|
978
1032
|
}
|
|
979
1033
|
|
|
980
1034
|
/**
|
|
981
|
-
*
|
|
1035
|
+
* Intelligent element recognition.
|
|
982
1036
|
*
|
|
983
1037
|
* @remarks
|
|
984
1038
|
* ## Product Introduction
|
|
985
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1039
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
986
1040
|
* ## Scenarios
|
|
987
1041
|
* **1. Intelligent image screening and optimization:**
|
|
988
1042
|
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
989
1043
|
* **2. Automated image processing and efficiency improvement:**
|
|
990
|
-
*
|
|
1044
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
991
1045
|
* ## Features
|
|
992
1046
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the related examples in the removal documentation (reserved text link)**
|
|
993
1047
|
* * Image subject: The core product area in the image.
|
|
@@ -1005,12 +1059,12 @@ export default class Client extends OpenApi {
|
|
|
1005
1059
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1006
1060
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1007
1061
|
*
|
|
1008
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
1062
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API removes them effectively, ensuring the accuracy and efficiency of image processing.
|
|
1009
1063
|
* ## Technical advantages
|
|
1010
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business
|
|
1064
|
+
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business needs of different scales.
|
|
1011
1065
|
*
|
|
1012
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
1013
|
-
* ##
|
|
1066
|
+
* * Flexibility: Users can select the types of elements to identify, including elements in both the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
1067
|
+
* ## Comparison
|
|
1014
1068
|
* | **Original image** | **Recognition result** |
|
|
1015
1069
|
* | --- | --- |
|
|
1016
1070
|
* |  | [Subject]
|
|
@@ -1115,16 +1169,16 @@ export default class Client extends OpenApi {
|
|
|
1115
1169
|
}
|
|
1116
1170
|
|
|
1117
1171
|
/**
|
|
1118
|
-
*
|
|
1172
|
+
* Intelligent element recognition.
|
|
1119
1173
|
*
|
|
1120
1174
|
* @remarks
|
|
1121
1175
|
* ## Product Introduction
|
|
1122
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1176
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
1123
1177
|
* ## Scenarios
|
|
1124
1178
|
* **1. Intelligent image screening and optimization:**
|
|
1125
1179
|
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
1126
1180
|
* **2. Automated image processing and efficiency improvement:**
|
|
1127
|
-
*
|
|
1181
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
1128
1182
|
* ## Features
|
|
1129
1183
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the related examples in the removal documentation (reserved text link)**
|
|
1130
1184
|
* * Image subject: The core product area in the image.
|
|
@@ -1142,12 +1196,12 @@ export default class Client extends OpenApi {
|
|
|
1142
1196
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1143
1197
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1144
1198
|
*
|
|
1145
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
1199
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API removes them effectively, ensuring the accuracy and efficiency of image processing.
|
|
1146
1200
|
* ## Technical advantages
|
|
1147
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business
|
|
1201
|
+
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business needs of different scales.
|
|
1148
1202
|
*
|
|
1149
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
1150
|
-
* ##
|
|
1203
|
+
* * Flexibility: Users can select the types of elements to identify, including elements in both the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
1204
|
+
* ## Comparison
|
|
1151
1205
|
* | **Original image** | **Recognition result** |
|
|
1152
1206
|
* | --- | --- |
|
|
1153
1207
|
* |  | [Subject]
|
|
@@ -1662,19 +1716,19 @@ export default class Client extends OpenApi {
|
|
|
1662
1716
|
}
|
|
1663
1717
|
|
|
1664
1718
|
/**
|
|
1665
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1719
|
+
* Image Translation Pro is designed 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. It supports more than 100 language directions (including bridged directions).
|
|
1666
1720
|
*
|
|
1667
1721
|
* @remarks
|
|
1668
1722
|
* ## Product Introduction
|
|
1669
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1723
|
+
* Image Translation Pro is designed 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. It supports more than 400 language directions (including bridged directions).
|
|
1670
1724
|
* ## Scenarios
|
|
1671
1725
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1672
1726
|
* ## Features
|
|
1673
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
1674
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
1675
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1676
|
-
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet translation
|
|
1677
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1727
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1728
|
+
* - **Post-translation editing**: Specify 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 is not yet available. Follow platform notifications for updates.
|
|
1729
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1730
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. 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.
|
|
1731
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1678
1732
|
*
|
|
1679
1733
|
* @param request - ImageTranslationProRequest
|
|
1680
1734
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1733,19 +1787,19 @@ export default class Client extends OpenApi {
|
|
|
1733
1787
|
}
|
|
1734
1788
|
|
|
1735
1789
|
/**
|
|
1736
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1790
|
+
* Image Translation Pro is designed 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. It supports more than 100 language directions (including bridged directions).
|
|
1737
1791
|
*
|
|
1738
1792
|
* @remarks
|
|
1739
1793
|
* ## Product Introduction
|
|
1740
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1794
|
+
* Image Translation Pro is designed 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. It supports more than 400 language directions (including bridged directions).
|
|
1741
1795
|
* ## Scenarios
|
|
1742
1796
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1743
1797
|
* ## Features
|
|
1744
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
1745
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
1746
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1747
|
-
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet translation
|
|
1748
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1798
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1799
|
+
* - **Post-translation editing**: Specify 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 is not yet available. Follow platform notifications for updates.
|
|
1800
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1801
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. 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.
|
|
1802
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1749
1803
|
*
|
|
1750
1804
|
* @param request - ImageTranslationProRequest
|
|
1751
1805
|
* @returns ImageTranslationProResponse
|
|
@@ -2174,28 +2228,28 @@ export default class Client extends OpenApi {
|
|
|
2174
2228
|
}
|
|
2175
2229
|
|
|
2176
2230
|
/**
|
|
2177
|
-
*
|
|
2231
|
+
* Maas-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 mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2178
2232
|
*
|
|
2179
2233
|
* @remarks
|
|
2180
2234
|
* ## Product Introduction
|
|
2181
|
-
* 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
|
|
2235
|
+
* 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 mutual translation among more than 100 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2182
2236
|
* ## Common scenarios
|
|
2183
2237
|
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
2184
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
2185
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
2238
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
2239
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2186
2240
|
* - 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.
|
|
2187
2241
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2188
2242
|
* ## Features
|
|
2189
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
2190
|
-
* - **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
|
|
2243
|
+
* - **Supported language directions** Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
2244
|
+
* - **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 delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2191
2245
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2192
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2246
|
+
* - **Translation intervention support** 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 scenarios such as 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.
|
|
2193
2247
|
* ## Translation quality comparison
|
|
2194
2248
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2195
2249
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2196
2250
|
* | 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 |
|
|
2197
2251
|
* | 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 |
|
|
2198
|
-
* | 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
|
|
2252
|
+
* | 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 — correctly identifies "key bag" rather than "keychain." Other translations may cause ambiguity about the product subject |
|
|
2199
2253
|
*
|
|
2200
2254
|
* @param tmpReq - PrepaidTextTranslateRequest
|
|
2201
2255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2256,28 +2310,28 @@ export default class Client extends OpenApi {
|
|
|
2256
2310
|
}
|
|
2257
2311
|
|
|
2258
2312
|
/**
|
|
2259
|
-
*
|
|
2313
|
+
* Maas-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 mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2260
2314
|
*
|
|
2261
2315
|
* @remarks
|
|
2262
2316
|
* ## Product Introduction
|
|
2263
|
-
* 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
|
|
2317
|
+
* 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 mutual translation among more than 100 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2264
2318
|
* ## Common scenarios
|
|
2265
2319
|
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
2266
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
2267
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
2320
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
2321
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2268
2322
|
* - 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.
|
|
2269
2323
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2270
2324
|
* ## Features
|
|
2271
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
2272
|
-
* - **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
|
|
2325
|
+
* - **Supported language directions** Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
2326
|
+
* - **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 delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2273
2327
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2274
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2328
|
+
* - **Translation intervention support** 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 scenarios such as 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.
|
|
2275
2329
|
* ## Translation quality comparison
|
|
2276
2330
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2277
2331
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2278
2332
|
* | 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 |
|
|
2279
2333
|
* | 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 |
|
|
2280
|
-
* | 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
|
|
2334
|
+
* | 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 — correctly identifies "key bag" rather than "keychain." Other translations may cause ambiguity about the product subject |
|
|
2281
2335
|
*
|
|
2282
2336
|
* @param request - PrepaidTextTranslateRequest
|
|
2283
2337
|
* @returns PrepaidTextTranslateResponse
|
|
@@ -2488,19 +2542,19 @@ export default class Client extends OpenApi {
|
|
|
2488
2542
|
}
|
|
2489
2543
|
|
|
2490
2544
|
/**
|
|
2491
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2545
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2492
2546
|
*
|
|
2493
2547
|
* @remarks
|
|
2494
2548
|
* ## Product Introduction
|
|
2495
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2549
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2496
2550
|
* ## Common scenarios
|
|
2497
2551
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2498
2552
|
*
|
|
2499
2553
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2500
2554
|
* ## Functions and features
|
|
2501
|
-
* The size chart extraction service is based on a multimodal
|
|
2502
|
-
* Core
|
|
2503
|
-
* ##
|
|
2555
|
+
* The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
|
|
2556
|
+
* Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
|
|
2557
|
+
* ## Comparison
|
|
2504
2558
|
* | **Input image** | **Output result** |
|
|
2505
2559
|
* | --- | --- |
|
|
2506
2560
|
* |  | {
|
|
@@ -2653,19 +2707,19 @@ export default class Client extends OpenApi {
|
|
|
2653
2707
|
}
|
|
2654
2708
|
|
|
2655
2709
|
/**
|
|
2656
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2710
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2657
2711
|
*
|
|
2658
2712
|
* @remarks
|
|
2659
2713
|
* ## Product Introduction
|
|
2660
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2714
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2661
2715
|
* ## Common scenarios
|
|
2662
2716
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2663
2717
|
*
|
|
2664
2718
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2665
2719
|
* ## Functions and features
|
|
2666
|
-
* The size chart extraction service is based on a multimodal
|
|
2667
|
-
* Core
|
|
2668
|
-
* ##
|
|
2720
|
+
* The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
|
|
2721
|
+
* Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
|
|
2722
|
+
* ## Comparison
|
|
2669
2723
|
* | **Input image** | **Output result** |
|
|
2670
2724
|
* | --- | --- |
|
|
2671
2725
|
* |  | {
|
|
@@ -2936,32 +2990,32 @@ export default class Client extends OpenApi {
|
|
|
2936
2990
|
}
|
|
2937
2991
|
|
|
2938
2992
|
/**
|
|
2939
|
-
*
|
|
2993
|
+
* Maas-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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2940
2994
|
*
|
|
2941
2995
|
* @remarks
|
|
2942
2996
|
* ## Product Introduction
|
|
2943
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
2997
|
+
* 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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2944
2998
|
* ## Common scenarios
|
|
2945
|
-
* - Product titles
|
|
2946
|
-
* - Product descriptions
|
|
2947
|
-
* - Product attributes
|
|
2948
|
-
* - Customer service conversations
|
|
2949
|
-
* Marco MT
|
|
2950
|
-
* ##
|
|
2999
|
+
* - **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.
|
|
3000
|
+
* - **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.
|
|
3001
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3002
|
+
* - **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.
|
|
3003
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
3004
|
+
* ## Functions and features
|
|
2951
3005
|
* - **Supported language directions**
|
|
2952
|
-
* Marco MT
|
|
3006
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
2953
3007
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2954
|
-
* Marco MT
|
|
3008
|
+
* 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.
|
|
2955
3009
|
* - **Supported text format types**
|
|
2956
|
-
* Currently
|
|
2957
|
-
* - **Translation intervention
|
|
2958
|
-
*
|
|
3010
|
+
* Currently supports text and html text types.
|
|
3011
|
+
* - **Translation intervention**
|
|
3012
|
+
* 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 scenarios such as 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.
|
|
2959
3013
|
* ## Translation quality comparison
|
|
2960
3014
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2961
3015
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2962
3016
|
* | 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 |
|
|
2963
3017
|
* | 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 |
|
|
2964
|
-
* | 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
|
|
3018
|
+
* | 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 — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
2965
3019
|
*
|
|
2966
3020
|
* @param tmpReq - TextTranslateRequest
|
|
2967
3021
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3022,32 +3076,32 @@ export default class Client extends OpenApi {
|
|
|
3022
3076
|
}
|
|
3023
3077
|
|
|
3024
3078
|
/**
|
|
3025
|
-
*
|
|
3079
|
+
* Maas-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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
3026
3080
|
*
|
|
3027
3081
|
* @remarks
|
|
3028
3082
|
* ## Product Introduction
|
|
3029
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
3083
|
+
* 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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
3030
3084
|
* ## Common scenarios
|
|
3031
|
-
* - Product titles
|
|
3032
|
-
* - Product descriptions
|
|
3033
|
-
* - Product attributes
|
|
3034
|
-
* - Customer service conversations
|
|
3035
|
-
* Marco MT
|
|
3036
|
-
* ##
|
|
3085
|
+
* - **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.
|
|
3086
|
+
* - **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.
|
|
3087
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3088
|
+
* - **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.
|
|
3089
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
3090
|
+
* ## Functions and features
|
|
3037
3091
|
* - **Supported language directions**
|
|
3038
|
-
* Marco MT
|
|
3092
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
3039
3093
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
3040
|
-
* Marco MT
|
|
3094
|
+
* 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.
|
|
3041
3095
|
* - **Supported text format types**
|
|
3042
|
-
* Currently
|
|
3043
|
-
* - **Translation intervention
|
|
3044
|
-
*
|
|
3096
|
+
* Currently supports text and html text types.
|
|
3097
|
+
* - **Translation intervention**
|
|
3098
|
+
* 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 scenarios such as 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.
|
|
3045
3099
|
* ## Translation quality comparison
|
|
3046
3100
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
3047
3101
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
3048
3102
|
* | 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 |
|
|
3049
3103
|
* | 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 |
|
|
3050
|
-
* | 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
|
|
3104
|
+
* | 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 — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
3051
3105
|
*
|
|
3052
3106
|
* @param request - TextTranslateRequest
|
|
3053
3107
|
* @returns TextTranslateResponse
|
|
@@ -3171,9 +3225,9 @@ export default class Client extends OpenApi {
|
|
|
3171
3225
|
*
|
|
3172
3226
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
3173
3227
|
*
|
|
3174
|
-
* * **Training and product
|
|
3228
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
3175
3229
|
* ## 3. Features
|
|
3176
|
-
* |
|
|
3230
|
+
* | Feature | Identifier | Description |
|
|
3177
3231
|
* | --- | --- | --- |
|
|
3178
3232
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3179
3233
|
* ## 4. Developer guide.
|
|
@@ -3241,9 +3295,9 @@ export default class Client extends OpenApi {
|
|
|
3241
3295
|
*
|
|
3242
3296
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
3243
3297
|
*
|
|
3244
|
-
* * **Training and product
|
|
3298
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
3245
3299
|
* ## 3. Features
|
|
3246
|
-
* |
|
|
3300
|
+
* | Feature | Identifier | Description |
|
|
3247
3301
|
* | --- | --- | --- |
|
|
3248
3302
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3249
3303
|
* ## 4. Developer guide.
|
|
@@ -3260,29 +3314,29 @@ export default class Client extends OpenApi {
|
|
|
3260
3314
|
}
|
|
3261
3315
|
|
|
3262
3316
|
/**
|
|
3263
|
-
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to
|
|
3317
|
+
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to produce realistic and well-fitted try-on results. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
3264
3318
|
*
|
|
3265
3319
|
* @remarks
|
|
3266
3320
|
* ## Scenarios
|
|
3267
3321
|
* - **Virtual try-on for clothing products:**
|
|
3268
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3322
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and dresses. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that visually demonstrates how the garment looks when worn.
|
|
3269
3323
|
* - **Virtual try-on for shoes and hats:**
|
|
3270
|
-
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts
|
|
3324
|
+
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts to produce a coordinated and realistic wearing effect.
|
|
3271
3325
|
* - **E-commerce product display and marketing:**
|
|
3272
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
3326
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production while improving the production efficiency of product images.
|
|
3273
3327
|
* - **Online shopping experience optimization:**
|
|
3274
|
-
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products
|
|
3328
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products to support purchasing decisions and enhance the shopping experience.
|
|
3275
3329
|
* ## Features
|
|
3276
|
-
* - **First,
|
|
3277
|
-
* - a. Model image: the image of the person for
|
|
3330
|
+
* - **First, provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image onto the model:**
|
|
3331
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3278
3332
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3279
|
-
* - **Second,
|
|
3280
|
-
* - a.
|
|
3281
|
-
* - b. Automatic type recognition: if
|
|
3333
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3334
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3335
|
+
* - b. Automatic type recognition: if no product type is specified, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
3282
3336
|
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that shows how the product looks on the model:**
|
|
3283
|
-
* - a.
|
|
3284
|
-
* - b.
|
|
3285
|
-
* - c.
|
|
3337
|
+
* - a. Preserve model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
3338
|
+
* - b. Maintain scene consistency: the background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
3339
|
+
* - c. Generate try-on effect: the product is naturally applied onto the model, conforming to the model\\"s pose and body structure, to produce a coordinated and realistic virtual try-on image.
|
|
3286
3340
|
* ## Sample results
|
|
3287
3341
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3288
3342
|
* | --- | --- | --- | --- |
|
|
@@ -3290,7 +3344,7 @@ export default class Client extends OpenApi {
|
|
|
3290
3344
|
* | Bottoms |  |  |  |
|
|
3291
3345
|
* | Shoes |  |  |  |
|
|
3292
3346
|
* | Jumpsuits |  |  |  |
|
|
3293
|
-
* |
|
|
3347
|
+
* | Dresses |  |  |  |
|
|
3294
3348
|
* | Hats |  |  |  |
|
|
3295
3349
|
*
|
|
3296
3350
|
* @param request - VirtualTryOnRequest
|
|
@@ -3334,29 +3388,29 @@ export default class Client extends OpenApi {
|
|
|
3334
3388
|
}
|
|
3335
3389
|
|
|
3336
3390
|
/**
|
|
3337
|
-
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to
|
|
3391
|
+
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to produce realistic and well-fitted try-on results. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
3338
3392
|
*
|
|
3339
3393
|
* @remarks
|
|
3340
3394
|
* ## Scenarios
|
|
3341
3395
|
* - **Virtual try-on for clothing products:**
|
|
3342
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3396
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and dresses. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that visually demonstrates how the garment looks when worn.
|
|
3343
3397
|
* - **Virtual try-on for shoes and hats:**
|
|
3344
|
-
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts
|
|
3398
|
+
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts to produce a coordinated and realistic wearing effect.
|
|
3345
3399
|
* - **E-commerce product display and marketing:**
|
|
3346
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
3400
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production while improving the production efficiency of product images.
|
|
3347
3401
|
* - **Online shopping experience optimization:**
|
|
3348
|
-
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products
|
|
3402
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products to support purchasing decisions and enhance the shopping experience.
|
|
3349
3403
|
* ## Features
|
|
3350
|
-
* - **First,
|
|
3351
|
-
* - a. Model image: the image of the person for
|
|
3404
|
+
* - **First, provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image onto the model:**
|
|
3405
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3352
3406
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3353
|
-
* - **Second,
|
|
3354
|
-
* - a.
|
|
3355
|
-
* - b. Automatic type recognition: if
|
|
3407
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3408
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3409
|
+
* - b. Automatic type recognition: if no product type is specified, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
3356
3410
|
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that shows how the product looks on the model:**
|
|
3357
|
-
* - a.
|
|
3358
|
-
* - b.
|
|
3359
|
-
* - c.
|
|
3411
|
+
* - a. Preserve model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
3412
|
+
* - b. Maintain scene consistency: the background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
3413
|
+
* - c. Generate try-on effect: the product is naturally applied onto the model, conforming to the model\\"s pose and body structure, to produce a coordinated and realistic virtual try-on image.
|
|
3360
3414
|
* ## Sample results
|
|
3361
3415
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3362
3416
|
* | --- | --- | --- | --- |
|
|
@@ -3364,7 +3418,7 @@ export default class Client extends OpenApi {
|
|
|
3364
3418
|
* | Bottoms |  |  |  |
|
|
3365
3419
|
* | Shoes |  |  |  |
|
|
3366
3420
|
* | Jumpsuits |  |  |  |
|
|
3367
|
-
* |
|
|
3421
|
+
* | Dresses |  |  |  |
|
|
3368
3422
|
* | Hats |  |  |  |
|
|
3369
3423
|
*
|
|
3370
3424
|
* @param request - VirtualTryOnRequest
|