@alicloud/aidge20260428 5.6.0 → 5.7.1
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 +199 -122
- package/dist/client.js +235 -122
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +51 -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 +124 -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/MerchandisePlacementDetectionRequest.d.ts +1 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js +2 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
- 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 +242 -122
- package/src/models/AiTryOnRequest.ts +70 -0
- package/src/models/AiTryOnResponse.ts +40 -0
- package/src/models/AiTryOnResponseBody.ts +179 -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/MerchandisePlacementDetectionRequest.ts +3 -0
- 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/dist/client.js
CHANGED
|
@@ -61,6 +61,116 @@ class Client extends openapi_core_1.default {
|
|
|
61
61
|
}
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* ## Scenarios
|
|
69
|
+
* - **Virtual try-on for clothing products:**
|
|
70
|
+
* Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
|
|
71
|
+
* - **Virtual try-on for shoes and hats:**
|
|
72
|
+
* Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
|
|
73
|
+
* - **E-commerce product display and marketing:**
|
|
74
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
|
|
75
|
+
* - **Online shopping experience optimization:**
|
|
76
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
|
|
77
|
+
* ## Features
|
|
78
|
+
* - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
|
|
79
|
+
* - a. Model image: The person image on which the virtual try-on is performed.
|
|
80
|
+
* - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
|
|
81
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
82
|
+
* - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
|
|
83
|
+
* - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
84
|
+
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
|
|
85
|
+
* - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
|
|
86
|
+
* - 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.
|
|
87
|
+
* - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
|
|
88
|
+
* ## Sample results
|
|
89
|
+
* | **Type** | **Model image** | **Clothing image** | **Try-on result** |
|
|
90
|
+
* | --- | --- | --- | --- |
|
|
91
|
+
* | Tops |  |  |  |
|
|
92
|
+
* | Bottoms |  |  |  |
|
|
93
|
+
* | Shoes |  |  |  |
|
|
94
|
+
* | Jumpsuits |  |  |  |
|
|
95
|
+
* | Dresses |  |  |  |
|
|
96
|
+
* | Hats |  |  |  |
|
|
97
|
+
*
|
|
98
|
+
* @param request - AiTryOnRequest
|
|
99
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
100
|
+
* @returns AiTryOnResponse
|
|
101
|
+
*/
|
|
102
|
+
async aiTryOnWithOptions(request, runtime) {
|
|
103
|
+
request.validate();
|
|
104
|
+
let query = {};
|
|
105
|
+
if (!$dara.isNull(request.clothImageUrl)) {
|
|
106
|
+
query["ClothImageUrl"] = request.clothImageUrl;
|
|
107
|
+
}
|
|
108
|
+
if (!$dara.isNull(request.clothType)) {
|
|
109
|
+
query["ClothType"] = request.clothType;
|
|
110
|
+
}
|
|
111
|
+
if (!$dara.isNull(request.modelImageUrl)) {
|
|
112
|
+
query["ModelImageUrl"] = request.modelImageUrl;
|
|
113
|
+
}
|
|
114
|
+
if (!$dara.isNull(request.resolution)) {
|
|
115
|
+
query["Resolution"] = request.resolution;
|
|
116
|
+
}
|
|
117
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
118
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
119
|
+
});
|
|
120
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
121
|
+
action: "AiTryOn",
|
|
122
|
+
version: "2026-04-28",
|
|
123
|
+
protocol: "HTTPS",
|
|
124
|
+
pathname: "/",
|
|
125
|
+
method: "POST",
|
|
126
|
+
authType: "AK",
|
|
127
|
+
style: "RPC",
|
|
128
|
+
reqBodyType: "formData",
|
|
129
|
+
bodyType: "json",
|
|
130
|
+
});
|
|
131
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AiTryOnResponse({}));
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
* ## Scenarios
|
|
138
|
+
* - **Virtual try-on for clothing products:**
|
|
139
|
+
* Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
|
|
140
|
+
* - **Virtual try-on for shoes and hats:**
|
|
141
|
+
* Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
|
|
142
|
+
* - **E-commerce product display and marketing:**
|
|
143
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
|
|
144
|
+
* - **Online shopping experience optimization:**
|
|
145
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
|
|
146
|
+
* ## Features
|
|
147
|
+
* - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
|
|
148
|
+
* - a. Model image: The person image on which the virtual try-on is performed.
|
|
149
|
+
* - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
|
|
150
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
151
|
+
* - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
|
|
152
|
+
* - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
153
|
+
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
|
|
154
|
+
* - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
|
|
155
|
+
* - 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.
|
|
156
|
+
* - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
|
|
157
|
+
* ## Sample results
|
|
158
|
+
* | **Type** | **Model image** | **Clothing image** | **Try-on result** |
|
|
159
|
+
* | --- | --- | --- | --- |
|
|
160
|
+
* | Tops |  |  |  |
|
|
161
|
+
* | Bottoms |  |  |  |
|
|
162
|
+
* | Shoes |  |  |  |
|
|
163
|
+
* | Jumpsuits |  |  |  |
|
|
164
|
+
* | Dresses |  |  |  |
|
|
165
|
+
* | Hats |  |  |  |
|
|
166
|
+
*
|
|
167
|
+
* @param request - AiTryOnRequest
|
|
168
|
+
* @returns AiTryOnResponse
|
|
169
|
+
*/
|
|
170
|
+
async aiTryOn(request) {
|
|
171
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
172
|
+
return await this.aiTryOnWithOptions(request, runtime);
|
|
173
|
+
}
|
|
64
174
|
/**
|
|
65
175
|
* 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)
|
|
66
176
|
*
|
|
@@ -571,25 +681,25 @@ class Client extends openapi_core_1.default {
|
|
|
571
681
|
return await this.diduiAreaDeductionWithOptions(request, runtime);
|
|
572
682
|
}
|
|
573
683
|
/**
|
|
574
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
684
|
+
* 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.
|
|
575
685
|
* Excels in the following areas:
|
|
576
686
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
577
687
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
578
688
|
*
|
|
579
689
|
* @remarks
|
|
580
690
|
* ## Product Introduction
|
|
581
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
691
|
+
* 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.
|
|
582
692
|
* Excels in the following areas:
|
|
583
693
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
584
694
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
585
695
|
* ## Common scenarios
|
|
586
696
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
587
|
-
* ##
|
|
697
|
+
* ## Functions and features
|
|
588
698
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
589
699
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
590
700
|
* - Supports high-fidelity layout restoration after translation.
|
|
591
701
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
592
|
-
* - 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
|
|
702
|
+
* - 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.
|
|
593
703
|
*
|
|
594
704
|
* @param request - DocumentTranslateRequest
|
|
595
705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -627,25 +737,25 @@ class Client extends openapi_core_1.default {
|
|
|
627
737
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DocumentTranslateResponse({}));
|
|
628
738
|
}
|
|
629
739
|
/**
|
|
630
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
740
|
+
* 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.
|
|
631
741
|
* Excels in the following areas:
|
|
632
742
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
633
743
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
634
744
|
*
|
|
635
745
|
* @remarks
|
|
636
746
|
* ## Product Introduction
|
|
637
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
747
|
+
* 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.
|
|
638
748
|
* Excels in the following areas:
|
|
639
749
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
640
750
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
641
751
|
* ## Common scenarios
|
|
642
752
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
643
|
-
* ##
|
|
753
|
+
* ## Functions and features
|
|
644
754
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
645
755
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
646
756
|
* - Supports high-fidelity layout restoration after translation.
|
|
647
757
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
648
|
-
* - 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
|
|
758
|
+
* - 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.
|
|
649
759
|
*
|
|
650
760
|
* @param request - DocumentTranslateRequest
|
|
651
761
|
* @returns DocumentTranslateResponse
|
|
@@ -933,16 +1043,16 @@ class Client extends openapi_core_1.default {
|
|
|
933
1043
|
return await this.imageMattingWithOptions(request, runtime);
|
|
934
1044
|
}
|
|
935
1045
|
/**
|
|
936
|
-
*
|
|
1046
|
+
* Intelligent element recognition.
|
|
937
1047
|
*
|
|
938
1048
|
* @remarks
|
|
939
1049
|
* ## Product Introduction
|
|
940
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1050
|
+
* 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)
|
|
941
1051
|
* ## Scenarios
|
|
942
1052
|
* **1. Intelligent image screening and optimization:**
|
|
943
1053
|
* 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.
|
|
944
1054
|
* **2. Automated image processing and efficiency improvement:**
|
|
945
|
-
*
|
|
1055
|
+
* 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.
|
|
946
1056
|
* ## Features
|
|
947
1057
|
* **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)**
|
|
948
1058
|
* * Image subject: The core product area in the image.
|
|
@@ -960,12 +1070,12 @@ class Client extends openapi_core_1.default {
|
|
|
960
1070
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
961
1071
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
962
1072
|
*
|
|
963
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
1073
|
+
* * 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.
|
|
964
1074
|
* ## Technical advantages
|
|
965
|
-
* * 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
|
|
1075
|
+
* * 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.
|
|
966
1076
|
*
|
|
967
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
968
|
-
* ##
|
|
1077
|
+
* * 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.
|
|
1078
|
+
* ## Comparison
|
|
969
1079
|
* | **Original image** | **Recognition result** |
|
|
970
1080
|
* | --- | --- |
|
|
971
1081
|
* |  | [Subject]
|
|
@@ -1059,16 +1169,16 @@ class Client extends openapi_core_1.default {
|
|
|
1059
1169
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionResponse({}));
|
|
1060
1170
|
}
|
|
1061
1171
|
/**
|
|
1062
|
-
*
|
|
1172
|
+
* Intelligent element recognition.
|
|
1063
1173
|
*
|
|
1064
1174
|
* @remarks
|
|
1065
1175
|
* ## Product Introduction
|
|
1066
|
-
* 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)
|
|
1067
1177
|
* ## Scenarios
|
|
1068
1178
|
* **1. Intelligent image screening and optimization:**
|
|
1069
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.
|
|
1070
1180
|
* **2. Automated image processing and efficiency improvement:**
|
|
1071
|
-
*
|
|
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.
|
|
1072
1182
|
* ## Features
|
|
1073
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)**
|
|
1074
1184
|
* * Image subject: The core product area in the image.
|
|
@@ -1086,12 +1196,12 @@ class Client extends openapi_core_1.default {
|
|
|
1086
1196
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1087
1197
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1088
1198
|
*
|
|
1089
|
-
* * 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.
|
|
1090
1200
|
* ## Technical advantages
|
|
1091
|
-
* * 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.
|
|
1092
1202
|
*
|
|
1093
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
1094
|
-
* ##
|
|
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
|
|
1095
1205
|
* | **Original image** | **Recognition result** |
|
|
1096
1206
|
* | --- | --- |
|
|
1097
1207
|
* |  | [Subject]
|
|
@@ -1579,19 +1689,19 @@ class Client extends openapi_core_1.default {
|
|
|
1579
1689
|
return await this.imageTranslationPlusWithOptions(request, runtime);
|
|
1580
1690
|
}
|
|
1581
1691
|
/**
|
|
1582
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1692
|
+
* 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).
|
|
1583
1693
|
*
|
|
1584
1694
|
* @remarks
|
|
1585
1695
|
* ## Product Introduction
|
|
1586
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1696
|
+
* 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).
|
|
1587
1697
|
* ## Scenarios
|
|
1588
1698
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1589
1699
|
* ## Features
|
|
1590
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
1591
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
1592
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1593
|
-
* - **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
|
|
1594
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1700
|
+
* - **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.
|
|
1701
|
+
* - **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.
|
|
1702
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1703
|
+
* - **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.
|
|
1704
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1595
1705
|
*
|
|
1596
1706
|
* @param request - ImageTranslationProRequest
|
|
1597
1707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1641,19 +1751,19 @@ class Client extends openapi_core_1.default {
|
|
|
1641
1751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
|
|
1642
1752
|
}
|
|
1643
1753
|
/**
|
|
1644
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1754
|
+
* 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).
|
|
1645
1755
|
*
|
|
1646
1756
|
* @remarks
|
|
1647
1757
|
* ## Product Introduction
|
|
1648
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1758
|
+
* 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).
|
|
1649
1759
|
* ## Scenarios
|
|
1650
1760
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1651
1761
|
* ## Features
|
|
1652
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
1653
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
1654
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1655
|
-
* - **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
|
|
1656
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1762
|
+
* - **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.
|
|
1763
|
+
* - **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.
|
|
1764
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1765
|
+
* - **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.
|
|
1766
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1657
1767
|
*
|
|
1658
1768
|
* @param request - ImageTranslationProRequest
|
|
1659
1769
|
* @returns ImageTranslationProResponse
|
|
@@ -1931,6 +2041,9 @@ class Client extends openapi_core_1.default {
|
|
|
1931
2041
|
if (!$dara.isNull(request.ragId)) {
|
|
1932
2042
|
query["RagId"] = request.ragId;
|
|
1933
2043
|
}
|
|
2044
|
+
if (!$dara.isNull(request.rule)) {
|
|
2045
|
+
query["Rule"] = request.rule;
|
|
2046
|
+
}
|
|
1934
2047
|
if (!$dara.isNull(request.type)) {
|
|
1935
2048
|
query["Type"] = request.type;
|
|
1936
2049
|
}
|
|
@@ -2051,28 +2164,28 @@ class Client extends openapi_core_1.default {
|
|
|
2051
2164
|
return await this.packageWeightSizeCheckWithOptions(request, runtime);
|
|
2052
2165
|
}
|
|
2053
2166
|
/**
|
|
2054
|
-
*
|
|
2167
|
+
* 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.
|
|
2055
2168
|
*
|
|
2056
2169
|
* @remarks
|
|
2057
2170
|
* ## Product Introduction
|
|
2058
|
-
* 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
|
|
2171
|
+
* 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.
|
|
2059
2172
|
* ## Common scenarios
|
|
2060
2173
|
* - 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.
|
|
2061
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
2062
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
2174
|
+
* - 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.
|
|
2175
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2063
2176
|
* - 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.
|
|
2064
2177
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2065
2178
|
* ## Features
|
|
2066
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
2067
|
-
* - **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
|
|
2179
|
+
* - **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.
|
|
2180
|
+
* - **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.
|
|
2068
2181
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2069
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2182
|
+
* - **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.
|
|
2070
2183
|
* ## Translation quality comparison
|
|
2071
2184
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2072
2185
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2073
2186
|
* | 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 |
|
|
2074
2187
|
* | 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 |
|
|
2075
|
-
* | 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
|
|
2188
|
+
* | 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 |
|
|
2076
2189
|
*
|
|
2077
2190
|
* @param tmpReq - PrepaidTextTranslateRequest
|
|
2078
2191
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2124,28 +2237,28 @@ class Client extends openapi_core_1.default {
|
|
|
2124
2237
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PrepaidTextTranslateResponse({}));
|
|
2125
2238
|
}
|
|
2126
2239
|
/**
|
|
2127
|
-
*
|
|
2240
|
+
* 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.
|
|
2128
2241
|
*
|
|
2129
2242
|
* @remarks
|
|
2130
2243
|
* ## Product Introduction
|
|
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
|
|
2244
|
+
* 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.
|
|
2132
2245
|
* ## Common scenarios
|
|
2133
2246
|
* - 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.
|
|
2134
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
2135
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
2247
|
+
* - 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.
|
|
2248
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2136
2249
|
* - 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
2250
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2138
2251
|
* ## Features
|
|
2139
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
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
|
|
2252
|
+
* - **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.
|
|
2253
|
+
* - **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.
|
|
2141
2254
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2142
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2255
|
+
* - **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.
|
|
2143
2256
|
* ## Translation quality comparison
|
|
2144
2257
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2145
2258
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2146
2259
|
* | 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 |
|
|
2147
2260
|
* | 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 |
|
|
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
|
|
2261
|
+
* | 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 |
|
|
2149
2262
|
*
|
|
2150
2263
|
* @param request - PrepaidTextTranslateRequest
|
|
2151
2264
|
* @returns PrepaidTextTranslateResponse
|
|
@@ -2342,19 +2455,19 @@ class Client extends openapi_core_1.default {
|
|
|
2342
2455
|
return await this.sizeChartDetectWithOptions(request, runtime);
|
|
2343
2456
|
}
|
|
2344
2457
|
/**
|
|
2345
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2458
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2346
2459
|
*
|
|
2347
2460
|
* @remarks
|
|
2348
2461
|
* ## Product Introduction
|
|
2349
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2462
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2350
2463
|
* ## Common scenarios
|
|
2351
2464
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2352
2465
|
*
|
|
2353
2466
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2354
2467
|
* ## Functions and features
|
|
2355
|
-
* The size chart extraction service is based on a multimodal
|
|
2356
|
-
* Core
|
|
2357
|
-
* ##
|
|
2468
|
+
* 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.
|
|
2469
|
+
* 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.
|
|
2470
|
+
* ## Comparison
|
|
2358
2471
|
* | **Input image** | **Output result** |
|
|
2359
2472
|
* | --- | --- |
|
|
2360
2473
|
* |  | {
|
|
@@ -2502,19 +2615,19 @@ class Client extends openapi_core_1.default {
|
|
|
2502
2615
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartExtractResponse({}));
|
|
2503
2616
|
}
|
|
2504
2617
|
/**
|
|
2505
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2618
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2506
2619
|
*
|
|
2507
2620
|
* @remarks
|
|
2508
2621
|
* ## Product Introduction
|
|
2509
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2622
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2510
2623
|
* ## Common scenarios
|
|
2511
2624
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2512
2625
|
*
|
|
2513
2626
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2514
2627
|
* ## Functions and features
|
|
2515
|
-
* The size chart extraction service is based on a multimodal
|
|
2516
|
-
* Core
|
|
2517
|
-
* ##
|
|
2628
|
+
* 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.
|
|
2629
|
+
* 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.
|
|
2630
|
+
* ## Comparison
|
|
2518
2631
|
* | **Input image** | **Output result** |
|
|
2519
2632
|
* | --- | --- |
|
|
2520
2633
|
* |  | {
|
|
@@ -2771,32 +2884,32 @@ class Client extends openapi_core_1.default {
|
|
|
2771
2884
|
return await this.textCorrectWithOptions(request, runtime);
|
|
2772
2885
|
}
|
|
2773
2886
|
/**
|
|
2774
|
-
*
|
|
2887
|
+
* 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.
|
|
2775
2888
|
*
|
|
2776
2889
|
* @remarks
|
|
2777
2890
|
* ## Product Introduction
|
|
2778
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
2891
|
+
* 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.
|
|
2779
2892
|
* ## Common scenarios
|
|
2780
|
-
* - Product titles
|
|
2781
|
-
* - Product descriptions
|
|
2782
|
-
* - Product attributes
|
|
2783
|
-
* - Customer service conversations
|
|
2784
|
-
* Marco MT
|
|
2785
|
-
* ##
|
|
2893
|
+
* - **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.
|
|
2894
|
+
* - **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.
|
|
2895
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2896
|
+
* - **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.
|
|
2897
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2898
|
+
* ## Functions and features
|
|
2786
2899
|
* - **Supported language directions**
|
|
2787
|
-
* Marco MT
|
|
2900
|
+
* 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).
|
|
2788
2901
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2789
|
-
* Marco MT
|
|
2902
|
+
* 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.
|
|
2790
2903
|
* - **Supported text format types**
|
|
2791
|
-
* Currently
|
|
2792
|
-
* - **Translation intervention
|
|
2793
|
-
*
|
|
2904
|
+
* Currently supports text and html text types.
|
|
2905
|
+
* - **Translation intervention**
|
|
2906
|
+
* 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.
|
|
2794
2907
|
* ## Translation quality comparison
|
|
2795
2908
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2796
2909
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2797
2910
|
* | 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 |
|
|
2798
2911
|
* | 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 |
|
|
2799
|
-
* | 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
|
|
2912
|
+
* | 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 |
|
|
2800
2913
|
*
|
|
2801
2914
|
* @param tmpReq - TextTranslateRequest
|
|
2802
2915
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2848,32 +2961,32 @@ class Client extends openapi_core_1.default {
|
|
|
2848
2961
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextTranslateResponse({}));
|
|
2849
2962
|
}
|
|
2850
2963
|
/**
|
|
2851
|
-
*
|
|
2964
|
+
* 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.
|
|
2852
2965
|
*
|
|
2853
2966
|
* @remarks
|
|
2854
2967
|
* ## Product Introduction
|
|
2855
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
2968
|
+
* 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.
|
|
2856
2969
|
* ## Common scenarios
|
|
2857
|
-
* - Product titles
|
|
2858
|
-
* - Product descriptions
|
|
2859
|
-
* - Product attributes
|
|
2860
|
-
* - Customer service conversations
|
|
2861
|
-
* Marco MT
|
|
2862
|
-
* ##
|
|
2970
|
+
* - **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.
|
|
2971
|
+
* - **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.
|
|
2972
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2973
|
+
* - **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.
|
|
2974
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2975
|
+
* ## Functions and features
|
|
2863
2976
|
* - **Supported language directions**
|
|
2864
|
-
* Marco MT
|
|
2977
|
+
* 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).
|
|
2865
2978
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2866
|
-
* Marco MT
|
|
2979
|
+
* 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.
|
|
2867
2980
|
* - **Supported text format types**
|
|
2868
|
-
* Currently
|
|
2869
|
-
* - **Translation intervention
|
|
2870
|
-
*
|
|
2981
|
+
* Currently supports text and html text types.
|
|
2982
|
+
* - **Translation intervention**
|
|
2983
|
+
* 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.
|
|
2871
2984
|
* ## Translation quality comparison
|
|
2872
2985
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2873
2986
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2874
2987
|
* | 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 |
|
|
2875
2988
|
* | 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 |
|
|
2876
|
-
* | 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
|
|
2989
|
+
* | 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 |
|
|
2877
2990
|
*
|
|
2878
2991
|
* @param request - TextTranslateRequest
|
|
2879
2992
|
* @returns TextTranslateResponse
|
|
@@ -2988,9 +3101,9 @@ class Client extends openapi_core_1.default {
|
|
|
2988
3101
|
*
|
|
2989
3102
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
2990
3103
|
*
|
|
2991
|
-
* * **Training and product
|
|
3104
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
2992
3105
|
* ## 3. Features
|
|
2993
|
-
* |
|
|
3106
|
+
* | Feature | Identifier | Description |
|
|
2994
3107
|
* | --- | --- | --- |
|
|
2995
3108
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
2996
3109
|
* ## 4. Developer guide.
|
|
@@ -3052,9 +3165,9 @@ class Client extends openapi_core_1.default {
|
|
|
3052
3165
|
*
|
|
3053
3166
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
3054
3167
|
*
|
|
3055
|
-
* * **Training and product
|
|
3168
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
3056
3169
|
* ## 3. Features
|
|
3057
|
-
* |
|
|
3170
|
+
* | Feature | Identifier | Description |
|
|
3058
3171
|
* | --- | --- | --- |
|
|
3059
3172
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3060
3173
|
* ## 4. Developer guide.
|
|
@@ -3070,29 +3183,29 @@ class Client extends openapi_core_1.default {
|
|
|
3070
3183
|
return await this.videoTranslationWithOptions(request, runtime);
|
|
3071
3184
|
}
|
|
3072
3185
|
/**
|
|
3073
|
-
* 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
|
|
3186
|
+
* 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.
|
|
3074
3187
|
*
|
|
3075
3188
|
* @remarks
|
|
3076
3189
|
* ## Scenarios
|
|
3077
3190
|
* - **Virtual try-on for clothing products:**
|
|
3078
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3191
|
+
* 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.
|
|
3079
3192
|
* - **Virtual try-on for shoes and hats:**
|
|
3080
|
-
* 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
|
|
3193
|
+
* 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.
|
|
3081
3194
|
* - **E-commerce product display and marketing:**
|
|
3082
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
3195
|
+
* 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.
|
|
3083
3196
|
* - **Online shopping experience optimization:**
|
|
3084
|
-
* 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
|
|
3197
|
+
* 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.
|
|
3085
3198
|
* ## Features
|
|
3086
|
-
* - **First,
|
|
3087
|
-
* - a. Model image: the image of the person for
|
|
3199
|
+
* - **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:**
|
|
3200
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3088
3201
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3089
|
-
* - **Second,
|
|
3090
|
-
* - a.
|
|
3091
|
-
* - b. Automatic type recognition: if
|
|
3202
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3203
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3204
|
+
* - 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.
|
|
3092
3205
|
* - **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:**
|
|
3093
|
-
* - a.
|
|
3094
|
-
* - b.
|
|
3095
|
-
* - c.
|
|
3206
|
+
* - 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.
|
|
3207
|
+
* - 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.
|
|
3208
|
+
* - 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.
|
|
3096
3209
|
* ## Sample results
|
|
3097
3210
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3098
3211
|
* | --- | --- | --- | --- |
|
|
@@ -3100,7 +3213,7 @@ class Client extends openapi_core_1.default {
|
|
|
3100
3213
|
* | Bottoms |  |  |  |
|
|
3101
3214
|
* | Shoes |  |  |  |
|
|
3102
3215
|
* | Jumpsuits |  |  |  |
|
|
3103
|
-
* |
|
|
3216
|
+
* | Dresses |  |  |  |
|
|
3104
3217
|
* | Hats |  |  |  |
|
|
3105
3218
|
*
|
|
3106
3219
|
* @param request - VirtualTryOnRequest
|
|
@@ -3139,29 +3252,29 @@ class Client extends openapi_core_1.default {
|
|
|
3139
3252
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VirtualTryOnResponse({}));
|
|
3140
3253
|
}
|
|
3141
3254
|
/**
|
|
3142
|
-
* 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
|
|
3255
|
+
* 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.
|
|
3143
3256
|
*
|
|
3144
3257
|
* @remarks
|
|
3145
3258
|
* ## Scenarios
|
|
3146
3259
|
* - **Virtual try-on for clothing products:**
|
|
3147
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3260
|
+
* 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.
|
|
3148
3261
|
* - **Virtual try-on for shoes and hats:**
|
|
3149
|
-
* 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
|
|
3262
|
+
* 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.
|
|
3150
3263
|
* - **E-commerce product display and marketing:**
|
|
3151
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
3264
|
+
* 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.
|
|
3152
3265
|
* - **Online shopping experience optimization:**
|
|
3153
|
-
* 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
|
|
3266
|
+
* 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.
|
|
3154
3267
|
* ## Features
|
|
3155
|
-
* - **First,
|
|
3156
|
-
* - a. Model image: the image of the person for
|
|
3268
|
+
* - **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:**
|
|
3269
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3157
3270
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3158
|
-
* - **Second,
|
|
3159
|
-
* - a.
|
|
3160
|
-
* - b. Automatic type recognition: if
|
|
3271
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3272
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3273
|
+
* - 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.
|
|
3161
3274
|
* - **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:**
|
|
3162
|
-
* - a.
|
|
3163
|
-
* - b.
|
|
3164
|
-
* - c.
|
|
3275
|
+
* - 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.
|
|
3276
|
+
* - 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.
|
|
3277
|
+
* - 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.
|
|
3165
3278
|
* ## Sample results
|
|
3166
3279
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3167
3280
|
* | --- | --- | --- | --- |
|
|
@@ -3169,7 +3282,7 @@ class Client extends openapi_core_1.default {
|
|
|
3169
3282
|
* | Bottoms |  |  |  |
|
|
3170
3283
|
* | Shoes |  |  |  |
|
|
3171
3284
|
* | Jumpsuits |  |  |  |
|
|
3172
|
-
* |
|
|
3285
|
+
* | Dresses |  |  |  |
|
|
3173
3286
|
* | Hats |  |  |  |
|
|
3174
3287
|
*
|
|
3175
3288
|
* @param request - VirtualTryOnRequest
|