@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/src/client.ts
CHANGED
|
@@ -29,6 +29,122 @@ export default class Client extends OpenApi {
|
|
|
29
29
|
return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* 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.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* ## Scenarios
|
|
37
|
+
* - **Virtual try-on for clothing products:**
|
|
38
|
+
* 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.
|
|
39
|
+
* - **Virtual try-on for shoes and hats:**
|
|
40
|
+
* 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.
|
|
41
|
+
* - **E-commerce product display and marketing:**
|
|
42
|
+
* 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.
|
|
43
|
+
* - **Online shopping experience optimization:**
|
|
44
|
+
* 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.
|
|
45
|
+
* ## Features
|
|
46
|
+
* - **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:**
|
|
47
|
+
* - a. Model image: The person image on which the virtual try-on is performed.
|
|
48
|
+
* - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
|
|
49
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
50
|
+
* - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
|
|
51
|
+
* - 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.
|
|
52
|
+
* - **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:**
|
|
53
|
+
* - 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.
|
|
54
|
+
* - 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.
|
|
55
|
+
* - 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.
|
|
56
|
+
* ## Sample results
|
|
57
|
+
* | **Type** | **Model image** | **Clothing image** | **Try-on result** |
|
|
58
|
+
* | --- | --- | --- | --- |
|
|
59
|
+
* | Tops |  |  |  |
|
|
60
|
+
* | Bottoms |  |  |  |
|
|
61
|
+
* | Shoes |  |  |  |
|
|
62
|
+
* | Jumpsuits |  |  |  |
|
|
63
|
+
* | Dresses |  |  |  |
|
|
64
|
+
* | Hats |  |  |  |
|
|
65
|
+
*
|
|
66
|
+
* @param request - AiTryOnRequest
|
|
67
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
68
|
+
* @returns AiTryOnResponse
|
|
69
|
+
*/
|
|
70
|
+
async aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse> {
|
|
71
|
+
request.validate();
|
|
72
|
+
let query = { };
|
|
73
|
+
if (!$dara.isNull(request.clothImageUrl)) {
|
|
74
|
+
query["ClothImageUrl"] = request.clothImageUrl;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (!$dara.isNull(request.clothType)) {
|
|
78
|
+
query["ClothType"] = request.clothType;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (!$dara.isNull(request.modelImageUrl)) {
|
|
82
|
+
query["ModelImageUrl"] = request.modelImageUrl;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (!$dara.isNull(request.resolution)) {
|
|
86
|
+
query["Resolution"] = request.resolution;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
90
|
+
query: OpenApiUtil.query(query),
|
|
91
|
+
});
|
|
92
|
+
let params = new $OpenApiUtil.Params({
|
|
93
|
+
action: "AiTryOn",
|
|
94
|
+
version: "2026-04-28",
|
|
95
|
+
protocol: "HTTPS",
|
|
96
|
+
pathname: "/",
|
|
97
|
+
method: "POST",
|
|
98
|
+
authType: "AK",
|
|
99
|
+
style: "RPC",
|
|
100
|
+
reqBodyType: "formData",
|
|
101
|
+
bodyType: "json",
|
|
102
|
+
});
|
|
103
|
+
return $dara.cast<$_model.AiTryOnResponse>(await this.callApi(params, req, runtime), new $_model.AiTryOnResponse({}));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 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.
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* ## Scenarios
|
|
111
|
+
* - **Virtual try-on for clothing products:**
|
|
112
|
+
* 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.
|
|
113
|
+
* - **Virtual try-on for shoes and hats:**
|
|
114
|
+
* 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.
|
|
115
|
+
* - **E-commerce product display and marketing:**
|
|
116
|
+
* 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.
|
|
117
|
+
* - **Online shopping experience optimization:**
|
|
118
|
+
* 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.
|
|
119
|
+
* ## Features
|
|
120
|
+
* - **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:**
|
|
121
|
+
* - a. Model image: The person image on which the virtual try-on is performed.
|
|
122
|
+
* - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
|
|
123
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
124
|
+
* - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
|
|
125
|
+
* - 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.
|
|
126
|
+
* - **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:**
|
|
127
|
+
* - 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.
|
|
128
|
+
* - 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.
|
|
129
|
+
* - 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.
|
|
130
|
+
* ## Sample results
|
|
131
|
+
* | **Type** | **Model image** | **Clothing image** | **Try-on result** |
|
|
132
|
+
* | --- | --- | --- | --- |
|
|
133
|
+
* | Tops |  |  |  |
|
|
134
|
+
* | Bottoms |  |  |  |
|
|
135
|
+
* | Shoes |  |  |  |
|
|
136
|
+
* | Jumpsuits |  |  |  |
|
|
137
|
+
* | Dresses |  |  |  |
|
|
138
|
+
* | Hats |  |  |  |
|
|
139
|
+
*
|
|
140
|
+
* @param request - AiTryOnRequest
|
|
141
|
+
* @returns AiTryOnResponse
|
|
142
|
+
*/
|
|
143
|
+
async aiTryOn(request: $_model.AiTryOnRequest): Promise<$_model.AiTryOnResponse> {
|
|
144
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
145
|
+
return await this.aiTryOnWithOptions(request, runtime);
|
|
146
|
+
}
|
|
147
|
+
|
|
32
148
|
/**
|
|
33
149
|
* 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
150
|
*
|
|
@@ -592,25 +708,25 @@ export default class Client extends OpenApi {
|
|
|
592
708
|
}
|
|
593
709
|
|
|
594
710
|
/**
|
|
595
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
711
|
+
* 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
712
|
* Excels in the following areas:
|
|
597
713
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
598
714
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
599
715
|
*
|
|
600
716
|
* @remarks
|
|
601
717
|
* ## Product Introduction
|
|
602
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
718
|
+
* 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
719
|
* Excels in the following areas:
|
|
604
720
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
605
721
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
606
722
|
* ## Common scenarios
|
|
607
723
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
608
|
-
* ##
|
|
724
|
+
* ## Functions and features
|
|
609
725
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
610
726
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
611
727
|
* - Supports high-fidelity layout restoration after translation.
|
|
612
728
|
* - 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
|
|
729
|
+
* - 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
730
|
*
|
|
615
731
|
* @param request - DocumentTranslateRequest
|
|
616
732
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -653,25 +769,25 @@ export default class Client extends OpenApi {
|
|
|
653
769
|
}
|
|
654
770
|
|
|
655
771
|
/**
|
|
656
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
772
|
+
* 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
773
|
* Excels in the following areas:
|
|
658
774
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
659
775
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
660
776
|
*
|
|
661
777
|
* @remarks
|
|
662
778
|
* ## Product Introduction
|
|
663
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
779
|
+
* 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
780
|
* Excels in the following areas:
|
|
665
781
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
666
782
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
667
783
|
* ## Common scenarios
|
|
668
784
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
669
|
-
* ##
|
|
785
|
+
* ## Functions and features
|
|
670
786
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
671
787
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
672
788
|
* - Supports high-fidelity layout restoration after translation.
|
|
673
789
|
* - 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
|
|
790
|
+
* - 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
791
|
*
|
|
676
792
|
* @param request - DocumentTranslateRequest
|
|
677
793
|
* @returns DocumentTranslateResponse
|
|
@@ -978,16 +1094,16 @@ export default class Client extends OpenApi {
|
|
|
978
1094
|
}
|
|
979
1095
|
|
|
980
1096
|
/**
|
|
981
|
-
*
|
|
1097
|
+
* Intelligent element recognition.
|
|
982
1098
|
*
|
|
983
1099
|
* @remarks
|
|
984
1100
|
* ## Product Introduction
|
|
985
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1101
|
+
* 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
1102
|
* ## Scenarios
|
|
987
1103
|
* **1. Intelligent image screening and optimization:**
|
|
988
1104
|
* 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
1105
|
* **2. Automated image processing and efficiency improvement:**
|
|
990
|
-
*
|
|
1106
|
+
* 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
1107
|
* ## Features
|
|
992
1108
|
* **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
1109
|
* * Image subject: The core product area in the image.
|
|
@@ -1005,12 +1121,12 @@ export default class Client extends OpenApi {
|
|
|
1005
1121
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1006
1122
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1007
1123
|
*
|
|
1008
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
1124
|
+
* * 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
1125
|
* ## 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
|
|
1126
|
+
* * 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
1127
|
*
|
|
1012
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
1013
|
-
* ##
|
|
1128
|
+
* * 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.
|
|
1129
|
+
* ## Comparison
|
|
1014
1130
|
* | **Original image** | **Recognition result** |
|
|
1015
1131
|
* | --- | --- |
|
|
1016
1132
|
* |  | [Subject]
|
|
@@ -1115,16 +1231,16 @@ export default class Client extends OpenApi {
|
|
|
1115
1231
|
}
|
|
1116
1232
|
|
|
1117
1233
|
/**
|
|
1118
|
-
*
|
|
1234
|
+
* Intelligent element recognition.
|
|
1119
1235
|
*
|
|
1120
1236
|
* @remarks
|
|
1121
1237
|
* ## Product Introduction
|
|
1122
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1238
|
+
* 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
1239
|
* ## Scenarios
|
|
1124
1240
|
* **1. Intelligent image screening and optimization:**
|
|
1125
1241
|
* 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
1242
|
* **2. Automated image processing and efficiency improvement:**
|
|
1127
|
-
*
|
|
1243
|
+
* 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
1244
|
* ## Features
|
|
1129
1245
|
* **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
1246
|
* * Image subject: The core product area in the image.
|
|
@@ -1142,12 +1258,12 @@ export default class Client extends OpenApi {
|
|
|
1142
1258
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1143
1259
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1144
1260
|
*
|
|
1145
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
1261
|
+
* * 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
1262
|
* ## 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
|
|
1263
|
+
* * 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
1264
|
*
|
|
1149
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
1150
|
-
* ##
|
|
1265
|
+
* * 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.
|
|
1266
|
+
* ## Comparison
|
|
1151
1267
|
* | **Original image** | **Recognition result** |
|
|
1152
1268
|
* | --- | --- |
|
|
1153
1269
|
* |  | [Subject]
|
|
@@ -1662,19 +1778,19 @@ export default class Client extends OpenApi {
|
|
|
1662
1778
|
}
|
|
1663
1779
|
|
|
1664
1780
|
/**
|
|
1665
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1781
|
+
* 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
1782
|
*
|
|
1667
1783
|
* @remarks
|
|
1668
1784
|
* ## Product Introduction
|
|
1669
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1785
|
+
* 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
1786
|
* ## Scenarios
|
|
1671
1787
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1672
1788
|
* ## 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).
|
|
1789
|
+
* - **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.
|
|
1790
|
+
* - **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.
|
|
1791
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1792
|
+
* - **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.
|
|
1793
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1678
1794
|
*
|
|
1679
1795
|
* @param request - ImageTranslationProRequest
|
|
1680
1796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1733,19 +1849,19 @@ export default class Client extends OpenApi {
|
|
|
1733
1849
|
}
|
|
1734
1850
|
|
|
1735
1851
|
/**
|
|
1736
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1852
|
+
* 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
1853
|
*
|
|
1738
1854
|
* @remarks
|
|
1739
1855
|
* ## Product Introduction
|
|
1740
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1856
|
+
* 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
1857
|
* ## Scenarios
|
|
1742
1858
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1743
1859
|
* ## 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).
|
|
1860
|
+
* - **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.
|
|
1861
|
+
* - **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.
|
|
1862
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1863
|
+
* - **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.
|
|
1864
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1749
1865
|
*
|
|
1750
1866
|
* @param request - ImageTranslationProRequest
|
|
1751
1867
|
* @returns ImageTranslationProResponse
|
|
@@ -2047,6 +2163,10 @@ export default class Client extends OpenApi {
|
|
|
2047
2163
|
query["RagId"] = request.ragId;
|
|
2048
2164
|
}
|
|
2049
2165
|
|
|
2166
|
+
if (!$dara.isNull(request.rule)) {
|
|
2167
|
+
query["Rule"] = request.rule;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2050
2170
|
if (!$dara.isNull(request.type)) {
|
|
2051
2171
|
query["Type"] = request.type;
|
|
2052
2172
|
}
|
|
@@ -2174,28 +2294,28 @@ export default class Client extends OpenApi {
|
|
|
2174
2294
|
}
|
|
2175
2295
|
|
|
2176
2296
|
/**
|
|
2177
|
-
*
|
|
2297
|
+
* 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
2298
|
*
|
|
2179
2299
|
* @remarks
|
|
2180
2300
|
* ## 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
|
|
2301
|
+
* 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
2302
|
* ## Common scenarios
|
|
2183
2303
|
* - 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
|
|
2304
|
+
* - 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.
|
|
2305
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2186
2306
|
* - 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
2307
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2188
2308
|
* ## 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
|
|
2309
|
+
* - **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.
|
|
2310
|
+
* - **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
2311
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2192
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2312
|
+
* - **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
2313
|
* ## Translation quality comparison
|
|
2194
2314
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2195
2315
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2196
2316
|
* | 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
2317
|
* | 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
|
|
2318
|
+
* | 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
2319
|
*
|
|
2200
2320
|
* @param tmpReq - PrepaidTextTranslateRequest
|
|
2201
2321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2256,28 +2376,28 @@ export default class Client extends OpenApi {
|
|
|
2256
2376
|
}
|
|
2257
2377
|
|
|
2258
2378
|
/**
|
|
2259
|
-
*
|
|
2379
|
+
* 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
2380
|
*
|
|
2261
2381
|
* @remarks
|
|
2262
2382
|
* ## 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
|
|
2383
|
+
* 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
2384
|
* ## Common scenarios
|
|
2265
2385
|
* - 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
|
|
2386
|
+
* - 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.
|
|
2387
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
2268
2388
|
* - 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
2389
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2270
2390
|
* ## 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
|
|
2391
|
+
* - **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.
|
|
2392
|
+
* - **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
2393
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2274
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
2394
|
+
* - **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
2395
|
* ## Translation quality comparison
|
|
2276
2396
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2277
2397
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2278
2398
|
* | 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
2399
|
* | 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
|
|
2400
|
+
* | 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
2401
|
*
|
|
2282
2402
|
* @param request - PrepaidTextTranslateRequest
|
|
2283
2403
|
* @returns PrepaidTextTranslateResponse
|
|
@@ -2488,19 +2608,19 @@ export default class Client extends OpenApi {
|
|
|
2488
2608
|
}
|
|
2489
2609
|
|
|
2490
2610
|
/**
|
|
2491
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2611
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2492
2612
|
*
|
|
2493
2613
|
* @remarks
|
|
2494
2614
|
* ## Product Introduction
|
|
2495
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2615
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2496
2616
|
* ## Common scenarios
|
|
2497
2617
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2498
2618
|
*
|
|
2499
2619
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2500
2620
|
* ## Functions and features
|
|
2501
|
-
* The size chart extraction service is based on a multimodal
|
|
2502
|
-
* Core
|
|
2503
|
-
* ##
|
|
2621
|
+
* 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.
|
|
2622
|
+
* 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.
|
|
2623
|
+
* ## Comparison
|
|
2504
2624
|
* | **Input image** | **Output result** |
|
|
2505
2625
|
* | --- | --- |
|
|
2506
2626
|
* |  | {
|
|
@@ -2653,19 +2773,19 @@ export default class Client extends OpenApi {
|
|
|
2653
2773
|
}
|
|
2654
2774
|
|
|
2655
2775
|
/**
|
|
2656
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2776
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2657
2777
|
*
|
|
2658
2778
|
* @remarks
|
|
2659
2779
|
* ## Product Introduction
|
|
2660
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2780
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2661
2781
|
* ## Common scenarios
|
|
2662
2782
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2663
2783
|
*
|
|
2664
2784
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2665
2785
|
* ## Functions and features
|
|
2666
|
-
* The size chart extraction service is based on a multimodal
|
|
2667
|
-
* Core
|
|
2668
|
-
* ##
|
|
2786
|
+
* 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.
|
|
2787
|
+
* 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.
|
|
2788
|
+
* ## Comparison
|
|
2669
2789
|
* | **Input image** | **Output result** |
|
|
2670
2790
|
* | --- | --- |
|
|
2671
2791
|
* |  | {
|
|
@@ -2936,32 +3056,32 @@ export default class Client extends OpenApi {
|
|
|
2936
3056
|
}
|
|
2937
3057
|
|
|
2938
3058
|
/**
|
|
2939
|
-
*
|
|
3059
|
+
* 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
3060
|
*
|
|
2941
3061
|
* @remarks
|
|
2942
3062
|
* ## Product Introduction
|
|
2943
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
3063
|
+
* 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
3064
|
* ## Common scenarios
|
|
2945
|
-
* - Product titles
|
|
2946
|
-
* - Product descriptions
|
|
2947
|
-
* - Product attributes
|
|
2948
|
-
* - Customer service conversations
|
|
2949
|
-
* Marco MT
|
|
2950
|
-
* ##
|
|
3065
|
+
* - **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.
|
|
3066
|
+
* - **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.
|
|
3067
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3068
|
+
* - **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.
|
|
3069
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
3070
|
+
* ## Functions and features
|
|
2951
3071
|
* - **Supported language directions**
|
|
2952
|
-
* Marco MT
|
|
3072
|
+
* 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
3073
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2954
|
-
* Marco MT
|
|
3074
|
+
* 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
3075
|
* - **Supported text format types**
|
|
2956
|
-
* Currently
|
|
2957
|
-
* - **Translation intervention
|
|
2958
|
-
*
|
|
3076
|
+
* Currently supports text and html text types.
|
|
3077
|
+
* - **Translation intervention**
|
|
3078
|
+
* 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
3079
|
* ## Translation quality comparison
|
|
2960
3080
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2961
3081
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2962
3082
|
* | 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
3083
|
* | 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
|
|
3084
|
+
* | 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
3085
|
*
|
|
2966
3086
|
* @param tmpReq - TextTranslateRequest
|
|
2967
3087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3022,32 +3142,32 @@ export default class Client extends OpenApi {
|
|
|
3022
3142
|
}
|
|
3023
3143
|
|
|
3024
3144
|
/**
|
|
3025
|
-
*
|
|
3145
|
+
* 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
3146
|
*
|
|
3027
3147
|
* @remarks
|
|
3028
3148
|
* ## Product Introduction
|
|
3029
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
3149
|
+
* 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
3150
|
* ## Common scenarios
|
|
3031
|
-
* - Product titles
|
|
3032
|
-
* - Product descriptions
|
|
3033
|
-
* - Product attributes
|
|
3034
|
-
* - Customer service conversations
|
|
3035
|
-
* Marco MT
|
|
3036
|
-
* ##
|
|
3151
|
+
* - **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.
|
|
3152
|
+
* - **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.
|
|
3153
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3154
|
+
* - **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.
|
|
3155
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
3156
|
+
* ## Functions and features
|
|
3037
3157
|
* - **Supported language directions**
|
|
3038
|
-
* Marco MT
|
|
3158
|
+
* 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
3159
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
3040
|
-
* Marco MT
|
|
3160
|
+
* 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
3161
|
* - **Supported text format types**
|
|
3042
|
-
* Currently
|
|
3043
|
-
* - **Translation intervention
|
|
3044
|
-
*
|
|
3162
|
+
* Currently supports text and html text types.
|
|
3163
|
+
* - **Translation intervention**
|
|
3164
|
+
* 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
3165
|
* ## Translation quality comparison
|
|
3046
3166
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
3047
3167
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
3048
3168
|
* | 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
3169
|
* | 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
|
|
3170
|
+
* | 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
3171
|
*
|
|
3052
3172
|
* @param request - TextTranslateRequest
|
|
3053
3173
|
* @returns TextTranslateResponse
|
|
@@ -3171,9 +3291,9 @@ export default class Client extends OpenApi {
|
|
|
3171
3291
|
*
|
|
3172
3292
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
3173
3293
|
*
|
|
3174
|
-
* * **Training and product
|
|
3294
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
3175
3295
|
* ## 3. Features
|
|
3176
|
-
* |
|
|
3296
|
+
* | Feature | Identifier | Description |
|
|
3177
3297
|
* | --- | --- | --- |
|
|
3178
3298
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3179
3299
|
* ## 4. Developer guide.
|
|
@@ -3241,9 +3361,9 @@ export default class Client extends OpenApi {
|
|
|
3241
3361
|
*
|
|
3242
3362
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
3243
3363
|
*
|
|
3244
|
-
* * **Training and product
|
|
3364
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
3245
3365
|
* ## 3. Features
|
|
3246
|
-
* |
|
|
3366
|
+
* | Feature | Identifier | Description |
|
|
3247
3367
|
* | --- | --- | --- |
|
|
3248
3368
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3249
3369
|
* ## 4. Developer guide.
|
|
@@ -3260,29 +3380,29 @@ export default class Client extends OpenApi {
|
|
|
3260
3380
|
}
|
|
3261
3381
|
|
|
3262
3382
|
/**
|
|
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
|
|
3383
|
+
* 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
3384
|
*
|
|
3265
3385
|
* @remarks
|
|
3266
3386
|
* ## Scenarios
|
|
3267
3387
|
* - **Virtual try-on for clothing products:**
|
|
3268
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3388
|
+
* 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
3389
|
* - **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
|
|
3390
|
+
* 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
3391
|
* - **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
|
|
3392
|
+
* 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
3393
|
* - **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
|
|
3394
|
+
* 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
3395
|
* ## Features
|
|
3276
|
-
* - **First,
|
|
3277
|
-
* - a. Model image: the image of the person for
|
|
3396
|
+
* - **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:**
|
|
3397
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3278
3398
|
* - 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
|
|
3399
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3400
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3401
|
+
* - 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
3402
|
* - **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.
|
|
3403
|
+
* - 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.
|
|
3404
|
+
* - 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.
|
|
3405
|
+
* - 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
3406
|
* ## Sample results
|
|
3287
3407
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3288
3408
|
* | --- | --- | --- | --- |
|
|
@@ -3290,7 +3410,7 @@ export default class Client extends OpenApi {
|
|
|
3290
3410
|
* | Bottoms |  |  |  |
|
|
3291
3411
|
* | Shoes |  |  |  |
|
|
3292
3412
|
* | Jumpsuits |  |  |  |
|
|
3293
|
-
* |
|
|
3413
|
+
* | Dresses |  |  |  |
|
|
3294
3414
|
* | Hats |  |  |  |
|
|
3295
3415
|
*
|
|
3296
3416
|
* @param request - VirtualTryOnRequest
|
|
@@ -3334,29 +3454,29 @@ export default class Client extends OpenApi {
|
|
|
3334
3454
|
}
|
|
3335
3455
|
|
|
3336
3456
|
/**
|
|
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
|
|
3457
|
+
* 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
3458
|
*
|
|
3339
3459
|
* @remarks
|
|
3340
3460
|
* ## Scenarios
|
|
3341
3461
|
* - **Virtual try-on for clothing products:**
|
|
3342
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
3462
|
+
* 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
3463
|
* - **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
|
|
3464
|
+
* 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
3465
|
* - **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
|
|
3466
|
+
* 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
3467
|
* - **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
|
|
3468
|
+
* 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
3469
|
* ## Features
|
|
3350
|
-
* - **First,
|
|
3351
|
-
* - a. Model image: the image of the person for
|
|
3470
|
+
* - **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:**
|
|
3471
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
3352
3472
|
* - 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
|
|
3473
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
3474
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
3475
|
+
* - 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
3476
|
* - **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.
|
|
3477
|
+
* - 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.
|
|
3478
|
+
* - 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.
|
|
3479
|
+
* - 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
3480
|
* ## Sample results
|
|
3361
3481
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3362
3482
|
* | --- | --- | --- | --- |
|
|
@@ -3364,7 +3484,7 @@ export default class Client extends OpenApi {
|
|
|
3364
3484
|
* | Bottoms |  |  |  |
|
|
3365
3485
|
* | Shoes |  |  |  |
|
|
3366
3486
|
* | Jumpsuits |  |  |  |
|
|
3367
|
-
* |
|
|
3487
|
+
* | Dresses |  |  |  |
|
|
3368
3488
|
* | Hats |  |  |  |
|
|
3369
3489
|
*
|
|
3370
3490
|
* @param request - VirtualTryOnRequest
|