@alicloud/aidge20260428 5.4.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +548 -456
- package/dist/client.js +623 -456
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -1
- package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryMatchRequest.d.ts +7 -7
- package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
- package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +2 -2
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
- package/dist/models/ImageMattingRequest.d.ts +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +2 -3
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemovalProRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
- package/dist/models/ImageRemoveRequest.d.ts +9 -9
- package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
- package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationProRequest.d.ts +10 -10
- package/dist/models/ImageTranslationProResponseBody.d.ts +11 -11
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
- package/dist/models/LanguageDetectRequest.d.ts +2 -2
- package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
- package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
- package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
- package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
- package/dist/models/SubmitProductMatchRequest.js +70 -0
- package/dist/models/SubmitProductMatchRequest.js.map +1 -0
- package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
- package/dist/models/SubmitProductMatchResponse.js +69 -0
- package/dist/models/SubmitProductMatchResponse.js.map +1 -0
- package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
- package/dist/models/SubmitProductMatchResponseBody.js +90 -0
- package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +6 -15
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +5 -5
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -15
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VirtualTryOnRequest.d.ts +51 -0
- package/dist/models/VirtualTryOnRequest.js +64 -0
- package/dist/models/VirtualTryOnRequest.js.map +1 -0
- package/dist/models/VirtualTryOnResponse.d.ts +19 -0
- package/dist/models/VirtualTryOnResponse.js +69 -0
- package/dist/models/VirtualTryOnResponse.js.map +1 -0
- package/dist/models/VirtualTryOnResponseBody.d.ts +77 -0
- package/dist/models/VirtualTryOnResponseBody.js +93 -0
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -0
- package/dist/models/VisionFlowRequest.d.ts +15 -15
- package/dist/models/VisionFlowResponseBody.d.ts +1 -1
- package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +19 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +638 -456
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -1
- package/src/models/AssetOptimizeProRequest.ts +5 -5
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
- package/src/models/CategoryMatchRequest.ts +7 -7
- package/src/models/CategoryMatchResponseBody.ts +8 -8
- package/src/models/DiduiAreaDeductionRequest.ts +2 -2
- package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +2 -2
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +12 -12
- package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
- package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
- package/src/models/ImageMattingRequest.ts +1 -1
- package/src/models/ImageMattingResponseBody.ts +2 -3
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemovalProRequest.ts +2 -2
- package/src/models/ImageRemovalProResponseBody.ts +3 -3
- package/src/models/ImageRemoveRequest.ts +9 -9
- package/src/models/ImageRemoveResponseBody.ts +2 -2
- package/src/models/ImageRemoveShrinkRequest.ts +9 -9
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
- package/src/models/ImageTranslationProRequest.ts +10 -10
- package/src/models/ImageTranslationProResponseBody.ts +11 -11
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
- package/src/models/LanguageDetectRequest.ts +2 -2
- package/src/models/LanguageDetectResponseBody.ts +3 -3
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +6 -11
- package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
- package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
- package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
- package/src/models/PrepaidTextTranslateRequest.ts +3 -3
- package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
- package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
- package/src/models/SizeChartDetectResponseBody.ts +3 -4
- package/src/models/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextTranslateRequest.ts +6 -15
- package/src/models/TextTranslateResponseBody.ts +5 -5
- package/src/models/TextTranslateShrinkRequest.ts +6 -15
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VirtualTryOnRequest.ts +70 -0
- package/src/models/VirtualTryOnResponse.ts +40 -0
- package/src/models/VirtualTryOnResponseBody.ts +114 -0
- package/src/models/VisionFlowRequest.ts +15 -15
- package/src/models/VisionFlowResponseBody.ts +1 -1
- package/src/models/VisionFlowShrinkRequest.ts +15 -15
- package/src/models/model.ts +8 -0
package/dist/client.js
CHANGED
|
@@ -62,19 +62,19 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform
|
|
65
|
+
* 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
66
|
*
|
|
67
67
|
* @remarks
|
|
68
68
|
* ## Product Introduction
|
|
69
|
-
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform
|
|
69
|
+
* 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)
|
|
70
70
|
* ## Scenarios
|
|
71
|
-
* Suitable for cost-sensitive cross-platform listing scenarios where
|
|
72
|
-
* By filtering images that contain watermarks or non-compliant elements and prioritizing clean original images,
|
|
71
|
+
* Suitable for cost-sensitive cross-platform listing scenarios where speed, volume, and low cost are the top priorities. Examples include bulk listing from 1688 to TEMU, batch uploading of high-SKU inventory, entry-level AI processing for top sellers and ERP/SaaS platforms, and merchants with high daily processing volumes but low requirements for marketing performance.
|
|
72
|
+
* By filtering images that contain watermarks or non-compliant elements and prioritizing clean original images, this service reduces AI generation steps and helps merchants complete cross-platform listings at minimal call cost.
|
|
73
73
|
* ## Features
|
|
74
|
-
* This service uses an officially
|
|
75
|
-
* 1. Automatically parses 1688 product
|
|
76
|
-
* 2. Performs text filtering and SEO optimization based on the TEMU platform
|
|
77
|
-
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing clean original images
|
|
74
|
+
* This service uses an officially preset minimum-cost product optimization workflow that covers the entire pipeline from asset retrieval, compliance filtering, and text optimization to image processing:
|
|
75
|
+
* 1. Automatically parses 1688 product links and extracts multiple asset types such as titles, SKUs, main images, detail images, and attributes.
|
|
76
|
+
* 2. Performs text filtering and SEO optimization based on the TEMU platform blocklist and compliance rules.
|
|
77
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing filtering and selecting clean original images. SKU images and a small number of main images are processed with image translation capabilities to meet platform standards (high-conversion images with marketing text may be filtered out).
|
|
78
78
|
* 4. Completes category matching, attribute filling, and localized rewriting based on target platform requirements.
|
|
79
79
|
*
|
|
80
80
|
* @param request - AssetOptimizeLiteRequest
|
|
@@ -128,19 +128,19 @@ class Client extends openapi_core_1.default {
|
|
|
128
128
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssetOptimizeLiteResponse({}));
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform
|
|
131
|
+
* 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)
|
|
132
132
|
*
|
|
133
133
|
* @remarks
|
|
134
134
|
* ## Product Introduction
|
|
135
|
-
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform
|
|
135
|
+
* 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)
|
|
136
136
|
* ## Scenarios
|
|
137
|
-
* Suitable for cost-sensitive cross-platform listing scenarios where
|
|
138
|
-
* By filtering images that contain watermarks or non-compliant elements and prioritizing clean original images,
|
|
137
|
+
* Suitable for cost-sensitive cross-platform listing scenarios where speed, volume, and low cost are the top priorities. Examples include bulk listing from 1688 to TEMU, batch uploading of high-SKU inventory, entry-level AI processing for top sellers and ERP/SaaS platforms, and merchants with high daily processing volumes but low requirements for marketing performance.
|
|
138
|
+
* By filtering images that contain watermarks or non-compliant elements and prioritizing clean original images, this service reduces AI generation steps and helps merchants complete cross-platform listings at minimal call cost.
|
|
139
139
|
* ## Features
|
|
140
|
-
* This service uses an officially
|
|
141
|
-
* 1. Automatically parses 1688 product
|
|
142
|
-
* 2. Performs text filtering and SEO optimization based on the TEMU platform
|
|
143
|
-
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing clean original images
|
|
140
|
+
* This service uses an officially preset minimum-cost product optimization workflow that covers the entire pipeline from asset retrieval, compliance filtering, and text optimization to image processing:
|
|
141
|
+
* 1. Automatically parses 1688 product links and extracts multiple asset types such as titles, SKUs, main images, detail images, and attributes.
|
|
142
|
+
* 2. Performs text filtering and SEO optimization based on the TEMU platform blocklist and compliance rules.
|
|
143
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing filtering and selecting clean original images. SKU images and a small number of main images are processed with image translation capabilities to meet platform standards (high-conversion images with marketing text may be filtered out).
|
|
144
144
|
* 4. Completes category matching, attribute filling, and localized rewriting based on target platform requirements.
|
|
145
145
|
*
|
|
146
146
|
* @param request - AssetOptimizeLiteRequest
|
|
@@ -151,20 +151,20 @@ class Client extends openapi_core_1.default {
|
|
|
151
151
|
return await this.assetOptimizeLiteWithOptions(request, runtime);
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
|
-
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses
|
|
154
|
+
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses an officially pre-built best-performance workflow that maximizes AI capabilities, preserves and localizes brand marketing assets, and generates category-specific assets such as size charts for apparel categories. (Asynchronous)
|
|
155
155
|
*
|
|
156
156
|
* @remarks
|
|
157
157
|
* ## Product Introduction
|
|
158
158
|
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting.
|
|
159
|
-
* ##
|
|
160
|
-
* Suitable for scenarios that
|
|
161
|
-
* ##
|
|
162
|
-
* This service uses
|
|
159
|
+
* ## Common scenarios
|
|
160
|
+
* Suitable for scenarios that demand high-quality cross-platform product listing assets and strong conversion performance. Examples include categories with high dependency on marketing assets such as apparel, accessories, beauty, and home goods. Also ideal for brand merchants and high-value products that need to preserve the tone of marketing images with embedded copywriting. Designed for top sellers and ERP/SaaS platforms conducting localized operations across multiple languages and markets, as well as scenarios that require category-specific assets (such as size charts and weight/dimension tables) to improve listing quality and conversion rates.
|
|
161
|
+
* ## Functions and features
|
|
162
|
+
* This service uses an officially pre-built "Best Performance" product optimization workflow that covers the entire pipeline from asset retrieval, diagnosis, filtering, and optimization to output:
|
|
163
163
|
* 1. Automatically parses 1688 product links to extract all assets including titles, SKUs, main images, detail images, and attributes. Intelligently diagnoses missing assets and optimization opportunities.
|
|
164
|
-
* 2. Uses LLM
|
|
164
|
+
* 2. Uses LLM-based text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
165
165
|
* 3. Invokes multiple image processing capabilities including intelligent recognition, intelligent background removal, intelligent erasure, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling.
|
|
166
|
-
* 4. Outputs category-specific assets such as size charts and
|
|
167
|
-
* 5.
|
|
166
|
+
* 4. Outputs category-specific assets such as size charts and weight/dimension tables for apparel categories.
|
|
167
|
+
* 5. Delivers a standardized product asset package ready for direct listing.
|
|
168
168
|
*
|
|
169
169
|
* @param tmpReq - AssetOptimizeProRequest
|
|
170
170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -231,20 +231,20 @@ class Client extends openapi_core_1.default {
|
|
|
231
231
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssetOptimizeProResponse({}));
|
|
232
232
|
}
|
|
233
233
|
/**
|
|
234
|
-
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses
|
|
234
|
+
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses an officially pre-built best-performance workflow that maximizes AI capabilities, preserves and localizes brand marketing assets, and generates category-specific assets such as size charts for apparel categories. (Asynchronous)
|
|
235
235
|
*
|
|
236
236
|
* @remarks
|
|
237
237
|
* ## Product Introduction
|
|
238
238
|
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (best performance edition). Accepts a 1688 product link as input and outputs a complete set of assets adapted to TEMU platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting.
|
|
239
|
-
* ##
|
|
240
|
-
* Suitable for scenarios that
|
|
241
|
-
* ##
|
|
242
|
-
* This service uses
|
|
239
|
+
* ## Common scenarios
|
|
240
|
+
* Suitable for scenarios that demand high-quality cross-platform product listing assets and strong conversion performance. Examples include categories with high dependency on marketing assets such as apparel, accessories, beauty, and home goods. Also ideal for brand merchants and high-value products that need to preserve the tone of marketing images with embedded copywriting. Designed for top sellers and ERP/SaaS platforms conducting localized operations across multiple languages and markets, as well as scenarios that require category-specific assets (such as size charts and weight/dimension tables) to improve listing quality and conversion rates.
|
|
241
|
+
* ## Functions and features
|
|
242
|
+
* This service uses an officially pre-built "Best Performance" product optimization workflow that covers the entire pipeline from asset retrieval, diagnosis, filtering, and optimization to output:
|
|
243
243
|
* 1. Automatically parses 1688 product links to extract all assets including titles, SKUs, main images, detail images, and attributes. Intelligently diagnoses missing assets and optimization opportunities.
|
|
244
|
-
* 2. Uses LLM
|
|
244
|
+
* 2. Uses LLM-based text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
245
245
|
* 3. Invokes multiple image processing capabilities including intelligent recognition, intelligent background removal, intelligent erasure, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling.
|
|
246
|
-
* 4. Outputs category-specific assets such as size charts and
|
|
247
|
-
* 5.
|
|
246
|
+
* 4. Outputs category-specific assets such as size charts and weight/dimension tables for apparel categories.
|
|
247
|
+
* 5. Delivers a standardized product asset package ready for direct listing.
|
|
248
248
|
*
|
|
249
249
|
* @param request - AssetOptimizeProRequest
|
|
250
250
|
* @returns AssetOptimizeProResponse
|
|
@@ -254,13 +254,13 @@ class Client extends openapi_core_1.default {
|
|
|
254
254
|
return await this.assetOptimizeProWithOptions(request, runtime);
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal
|
|
257
|
+
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal foundation models. Takes product information from a source platform, automatically matches the category on the target listing platform, and intelligently fills in all required attribute fields under that category, offering a one-stop solution for category selection and attribute filling during product listing. (Synchronous)
|
|
258
258
|
*
|
|
259
259
|
* @remarks
|
|
260
260
|
* # Applicable scenarios
|
|
261
|
-
* Cross-platform product listing attribute filling: When merchants list products across platforms, the attribute fields required by different platforms (source platform
|
|
261
|
+
* Cross-platform product listing attribute filling: When merchants list products across platforms, the attribute fields required by different platforms (such as the source platform and the TEMU platform) vary significantly, and complex hierarchical option dependencies exist (such as Material → Wood Type → Density). Manual filling is time-consuming and error-prone. This service automatically understands product information and intelligently fills in various attributes. It is applicable to scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
262
262
|
* # Feature overview
|
|
263
|
-
* Users input the product title, source category, product details, SKU, product attributes, and product images (up to 10). The system uses multimodal AI to understand product semantics and visual features,
|
|
263
|
+
* Users input the product title, source category, product details, SKU, product attributes, and product images (up to 10). The system uses multimodal AI to understand the product semantics and visual features, and completes two core tasks: ① Matches the precise category path for the product on the TEMU platform. ② Automatically fills in the required attributes under that category (such as material, battery properties, size, and connectivity), and returns the confidence score and reasoning for each attribute. The API uses synchronous mode and returns results immediately after the call.
|
|
264
264
|
* # Comparison
|
|
265
265
|
* The following example shows the attributes of a USB fan:
|
|
266
266
|
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
@@ -270,13 +270,13 @@ class Client extends openapi_core_1.default {
|
|
|
270
270
|
* | Additional Features | Digital Display | Battery Capacity (mAh) | 4000 | Yes |
|
|
271
271
|
* | Built-in Battery Capacity | 2000mAh-4000mAh (inclusive) | Fan Features | High Speed | No |
|
|
272
272
|
* | Item Number | X699 | Control Method | Button | Yes |
|
|
273
|
-
* | Main Downstream Platforms |
|
|
273
|
+
* | Main Downstream Platforms | ebay, Amazon, wish, AliExpress, Independent Site, LAZADA, Other | Finish Type | Painted | Yes |
|
|
274
274
|
* | Has Licensable Own Brand | No | Recommended Use | Cooling | No |
|
|
275
275
|
* | Dimensions | 65\\*60\\*171 | Fan Design | Wearable Fan | No |
|
|
276
|
-
* | Applicable Gift
|
|
276
|
+
* | Applicable Gift Occasion | Personal Gift | Included Components | None | No |
|
|
277
277
|
* | Shell Process | Spray Coating (UV Paint, Rubber Paint, Metallic Paint, Piano Lacquer, Pearl Powder) | Material | Plastic | No |
|
|
278
278
|
* | Package Volume | 65\\*60\\*171 | Special Features | Portable | No |
|
|
279
|
-
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use |
|
|
279
|
+
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use | Indoor and Outdoor | No |
|
|
280
280
|
* | Wind Speed Levels | 3 Levels | Brand Name | None | No |
|
|
281
281
|
* | Operation Method | Standard Button | | | |
|
|
282
282
|
* | Blade Material | ABS | | | |
|
|
@@ -284,14 +284,14 @@ class Client extends openapi_core_1.default {
|
|
|
284
284
|
* | Built-in Battery | Yes | | | |
|
|
285
285
|
* | Patented Source | No | | | |
|
|
286
286
|
* | Color | X699 Fan-Yellow, X699 Fan-Light Purple, X699 Fan-Sky Blue, X699 Fan-Orange, X699 Fan-Light Green, Standard Small Fan | | | |
|
|
287
|
-
* | Main Sales Regions | Japan
|
|
287
|
+
* | Main Sales Regions | Japan & Korea, Africa, Korea, Japan, Europe, South America, Southeast Asia, North America, Northeast Asia, Middle East, Latin America, Europe & America, Other | | | |
|
|
288
288
|
* | Cross-border Export Exclusive | Yes | | | |
|
|
289
289
|
* | Style | Fresh | | | |
|
|
290
290
|
* | Motor Type | Brushless Motor | | | |
|
|
291
291
|
* | Noise | 36dB(A)-45dB(A) (inclusive) | | | |
|
|
292
292
|
* | Net Weight | 125g | | | |
|
|
293
|
-
* | Number of Blades | 6 or
|
|
294
|
-
* | Fan
|
|
293
|
+
* | Number of Blades | 6 or More | | | |
|
|
294
|
+
* | Fan Type | Handheld Fan | | | |
|
|
295
295
|
*
|
|
296
296
|
* @param tmpReq - CategoryAttributeMatchRequest
|
|
297
297
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -346,13 +346,13 @@ class Client extends openapi_core_1.default {
|
|
|
346
346
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CategoryAttributeMatchResponse({}));
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal
|
|
349
|
+
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal foundation models. Takes product information from a source platform, automatically matches the category on the target listing platform, and intelligently fills in all required attribute fields under that category, offering a one-stop solution for category selection and attribute filling during product listing. (Synchronous)
|
|
350
350
|
*
|
|
351
351
|
* @remarks
|
|
352
352
|
* # Applicable scenarios
|
|
353
|
-
* Cross-platform product listing attribute filling: When merchants list products across platforms, the attribute fields required by different platforms (source platform
|
|
353
|
+
* Cross-platform product listing attribute filling: When merchants list products across platforms, the attribute fields required by different platforms (such as the source platform and the TEMU platform) vary significantly, and complex hierarchical option dependencies exist (such as Material → Wood Type → Density). Manual filling is time-consuming and error-prone. This service automatically understands product information and intelligently fills in various attributes. It is applicable to scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
354
354
|
* # Feature overview
|
|
355
|
-
* Users input the product title, source category, product details, SKU, product attributes, and product images (up to 10). The system uses multimodal AI to understand product semantics and visual features,
|
|
355
|
+
* Users input the product title, source category, product details, SKU, product attributes, and product images (up to 10). The system uses multimodal AI to understand the product semantics and visual features, and completes two core tasks: ① Matches the precise category path for the product on the TEMU platform. ② Automatically fills in the required attributes under that category (such as material, battery properties, size, and connectivity), and returns the confidence score and reasoning for each attribute. The API uses synchronous mode and returns results immediately after the call.
|
|
356
356
|
* # Comparison
|
|
357
357
|
* The following example shows the attributes of a USB fan:
|
|
358
358
|
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
@@ -362,13 +362,13 @@ class Client extends openapi_core_1.default {
|
|
|
362
362
|
* | Additional Features | Digital Display | Battery Capacity (mAh) | 4000 | Yes |
|
|
363
363
|
* | Built-in Battery Capacity | 2000mAh-4000mAh (inclusive) | Fan Features | High Speed | No |
|
|
364
364
|
* | Item Number | X699 | Control Method | Button | Yes |
|
|
365
|
-
* | Main Downstream Platforms |
|
|
365
|
+
* | Main Downstream Platforms | ebay, Amazon, wish, AliExpress, Independent Site, LAZADA, Other | Finish Type | Painted | Yes |
|
|
366
366
|
* | Has Licensable Own Brand | No | Recommended Use | Cooling | No |
|
|
367
367
|
* | Dimensions | 65\\*60\\*171 | Fan Design | Wearable Fan | No |
|
|
368
|
-
* | Applicable Gift
|
|
368
|
+
* | Applicable Gift Occasion | Personal Gift | Included Components | None | No |
|
|
369
369
|
* | Shell Process | Spray Coating (UV Paint, Rubber Paint, Metallic Paint, Piano Lacquer, Pearl Powder) | Material | Plastic | No |
|
|
370
370
|
* | Package Volume | 65\\*60\\*171 | Special Features | Portable | No |
|
|
371
|
-
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use |
|
|
371
|
+
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use | Indoor and Outdoor | No |
|
|
372
372
|
* | Wind Speed Levels | 3 Levels | Brand Name | None | No |
|
|
373
373
|
* | Operation Method | Standard Button | | | |
|
|
374
374
|
* | Blade Material | ABS | | | |
|
|
@@ -376,14 +376,14 @@ class Client extends openapi_core_1.default {
|
|
|
376
376
|
* | Built-in Battery | Yes | | | |
|
|
377
377
|
* | Patented Source | No | | | |
|
|
378
378
|
* | Color | X699 Fan-Yellow, X699 Fan-Light Purple, X699 Fan-Sky Blue, X699 Fan-Orange, X699 Fan-Light Green, Standard Small Fan | | | |
|
|
379
|
-
* | Main Sales Regions | Japan
|
|
379
|
+
* | Main Sales Regions | Japan & Korea, Africa, Korea, Japan, Europe, South America, Southeast Asia, North America, Northeast Asia, Middle East, Latin America, Europe & America, Other | | | |
|
|
380
380
|
* | Cross-border Export Exclusive | Yes | | | |
|
|
381
381
|
* | Style | Fresh | | | |
|
|
382
382
|
* | Motor Type | Brushless Motor | | | |
|
|
383
383
|
* | Noise | 36dB(A)-45dB(A) (inclusive) | | | |
|
|
384
384
|
* | Net Weight | 125g | | | |
|
|
385
|
-
* | Number of Blades | 6 or
|
|
386
|
-
* | Fan
|
|
385
|
+
* | Number of Blades | 6 or More | | | |
|
|
386
|
+
* | Fan Type | Handheld Fan | | | |
|
|
387
387
|
*
|
|
388
388
|
* @param request - CategoryAttributeMatchRequest
|
|
389
389
|
* @returns CategoryAttributeMatchResponse
|
|
@@ -393,27 +393,27 @@ class Client extends openapi_core_1.default {
|
|
|
393
393
|
return await this.categoryAttributeMatchWithOptions(request, runtime);
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
|
-
* Provides
|
|
396
|
+
* Provides an intelligent cross-platform product category matching service based on a large language model. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence score with matching reasons to help sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
397
397
|
*
|
|
398
398
|
* @remarks
|
|
399
399
|
* ## Product Introduction
|
|
400
|
-
*
|
|
400
|
+
* An intelligent cross-platform product category matching service based on a large language model. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence score with matching reasons to help sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
401
401
|
* ## Common scenarios
|
|
402
|
-
* Cross-platform product listing: After sourcing products,
|
|
403
|
-
* This service automates category mapping and is suitable for bulk API calls from
|
|
404
|
-
* The current version only
|
|
405
|
-
* ##
|
|
406
|
-
* Users
|
|
402
|
+
* Cross-platform product listing: After sourcing products, sellers list them on a target platform and must map each product to the correct category in the target platform\\"s category tree. Manually selecting categories requires familiarity with the entire category structure of the target platform, which is time-consuming, labor-intensive, and error-prone. Incorrect category mapping can cause products to be delisted.
|
|
403
|
+
* This service automates category mapping and is suitable for bulk API calls from large sellers\\" proprietary systems, integration into ERP/SaaS platforms for automated listing workflows, and quick single-product listing for SMB sellers.
|
|
404
|
+
* The current version supports only TEMU as the target listing platform. Automatic retrieval of product information from source platforms is not yet supported — users must provide product details manually. Support for this capability and additional source and target platforms will be added in future releases.
|
|
405
|
+
* ## Features
|
|
406
|
+
* Users provide fields such as product title, source category, product description, SKU information, and product attributes. The system uses an AI model to understand product semantics and matches the most appropriate category path from the full TEMU platform category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0–100), and matching reason. The API operates in synchronous mode and returns results immediately, making it suitable for embedding in real-time business workflows.
|
|
407
407
|
* ## Demo
|
|
408
408
|
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
409
409
|
* | --- | --- | --- | --- | --- |
|
|
410
|
-
* | 1688 |  | USB
|
|
410
|
+
* | 1688 |  | USB Fans, Mini Fans | TEMU | Home Appliances
|
|
411
411
|
* \\>Heating, Cooling & Air Quality Appliances
|
|
412
412
|
* \\>Electric Fans
|
|
413
413
|
* \\>USB Fans |
|
|
414
|
-
* | 1688 |  |
|
|
414
|
+
* | 1688 |  | Bracelets | TEMU | Clothing, Shoes & Jewelry
|
|
415
415
|
* \\>Women\\"s Fashion
|
|
416
|
-
* \\>Women\\"s
|
|
416
|
+
* \\>Women\\"s Accessories
|
|
417
417
|
* \\>Women\\"s Fashion Bracelets & Bangles
|
|
418
418
|
* \\>Women\\"s Fashion Charms & Charm Bracelets
|
|
419
419
|
* \\>Women\\"s Fashion Charm Bracelets
|
|
@@ -464,27 +464,27 @@ class Client extends openapi_core_1.default {
|
|
|
464
464
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CategoryMatchResponse({}));
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
|
-
* Provides
|
|
467
|
+
* Provides an intelligent cross-platform product category matching service based on a large language model. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence score with matching reasons to help sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
468
468
|
*
|
|
469
469
|
* @remarks
|
|
470
470
|
* ## Product Introduction
|
|
471
|
-
*
|
|
471
|
+
* An intelligent cross-platform product category matching service based on a large language model. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence score with matching reasons to help sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
472
472
|
* ## Common scenarios
|
|
473
|
-
* Cross-platform product listing: After sourcing products,
|
|
474
|
-
* This service automates category mapping and is suitable for bulk API calls from
|
|
475
|
-
* The current version only
|
|
476
|
-
* ##
|
|
477
|
-
* Users
|
|
473
|
+
* Cross-platform product listing: After sourcing products, sellers list them on a target platform and must map each product to the correct category in the target platform\\"s category tree. Manually selecting categories requires familiarity with the entire category structure of the target platform, which is time-consuming, labor-intensive, and error-prone. Incorrect category mapping can cause products to be delisted.
|
|
474
|
+
* This service automates category mapping and is suitable for bulk API calls from large sellers\\" proprietary systems, integration into ERP/SaaS platforms for automated listing workflows, and quick single-product listing for SMB sellers.
|
|
475
|
+
* The current version supports only TEMU as the target listing platform. Automatic retrieval of product information from source platforms is not yet supported — users must provide product details manually. Support for this capability and additional source and target platforms will be added in future releases.
|
|
476
|
+
* ## Features
|
|
477
|
+
* Users provide fields such as product title, source category, product description, SKU information, and product attributes. The system uses an AI model to understand product semantics and matches the most appropriate category path from the full TEMU platform category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0–100), and matching reason. The API operates in synchronous mode and returns results immediately, making it suitable for embedding in real-time business workflows.
|
|
478
478
|
* ## Demo
|
|
479
479
|
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
480
480
|
* | --- | --- | --- | --- | --- |
|
|
481
|
-
* | 1688 |  | USB
|
|
481
|
+
* | 1688 |  | USB Fans, Mini Fans | TEMU | Home Appliances
|
|
482
482
|
* \\>Heating, Cooling & Air Quality Appliances
|
|
483
483
|
* \\>Electric Fans
|
|
484
484
|
* \\>USB Fans |
|
|
485
|
-
* | 1688 |  |
|
|
485
|
+
* | 1688 |  | Bracelets | TEMU | Clothing, Shoes & Jewelry
|
|
486
486
|
* \\>Women\\"s Fashion
|
|
487
|
-
* \\>Women\\"s
|
|
487
|
+
* \\>Women\\"s Accessories
|
|
488
488
|
* \\>Women\\"s Fashion Bracelets & Bangles
|
|
489
489
|
* \\>Women\\"s Fashion Charms & Charm Bracelets
|
|
490
490
|
* \\>Women\\"s Fashion Charm Bracelets
|
|
@@ -498,17 +498,17 @@ class Client extends openapi_core_1.default {
|
|
|
498
498
|
return await this.categoryMatchWithOptions(request, runtime);
|
|
499
499
|
}
|
|
500
500
|
/**
|
|
501
|
-
* Calculates the edge lengths and floor area of a floor display based on the display image and product detection boxes.
|
|
501
|
+
* Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
|
|
502
502
|
*
|
|
503
503
|
* @remarks
|
|
504
|
-
* ##
|
|
505
|
-
* **Before
|
|
506
|
-
* - This operation infers the actual dimensions (lengths of two edges) and floor area of a floor display based on the provided overall display image, SKU knowledge base, and product location information in the image.
|
|
507
|
-
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the
|
|
504
|
+
* ## Usage notes
|
|
505
|
+
* **Before you use this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the floor display area inference service.**
|
|
506
|
+
* - This operation infers the actual dimensions (lengths of two edges) and floor area of a floor display based on the provided overall floor display image, SKU knowledge base, and product location information in the image.
|
|
507
|
+
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the active (`AVAILABLE`) state.
|
|
508
508
|
* - The `Products` array must contain at least one product item, and each product item must have at least one bounding box defined in `Boxes`.
|
|
509
509
|
* - All coordinate values are represented in a normalized coordinate system ranging from 0 to 1000. Make sure that the input satisfies the relationships `Left < Right` and `Top < Bottom`.
|
|
510
|
-
* - Set a reasonable timeout period when
|
|
511
|
-
* - For production
|
|
510
|
+
* - Set a reasonable timeout period when you call this operation (300 seconds or less recommended) to avoid failures caused by network latency or high processing complexity.
|
|
511
|
+
* - For calls in a production environment, use the POP Action method. The internal REST address is intended for integration testing during the development phase.
|
|
512
512
|
*
|
|
513
513
|
* @param tmpReq - DiduiAreaDeductionRequest
|
|
514
514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -551,17 +551,17 @@ class Client extends openapi_core_1.default {
|
|
|
551
551
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DiduiAreaDeductionResponse({}));
|
|
552
552
|
}
|
|
553
553
|
/**
|
|
554
|
-
* Calculates the edge lengths and floor area of a floor display based on the display image and product detection boxes.
|
|
554
|
+
* Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
|
|
555
555
|
*
|
|
556
556
|
* @remarks
|
|
557
|
-
* ##
|
|
558
|
-
* **Before
|
|
559
|
-
* - This operation infers the actual dimensions (lengths of two edges) and floor area of a floor display based on the provided overall display image, SKU knowledge base, and product location information in the image.
|
|
560
|
-
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the
|
|
557
|
+
* ## Usage notes
|
|
558
|
+
* **Before you use this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the floor display area inference service.**
|
|
559
|
+
* - This operation infers the actual dimensions (lengths of two edges) and floor area of a floor display based on the provided overall floor display image, SKU knowledge base, and product location information in the image.
|
|
560
|
+
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the active (`AVAILABLE`) state.
|
|
561
561
|
* - The `Products` array must contain at least one product item, and each product item must have at least one bounding box defined in `Boxes`.
|
|
562
562
|
* - All coordinate values are represented in a normalized coordinate system ranging from 0 to 1000. Make sure that the input satisfies the relationships `Left < Right` and `Top < Bottom`.
|
|
563
|
-
* - Set a reasonable timeout period when
|
|
564
|
-
* - For production
|
|
563
|
+
* - Set a reasonable timeout period when you call this operation (300 seconds or less recommended) to avoid failures caused by network latency or high processing complexity.
|
|
564
|
+
* - For calls in a production environment, use the POP Action method. The internal REST address is intended for integration testing during the development phase.
|
|
565
565
|
*
|
|
566
566
|
* @param request - DiduiAreaDeductionRequest
|
|
567
567
|
* @returns DiduiAreaDeductionResponse
|
|
@@ -571,25 +571,25 @@ class Client extends openapi_core_1.default {
|
|
|
571
571
|
return await this.diduiAreaDeductionWithOptions(request, runtime);
|
|
572
572
|
}
|
|
573
573
|
/**
|
|
574
|
-
* Designed specifically for document translation
|
|
575
|
-
*
|
|
576
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
577
|
-
* - Structural integrity: overall layout continuity,
|
|
574
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
575
|
+
* Excels in the following areas:
|
|
576
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
577
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
578
578
|
*
|
|
579
579
|
* @remarks
|
|
580
580
|
* ## Product Introduction
|
|
581
|
-
* Designed specifically for document translation
|
|
581
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
582
582
|
* Excels in the following areas:
|
|
583
583
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
584
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
585
|
-
* ##
|
|
586
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
584
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
585
|
+
* ## Common scenarios
|
|
586
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
587
587
|
* ## Features
|
|
588
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
588
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
589
589
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
590
|
-
* - Supports high-fidelity layout
|
|
590
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
591
591
|
* - 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).
|
|
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 scenarios such as brand name protection. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
593
593
|
*
|
|
594
594
|
* @param request - DocumentTranslateRequest
|
|
595
595
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -627,25 +627,25 @@ class Client extends openapi_core_1.default {
|
|
|
627
627
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DocumentTranslateResponse({}));
|
|
628
628
|
}
|
|
629
629
|
/**
|
|
630
|
-
* Designed specifically for document translation
|
|
631
|
-
*
|
|
632
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
633
|
-
* - Structural integrity: overall layout continuity,
|
|
630
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
631
|
+
* Excels in the following areas:
|
|
632
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
633
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
634
634
|
*
|
|
635
635
|
* @remarks
|
|
636
636
|
* ## Product Introduction
|
|
637
|
-
* Designed specifically for document translation
|
|
637
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
638
638
|
* Excels in the following areas:
|
|
639
639
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
640
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
641
|
-
* ##
|
|
642
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
640
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
641
|
+
* ## Common scenarios
|
|
642
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
643
643
|
* ## Features
|
|
644
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
644
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
645
645
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
646
|
-
* - Supports high-fidelity layout
|
|
646
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
647
647
|
* - 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).
|
|
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 scenarios such as brand name protection. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
649
649
|
*
|
|
650
650
|
* @param request - DocumentTranslateRequest
|
|
651
651
|
* @returns DocumentTranslateResponse
|
|
@@ -655,29 +655,29 @@ class Client extends openapi_core_1.default {
|
|
|
655
655
|
return await this.documentTranslateWithOptions(request, runtime);
|
|
656
656
|
}
|
|
657
657
|
/**
|
|
658
|
-
* E-commerce Video
|
|
658
|
+
* E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
659
659
|
*
|
|
660
660
|
* @remarks
|
|
661
661
|
* ## **Product Introduction**
|
|
662
|
-
* E-commerce Video
|
|
662
|
+
* E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
663
663
|
* ## **Scenarios**
|
|
664
|
-
* - **Video asset
|
|
665
|
-
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate video assets
|
|
666
|
-
* - **Product presentation and selling point expression:**
|
|
667
|
-
* - **Multi-selling-point and multi-version testing:**
|
|
668
|
-
* ## **Capabilities**
|
|
664
|
+
* - **Video asset multiplication:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is applicable to multi-SKU, multi-model, multi-region, and multi-version asset production.
|
|
665
|
+
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate new product video assets to help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
666
|
+
* - **Product presentation and selling point expression:** Applicable to apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, small appliances, and other products. Based on the selling point planning, presentation actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
667
|
+
* - **Multi-selling-point and multi-version testing:** Quickly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support merchants in content testing and ad creative iteration.
|
|
668
|
+
* ## **Product Capabilities**
|
|
669
669
|
* ### **Core capabilities**
|
|
670
670
|
* Two replacement modes are supported:
|
|
671
|
-
* - **Product replacement (product_replacement):**
|
|
672
|
-
* - **Person replacement (person_replacement):**
|
|
673
|
-
* - **Fully automated end-to-end generation with zero prompt
|
|
671
|
+
* - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
672
|
+
* - **Person replacement (person_replacement):** Retains the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
|
|
673
|
+
* - **Fully automated end-to-end generation with zero prompt threshold:** Simply provide a reference video and target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
674
674
|
* - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
|
|
675
675
|
* - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
|
|
676
676
|
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
677
677
|
* - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
|
|
678
|
-
* - **Strength category — Apparel:** Faithfully restores apparel details
|
|
679
|
-
* - **Selling point script and storyboard replication:** Replicates the selling point
|
|
680
|
-
* - **Commercial model
|
|
678
|
+
* - **Strength category — Apparel:** Faithfully restores apparel details, focusing on silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories to reduce clipping, deformation, texture loss, and detail anomalies.
|
|
679
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point planning, video structure, shot sequence, presentation actions, voiceover content, and closing style of the original video.
|
|
680
|
+
* - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
|
|
681
681
|
* - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
|
|
682
682
|
*
|
|
683
683
|
* @param tmpReq - EcomVideoRecreationRequest
|
|
@@ -718,29 +718,29 @@ class Client extends openapi_core_1.default {
|
|
|
718
718
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EcomVideoRecreationResponse({}));
|
|
719
719
|
}
|
|
720
720
|
/**
|
|
721
|
-
* E-commerce Video
|
|
721
|
+
* E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
722
722
|
*
|
|
723
723
|
* @remarks
|
|
724
724
|
* ## **Product Introduction**
|
|
725
|
-
* E-commerce Video
|
|
725
|
+
* E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
726
726
|
* ## **Scenarios**
|
|
727
|
-
* - **Video asset
|
|
728
|
-
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate video assets
|
|
729
|
-
* - **Product presentation and selling point expression:**
|
|
730
|
-
* - **Multi-selling-point and multi-version testing:**
|
|
731
|
-
* ## **Capabilities**
|
|
727
|
+
* - **Video asset multiplication:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is applicable to multi-SKU, multi-model, multi-region, and multi-version asset production.
|
|
728
|
+
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate new product video assets to help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
729
|
+
* - **Product presentation and selling point expression:** Applicable to apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, small appliances, and other products. Based on the selling point planning, presentation actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
730
|
+
* - **Multi-selling-point and multi-version testing:** Quickly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support merchants in content testing and ad creative iteration.
|
|
731
|
+
* ## **Product Capabilities**
|
|
732
732
|
* ### **Core capabilities**
|
|
733
733
|
* Two replacement modes are supported:
|
|
734
|
-
* - **Product replacement (product_replacement):**
|
|
735
|
-
* - **Person replacement (person_replacement):**
|
|
736
|
-
* - **Fully automated end-to-end generation with zero prompt
|
|
734
|
+
* - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
735
|
+
* - **Person replacement (person_replacement):** Retains the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
|
|
736
|
+
* - **Fully automated end-to-end generation with zero prompt threshold:** Simply provide a reference video and target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
737
737
|
* - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
|
|
738
738
|
* - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
|
|
739
739
|
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
740
740
|
* - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
|
|
741
|
-
* - **Strength category — Apparel:** Faithfully restores apparel details
|
|
742
|
-
* - **Selling point script and storyboard replication:** Replicates the selling point
|
|
743
|
-
* - **Commercial model
|
|
741
|
+
* - **Strength category — Apparel:** Faithfully restores apparel details, focusing on silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories to reduce clipping, deformation, texture loss, and detail anomalies.
|
|
742
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point planning, video structure, shot sequence, presentation actions, voiceover content, and closing style of the original video.
|
|
743
|
+
* - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
|
|
744
744
|
* - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
|
|
745
745
|
*
|
|
746
746
|
* @param request - EcomVideoRecreationRequest
|
|
@@ -759,12 +759,12 @@ class Client extends openapi_core_1.default {
|
|
|
759
759
|
* ## Common scenarios
|
|
760
760
|
* - **Multi-platform content distribution**: Automatically generates content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
761
761
|
*
|
|
762
|
-
* -
|
|
762
|
+
* - **Content placement**: Automatically adjusts sizes for different ad slots across platforms, highlights the main subject, reduces whitespace, and emphasizes product features.
|
|
763
763
|
* ## Features
|
|
764
764
|
* * Automatically identifies the main subject area of an image for precise cropping.
|
|
765
765
|
*
|
|
766
766
|
* * Supports custom cropping dimensions to adapt to different platforms and devices.
|
|
767
|
-
* ##
|
|
767
|
+
* ## Comparison
|
|
768
768
|
* | **Original image** | **Cropped to 1000×1000** | **Cropped to 3000×2000** |
|
|
769
769
|
* | --- | --- | --- |
|
|
770
770
|
* |  |  |  |
|
|
@@ -812,12 +812,12 @@ class Client extends openapi_core_1.default {
|
|
|
812
812
|
* ## Common scenarios
|
|
813
813
|
* - **Multi-platform content distribution**: Automatically generates content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
814
814
|
*
|
|
815
|
-
* -
|
|
815
|
+
* - **Content placement**: Automatically adjusts sizes for different ad slots across platforms, highlights the main subject, reduces whitespace, and emphasizes product features.
|
|
816
816
|
* ## Features
|
|
817
817
|
* * Automatically identifies the main subject area of an image for precise cropping.
|
|
818
818
|
*
|
|
819
819
|
* * Supports custom cropping dimensions to adapt to different platforms and devices.
|
|
820
|
-
* ##
|
|
820
|
+
* ## Comparison
|
|
821
821
|
* | **Original image** | **Cropped to 1000×1000** | **Cropped to 3000×2000** |
|
|
822
822
|
* | --- | --- | --- |
|
|
823
823
|
* |  |  |  |
|
|
@@ -837,17 +837,17 @@ class Client extends openapi_core_1.default {
|
|
|
837
837
|
* @remarks
|
|
838
838
|
* ## Product Introduction
|
|
839
839
|
* The intelligent image matting product automatically identifies the salient subject in an image, separates the subject from the background, and returns the subject image with the background removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
840
|
-
* ##
|
|
841
|
-
* * **Secondary editing of materials**: After separating the image subject from the background,
|
|
840
|
+
* ## Scenarios
|
|
841
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
842
842
|
*
|
|
843
|
-
* * **Improved material processing efficiency**: Quickly
|
|
844
|
-
* ##
|
|
843
|
+
* * **Improved material processing efficiency**: Quickly extract the subject from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
844
|
+
* ## Features.
|
|
845
845
|
* #### 1. One-click precise subject recognition
|
|
846
846
|
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
847
847
|
*
|
|
848
|
-
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with accuracy exceeding 95%.
|
|
848
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
849
849
|
* #### 2. Intelligent edge optimization
|
|
850
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
850
|
+
* * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
|
|
851
851
|
* #### 3. Multi-format output and background operations
|
|
852
852
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
853
853
|
*
|
|
@@ -903,17 +903,17 @@ class Client extends openapi_core_1.default {
|
|
|
903
903
|
* @remarks
|
|
904
904
|
* ## Product Introduction
|
|
905
905
|
* The intelligent image matting product automatically identifies the salient subject in an image, separates the subject from the background, and returns the subject image with the background removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
906
|
-
* ##
|
|
907
|
-
* * **Secondary editing of materials**: After separating the image subject from the background,
|
|
906
|
+
* ## Scenarios
|
|
907
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
908
908
|
*
|
|
909
|
-
* * **Improved material processing efficiency**: Quickly
|
|
910
|
-
* ##
|
|
909
|
+
* * **Improved material processing efficiency**: Quickly extract the subject from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
910
|
+
* ## Features.
|
|
911
911
|
* #### 1. One-click precise subject recognition
|
|
912
912
|
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
913
913
|
*
|
|
914
|
-
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with accuracy exceeding 95%.
|
|
914
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
915
915
|
* #### 2. Intelligent edge optimization
|
|
916
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
916
|
+
* * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
|
|
917
917
|
* #### 3. Multi-format output and background operations
|
|
918
918
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
919
919
|
*
|
|
@@ -933,38 +933,38 @@ class Client extends openapi_core_1.default {
|
|
|
933
933
|
return await this.imageMattingWithOptions(request, runtime);
|
|
934
934
|
}
|
|
935
935
|
/**
|
|
936
|
-
* Identifies intelligent elements in
|
|
936
|
+
* Identifies intelligent elements in images.
|
|
937
937
|
*
|
|
938
938
|
* @remarks
|
|
939
939
|
* ## Product Introduction
|
|
940
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details
|
|
940
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details and help 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
941
|
* ## Scenarios
|
|
942
942
|
* **1. Intelligent image screening and optimization:**
|
|
943
|
-
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images
|
|
943
|
+
* 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
944
|
* **2. Automated image processing and efficiency improvement:**
|
|
945
|
-
*
|
|
945
|
+
* By using the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow to automatically identify and mark image elements that need optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
946
946
|
* ## Features
|
|
947
|
-
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details,
|
|
948
|
-
* * Image subject: The core product area in the image
|
|
947
|
+
* **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
|
+
* * Image subject: The core product area in the image.
|
|
949
949
|
*
|
|
950
|
-
* * Image background: The remaining part of the image other than the product subject
|
|
950
|
+
* * Image background: The remaining part of the image other than the product subject.
|
|
951
951
|
*
|
|
952
|
-
* * Text: Horizontal
|
|
952
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
953
953
|
*
|
|
954
|
-
* * Logo: An emblem or trademark
|
|
954
|
+
* * Logo: An emblem or trademark.
|
|
955
955
|
*
|
|
956
|
-
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
956
|
+
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names.
|
|
957
957
|
*
|
|
958
|
-
* * Text-containing color block: A color block
|
|
958
|
+
* * Text-containing color block: A color block outside the subject that contains text.
|
|
959
959
|
*
|
|
960
960
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
961
|
-
* * Element recognition: Identifies whether text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
961
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
962
962
|
*
|
|
963
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API
|
|
963
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, use the Intelligent Element Recognition API to identify elements that need to be removed, and then use the Intelligent Removal API to effectively remove them, ensuring the accuracy and efficiency of image processing.
|
|
964
964
|
* ## Technical advantages
|
|
965
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process large
|
|
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 requirements of different scales.
|
|
966
966
|
*
|
|
967
|
-
* * Flexibility: Users can select the
|
|
967
|
+
* * Flexibility: Users can select the types of elements to identify as needed, including elements in the subject and non-subject areas such as watermarks, logos, and text, to meet personalized recognition requirements.
|
|
968
968
|
* ## Effect comparison
|
|
969
969
|
* | **Original image** | **Recognition result** |
|
|
970
970
|
* | --- | --- |
|
|
@@ -1059,38 +1059,38 @@ class Client extends openapi_core_1.default {
|
|
|
1059
1059
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionResponse({}));
|
|
1060
1060
|
}
|
|
1061
1061
|
/**
|
|
1062
|
-
* Identifies intelligent elements in
|
|
1062
|
+
* Identifies intelligent elements in images.
|
|
1063
1063
|
*
|
|
1064
1064
|
* @remarks
|
|
1065
1065
|
* ## Product Introduction
|
|
1066
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details
|
|
1066
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details and help 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
1067
|
* ## Scenarios
|
|
1068
1068
|
* **1. Intelligent image screening and optimization:**
|
|
1069
|
-
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images
|
|
1069
|
+
* 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
1070
|
* **2. Automated image processing and efficiency improvement:**
|
|
1071
|
-
*
|
|
1071
|
+
* By using the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow to automatically identify and mark image elements that need optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
1072
1072
|
* ## Features
|
|
1073
|
-
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details,
|
|
1074
|
-
* * Image subject: The core product area in the image
|
|
1073
|
+
* **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
|
+
* * Image subject: The core product area in the image.
|
|
1075
1075
|
*
|
|
1076
|
-
* * Image background: The remaining part of the image other than the product subject
|
|
1076
|
+
* * Image background: The remaining part of the image other than the product subject.
|
|
1077
1077
|
*
|
|
1078
|
-
* * Text: Horizontal
|
|
1078
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
1079
1079
|
*
|
|
1080
|
-
* * Logo: An emblem or trademark
|
|
1080
|
+
* * Logo: An emblem or trademark.
|
|
1081
1081
|
*
|
|
1082
|
-
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
1082
|
+
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names.
|
|
1083
1083
|
*
|
|
1084
|
-
* * Text-containing color block: A color block
|
|
1084
|
+
* * Text-containing color block: A color block outside the subject that contains text.
|
|
1085
1085
|
*
|
|
1086
1086
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
1087
|
-
* * Element recognition: Identifies whether text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1087
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1088
1088
|
*
|
|
1089
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API
|
|
1089
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, use the Intelligent Element Recognition API to identify elements that need to be removed, and then use the Intelligent Removal API to effectively remove them, ensuring the accuracy and efficiency of image processing.
|
|
1090
1090
|
* ## Technical advantages
|
|
1091
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process large
|
|
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 requirements of different scales.
|
|
1092
1092
|
*
|
|
1093
|
-
* * Flexibility: Users can select the
|
|
1093
|
+
* * Flexibility: Users can select the types of elements to identify as needed, including elements in the subject and non-subject areas such as watermarks, logos, and text, to meet personalized recognition requirements.
|
|
1094
1094
|
* ## Effect comparison
|
|
1095
1095
|
* | **Original image** | **Recognition result** |
|
|
1096
1096
|
* | --- | --- |
|
|
@@ -1137,31 +1137,31 @@ class Client extends openapi_core_1.default {
|
|
|
1137
1137
|
return await this.imageRecognitionWithOptions(request, runtime);
|
|
1138
1138
|
}
|
|
1139
1139
|
/**
|
|
1140
|
-
* Intelligently
|
|
1140
|
+
* Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
|
|
1141
1141
|
*
|
|
1142
1142
|
* @remarks
|
|
1143
|
-
* ## Product
|
|
1144
|
-
* The
|
|
1143
|
+
* ## Product Introduction
|
|
1144
|
+
* The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
|
|
1145
1145
|
* ## Common scenarios
|
|
1146
1146
|
* * **Efficient e-commerce image processing:**
|
|
1147
1147
|
*
|
|
1148
1148
|
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1149
1149
|
* * **Multi-platform product information synchronization:**
|
|
1150
1150
|
*
|
|
1151
|
-
* When
|
|
1152
|
-
* ##
|
|
1153
|
-
* 1. First,
|
|
1151
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
|
|
1152
|
+
* ## Functions and features
|
|
1153
|
+
* 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
|
|
1154
1154
|
*
|
|
1155
1155
|
* 1. Image subject: the core product area in the image.
|
|
1156
1156
|
*
|
|
1157
1157
|
* 2. Image background: the remaining part of the image other than the product subject.
|
|
1158
1158
|
*
|
|
1159
|
-
* 2.
|
|
1159
|
+
* 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
1160
1160
|
* ## Effect comparison
|
|
1161
|
-
* | **Original image** | **Image after
|
|
1161
|
+
* | **Original image** | **Image after erasure** |
|
|
1162
1162
|
* | --- | --- |
|
|
1163
|
-
* |  |  |
|
|
1164
|
+
* |  |  |
|
|
1165
1165
|
*
|
|
1166
1166
|
* @param request - ImageRemovalProRequest
|
|
1167
1167
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1193,31 +1193,31 @@ class Client extends openapi_core_1.default {
|
|
|
1193
1193
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemovalProResponse({}));
|
|
1194
1194
|
}
|
|
1195
1195
|
/**
|
|
1196
|
-
* Intelligently
|
|
1196
|
+
* Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
|
|
1197
1197
|
*
|
|
1198
1198
|
* @remarks
|
|
1199
|
-
* ## Product
|
|
1200
|
-
* The
|
|
1199
|
+
* ## Product Introduction
|
|
1200
|
+
* The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
|
|
1201
1201
|
* ## Common scenarios
|
|
1202
1202
|
* * **Efficient e-commerce image processing:**
|
|
1203
1203
|
*
|
|
1204
1204
|
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1205
1205
|
* * **Multi-platform product information synchronization:**
|
|
1206
1206
|
*
|
|
1207
|
-
* When
|
|
1208
|
-
* ##
|
|
1209
|
-
* 1. First,
|
|
1207
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
|
|
1208
|
+
* ## Functions and features
|
|
1209
|
+
* 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
|
|
1210
1210
|
*
|
|
1211
1211
|
* 1. Image subject: the core product area in the image.
|
|
1212
1212
|
*
|
|
1213
1213
|
* 2. Image background: the remaining part of the image other than the product subject.
|
|
1214
1214
|
*
|
|
1215
|
-
* 2.
|
|
1215
|
+
* 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
1216
1216
|
* ## Effect comparison
|
|
1217
|
-
* | **Original image** | **Image after
|
|
1217
|
+
* | **Original image** | **Image after erasure** |
|
|
1218
1218
|
* | --- | --- |
|
|
1219
|
-
* |  |  |
|
|
1220
|
+
* |  |  |
|
|
1221
1221
|
*
|
|
1222
1222
|
* @param request - ImageRemovalProRequest
|
|
1223
1223
|
* @returns ImageRemovalProResponse
|
|
@@ -1227,87 +1227,87 @@ class Client extends openapi_core_1.default {
|
|
|
1227
1227
|
return await this.imageRemovalProWithOptions(request, runtime);
|
|
1228
1228
|
}
|
|
1229
1229
|
/**
|
|
1230
|
-
* Intelligently removes unwanted elements from e-commerce images
|
|
1230
|
+
* Intelligently removes unwanted elements from e-commerce images. This product automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
|
|
1231
1231
|
*
|
|
1232
1232
|
* @remarks
|
|
1233
1233
|
* # Product Introduction
|
|
1234
|
-
* The intelligent image removal product is designed specifically for e-commerce images. It automatically
|
|
1234
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
|
|
1235
1235
|
* # Common scenarios
|
|
1236
1236
|
* * **Efficient e-commerce image processing:**
|
|
1237
1237
|
*
|
|
1238
1238
|
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1239
1239
|
* * **Multi-platform product information synchronization:**
|
|
1240
1240
|
*
|
|
1241
|
-
* When listing products across different e-commerce platforms, quickly remove specific text and
|
|
1241
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and image blemishes to comply with the image standards of each platform.
|
|
1242
1242
|
* * **Marketing material preparation:**
|
|
1243
1243
|
*
|
|
1244
1244
|
* Easily remove existing promotional information and quickly update images with the latest campaign details.
|
|
1245
|
-
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality.
|
|
1245
|
+
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this product together with the Intelligent Recognition API (coming soon). First, filter out images that contain text, specific names, transparent text blocks, and image blemishes, and then use the Intelligent Removal API for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Removal API focuses on "removal". By calling them in sequence, you can maximize removal effectiveness and reduce false removals and false identifications.
|
|
1246
1246
|
* # Features
|
|
1247
|
-
* 1. First, understand the definitions of image subject and image background. When specifying
|
|
1247
|
+
* 1. First, understand the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
|
|
1248
1248
|
*
|
|
1249
1249
|
* 1. Image subject: The core product area in the image.
|
|
1250
1250
|
*
|
|
1251
|
-
* 2. Image background: The remaining
|
|
1251
|
+
* 2. Image background: The remaining part of the image other than the product subject.
|
|
1252
1252
|
*
|
|
1253
|
-
* 2. The following three removal
|
|
1253
|
+
* 2. The following three types of removal targets are supported:
|
|
1254
1254
|
*
|
|
1255
|
-
* 1. Select by type only.
|
|
1255
|
+
* 1. Select by type only. You can select text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations.
|
|
1256
1256
|
*
|
|
1257
1257
|
* 2. (Upgrade) Specify images to remove. You can specify multiple images at a time.
|
|
1258
1258
|
*
|
|
1259
1259
|
* 3. (Upgrade) Specify text to remove. You can specify multiple text strings at a time.
|
|
1260
1260
|
*
|
|
1261
|
-
* Processing
|
|
1261
|
+
* Processing flow: User submits the original image URL → OCR + VLM model detects text or image positions → Determines the coordinates of areas to repair → AI repairs and generates a clean image → Returns the result image URL.
|
|
1262
1262
|
* # 4. Effect comparison
|
|
1263
1263
|
* | **Removable objects in images** | **Original image** | **Image after removal** |
|
|
1264
1264
|
* | --- | --- | --- |
|
|
1265
|
-
* | Text | *
|
|
1265
|
+
* | Text | * Involves the image subject area
|
|
1266
1266
|
*
|
|
1267
1267
|
* 
|
|
1268
1268
|
*
|
|
1269
|
-
* *
|
|
1269
|
+
* * Does not involve the image subject area
|
|
1270
1270
|
*
|
|
1271
|
-
*  | *
|
|
1271
|
+
*  | * Involves the image subject area
|
|
1272
1272
|
*
|
|
1273
1273
|
* 
|
|
1274
|
-
* *
|
|
1274
|
+
* * Does not involve the image subject area
|
|
1275
1275
|
*
|
|
1276
1276
|
*  |
|
|
1277
|
-
* | Specific names | *
|
|
1277
|
+
* | Specific names | * Involves the image subject area
|
|
1278
1278
|
*
|
|
1279
1279
|
* 
|
|
1280
1280
|
*
|
|
1281
|
-
* *
|
|
1281
|
+
* * Does not involve the image subject area
|
|
1282
1282
|
*
|
|
1283
|
-
*  | *
|
|
1283
|
+
*  | * Involves the image subject area
|
|
1284
1284
|
*
|
|
1285
1285
|
* 
|
|
1286
|
-
* *
|
|
1286
|
+
* * Does not involve the image subject area
|
|
1287
1287
|
*
|
|
1288
1288
|
*  |
|
|
1289
|
-
* | Transparent text blocks | *
|
|
1289
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1290
1290
|
*
|
|
1291
1291
|
* 
|
|
1292
1292
|
*
|
|
1293
|
-
* *
|
|
1293
|
+
* * Does not involve the image subject area
|
|
1294
1294
|
*
|
|
1295
|
-
*  | *
|
|
1295
|
+
*  | * Involves the image subject area
|
|
1296
1296
|
*
|
|
1297
1297
|
* 
|
|
1298
|
-
* *
|
|
1298
|
+
* * Does not involve the image subject area
|
|
1299
1299
|
*
|
|
1300
1300
|
*  |
|
|
1301
|
-
* |
|
|
1301
|
+
* | Image blemishes | * Involves the image subject area
|
|
1302
1302
|
*
|
|
1303
1303
|
* 
|
|
1304
1304
|
*
|
|
1305
|
-
* *
|
|
1305
|
+
* * Does not involve the image subject area
|
|
1306
1306
|
*
|
|
1307
|
-
*  | *
|
|
1307
|
+
*  | * Involves the image subject area
|
|
1308
1308
|
*
|
|
1309
1309
|
* 
|
|
1310
|
-
* *
|
|
1310
|
+
* * Does not involve the image subject area
|
|
1311
1311
|
*
|
|
1312
1312
|
*  |
|
|
1313
1313
|
* | Specified image element removal (supports multiple image links) |  |  |
|
|
@@ -1372,87 +1372,87 @@ class Client extends openapi_core_1.default {
|
|
|
1372
1372
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveResponse({}));
|
|
1373
1373
|
}
|
|
1374
1374
|
/**
|
|
1375
|
-
* Intelligently removes unwanted elements from e-commerce images
|
|
1375
|
+
* Intelligently removes unwanted elements from e-commerce images. This product automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
|
|
1376
1376
|
*
|
|
1377
1377
|
* @remarks
|
|
1378
1378
|
* # Product Introduction
|
|
1379
|
-
* The intelligent image removal product is designed specifically for e-commerce images. It automatically
|
|
1379
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
|
|
1380
1380
|
* # Common scenarios
|
|
1381
1381
|
* * **Efficient e-commerce image processing:**
|
|
1382
1382
|
*
|
|
1383
1383
|
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1384
1384
|
* * **Multi-platform product information synchronization:**
|
|
1385
1385
|
*
|
|
1386
|
-
* When listing products across different e-commerce platforms, quickly remove specific text and
|
|
1386
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and image blemishes to comply with the image standards of each platform.
|
|
1387
1387
|
* * **Marketing material preparation:**
|
|
1388
1388
|
*
|
|
1389
1389
|
* Easily remove existing promotional information and quickly update images with the latest campaign details.
|
|
1390
|
-
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality.
|
|
1390
|
+
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this product together with the Intelligent Recognition API (coming soon). First, filter out images that contain text, specific names, transparent text blocks, and image blemishes, and then use the Intelligent Removal API for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Removal API focuses on "removal". By calling them in sequence, you can maximize removal effectiveness and reduce false removals and false identifications.
|
|
1391
1391
|
* # Features
|
|
1392
|
-
* 1. First, understand the definitions of image subject and image background. When specifying
|
|
1392
|
+
* 1. First, understand the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
|
|
1393
1393
|
*
|
|
1394
1394
|
* 1. Image subject: The core product area in the image.
|
|
1395
1395
|
*
|
|
1396
|
-
* 2. Image background: The remaining
|
|
1396
|
+
* 2. Image background: The remaining part of the image other than the product subject.
|
|
1397
1397
|
*
|
|
1398
|
-
* 2. The following three removal
|
|
1398
|
+
* 2. The following three types of removal targets are supported:
|
|
1399
1399
|
*
|
|
1400
|
-
* 1. Select by type only.
|
|
1400
|
+
* 1. Select by type only. You can select text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations.
|
|
1401
1401
|
*
|
|
1402
1402
|
* 2. (Upgrade) Specify images to remove. You can specify multiple images at a time.
|
|
1403
1403
|
*
|
|
1404
1404
|
* 3. (Upgrade) Specify text to remove. You can specify multiple text strings at a time.
|
|
1405
1405
|
*
|
|
1406
|
-
* Processing
|
|
1406
|
+
* Processing flow: User submits the original image URL → OCR + VLM model detects text or image positions → Determines the coordinates of areas to repair → AI repairs and generates a clean image → Returns the result image URL.
|
|
1407
1407
|
* # 4. Effect comparison
|
|
1408
1408
|
* | **Removable objects in images** | **Original image** | **Image after removal** |
|
|
1409
1409
|
* | --- | --- | --- |
|
|
1410
|
-
* | Text | *
|
|
1410
|
+
* | Text | * Involves the image subject area
|
|
1411
1411
|
*
|
|
1412
1412
|
* 
|
|
1413
1413
|
*
|
|
1414
|
-
* *
|
|
1414
|
+
* * Does not involve the image subject area
|
|
1415
1415
|
*
|
|
1416
|
-
*  | *
|
|
1416
|
+
*  | * Involves the image subject area
|
|
1417
1417
|
*
|
|
1418
1418
|
* 
|
|
1419
|
-
* *
|
|
1419
|
+
* * Does not involve the image subject area
|
|
1420
1420
|
*
|
|
1421
1421
|
*  |
|
|
1422
|
-
* | Specific names | *
|
|
1422
|
+
* | Specific names | * Involves the image subject area
|
|
1423
1423
|
*
|
|
1424
1424
|
* 
|
|
1425
1425
|
*
|
|
1426
|
-
* *
|
|
1426
|
+
* * Does not involve the image subject area
|
|
1427
1427
|
*
|
|
1428
|
-
*  | *
|
|
1428
|
+
*  | * Involves the image subject area
|
|
1429
1429
|
*
|
|
1430
1430
|
* 
|
|
1431
|
-
* *
|
|
1431
|
+
* * Does not involve the image subject area
|
|
1432
1432
|
*
|
|
1433
1433
|
*  |
|
|
1434
|
-
* | Transparent text blocks | *
|
|
1434
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1435
1435
|
*
|
|
1436
1436
|
* 
|
|
1437
1437
|
*
|
|
1438
|
-
* *
|
|
1438
|
+
* * Does not involve the image subject area
|
|
1439
1439
|
*
|
|
1440
|
-
*  | *
|
|
1440
|
+
*  | * Involves the image subject area
|
|
1441
1441
|
*
|
|
1442
1442
|
* 
|
|
1443
|
-
* *
|
|
1443
|
+
* * Does not involve the image subject area
|
|
1444
1444
|
*
|
|
1445
1445
|
*  |
|
|
1446
|
-
* |
|
|
1446
|
+
* | Image blemishes | * Involves the image subject area
|
|
1447
1447
|
*
|
|
1448
1448
|
* 
|
|
1449
1449
|
*
|
|
1450
|
-
* *
|
|
1450
|
+
* * Does not involve the image subject area
|
|
1451
1451
|
*
|
|
1452
|
-
*  | *
|
|
1452
|
+
*  | * Involves the image subject area
|
|
1453
1453
|
*
|
|
1454
1454
|
* 
|
|
1455
|
-
* *
|
|
1455
|
+
* * Does not involve the image subject area
|
|
1456
1456
|
*
|
|
1457
1457
|
*  |
|
|
1458
1458
|
* | Specified image element removal (supports multiple image links) |  |  |
|
|
@@ -1466,13 +1466,13 @@ class Client extends openapi_core_1.default {
|
|
|
1466
1466
|
return await this.imageRemoveWithOptions(request, runtime);
|
|
1467
1467
|
}
|
|
1468
1468
|
/**
|
|
1469
|
-
*
|
|
1469
|
+
* The Image Translation PLUS edition is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. Use this edition for the following 8 language directions. More language directions will be supported in the future.
|
|
1470
1470
|
*
|
|
1471
1471
|
* @remarks
|
|
1472
1472
|
* ## Product Introduction
|
|
1473
|
-
* Image Translation
|
|
1473
|
+
* Image Translation PLUS is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
1474
1474
|
* Supported language pairs:
|
|
1475
|
-
* | **
|
|
1475
|
+
* | **Ordinal number** | **Source language** | | **Target language** | |
|
|
1476
1476
|
* | --- | --- | --- | --- | --- |
|
|
1477
1477
|
* | | Language code | Language name | Language code | Language name |
|
|
1478
1478
|
* | 1 | en | English | ar | Arabic |
|
|
@@ -1487,14 +1487,14 @@ class Client extends openapi_core_1.default {
|
|
|
1487
1487
|
* | 10 | en | English | fr | French |
|
|
1488
1488
|
* | 11 | en | English | de | German |
|
|
1489
1489
|
* | 12 | en | English | pl | Polish |
|
|
1490
|
-
* ##
|
|
1490
|
+
* ## Scenarios
|
|
1491
1491
|
* Main product images and detail images for cross-border e-commerce.
|
|
1492
|
-
* ##
|
|
1493
|
-
* * **Product body information protection**: Allows you to choose whether to translate text on the product body
|
|
1492
|
+
* ## Features
|
|
1493
|
+
* * **Product body information protection**: Allows you to choose whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
|
|
1494
1494
|
*
|
|
1495
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images
|
|
1495
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1496
1496
|
*
|
|
1497
|
-
* * **Translation intervention
|
|
1497
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (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 operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1498
1498
|
*
|
|
1499
1499
|
* @param request - ImageTranslationPlusRequest
|
|
1500
1500
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1541,13 +1541,13 @@ class Client extends openapi_core_1.default {
|
|
|
1541
1541
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
|
|
1542
1542
|
}
|
|
1543
1543
|
/**
|
|
1544
|
-
*
|
|
1544
|
+
* The Image Translation PLUS edition is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. Use this edition for the following 8 language directions. More language directions will be supported in the future.
|
|
1545
1545
|
*
|
|
1546
1546
|
* @remarks
|
|
1547
1547
|
* ## Product Introduction
|
|
1548
|
-
* Image Translation
|
|
1548
|
+
* Image Translation PLUS is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
1549
1549
|
* Supported language pairs:
|
|
1550
|
-
* | **
|
|
1550
|
+
* | **Ordinal number** | **Source language** | | **Target language** | |
|
|
1551
1551
|
* | --- | --- | --- | --- | --- |
|
|
1552
1552
|
* | | Language code | Language name | Language code | Language name |
|
|
1553
1553
|
* | 1 | en | English | ar | Arabic |
|
|
@@ -1562,14 +1562,14 @@ class Client extends openapi_core_1.default {
|
|
|
1562
1562
|
* | 10 | en | English | fr | French |
|
|
1563
1563
|
* | 11 | en | English | de | German |
|
|
1564
1564
|
* | 12 | en | English | pl | Polish |
|
|
1565
|
-
* ##
|
|
1565
|
+
* ## Scenarios
|
|
1566
1566
|
* Main product images and detail images for cross-border e-commerce.
|
|
1567
|
-
* ##
|
|
1568
|
-
* * **Product body information protection**: Allows you to choose whether to translate text on the product body
|
|
1567
|
+
* ## Features
|
|
1568
|
+
* * **Product body information protection**: Allows you to choose whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
|
|
1569
1569
|
*
|
|
1570
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images
|
|
1570
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1571
1571
|
*
|
|
1572
|
-
* * **Translation intervention
|
|
1572
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (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 operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1573
1573
|
*
|
|
1574
1574
|
* @param request - ImageTranslationPlusRequest
|
|
1575
1575
|
* @returns ImageTranslationPlusResponse
|
|
@@ -1579,18 +1579,18 @@ class Client extends openapi_core_1.default {
|
|
|
1579
1579
|
return await this.imageTranslationPlusWithOptions(request, runtime);
|
|
1580
1580
|
}
|
|
1581
1581
|
/**
|
|
1582
|
-
*
|
|
1582
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation 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
1583
|
*
|
|
1584
1584
|
* @remarks
|
|
1585
1585
|
* ## Product Introduction
|
|
1586
|
-
*
|
|
1586
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation 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).
|
|
1587
1587
|
* ## Scenarios
|
|
1588
1588
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1589
1589
|
* ## Features
|
|
1590
|
-
* - **Product subject protection**:
|
|
1591
|
-
* - **Post-translation editing**:
|
|
1592
|
-
* - **Brand name protection**:
|
|
1593
|
-
* - **Translation intervention**:
|
|
1590
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
1591
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
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 requirements across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
1594
1594
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1595
1595
|
*
|
|
1596
1596
|
* @param request - ImageTranslationProRequest
|
|
@@ -1641,18 +1641,18 @@ class Client extends openapi_core_1.default {
|
|
|
1641
1641
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
|
|
1642
1642
|
}
|
|
1643
1643
|
/**
|
|
1644
|
-
*
|
|
1644
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation 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
1645
|
*
|
|
1646
1646
|
* @remarks
|
|
1647
1647
|
* ## Product Introduction
|
|
1648
|
-
*
|
|
1648
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation 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).
|
|
1649
1649
|
* ## Scenarios
|
|
1650
1650
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1651
1651
|
* ## Features
|
|
1652
|
-
* - **Product subject protection**:
|
|
1653
|
-
* - **Post-translation editing**:
|
|
1654
|
-
* - **Brand name protection**:
|
|
1655
|
-
* - **Translation intervention**:
|
|
1652
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
1653
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
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 requirements across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
1656
1656
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1657
1657
|
*
|
|
1658
1658
|
* @param request - ImageTranslationProRequest
|
|
@@ -1663,22 +1663,22 @@ class Client extends openapi_core_1.default {
|
|
|
1663
1663
|
return await this.imageTranslationProWithOptions(request, runtime);
|
|
1664
1664
|
}
|
|
1665
1665
|
/**
|
|
1666
|
-
*
|
|
1666
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1667
1667
|
*
|
|
1668
1668
|
* @remarks
|
|
1669
1669
|
* # 1. Product Introduction
|
|
1670
|
-
*
|
|
1671
|
-
* # 2.
|
|
1670
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1671
|
+
* # 2. Applicable scenarios
|
|
1672
1672
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1673
1673
|
* # 3. Features
|
|
1674
|
-
* * **Product area protection**: Allows you to choose whether to translate text on the product area. This helps protect product information from being translated, avoiding translation of embedded information such as product names.
|
|
1674
|
+
* * **Product area protection**: Allows you to choose whether to translate text on the product area of an image. This helps protect product area information from being translated, avoiding translation of embedded information such as product names.
|
|
1675
1675
|
*
|
|
1676
1676
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1677
1677
|
*
|
|
1678
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to integrate with
|
|
1678
|
+
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. For the availability of the editor SDK package, follow platform notifications.
|
|
1679
1679
|
*
|
|
1680
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1681
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1680
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (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 operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1681
|
+
* * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1682
1682
|
*
|
|
1683
1683
|
* @param request - ImageTranslationStandardRequest
|
|
1684
1684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1725,22 +1725,22 @@ class Client extends openapi_core_1.default {
|
|
|
1725
1725
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardResponse({}));
|
|
1726
1726
|
}
|
|
1727
1727
|
/**
|
|
1728
|
-
*
|
|
1728
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1729
1729
|
*
|
|
1730
1730
|
* @remarks
|
|
1731
1731
|
* # 1. Product Introduction
|
|
1732
|
-
*
|
|
1733
|
-
* # 2.
|
|
1732
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1733
|
+
* # 2. Applicable scenarios
|
|
1734
1734
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1735
1735
|
* # 3. Features
|
|
1736
|
-
* * **Product area protection**: Allows you to choose whether to translate text on the product area. This helps protect product information from being translated, avoiding translation of embedded information such as product names.
|
|
1736
|
+
* * **Product area protection**: Allows you to choose whether to translate text on the product area of an image. This helps protect product area information from being translated, avoiding translation of embedded information such as product names.
|
|
1737
1737
|
*
|
|
1738
1738
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1739
1739
|
*
|
|
1740
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to integrate with
|
|
1740
|
+
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. For the availability of the editor SDK package, follow platform notifications.
|
|
1741
1741
|
*
|
|
1742
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1743
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1742
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (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 operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1743
|
+
* * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1744
1744
|
*
|
|
1745
1745
|
* @param request - ImageTranslationStandardRequest
|
|
1746
1746
|
* @returns ImageTranslationStandardResponse
|
|
@@ -1750,11 +1750,11 @@ class Client extends openapi_core_1.default {
|
|
|
1750
1750
|
return await this.imageTranslationStandardWithOptions(request, runtime);
|
|
1751
1751
|
}
|
|
1752
1752
|
/**
|
|
1753
|
-
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text
|
|
1753
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations.
|
|
1754
1754
|
*
|
|
1755
1755
|
* @remarks
|
|
1756
1756
|
* ## Product Introduction
|
|
1757
|
-
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text
|
|
1757
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations. For supported language directions, refer to the [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1758
1758
|
*
|
|
1759
1759
|
* @param request - LanguageDetectRequest
|
|
1760
1760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1786,11 +1786,11 @@ class Client extends openapi_core_1.default {
|
|
|
1786
1786
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.LanguageDetectResponse({}));
|
|
1787
1787
|
}
|
|
1788
1788
|
/**
|
|
1789
|
-
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text
|
|
1789
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations.
|
|
1790
1790
|
*
|
|
1791
1791
|
* @remarks
|
|
1792
1792
|
* ## Product Introduction
|
|
1793
|
-
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text
|
|
1793
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations. For supported language directions, refer to the [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1794
1794
|
*
|
|
1795
1795
|
* @param request - LanguageDetectRequest
|
|
1796
1796
|
* @returns LanguageDetectResponse
|
|
@@ -1800,29 +1800,29 @@ class Client extends openapi_core_1.default {
|
|
|
1800
1800
|
return await this.languageDetectWithOptions(request, runtime);
|
|
1801
1801
|
}
|
|
1802
1802
|
/**
|
|
1803
|
-
*
|
|
1803
|
+
* Material display detection is an intelligent compliance detection capability for in-store marketing materials built on a Multimodal Large Language Model (MLLM), designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as functional card stands, posters, and door-shaped display stands, as well as long-tail materials such as light cloth banners, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
1804
1804
|
*
|
|
1805
1805
|
* @remarks
|
|
1806
1806
|
* ## **Scenarios**
|
|
1807
|
-
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional
|
|
1807
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional card stands, posters, door-shaped display stands, etc.) are placed or posted in the store according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "incorrectly placed," or "content mismatch."
|
|
1808
1808
|
*
|
|
1809
|
-
* - **New product/campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials
|
|
1809
|
+
* - **New product / campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials have been listed as required based on store photos, replacing manual spot checks.
|
|
1810
1810
|
*
|
|
1811
|
-
* - **Adaptive dual-image comparison and single-image detection**:
|
|
1811
|
+
* - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode switches automatically based on whether `ImageRefer` is provided, so callers do not need to differentiate between invocation methods.
|
|
1812
1812
|
* ## **Features**
|
|
1813
|
-
* - **Multi-mode intelligent routing**: Built-in material type parsing capability that automatically identifies the target material type based on `Rules` natural language text and routes to the corresponding
|
|
1813
|
+
* - **Multi-mode intelligent routing**: Built-in material type parsing capability that automatically identifies the target material type based on `Rules` natural language text and routes to the corresponding detection pipeline. Callers only need to provide image URLs and rule text. Currently, four detection routing pipelines are supported: "functional card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
|
|
1814
1814
|
*
|
|
1815
|
-
* - **MLLM semantic-level understanding + rule
|
|
1815
|
+
* - **MLLM semantic-level understanding + structured rule coordination**: Uses a multimodal large language model for material recognition, content comparison, text OCR, and other semantic-level understanding tasks. Combined with rule cleaning and structured models, natural language rules are decomposed into individually evaluable steps (S1 / S2…), ensuring accuracy while maintaining rule flexibility and traceability.
|
|
1816
1816
|
*
|
|
1817
|
-
* - **Structured
|
|
1817
|
+
* - **Structured inspection conclusion output**: Output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logical AND of all steps. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
|
|
1818
1818
|
*
|
|
1819
1819
|
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) calling modes are supported, with identical output structures.
|
|
1820
1820
|
* ## **Invocation method**
|
|
1821
|
-
* - **Synchronous call**: A single request returns the detection result without polling. The response
|
|
1821
|
+
* - **Synchronous call**: A single request returns the detection result without polling. The response follows a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
1822
1822
|
*
|
|
1823
|
-
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the
|
|
1823
|
+
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
|
|
1824
1824
|
*
|
|
1825
|
-
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official
|
|
1825
|
+
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
|
|
1826
1826
|
*
|
|
1827
1827
|
* @param request - MaterialInspectionRequest
|
|
1828
1828
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1863,29 +1863,29 @@ class Client extends openapi_core_1.default {
|
|
|
1863
1863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MaterialInspectionResponse({}));
|
|
1864
1864
|
}
|
|
1865
1865
|
/**
|
|
1866
|
-
*
|
|
1866
|
+
* Material display detection is an intelligent compliance detection capability for in-store marketing materials built on a Multimodal Large Language Model (MLLM), designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as functional card stands, posters, and door-shaped display stands, as well as long-tail materials such as light cloth banners, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
1867
1867
|
*
|
|
1868
1868
|
* @remarks
|
|
1869
1869
|
* ## **Scenarios**
|
|
1870
|
-
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional
|
|
1870
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional card stands, posters, door-shaped display stands, etc.) are placed or posted in the store according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "incorrectly placed," or "content mismatch."
|
|
1871
1871
|
*
|
|
1872
|
-
* - **New product/campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials
|
|
1872
|
+
* - **New product / campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials have been listed as required based on store photos, replacing manual spot checks.
|
|
1873
1873
|
*
|
|
1874
|
-
* - **Adaptive dual-image comparison and single-image detection**:
|
|
1874
|
+
* - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode switches automatically based on whether `ImageRefer` is provided, so callers do not need to differentiate between invocation methods.
|
|
1875
1875
|
* ## **Features**
|
|
1876
|
-
* - **Multi-mode intelligent routing**: Built-in material type parsing capability that automatically identifies the target material type based on `Rules` natural language text and routes to the corresponding
|
|
1876
|
+
* - **Multi-mode intelligent routing**: Built-in material type parsing capability that automatically identifies the target material type based on `Rules` natural language text and routes to the corresponding detection pipeline. Callers only need to provide image URLs and rule text. Currently, four detection routing pipelines are supported: "functional card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
|
|
1877
1877
|
*
|
|
1878
|
-
* - **MLLM semantic-level understanding + rule
|
|
1878
|
+
* - **MLLM semantic-level understanding + structured rule coordination**: Uses a multimodal large language model for material recognition, content comparison, text OCR, and other semantic-level understanding tasks. Combined with rule cleaning and structured models, natural language rules are decomposed into individually evaluable steps (S1 / S2…), ensuring accuracy while maintaining rule flexibility and traceability.
|
|
1879
1879
|
*
|
|
1880
|
-
* - **Structured
|
|
1880
|
+
* - **Structured inspection conclusion output**: Output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logical AND of all steps. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
|
|
1881
1881
|
*
|
|
1882
1882
|
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) calling modes are supported, with identical output structures.
|
|
1883
1883
|
* ## **Invocation method**
|
|
1884
|
-
* - **Synchronous call**: A single request returns the detection result without polling. The response
|
|
1884
|
+
* - **Synchronous call**: A single request returns the detection result without polling. The response follows a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
1885
1885
|
*
|
|
1886
|
-
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the
|
|
1886
|
+
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
|
|
1887
1887
|
*
|
|
1888
|
-
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official
|
|
1888
|
+
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
|
|
1889
1889
|
*
|
|
1890
1890
|
* @param request - MaterialInspectionRequest
|
|
1891
1891
|
* @returns MaterialInspectionResponse
|
|
@@ -1895,25 +1895,25 @@ class Client extends openapi_core_1.default {
|
|
|
1895
1895
|
return await this.materialInspectionWithOptions(request, runtime);
|
|
1896
1896
|
}
|
|
1897
1897
|
/**
|
|
1898
|
-
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores.
|
|
1898
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exact match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is applicable to large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1899
1899
|
*
|
|
1900
1900
|
* @remarks
|
|
1901
1901
|
* ## **Product Introduction**
|
|
1902
|
-
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack inspection scenarios in offline retail and channel stores. For photos of shelves
|
|
1903
|
-
* ## **
|
|
1904
|
-
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image
|
|
1902
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves and floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exact match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is applicable to large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1903
|
+
* ## **Scenarios**
|
|
1904
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1905
1905
|
*
|
|
1906
|
-
* - **Distribution verification/SKU compliance**: Verifies whether
|
|
1906
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist, supporting batch automated verification during sales promotions or new product launches.
|
|
1907
1907
|
*
|
|
1908
|
-
* - **Customer-
|
|
1909
|
-
* ## **
|
|
1910
|
-
* - **Two-stage detection +
|
|
1908
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, recall is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1909
|
+
* ## **Features**
|
|
1910
|
+
* - **Two-stage detection + recall pipeline**: The MLLM detects each product box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1911
1911
|
*
|
|
1912
|
-
* - **Dedicated vector library with isolated
|
|
1912
|
+
* - **Dedicated vector library with isolated recall**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1913
1913
|
*
|
|
1914
1914
|
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
1915
1915
|
*
|
|
1916
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the
|
|
1916
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or from OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1917
1917
|
*
|
|
1918
1918
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1919
1919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1951,25 +1951,25 @@ class Client extends openapi_core_1.default {
|
|
|
1951
1951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionResponse({}));
|
|
1952
1952
|
}
|
|
1953
1953
|
/**
|
|
1954
|
-
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores.
|
|
1954
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exact match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is applicable to large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1955
1955
|
*
|
|
1956
1956
|
* @remarks
|
|
1957
1957
|
* ## **Product Introduction**
|
|
1958
|
-
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack inspection scenarios in offline retail and channel stores. For photos of shelves
|
|
1959
|
-
* ## **
|
|
1960
|
-
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image
|
|
1958
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves and floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exact match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is applicable to large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1959
|
+
* ## **Scenarios**
|
|
1960
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1961
1961
|
*
|
|
1962
|
-
* - **Distribution verification/SKU compliance**: Verifies whether
|
|
1962
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist, supporting batch automated verification during sales promotions or new product launches.
|
|
1963
1963
|
*
|
|
1964
|
-
* - **Customer-
|
|
1965
|
-
* ## **
|
|
1966
|
-
* - **Two-stage detection +
|
|
1964
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, recall is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1965
|
+
* ## **Features**
|
|
1966
|
+
* - **Two-stage detection + recall pipeline**: The MLLM detects each product box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1967
1967
|
*
|
|
1968
|
-
* - **Dedicated vector library with isolated
|
|
1968
|
+
* - **Dedicated vector library with isolated recall**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1969
1969
|
*
|
|
1970
1970
|
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
1971
1971
|
*
|
|
1972
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the
|
|
1972
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or from OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1973
1973
|
*
|
|
1974
1974
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1975
1975
|
* @returns MerchandisePlacementDetectionResponse
|
|
@@ -1979,21 +1979,21 @@ class Client extends openapi_core_1.default {
|
|
|
1979
1979
|
return await this.merchandisePlacementDetectionWithOptions(request, runtime);
|
|
1980
1980
|
}
|
|
1981
1981
|
/**
|
|
1982
|
-
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms
|
|
1982
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including bounding box validity, bounding box fit, and foreign object interference for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1983
1983
|
*
|
|
1984
1984
|
* @remarks
|
|
1985
1985
|
* ## Product Introduction
|
|
1986
|
-
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms
|
|
1986
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including **bounding box validity, bounding box fit, and foreign object interference** for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1987
1987
|
* ## Scenarios
|
|
1988
|
-
* 1. **Parcel bounding box review**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum effective border rectangle" for the parcel,
|
|
1989
|
-
* 2. **Foreign object interference detection**: Automatically
|
|
1990
|
-
* 3. **Multi-capture environment adaptation**: A single API
|
|
1991
|
-
* 4. **Inbound quality inspection pipeline**: Used for automated compliance review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, as a replacement for or supplement to manual
|
|
1992
|
-
* The product is also applicable to general image "
|
|
1988
|
+
* 1. **Parcel bounding box review**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum effective border rectangle" for the parcel, and identifies typical issues such as oversized or undersized bounding boxes.
|
|
1989
|
+
* 2. **Foreign object interference detection**: Automatically detects whether non-target objects such as fingers, keyboards, or supporting tools are present in the scanning area.
|
|
1990
|
+
* 3. **Multi-capture environment adaptation**: A single API can handle two common capture patterns — white background board (blue box) and green background board (blue box \\+ red box) — without requiring the caller to distinguish between scenarios.
|
|
1991
|
+
* 4. **Inbound quality inspection pipeline**: Used for automated compliance review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, as a replacement for or supplement to outsourced manual review.
|
|
1992
|
+
* The product is also applicable to general image "box-subject" relationship review scenarios, such as product photo material review and document scan quality verification.
|
|
1993
1993
|
* ## Features
|
|
1994
|
-
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities
|
|
1995
|
-
* 2. **MLLM + dedicated CV model collaboration**:
|
|
1996
|
-
* 3. **Structured review conclusions**:
|
|
1994
|
+
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities. It automatically identifies the background type (white/green) and bounding box type (none/single box/double box) in the image, and routes the request to the corresponding review sub-process. The caller only needs to pass in the image URL without manually specifying the scenario.
|
|
1995
|
+
* 2. **MLLM + dedicated CV model collaboration**: A multimodal large language model performs semantic-level scenario understanding and foreign object recognition, while a dedicated parcel segmentation and IoU evaluation model performs pixel-level bounding box fit quantification. This ensures accuracy while controlling inference latency and cost.
|
|
1996
|
+
* 3. **Structured review conclusions**: The output is unified as a `result` (Boolean) \\+ `info` (Chinese-language reason) structure. Supported reason types include "审核通过" (review passed), "审核不通过:框选过大" (review failed: bounding box too large), "审核不通过:框选过小" (review failed: bounding box too small), and "审核不通过:存在异物" (review failed: foreign object detected), enabling direct integration with downstream business systems.
|
|
1997
1997
|
* 4. **Supported input formats**: Currently supports publicly accessible image URLs.
|
|
1998
1998
|
*
|
|
1999
1999
|
* @param request - PackageWeightSizeCheckRequest
|
|
@@ -2026,21 +2026,21 @@ class Client extends openapi_core_1.default {
|
|
|
2026
2026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PackageWeightSizeCheckResponse({}));
|
|
2027
2027
|
}
|
|
2028
2028
|
/**
|
|
2029
|
-
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms
|
|
2029
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including bounding box validity, bounding box fit, and foreign object interference for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
2030
2030
|
*
|
|
2031
2031
|
* @remarks
|
|
2032
2032
|
* ## Product Introduction
|
|
2033
|
-
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms
|
|
2033
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including **bounding box validity, bounding box fit, and foreign object interference** for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
2034
2034
|
* ## Scenarios
|
|
2035
|
-
* 1. **Parcel bounding box review**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum effective border rectangle" for the parcel,
|
|
2036
|
-
* 2. **Foreign object interference detection**: Automatically
|
|
2037
|
-
* 3. **Multi-capture environment adaptation**: A single API
|
|
2038
|
-
* 4. **Inbound quality inspection pipeline**: Used for automated compliance review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, as a replacement for or supplement to manual
|
|
2039
|
-
* The product is also applicable to general image "
|
|
2035
|
+
* 1. **Parcel bounding box review**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum effective border rectangle" for the parcel, and identifies typical issues such as oversized or undersized bounding boxes.
|
|
2036
|
+
* 2. **Foreign object interference detection**: Automatically detects whether non-target objects such as fingers, keyboards, or supporting tools are present in the scanning area.
|
|
2037
|
+
* 3. **Multi-capture environment adaptation**: A single API can handle two common capture patterns — white background board (blue box) and green background board (blue box \\+ red box) — without requiring the caller to distinguish between scenarios.
|
|
2038
|
+
* 4. **Inbound quality inspection pipeline**: Used for automated compliance review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, as a replacement for or supplement to outsourced manual review.
|
|
2039
|
+
* The product is also applicable to general image "box-subject" relationship review scenarios, such as product photo material review and document scan quality verification.
|
|
2040
2040
|
* ## Features
|
|
2041
|
-
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities
|
|
2042
|
-
* 2. **MLLM + dedicated CV model collaboration**:
|
|
2043
|
-
* 3. **Structured review conclusions**:
|
|
2041
|
+
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities. It automatically identifies the background type (white/green) and bounding box type (none/single box/double box) in the image, and routes the request to the corresponding review sub-process. The caller only needs to pass in the image URL without manually specifying the scenario.
|
|
2042
|
+
* 2. **MLLM + dedicated CV model collaboration**: A multimodal large language model performs semantic-level scenario understanding and foreign object recognition, while a dedicated parcel segmentation and IoU evaluation model performs pixel-level bounding box fit quantification. This ensures accuracy while controlling inference latency and cost.
|
|
2043
|
+
* 3. **Structured review conclusions**: The output is unified as a `result` (Boolean) \\+ `info` (Chinese-language reason) structure. Supported reason types include "审核通过" (review passed), "审核不通过:框选过大" (review failed: bounding box too large), "审核不通过:框选过小" (review failed: bounding box too small), and "审核不通过:存在异物" (review failed: foreign object detected), enabling direct integration with downstream business systems.
|
|
2044
2044
|
* 4. **Supported input formats**: Currently supports publicly accessible image URLs.
|
|
2045
2045
|
*
|
|
2046
2046
|
* @param request - PackageWeightSizeCheckRequest
|
|
@@ -2051,22 +2051,22 @@ class Client extends openapi_core_1.default {
|
|
|
2051
2051
|
return await this.packageWeightSizeCheckWithOptions(request, runtime);
|
|
2052
2052
|
}
|
|
2053
2053
|
/**
|
|
2054
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify
|
|
2054
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2055
2055
|
*
|
|
2056
2056
|
* @remarks
|
|
2057
2057
|
* ## 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 between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify
|
|
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 between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2059
2059
|
* ## Common scenarios
|
|
2060
|
-
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending
|
|
2060
|
+
* - 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
2061
|
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
2062
2062
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2063
2063
|
* - 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
|
-
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
2064
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2065
2065
|
* ## Features
|
|
2066
2066
|
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
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
|
|
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 provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2068
2068
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2069
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and
|
|
2069
|
+
* - **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 brand term protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
2070
2070
|
* ## Translation quality comparison
|
|
2071
2071
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2072
2072
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
@@ -2124,22 +2124,22 @@ class Client extends openapi_core_1.default {
|
|
|
2124
2124
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PrepaidTextTranslateResponse({}));
|
|
2125
2125
|
}
|
|
2126
2126
|
/**
|
|
2127
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify
|
|
2127
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2128
2128
|
*
|
|
2129
2129
|
* @remarks
|
|
2130
2130
|
* ## 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 between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify
|
|
2131
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2132
2132
|
* ## Common scenarios
|
|
2133
|
-
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending
|
|
2133
|
+
* - 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
2134
|
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
2135
2135
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2136
2136
|
* - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
2137
|
-
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
2137
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2138
2138
|
* ## Features
|
|
2139
2139
|
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
2140
|
-
* - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
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 provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2141
2141
|
* - **Supported text format types** Currently supports text and html text types.
|
|
2142
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and
|
|
2142
|
+
* - **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 brand term protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
2143
2143
|
* ## Translation quality comparison
|
|
2144
2144
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2145
2145
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
@@ -2159,14 +2159,14 @@ class Client extends openapi_core_1.default {
|
|
|
2159
2159
|
*
|
|
2160
2160
|
* @remarks
|
|
2161
2161
|
* ## Request description
|
|
2162
|
-
* **Before
|
|
2163
|
-
* This
|
|
2162
|
+
* **Before you use this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the product hotzone recognition feature.**
|
|
2163
|
+
* This operation automatically identifies and locates specified products in a target scene image based on the provided target scene image and product reference images, and returns the product names and normalized bounding boxes. Each request accepts one target scene image and a set of product reference images. If the same case contains multiple target images, call this operation separately for each target image.
|
|
2164
2164
|
* ### Precautions
|
|
2165
|
-
* - Image URLs must use HTTPS and be accessible by the server.
|
|
2165
|
+
* - Image URLs must use HTTPS and must be accessible by the server.
|
|
2166
2166
|
* - Common image formats such as JPEG, PNG, and WebP are supported.
|
|
2167
2167
|
* - Each image should not exceed 2 MB.
|
|
2168
2168
|
* - When using signed URLs, set the validity period to at least 30 minutes.
|
|
2169
|
-
* - If the same case
|
|
2169
|
+
* - If the same case contains multiple target scene images, call this operation separately for each target image. The reference image list can be reused.
|
|
2170
2170
|
*
|
|
2171
2171
|
* @param tmpReq - ProductHotspotDetectionRequest
|
|
2172
2172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2210,14 +2210,14 @@ class Client extends openapi_core_1.default {
|
|
|
2210
2210
|
*
|
|
2211
2211
|
* @remarks
|
|
2212
2212
|
* ## Request description
|
|
2213
|
-
* **Before
|
|
2214
|
-
* This
|
|
2213
|
+
* **Before you use this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the product hotzone recognition feature.**
|
|
2214
|
+
* This operation automatically identifies and locates specified products in a target scene image based on the provided target scene image and product reference images, and returns the product names and normalized bounding boxes. Each request accepts one target scene image and a set of product reference images. If the same case contains multiple target images, call this operation separately for each target image.
|
|
2215
2215
|
* ### Precautions
|
|
2216
|
-
* - Image URLs must use HTTPS and be accessible by the server.
|
|
2216
|
+
* - Image URLs must use HTTPS and must be accessible by the server.
|
|
2217
2217
|
* - Common image formats such as JPEG, PNG, and WebP are supported.
|
|
2218
2218
|
* - Each image should not exceed 2 MB.
|
|
2219
2219
|
* - When using signed URLs, set the validity period to at least 30 minutes.
|
|
2220
|
-
* - If the same case
|
|
2220
|
+
* - If the same case contains multiple target scene images, call this operation separately for each target image. The reference image list can be reused.
|
|
2221
2221
|
*
|
|
2222
2222
|
* @param request - ProductHotspotDetectionRequest
|
|
2223
2223
|
* @returns ProductHotspotDetectionResponse
|
|
@@ -2227,10 +2227,10 @@ class Client extends openapi_core_1.default {
|
|
|
2227
2227
|
return await this.productHotspotDetectionWithOptions(request, runtime);
|
|
2228
2228
|
}
|
|
2229
2229
|
/**
|
|
2230
|
-
*
|
|
2230
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
2231
2231
|
*
|
|
2232
2232
|
* @remarks
|
|
2233
|
-
*
|
|
2233
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
2234
2234
|
*
|
|
2235
2235
|
* @param request - QueryAsyncTaskResultRequest
|
|
2236
2236
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2259,10 +2259,10 @@ class Client extends openapi_core_1.default {
|
|
|
2259
2259
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAsyncTaskResultResponse({}));
|
|
2260
2260
|
}
|
|
2261
2261
|
/**
|
|
2262
|
-
*
|
|
2262
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
2263
2263
|
*
|
|
2264
2264
|
* @remarks
|
|
2265
|
-
*
|
|
2265
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
2266
2266
|
*
|
|
2267
2267
|
* @param request - QueryAsyncTaskResultRequest
|
|
2268
2268
|
* @returns QueryAsyncTaskResultResponse
|
|
@@ -2278,10 +2278,10 @@ class Client extends openapi_core_1.default {
|
|
|
2278
2278
|
* # 1. Product Introduction
|
|
2279
2279
|
* Detects whether an image contains a size chart. (Synchronous)
|
|
2280
2280
|
* # 2. Common scenarios
|
|
2281
|
-
* **Batch processing scenario:** Detect images
|
|
2281
|
+
* **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
2282
2282
|
* # 3. Features
|
|
2283
2283
|
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
2284
|
-
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business
|
|
2284
|
+
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
|
|
2285
2285
|
* # 4. Effect comparison
|
|
2286
2286
|
* | **Input image** | **Confidence** | **Output result** |
|
|
2287
2287
|
* | --- | --- | --- |
|
|
@@ -2324,10 +2324,10 @@ class Client extends openapi_core_1.default {
|
|
|
2324
2324
|
* # 1. Product Introduction
|
|
2325
2325
|
* Detects whether an image contains a size chart. (Synchronous)
|
|
2326
2326
|
* # 2. Common scenarios
|
|
2327
|
-
* **Batch processing scenario:** Detect images
|
|
2327
|
+
* **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
2328
2328
|
* # 3. Features
|
|
2329
2329
|
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
2330
|
-
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business
|
|
2330
|
+
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
|
|
2331
2331
|
* # 4. Effect comparison
|
|
2332
2332
|
* | **Input image** | **Confidence** | **Output result** |
|
|
2333
2333
|
* | --- | --- | --- |
|
|
@@ -2631,6 +2631,63 @@ class Client extends openapi_core_1.default {
|
|
|
2631
2631
|
let runtime = new $dara.RuntimeOptions({});
|
|
2632
2632
|
return await this.sizeChartExtractWithOptions(request, runtime);
|
|
2633
2633
|
}
|
|
2634
|
+
/**
|
|
2635
|
+
* Generates product detail page assets automatically based on a multimodal large language model (MLLM) and structured image-text extraction, designed for product detail page asset completion scenarios on e-commerce platforms and for brand merchants. The caller pushes product information to be queried (product ID, title, brand, main image, and shop name). The service automatically locates matching products and performs consistency verification, then extracts size information and product attributes from the matching product details, and renders them into size charts and attribute charts (SVG) that can be directly used on detail pages. The service also returns structured detail copy classifications and processing notes.
|
|
2636
|
+
*
|
|
2637
|
+
* @param request - SubmitProductMatchRequest
|
|
2638
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2639
|
+
* @returns SubmitProductMatchResponse
|
|
2640
|
+
*/
|
|
2641
|
+
async submitProductMatchWithOptions(request, runtime) {
|
|
2642
|
+
request.validate();
|
|
2643
|
+
let query = {};
|
|
2644
|
+
if (!$dara.isNull(request.brandName)) {
|
|
2645
|
+
query["BrandName"] = request.brandName;
|
|
2646
|
+
}
|
|
2647
|
+
if (!$dara.isNull(request.category)) {
|
|
2648
|
+
query["Category"] = request.category;
|
|
2649
|
+
}
|
|
2650
|
+
if (!$dara.isNull(request.imageUrl)) {
|
|
2651
|
+
query["ImageUrl"] = request.imageUrl;
|
|
2652
|
+
}
|
|
2653
|
+
if (!$dara.isNull(request.itemId)) {
|
|
2654
|
+
query["ItemId"] = request.itemId;
|
|
2655
|
+
}
|
|
2656
|
+
if (!$dara.isNull(request.productUrl)) {
|
|
2657
|
+
query["ProductUrl"] = request.productUrl;
|
|
2658
|
+
}
|
|
2659
|
+
if (!$dara.isNull(request.shopName)) {
|
|
2660
|
+
query["ShopName"] = request.shopName;
|
|
2661
|
+
}
|
|
2662
|
+
if (!$dara.isNull(request.title)) {
|
|
2663
|
+
query["Title"] = request.title;
|
|
2664
|
+
}
|
|
2665
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2666
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2667
|
+
});
|
|
2668
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2669
|
+
action: "SubmitProductMatch",
|
|
2670
|
+
version: "2026-04-28",
|
|
2671
|
+
protocol: "HTTPS",
|
|
2672
|
+
pathname: "/",
|
|
2673
|
+
method: "POST",
|
|
2674
|
+
authType: "AK",
|
|
2675
|
+
style: "RPC",
|
|
2676
|
+
reqBodyType: "formData",
|
|
2677
|
+
bodyType: "json",
|
|
2678
|
+
});
|
|
2679
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitProductMatchResponse({}));
|
|
2680
|
+
}
|
|
2681
|
+
/**
|
|
2682
|
+
* Generates product detail page assets automatically based on a multimodal large language model (MLLM) and structured image-text extraction, designed for product detail page asset completion scenarios on e-commerce platforms and for brand merchants. The caller pushes product information to be queried (product ID, title, brand, main image, and shop name). The service automatically locates matching products and performs consistency verification, then extracts size information and product attributes from the matching product details, and renders them into size charts and attribute charts (SVG) that can be directly used on detail pages. The service also returns structured detail copy classifications and processing notes.
|
|
2683
|
+
*
|
|
2684
|
+
* @param request - SubmitProductMatchRequest
|
|
2685
|
+
* @returns SubmitProductMatchResponse
|
|
2686
|
+
*/
|
|
2687
|
+
async submitProductMatch(request) {
|
|
2688
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2689
|
+
return await this.submitProductMatchWithOptions(request, runtime);
|
|
2690
|
+
}
|
|
2634
2691
|
/**
|
|
2635
2692
|
* Corrects errors in search terms and titles.
|
|
2636
2693
|
*
|
|
@@ -2714,32 +2771,32 @@ class Client extends openapi_core_1.default {
|
|
|
2714
2771
|
return await this.textCorrectWithOptions(request, runtime);
|
|
2715
2772
|
}
|
|
2716
2773
|
/**
|
|
2717
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2774
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization 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-to-multilingual, and English-to-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2718
2775
|
*
|
|
2719
2776
|
* @remarks
|
|
2720
2777
|
* ## Product Introduction
|
|
2721
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2778
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization 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-to-multilingual, and English-to-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2722
2779
|
* ## Common scenarios
|
|
2723
|
-
* - Product titles: Marco MT
|
|
2724
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2725
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2726
|
-
* - Customer service conversations: In customer service scenarios, Marco MT
|
|
2727
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2780
|
+
* - 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.
|
|
2781
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
2782
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2783
|
+
* - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
2784
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2728
2785
|
* ## Features
|
|
2729
|
-
* - **Supported language
|
|
2730
|
-
* Marco MT supports translation
|
|
2786
|
+
* - **Supported language directions**
|
|
2787
|
+
* Marco MT large model translation 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).
|
|
2731
2788
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2732
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
2789
|
+
* Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2733
2790
|
* - **Supported text format types**
|
|
2734
|
-
* Currently
|
|
2735
|
-
* - **Translation intervention**
|
|
2736
|
-
*
|
|
2791
|
+
* Currently, text and html text types are supported.
|
|
2792
|
+
* - **Translation intervention support**
|
|
2793
|
+
* Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for brand term protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
2737
2794
|
* ## Translation quality comparison
|
|
2738
2795
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2739
2796
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2740
2797
|
* | 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 |
|
|
2741
2798
|
* | 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 |
|
|
2742
|
-
* | 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 product subject
|
|
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, correctly identifying "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
|
|
2743
2800
|
*
|
|
2744
2801
|
* @param tmpReq - TextTranslateRequest
|
|
2745
2802
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2791,32 +2848,32 @@ class Client extends openapi_core_1.default {
|
|
|
2791
2848
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextTranslateResponse({}));
|
|
2792
2849
|
}
|
|
2793
2850
|
/**
|
|
2794
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2851
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization 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-to-multilingual, and English-to-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2795
2852
|
*
|
|
2796
2853
|
* @remarks
|
|
2797
2854
|
* ## Product Introduction
|
|
2798
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2855
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization 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-to-multilingual, and English-to-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2799
2856
|
* ## Common scenarios
|
|
2800
|
-
* - Product titles: Marco MT
|
|
2801
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2802
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2803
|
-
* - Customer service conversations: In customer service scenarios, Marco MT
|
|
2804
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2857
|
+
* - 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.
|
|
2858
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
2859
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2860
|
+
* - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
2861
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
2805
2862
|
* ## Features
|
|
2806
|
-
* - **Supported language
|
|
2807
|
-
* Marco MT supports translation
|
|
2863
|
+
* - **Supported language directions**
|
|
2864
|
+
* Marco MT large model translation 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).
|
|
2808
2865
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2809
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
2866
|
+
* Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2810
2867
|
* - **Supported text format types**
|
|
2811
|
-
* Currently
|
|
2812
|
-
* - **Translation intervention**
|
|
2813
|
-
*
|
|
2868
|
+
* Currently, text and html text types are supported.
|
|
2869
|
+
* - **Translation intervention support**
|
|
2870
|
+
* Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for brand term protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
2814
2871
|
* ## Translation quality comparison
|
|
2815
2872
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2816
2873
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2817
2874
|
* | 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 |
|
|
2818
2875
|
* | 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 |
|
|
2819
|
-
* | 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 product subject
|
|
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, correctly identifying "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
|
|
2820
2877
|
*
|
|
2821
2878
|
* @param request - TextTranslateRequest
|
|
2822
2879
|
* @returns TextTranslateResponse
|
|
@@ -2918,24 +2975,24 @@ class Client extends openapi_core_1.default {
|
|
|
2918
2975
|
return await this.videoGenerationWithOptions(request, runtime);
|
|
2919
2976
|
}
|
|
2920
2977
|
/**
|
|
2921
|
-
*
|
|
2978
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
|
|
2922
2979
|
*
|
|
2923
2980
|
* @remarks
|
|
2924
2981
|
* ## 1. Product Introduction
|
|
2925
|
-
* The
|
|
2926
|
-
* The API uses an asynchronous call mode: after
|
|
2927
|
-
* ## 2.
|
|
2928
|
-
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market
|
|
2982
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
2983
|
+
* The API uses an asynchronous call mode: after you submit a translation task, you receive a `task_id`. Poll the query endpoint for the task status until the task is complete, and then retrieve the result.
|
|
2984
|
+
* ## 2. Scenarios
|
|
2985
|
+
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the language of the target market to facilitate overseas platform promotion.
|
|
2929
2986
|
*
|
|
2930
|
-
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube
|
|
2987
|
+
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube to improve comprehension and conversion rates among overseas users.
|
|
2931
2988
|
*
|
|
2932
|
-
* * **Global brand advertising**: Automatically generates video versions in the language of the target region
|
|
2989
|
+
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
2933
2990
|
*
|
|
2934
2991
|
* * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
2935
2992
|
* ## 3. Features
|
|
2936
2993
|
* | Capability | Identifier | Description |
|
|
2937
2994
|
* | --- | --- | --- |
|
|
2938
|
-
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
|
|
2995
|
+
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
2939
2996
|
* ## 4. Developer guide.
|
|
2940
2997
|
* ### 4.1 Submit a translation task.
|
|
2941
2998
|
* #### Request
|
|
@@ -2982,24 +3039,24 @@ class Client extends openapi_core_1.default {
|
|
|
2982
3039
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoTranslationResponse({}));
|
|
2983
3040
|
}
|
|
2984
3041
|
/**
|
|
2985
|
-
*
|
|
3042
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
|
|
2986
3043
|
*
|
|
2987
3044
|
* @remarks
|
|
2988
3045
|
* ## 1. Product Introduction
|
|
2989
|
-
* The
|
|
2990
|
-
* The API uses an asynchronous call mode: after
|
|
2991
|
-
* ## 2.
|
|
2992
|
-
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market
|
|
3046
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3047
|
+
* The API uses an asynchronous call mode: after you submit a translation task, you receive a `task_id`. Poll the query endpoint for the task status until the task is complete, and then retrieve the result.
|
|
3048
|
+
* ## 2. Scenarios
|
|
3049
|
+
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the language of the target market to facilitate overseas platform promotion.
|
|
2993
3050
|
*
|
|
2994
|
-
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube
|
|
3051
|
+
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube to improve comprehension and conversion rates among overseas users.
|
|
2995
3052
|
*
|
|
2996
|
-
* * **Global brand advertising**: Automatically generates video versions in the language of the target region
|
|
3053
|
+
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
2997
3054
|
*
|
|
2998
3055
|
* * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
2999
3056
|
* ## 3. Features
|
|
3000
3057
|
* | Capability | Identifier | Description |
|
|
3001
3058
|
* | --- | --- | --- |
|
|
3002
|
-
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
|
|
3059
|
+
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
3003
3060
|
* ## 4. Developer guide.
|
|
3004
3061
|
* ### 4.1 Submit a translation task.
|
|
3005
3062
|
* #### Request
|
|
@@ -3013,16 +3070,126 @@ class Client extends openapi_core_1.default {
|
|
|
3013
3070
|
return await this.videoTranslationWithOptions(request, runtime);
|
|
3014
3071
|
}
|
|
3015
3072
|
/**
|
|
3016
|
-
*
|
|
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 achieve a realistic and well-fitted try-on result. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
3074
|
+
*
|
|
3075
|
+
* @remarks
|
|
3076
|
+
* ## Scenarios
|
|
3077
|
+
* - **Virtual try-on for clothing products:**
|
|
3078
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and skirts. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that intuitively showcases how the clothing looks when worn.
|
|
3079
|
+
* - **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, producing a coordinated and realistic wearing effect.
|
|
3081
|
+
* - **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, and improving the production efficiency of product images.
|
|
3083
|
+
* - **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, which assists purchase decisions and enhances the shopping experience.
|
|
3085
|
+
* ## Features
|
|
3086
|
+
* - **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 garment from the product image onto the model:**
|
|
3087
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
3088
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3089
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
3090
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
3091
|
+
* - 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.
|
|
3092
|
+
* - **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. Preserves model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
3094
|
+
* - b. Maintains 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.
|
|
3095
|
+
* - c. Generates try-on effect: the product is naturally applied onto the model, fitting the model\\"s pose and body structure to produce a coordinated and realistic virtual try-on image.
|
|
3096
|
+
* ## Sample results
|
|
3097
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3098
|
+
* | --- | --- | --- | --- |
|
|
3099
|
+
* | Tops |  |  |  |
|
|
3100
|
+
* | Bottoms |  |  |  |
|
|
3101
|
+
* | Shoes |  |  |  |
|
|
3102
|
+
* | Jumpsuits |  |  |  |
|
|
3103
|
+
* | Skirts |  |  |  |
|
|
3104
|
+
* | Hats |  |  |  |
|
|
3105
|
+
*
|
|
3106
|
+
* @param request - VirtualTryOnRequest
|
|
3107
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3108
|
+
* @returns VirtualTryOnResponse
|
|
3109
|
+
*/
|
|
3110
|
+
async virtualTryOnWithOptions(request, runtime) {
|
|
3111
|
+
request.validate();
|
|
3112
|
+
let query = {};
|
|
3113
|
+
if (!$dara.isNull(request.clothImageUrl)) {
|
|
3114
|
+
query["ClothImageUrl"] = request.clothImageUrl;
|
|
3115
|
+
}
|
|
3116
|
+
if (!$dara.isNull(request.clothType)) {
|
|
3117
|
+
query["ClothType"] = request.clothType;
|
|
3118
|
+
}
|
|
3119
|
+
if (!$dara.isNull(request.modelImageUrl)) {
|
|
3120
|
+
query["ModelImageUrl"] = request.modelImageUrl;
|
|
3121
|
+
}
|
|
3122
|
+
if (!$dara.isNull(request.resolution)) {
|
|
3123
|
+
query["Resolution"] = request.resolution;
|
|
3124
|
+
}
|
|
3125
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3126
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3127
|
+
});
|
|
3128
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3129
|
+
action: "VirtualTryOn",
|
|
3130
|
+
version: "2026-04-28",
|
|
3131
|
+
protocol: "HTTPS",
|
|
3132
|
+
pathname: "/",
|
|
3133
|
+
method: "POST",
|
|
3134
|
+
authType: "AK",
|
|
3135
|
+
style: "RPC",
|
|
3136
|
+
reqBodyType: "formData",
|
|
3137
|
+
bodyType: "json",
|
|
3138
|
+
});
|
|
3139
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VirtualTryOnResponse({}));
|
|
3140
|
+
}
|
|
3141
|
+
/**
|
|
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 achieve a realistic and well-fitted try-on result. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
3143
|
+
*
|
|
3144
|
+
* @remarks
|
|
3145
|
+
* ## Scenarios
|
|
3146
|
+
* - **Virtual try-on for clothing products:**
|
|
3147
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and skirts. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that intuitively showcases how the clothing looks when worn.
|
|
3148
|
+
* - **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, producing a coordinated and realistic wearing effect.
|
|
3150
|
+
* - **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, and improving the production efficiency of product images.
|
|
3152
|
+
* - **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, which assists purchase decisions and enhances the shopping experience.
|
|
3154
|
+
* ## Features
|
|
3155
|
+
* - **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 garment from the product image onto the model:**
|
|
3156
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
3157
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3158
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
3159
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
3160
|
+
* - 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.
|
|
3161
|
+
* - **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. Preserves model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
3163
|
+
* - b. Maintains 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.
|
|
3164
|
+
* - c. Generates try-on effect: the product is naturally applied onto the model, fitting the model\\"s pose and body structure to produce a coordinated and realistic virtual try-on image.
|
|
3165
|
+
* ## Sample results
|
|
3166
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3167
|
+
* | --- | --- | --- | --- |
|
|
3168
|
+
* | Tops |  |  |  |
|
|
3169
|
+
* | Bottoms |  |  |  |
|
|
3170
|
+
* | Shoes |  |  |  |
|
|
3171
|
+
* | Jumpsuits |  |  |  |
|
|
3172
|
+
* | Skirts |  |  |  |
|
|
3173
|
+
* | Hats |  |  |  |
|
|
3174
|
+
*
|
|
3175
|
+
* @param request - VirtualTryOnRequest
|
|
3176
|
+
* @returns VirtualTryOnResponse
|
|
3177
|
+
*/
|
|
3178
|
+
async virtualTryOn(request) {
|
|
3179
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3180
|
+
return await this.virtualTryOnWithOptions(request, runtime);
|
|
3181
|
+
}
|
|
3182
|
+
/**
|
|
3183
|
+
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous)
|
|
3017
3184
|
*
|
|
3018
3185
|
* @remarks
|
|
3019
3186
|
* # 1. Product Introduction
|
|
3020
|
-
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow.
|
|
3021
|
-
* # 2.
|
|
3187
|
+
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous)
|
|
3188
|
+
* # 2. Common scenarios
|
|
3022
3189
|
* Applicable to batch optimization of product images in cross-platform listing scenarios. Adapts source product images into main images, SKU images, and detail images required by listing platforms. Supported capabilities include:
|
|
3023
|
-
* * Detecting low-quality images that contain text, watermarks, logos, or
|
|
3190
|
+
* * Detecting low-quality images that contain text, watermarks, logos, or overlay patches, allowing users to filter images that need processing
|
|
3024
3191
|
*
|
|
3025
|
-
* * Removing non-compliant elements such as watermarks, logos,
|
|
3192
|
+
* * Removing non-compliant elements such as watermarks, logos, overlay patches, and Chinese text from original images
|
|
3026
3193
|
*
|
|
3027
3194
|
* * Removing the background around the product subject edges
|
|
3028
3195
|
*
|
|
@@ -3032,24 +3199,24 @@ class Client extends openapi_core_1.default {
|
|
|
3032
3199
|
*
|
|
3033
3200
|
* * Cropping images to specified dimensions
|
|
3034
3201
|
*
|
|
3035
|
-
* * Upscaling image
|
|
3036
|
-
* # 3.
|
|
3037
|
-
*
|
|
3202
|
+
* * Upscaling image resolution by a specified factor
|
|
3203
|
+
* # 3. Features
|
|
3204
|
+
* Provide a product image URL and use the Ability parameter to select the desired combination of AI capabilities (1 = Intelligent Element Detection, 2 = Intelligent Matting, 3 = Intelligent Removal, 4 = Image Translation Pro, 5 = Image Expansion, 6 = Intelligent Cropping, 7 = HD Upscaling). The system executes the selected capabilities sequentially in a preset order. Because Intelligent Element Detection helps determine whether an image contains certain specified elements, and the presence of those elements affects the selection of subsequent AI capabilities, an additional input is provided that allows users to choose whether to filter images out of or retain images in the subsequent AI processing pipeline.
|
|
3038
3205
|
* 
|
|
3039
3206
|
* Each AI capability is described as follows:
|
|
3040
|
-
* 1. **Intelligent Element Detection:** An element detection capability designed specifically for e-commerce images. Detects text, logos, watermarks, and text-bearing color blocks in both the image subject and background, and returns Boolean detection results. Supports filtering images based on detection results (for example, processing only images
|
|
3207
|
+
* 1. **Intelligent Element Detection:** An element detection capability designed specifically for e-commerce images. Detects elements such as text, logos, watermarks, and text-bearing color blocks in both the image subject and background, and returns Boolean detection results. Supports filtering images based on detection results (for example, processing only images that contain watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
3041
3208
|
*
|
|
3042
|
-
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates
|
|
3209
|
+
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates the subject from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with a transparent or white background, supports custom background colors and target size cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
3043
3210
|
*
|
|
3044
|
-
* 3. **Intelligent Removal:** Automatically
|
|
3211
|
+
* 3. **Intelligent Removal:** Automatically detects and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and overlay patches. Supports specifying removal of elements in the subject area or non-subject area separately. Also supports specifying exact removal regions through the Mask parameter for efficient compliance cleanup of large batches of images.
|
|
3045
3212
|
*
|
|
3046
|
-
* 4. **Image Translation Pro:** Leverages multimodal
|
|
3213
|
+
* 4. **Image Translation Pro:** Leverages multimodal foundation model technology to translate text in images into a target language and render it directly at the corresponding position in the original image. Supports more than 100 language pairs. Provides product subject text protection, brand name protection, and translation intervention glossaries to prevent mistranslation of embedded product information. After translation, returns layout information such as text position, font, and color to support secondary editing.
|
|
3047
3214
|
*
|
|
3048
|
-
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image
|
|
3215
|
+
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image view without cropping the subject. Supports multiple expansion methods: by aspect ratio (1:1, 3:4, 4:3, 9:16, 16:9), by horizontal/vertical scaling ratio (1.0× to 3.0×), or by pixel offset in the up, down, left, and right directions. AI automatically fills in naturally transitioning background content.
|
|
3049
3216
|
*
|
|
3050
|
-
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the
|
|
3217
|
+
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the subject area, and precisely preserves core content. Supports custom output width and height (100–5000 pixels) to meet the image dimension requirements of different e-commerce platforms and ad placements, ensuring the subject remains prominent and the composition stays balanced after cropping.
|
|
3051
3218
|
*
|
|
3052
|
-
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images
|
|
3219
|
+
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images. Supports 2× to 4× upscaling. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
3053
3220
|
* # 4. Before and after comparison
|
|
3054
3221
|
* | **Original image** | **Capabilities used** | **Output image** |
|
|
3055
3222
|
* | --- | --- | --- |
|
|
@@ -3161,16 +3328,16 @@ class Client extends openapi_core_1.default {
|
|
|
3161
3328
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VisionFlowResponse({}));
|
|
3162
3329
|
}
|
|
3163
3330
|
/**
|
|
3164
|
-
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow.
|
|
3331
|
+
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous)
|
|
3165
3332
|
*
|
|
3166
3333
|
* @remarks
|
|
3167
3334
|
* # 1. Product Introduction
|
|
3168
|
-
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow.
|
|
3169
|
-
* # 2.
|
|
3335
|
+
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous)
|
|
3336
|
+
* # 2. Common scenarios
|
|
3170
3337
|
* Applicable to batch optimization of product images in cross-platform listing scenarios. Adapts source product images into main images, SKU images, and detail images required by listing platforms. Supported capabilities include:
|
|
3171
|
-
* * Detecting low-quality images that contain text, watermarks, logos, or
|
|
3338
|
+
* * Detecting low-quality images that contain text, watermarks, logos, or overlay patches, allowing users to filter images that need processing
|
|
3172
3339
|
*
|
|
3173
|
-
* * Removing non-compliant elements such as watermarks, logos,
|
|
3340
|
+
* * Removing non-compliant elements such as watermarks, logos, overlay patches, and Chinese text from original images
|
|
3174
3341
|
*
|
|
3175
3342
|
* * Removing the background around the product subject edges
|
|
3176
3343
|
*
|
|
@@ -3180,24 +3347,24 @@ class Client extends openapi_core_1.default {
|
|
|
3180
3347
|
*
|
|
3181
3348
|
* * Cropping images to specified dimensions
|
|
3182
3349
|
*
|
|
3183
|
-
* * Upscaling image
|
|
3184
|
-
* # 3.
|
|
3185
|
-
*
|
|
3350
|
+
* * Upscaling image resolution by a specified factor
|
|
3351
|
+
* # 3. Features
|
|
3352
|
+
* Provide a product image URL and use the Ability parameter to select the desired combination of AI capabilities (1 = Intelligent Element Detection, 2 = Intelligent Matting, 3 = Intelligent Removal, 4 = Image Translation Pro, 5 = Image Expansion, 6 = Intelligent Cropping, 7 = HD Upscaling). The system executes the selected capabilities sequentially in a preset order. Because Intelligent Element Detection helps determine whether an image contains certain specified elements, and the presence of those elements affects the selection of subsequent AI capabilities, an additional input is provided that allows users to choose whether to filter images out of or retain images in the subsequent AI processing pipeline.
|
|
3186
3353
|
* 
|
|
3187
3354
|
* Each AI capability is described as follows:
|
|
3188
|
-
* 1. **Intelligent Element Detection:** An element detection capability designed specifically for e-commerce images. Detects text, logos, watermarks, and text-bearing color blocks in both the image subject and background, and returns Boolean detection results. Supports filtering images based on detection results (for example, processing only images
|
|
3355
|
+
* 1. **Intelligent Element Detection:** An element detection capability designed specifically for e-commerce images. Detects elements such as text, logos, watermarks, and text-bearing color blocks in both the image subject and background, and returns Boolean detection results. Supports filtering images based on detection results (for example, processing only images that contain watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
3189
3356
|
*
|
|
3190
|
-
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates
|
|
3357
|
+
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates the subject from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with a transparent or white background, supports custom background colors and target size cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
3191
3358
|
*
|
|
3192
|
-
* 3. **Intelligent Removal:** Automatically
|
|
3359
|
+
* 3. **Intelligent Removal:** Automatically detects and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and overlay patches. Supports specifying removal of elements in the subject area or non-subject area separately. Also supports specifying exact removal regions through the Mask parameter for efficient compliance cleanup of large batches of images.
|
|
3193
3360
|
*
|
|
3194
|
-
* 4. **Image Translation Pro:** Leverages multimodal
|
|
3361
|
+
* 4. **Image Translation Pro:** Leverages multimodal foundation model technology to translate text in images into a target language and render it directly at the corresponding position in the original image. Supports more than 100 language pairs. Provides product subject text protection, brand name protection, and translation intervention glossaries to prevent mistranslation of embedded product information. After translation, returns layout information such as text position, font, and color to support secondary editing.
|
|
3195
3362
|
*
|
|
3196
|
-
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image
|
|
3363
|
+
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image view without cropping the subject. Supports multiple expansion methods: by aspect ratio (1:1, 3:4, 4:3, 9:16, 16:9), by horizontal/vertical scaling ratio (1.0× to 3.0×), or by pixel offset in the up, down, left, and right directions. AI automatically fills in naturally transitioning background content.
|
|
3197
3364
|
*
|
|
3198
|
-
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the
|
|
3365
|
+
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the subject area, and precisely preserves core content. Supports custom output width and height (100–5000 pixels) to meet the image dimension requirements of different e-commerce platforms and ad placements, ensuring the subject remains prominent and the composition stays balanced after cropping.
|
|
3199
3366
|
*
|
|
3200
|
-
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images
|
|
3367
|
+
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images. Supports 2× to 4× upscaling. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
3201
3368
|
* # 4. Before and after comparison
|
|
3202
3369
|
* | **Original image** | **Capabilities used** | **Output image** |
|
|
3203
3370
|
* | --- | --- | --- |
|