@alicloud/aidge20260428 5.3.1 → 5.4.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 +651 -526
- package/dist/client.js +689 -529
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +10 -10
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +5 -5
- package/dist/models/AssetOptimizeProRequest.d.ts +6 -6
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +6 -6
- package/dist/models/CategoryAttributeMatchRequest.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +7 -7
- package/dist/models/CategoryMatchRequest.d.ts +8 -8
- package/dist/models/CategoryMatchResponseBody.d.ts +10 -10
- package/dist/models/DiduiAreaDeductionRequest.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +6 -2
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +4 -3
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/EcomVideoRecreationRequest.d.ts +156 -0
- package/dist/models/EcomVideoRecreationRequest.js +150 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponse.d.ts +19 -0
- package/dist/models/EcomVideoRecreationResponse.js +69 -0
- package/dist/models/EcomVideoRecreationResponse.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +70 -0
- package/dist/models/EcomVideoRecreationResponseBody.js +88 -0
- package/dist/models/EcomVideoRecreationResponseBody.js.map +1 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +25 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js +60 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js.map +1 -0
- package/dist/models/ImageCroppingRequest.d.ts +3 -3
- package/dist/models/ImageCroppingResponseBody.d.ts +10 -8
- package/dist/models/ImageCroppingResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +4 -3
- package/dist/models/ImageMattingRequest.js.map +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +1 -0
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemoveRequest.d.ts +24 -17
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveResponseBody.d.ts +9 -8
- package/dist/models/ImageRemoveResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveShrinkRequest.d.ts +24 -17
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -1
- package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +14 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
- package/dist/models/ImageTranslationStandardRequest.d.ts +9 -6
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- package/dist/models/LanguageDetectRequest.d.ts +10 -2
- package/dist/models/LanguageDetectRequest.js +2 -0
- package/dist/models/LanguageDetectRequest.js.map +1 -1
- package/dist/models/LanguageDetectResponseBody.d.ts +5 -7
- package/dist/models/LanguageDetectResponseBody.js.map +1 -1
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +14 -7
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +4 -4
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +8 -8
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +2 -2
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +6 -6
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +5 -5
- package/dist/models/SizeChartDetectResponseBody.d.ts +1 -0
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/TextCorrectRequest.d.ts +2 -2
- package/dist/models/TextCorrectResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateRequest.d.ts +15 -6
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +4 -4
- package/dist/models/TextTranslateShrinkRequest.d.ts +15 -6
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoGenerationRequest.d.ts +45 -8
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationResponseBody.d.ts +3 -3
- package/dist/models/VisionFlowRequest.d.ts +16 -16
- package/dist/models/VisionFlowResponseBody.d.ts +4 -4
- package/dist/models/VisionFlowShrinkRequest.d.ts +16 -16
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +20 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +698 -531
- package/src/models/AssetOptimizeLiteRequest.ts +10 -10
- package/src/models/AssetOptimizeLiteResponseBody.ts +5 -5
- package/src/models/AssetOptimizeProRequest.ts +6 -6
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +6 -6
- package/src/models/CategoryAttributeMatchRequest.ts +7 -7
- package/src/models/CategoryAttributeMatchResponseBody.ts +7 -7
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +7 -7
- package/src/models/CategoryMatchRequest.ts +8 -8
- package/src/models/CategoryMatchResponseBody.ts +10 -10
- package/src/models/DiduiAreaDeductionRequest.ts +1 -1
- package/src/models/DiduiAreaDeductionResponseBody.ts +1 -1
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +6 -2
- package/src/models/DocumentTranslateResponseBody.ts +4 -3
- package/src/models/EcomVideoRecreationRequest.ts +234 -0
- package/src/models/EcomVideoRecreationResponse.ts +40 -0
- package/src/models/EcomVideoRecreationResponseBody.ts +104 -0
- package/src/models/EcomVideoRecreationShrinkRequest.ts +40 -0
- package/src/models/ImageCroppingRequest.ts +3 -3
- package/src/models/ImageCroppingResponseBody.ts +10 -8
- package/src/models/ImageMattingRequest.ts +4 -3
- package/src/models/ImageMattingResponseBody.ts +1 -0
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +2 -2
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemoveRequest.ts +24 -17
- package/src/models/ImageRemoveResponseBody.ts +9 -8
- package/src/models/ImageRemoveShrinkRequest.ts +24 -17
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -1
- package/src/models/ImageTranslationProRequest.ts +14 -8
- package/src/models/ImageTranslationProResponseBody.ts +19 -19
- package/src/models/ImageTranslationStandardRequest.ts +9 -6
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/LanguageDetectRequest.ts +12 -2
- package/src/models/LanguageDetectResponseBody.ts +5 -7
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +14 -7
- package/src/models/MerchandisePlacementDetectionRequest.ts +4 -4
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +8 -8
- package/src/models/PackageWeightSizeCheckRequest.ts +2 -2
- package/src/models/PackageWeightSizeCheckResponseBody.ts +6 -6
- package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
- package/src/models/SizeChartDetectResponseBody.ts +1 -0
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/TextCorrectRequest.ts +2 -2
- package/src/models/TextCorrectResponseBody.ts +6 -6
- package/src/models/TextTranslateRequest.ts +15 -6
- package/src/models/TextTranslateResponseBody.ts +4 -4
- package/src/models/TextTranslateShrinkRequest.ts +15 -6
- package/src/models/VideoGenerationRequest.ts +45 -8
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- package/src/models/VideoTranslationResponseBody.ts +3 -3
- package/src/models/VisionFlowRequest.ts +16 -16
- package/src/models/VisionFlowResponseBody.ts +4 -4
- package/src/models/VisionFlowShrinkRequest.ts +16 -16
- package/src/models/model.ts +8 -0
package/dist/client.js
CHANGED
|
@@ -49,9 +49,6 @@ class Client extends openapi_core_1.default {
|
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
|
-
this._endpointMap = {
|
|
53
|
-
'cn-beijing': "aidge.cn-beijing.aliyuncs.com",
|
|
54
|
-
};
|
|
55
52
|
this.checkConfig(config);
|
|
56
53
|
this._endpoint = this.getEndpoint("aidge", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
57
54
|
}
|
|
@@ -65,20 +62,20 @@ class Client extends openapi_core_1.default {
|
|
|
65
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
66
63
|
}
|
|
67
64
|
/**
|
|
68
|
-
*
|
|
65
|
+
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform product URL 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 pre-built minimum-cost workflow that primarily filters and applies lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
69
66
|
*
|
|
70
67
|
* @remarks
|
|
71
68
|
* ## Product Introduction
|
|
72
|
-
* A one-click cross-platform product
|
|
73
|
-
* ##
|
|
74
|
-
* Suitable for cost-sensitive cross-platform
|
|
75
|
-
* By filtering images
|
|
76
|
-
* ##
|
|
77
|
-
* This service uses an officially pre-built "
|
|
78
|
-
* 1. Automatically parses 1688 product
|
|
79
|
-
* 2. Performs text filtering and SEO optimization based on TEMU platform
|
|
80
|
-
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing
|
|
81
|
-
* 4. Completes category matching, attribute filling, and
|
|
69
|
+
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform product URL 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 pre-built minimum-cost workflow that primarily filters and applies lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
70
|
+
* ## Scenarios
|
|
71
|
+
* Suitable for cost-sensitive cross-platform listing scenarios where "fast, high-volume, and cheap" is the priority. 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, the service reduces AI generation steps and helps merchants complete cross-platform listings at minimal cost.
|
|
73
|
+
* ## Features
|
|
74
|
+
* This service uses an officially pre-built "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 URLs and extracts multiple asset types including titles, SKUs, main images, detail images, and attributes.
|
|
76
|
+
* 2. Performs text filtering and SEO optimization based on the TEMU platform blacklist and compliance rules.
|
|
77
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing clean original images through filtering. SKU images and a small number of main images are processed using image translation capabilities to comply with platform standards (high-conversion images with marketing text may be filtered out).
|
|
78
|
+
* 4. Completes category matching, attribute filling, and localized rewriting based on target platform requirements.
|
|
82
79
|
*
|
|
83
80
|
* @param request - AssetOptimizeLiteRequest
|
|
84
81
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -131,20 +128,20 @@ class Client extends openapi_core_1.default {
|
|
|
131
128
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssetOptimizeLiteResponse({}));
|
|
132
129
|
}
|
|
133
130
|
/**
|
|
134
|
-
*
|
|
131
|
+
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform product URL 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 pre-built minimum-cost workflow that primarily filters and applies lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
135
132
|
*
|
|
136
133
|
* @remarks
|
|
137
134
|
* ## Product Introduction
|
|
138
|
-
* A one-click cross-platform product
|
|
139
|
-
* ##
|
|
140
|
-
* Suitable for cost-sensitive cross-platform
|
|
141
|
-
* By filtering images
|
|
142
|
-
* ##
|
|
143
|
-
* This service uses an officially pre-built "
|
|
144
|
-
* 1. Automatically parses 1688 product
|
|
145
|
-
* 2. Performs text filtering and SEO optimization based on TEMU platform
|
|
146
|
-
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing
|
|
147
|
-
* 4. Completes category matching, attribute filling, and
|
|
135
|
+
* A one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a source platform product URL 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 pre-built minimum-cost workflow that primarily filters and applies lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
136
|
+
* ## Scenarios
|
|
137
|
+
* Suitable for cost-sensitive cross-platform listing scenarios where "fast, high-volume, and cheap" is the priority. 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, the service reduces AI generation steps and helps merchants complete cross-platform listings at minimal cost.
|
|
139
|
+
* ## Features
|
|
140
|
+
* This service uses an officially pre-built "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 URLs and extracts multiple asset types including titles, SKUs, main images, detail images, and attributes.
|
|
142
|
+
* 2. Performs text filtering and SEO optimization based on the TEMU platform blacklist and compliance rules.
|
|
143
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing clean original images through filtering. SKU images and a small number of main images are processed using image translation capabilities to comply with platform standards (high-conversion images with marketing text may be filtered out).
|
|
144
|
+
* 4. Completes category matching, attribute filling, and localized rewriting based on target platform requirements.
|
|
148
145
|
*
|
|
149
146
|
* @param request - AssetOptimizeLiteRequest
|
|
150
147
|
* @returns AssetOptimizeLiteResponse
|
|
@@ -154,19 +151,19 @@ class Client extends openapi_core_1.default {
|
|
|
154
151
|
return await this.assetOptimizeLiteWithOptions(request, runtime);
|
|
155
152
|
}
|
|
156
153
|
/**
|
|
157
|
-
* Provides a one-click cross-platform product listing optimization service
|
|
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 the officially pre-built best-performance workflow to maximize AI capabilities, retains and localizes brand marketing assets, and outputs category-specific assets such as size charts for apparel categories. (Asynchronous)
|
|
158
155
|
*
|
|
159
156
|
* @remarks
|
|
160
157
|
* ## Product Introduction
|
|
161
|
-
* A one-click cross-platform product listing optimization service
|
|
162
|
-
* ##
|
|
163
|
-
* Suitable for scenarios that
|
|
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
|
+
* ## Scenarios
|
|
160
|
+
* Suitable for scenarios that require 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 suitable for brand merchants and high-value products that need to retain marketing images with copywriting. Ideal 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 package weight/dimensions) to improve listing quality and conversion rates.
|
|
164
161
|
* ## Features
|
|
165
|
-
* This service uses the
|
|
162
|
+
* This service uses the officially pre-built "Best Performance" product optimization workflow, covering the entire pipeline from asset acquisition, diagnosis, filtering, and optimization to output:
|
|
166
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.
|
|
167
|
-
* 2. Uses LLM
|
|
164
|
+
* 2. Uses LLM for text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
168
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.
|
|
169
|
-
* 4. Outputs category-specific assets
|
|
166
|
+
* 4. Outputs category-specific assets such as size charts and package weight/dimensions for apparel categories.
|
|
170
167
|
* 5. Outputs a standardized product asset package ready for direct listing.
|
|
171
168
|
*
|
|
172
169
|
* @param tmpReq - AssetOptimizeProRequest
|
|
@@ -234,19 +231,19 @@ class Client extends openapi_core_1.default {
|
|
|
234
231
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssetOptimizeProResponse({}));
|
|
235
232
|
}
|
|
236
233
|
/**
|
|
237
|
-
* Provides a one-click cross-platform product listing optimization service
|
|
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 the officially pre-built best-performance workflow to maximize AI capabilities, retains and localizes brand marketing assets, and outputs category-specific assets such as size charts for apparel categories. (Asynchronous)
|
|
238
235
|
*
|
|
239
236
|
* @remarks
|
|
240
237
|
* ## Product Introduction
|
|
241
|
-
* A one-click cross-platform product listing optimization service
|
|
242
|
-
* ##
|
|
243
|
-
* Suitable for scenarios that
|
|
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
|
+
* ## Scenarios
|
|
240
|
+
* Suitable for scenarios that require 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 suitable for brand merchants and high-value products that need to retain marketing images with copywriting. Ideal 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 package weight/dimensions) to improve listing quality and conversion rates.
|
|
244
241
|
* ## Features
|
|
245
|
-
* This service uses the
|
|
242
|
+
* This service uses the officially pre-built "Best Performance" product optimization workflow, covering the entire pipeline from asset acquisition, diagnosis, filtering, and optimization to output:
|
|
246
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.
|
|
247
|
-
* 2. Uses LLM
|
|
244
|
+
* 2. Uses LLM for text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
248
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.
|
|
249
|
-
* 4. Outputs category-specific assets
|
|
246
|
+
* 4. Outputs category-specific assets such as size charts and package weight/dimensions for apparel categories.
|
|
250
247
|
* 5. Outputs a standardized product asset package ready for direct listing.
|
|
251
248
|
*
|
|
252
249
|
* @param request - AssetOptimizeProRequest
|
|
@@ -257,44 +254,44 @@ class Client extends openapi_core_1.default {
|
|
|
257
254
|
return await this.assetOptimizeProWithOptions(request, runtime);
|
|
258
255
|
}
|
|
259
256
|
/**
|
|
260
|
-
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal large 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)
|
|
257
|
+
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal large 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)
|
|
261
258
|
*
|
|
262
259
|
* @remarks
|
|
263
|
-
* #
|
|
264
|
-
* Cross-platform product listing attribute filling: When merchants list products across platforms,
|
|
265
|
-
* #
|
|
266
|
-
* 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,
|
|
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, TEMU platform) vary significantly, with complex hierarchical options (such as material → wood type → density). Manual filling is time-consuming and error-prone. This service automatically understands product information and intelligently fills in attributes. It is suitable for scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
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, completing two core tasks: ① Matching the precise category path for the product on the TEMU platform. ② Automatically filling in the required attributes under that category (such as material, battery properties, size, connectivity), and returning the confidence level and reasoning for each attribute. The API operates in synchronous mode and returns results immediately upon invocation.
|
|
267
264
|
* # Comparison
|
|
268
265
|
* The following example shows the attributes of a USB fan:
|
|
269
266
|
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
270
267
|
* | --- | --- | --- | --- | --- |
|
|
271
|
-
* |
|
|
272
|
-
* |
|
|
273
|
-
* |
|
|
274
|
-
* |
|
|
275
|
-
* |
|
|
276
|
-
* |
|
|
277
|
-
* |
|
|
278
|
-
* |
|
|
279
|
-
* |
|
|
280
|
-
* |
|
|
281
|
-
* |
|
|
282
|
-
* |
|
|
283
|
-
* |
|
|
284
|
-
* |
|
|
285
|
-
* |
|
|
286
|
-
* |
|
|
287
|
-
* |
|
|
288
|
-
* |
|
|
289
|
-
* |
|
|
290
|
-
* |
|
|
291
|
-
* |
|
|
292
|
-
* |
|
|
293
|
-
* |
|
|
294
|
-
* |
|
|
295
|
-
* |
|
|
296
|
-
* |
|
|
297
|
-
* |
|
|
268
|
+
* | Brand | Other | Power Mode | USB Charging (Built-in Battery) | No |
|
|
269
|
+
* | Battery Life | 3-6h (inclusive) | Rechargeable Battery | Lithium Battery | No |
|
|
270
|
+
* | Additional Features | Digital Display | Battery Capacity (mAh) | 4000 | Yes |
|
|
271
|
+
* | Built-in Battery Capacity | 2000mAh-4000mAh (inclusive) | Fan Features | High Speed | No |
|
|
272
|
+
* | Item Number | X699 | Control Method | Button | Yes |
|
|
273
|
+
* | Main Downstream Platforms | eBay, Amazon, Wish, AliExpress, Independent Sites, LAZADA, Other | Finish Type | Painted | Yes |
|
|
274
|
+
* | Has Licensable Own Brand | No | Recommended Use | Cooling | No |
|
|
275
|
+
* | Dimensions | 65\\*60\\*171 | Fan Design | Wearable Fan | No |
|
|
276
|
+
* | Applicable Gift Occasions | Personal Gifts | Included Components | None | No |
|
|
277
|
+
* | Shell Process | Spray Coating (UV Paint, Rubber Paint, Metallic Paint, Piano Lacquer, Pearl Powder) | Material | Plastic | No |
|
|
278
|
+
* | Package Volume | 65\\*60\\*171 | Special Features | Portable | No |
|
|
279
|
+
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use | Both Indoor and Outdoor | No |
|
|
280
|
+
* | Wind Speed Levels | 3 Levels | Brand Name | None | No |
|
|
281
|
+
* | Operation Method | Standard Button | | | |
|
|
282
|
+
* | Blade Material | ABS | | | |
|
|
283
|
+
* | Power Mode | USB | | | |
|
|
284
|
+
* | Built-in Battery | Yes | | | |
|
|
285
|
+
* | Patented Source | No | | | |
|
|
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/Korea, Africa, Korea, Japan, Europe, South America, Southeast Asia, North America, Northeast Asia, Middle East, Latin America, Europe/America, Other | | | |
|
|
288
|
+
* | Cross-border Export Exclusive | Yes | | | |
|
|
289
|
+
* | Style | Fresh | | | |
|
|
290
|
+
* | Motor Type | Brushless Motor | | | |
|
|
291
|
+
* | Noise | 36dB(A)-45dB(A) (inclusive) | | | |
|
|
292
|
+
* | Net Weight | 125g | | | |
|
|
293
|
+
* | Number of Blades | 6 or more | | | |
|
|
294
|
+
* | Fan Category | Handheld Fan | | | |
|
|
298
295
|
*
|
|
299
296
|
* @param tmpReq - CategoryAttributeMatchRequest
|
|
300
297
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -349,44 +346,44 @@ class Client extends openapi_core_1.default {
|
|
|
349
346
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CategoryAttributeMatchResponse({}));
|
|
350
347
|
}
|
|
351
348
|
/**
|
|
352
|
-
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal large 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)
|
|
349
|
+
* Provides a cross-platform product category and attribute intelligent filling service based on multimodal large 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)
|
|
353
350
|
*
|
|
354
351
|
* @remarks
|
|
355
|
-
* #
|
|
356
|
-
* Cross-platform product listing attribute filling: When merchants list products across platforms,
|
|
357
|
-
* #
|
|
358
|
-
* 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,
|
|
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, TEMU platform) vary significantly, with complex hierarchical options (such as material → wood type → density). Manual filling is time-consuming and error-prone. This service automatically understands product information and intelligently fills in attributes. It is suitable for scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
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, completing two core tasks: ① Matching the precise category path for the product on the TEMU platform. ② Automatically filling in the required attributes under that category (such as material, battery properties, size, connectivity), and returning the confidence level and reasoning for each attribute. The API operates in synchronous mode and returns results immediately upon invocation.
|
|
359
356
|
* # Comparison
|
|
360
357
|
* The following example shows the attributes of a USB fan:
|
|
361
358
|
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
362
359
|
* | --- | --- | --- | --- | --- |
|
|
363
|
-
* |
|
|
364
|
-
* |
|
|
365
|
-
* |
|
|
366
|
-
* |
|
|
367
|
-
* |
|
|
368
|
-
* |
|
|
369
|
-
* |
|
|
370
|
-
* |
|
|
371
|
-
* |
|
|
372
|
-
* |
|
|
373
|
-
* |
|
|
374
|
-
* |
|
|
375
|
-
* |
|
|
376
|
-
* |
|
|
377
|
-
* |
|
|
378
|
-
* |
|
|
379
|
-
* |
|
|
380
|
-
* |
|
|
381
|
-
* |
|
|
382
|
-
* |
|
|
383
|
-
* |
|
|
384
|
-
* |
|
|
385
|
-
* |
|
|
386
|
-
* |
|
|
387
|
-
* |
|
|
388
|
-
* |
|
|
389
|
-
* |
|
|
360
|
+
* | Brand | Other | Power Mode | USB Charging (Built-in Battery) | No |
|
|
361
|
+
* | Battery Life | 3-6h (inclusive) | Rechargeable Battery | Lithium Battery | No |
|
|
362
|
+
* | Additional Features | Digital Display | Battery Capacity (mAh) | 4000 | Yes |
|
|
363
|
+
* | Built-in Battery Capacity | 2000mAh-4000mAh (inclusive) | Fan Features | High Speed | No |
|
|
364
|
+
* | Item Number | X699 | Control Method | Button | Yes |
|
|
365
|
+
* | Main Downstream Platforms | eBay, Amazon, Wish, AliExpress, Independent Sites, LAZADA, Other | Finish Type | Painted | Yes |
|
|
366
|
+
* | Has Licensable Own Brand | No | Recommended Use | Cooling | No |
|
|
367
|
+
* | Dimensions | 65\\*60\\*171 | Fan Design | Wearable Fan | No |
|
|
368
|
+
* | Applicable Gift Occasions | Personal Gifts | Included Components | None | No |
|
|
369
|
+
* | Shell Process | Spray Coating (UV Paint, Rubber Paint, Metallic Paint, Piano Lacquer, Pearl Powder) | Material | Plastic | No |
|
|
370
|
+
* | Package Volume | 65\\*60\\*171 | Special Features | Portable | No |
|
|
371
|
+
* | Appearance Dimensions | 51\\*36\\*34 | Indoor/Outdoor Use | Both Indoor and Outdoor | No |
|
|
372
|
+
* | Wind Speed Levels | 3 Levels | Brand Name | None | No |
|
|
373
|
+
* | Operation Method | Standard Button | | | |
|
|
374
|
+
* | Blade Material | ABS | | | |
|
|
375
|
+
* | Power Mode | USB | | | |
|
|
376
|
+
* | Built-in Battery | Yes | | | |
|
|
377
|
+
* | Patented Source | No | | | |
|
|
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/Korea, Africa, Korea, Japan, Europe, South America, Southeast Asia, North America, Northeast Asia, Middle East, Latin America, Europe/America, Other | | | |
|
|
380
|
+
* | Cross-border Export Exclusive | Yes | | | |
|
|
381
|
+
* | Style | Fresh | | | |
|
|
382
|
+
* | Motor Type | Brushless Motor | | | |
|
|
383
|
+
* | Noise | 36dB(A)-45dB(A) (inclusive) | | | |
|
|
384
|
+
* | Net Weight | 125g | | | |
|
|
385
|
+
* | Number of Blades | 6 or more | | | |
|
|
386
|
+
* | Fan Category | Handheld Fan | | | |
|
|
390
387
|
*
|
|
391
388
|
* @param request - CategoryAttributeMatchRequest
|
|
392
389
|
* @returns CategoryAttributeMatchResponse
|
|
@@ -396,31 +393,31 @@ class Client extends openapi_core_1.default {
|
|
|
396
393
|
return await this.categoryAttributeMatchWithOptions(request, runtime);
|
|
397
394
|
}
|
|
398
395
|
/**
|
|
399
|
-
* Provides a large language model-based cross-platform product category
|
|
396
|
+
* Provides a large language model-based intelligent cross-platform product category matching service. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence level score with matching reasons to help merchants quickly select categories during cross-platform product listing. (Synchronization)
|
|
400
397
|
*
|
|
401
398
|
* @remarks
|
|
402
399
|
* ## Product Introduction
|
|
403
|
-
*
|
|
400
|
+
* A large language model-based intelligent cross-platform product category matching service. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence level score with matching reasons to help merchants quickly select categories during cross-platform product listing. (Synchronization)
|
|
404
401
|
* ## Common scenarios
|
|
405
|
-
* Cross-platform product listing: After sourcing products,
|
|
406
|
-
* This service automates category mapping and is suitable for bulk API calls from
|
|
407
|
-
* The current version supports
|
|
402
|
+
* Cross-platform product listing: After sourcing products, merchants list them on a target platform and need to match products to the correct category in the target platform\\"s category tree. Manually selecting categories requires familiarity with the target platform\\"s complete category system, which is time-consuming, labor-intensive, and error-prone. Incorrect category matching can cause product delisting and other issues.
|
|
403
|
+
* This service automates category mapping and is suitable for bulk API calls from top sellers\\" self-built systems, ERP/SaaS platform integration for automated listing workflows, and quick single-product listing for SMB merchants.
|
|
404
|
+
* The current version only supports TEMU as the target listing platform. Currently, automatic product information retrieval from source platforms is not supported and users must manually provide input parameters. This capability will be added in future versions, along with support for more source and target platforms.
|
|
408
405
|
* ## Functions and features
|
|
409
|
-
*
|
|
406
|
+
* Users input 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 TEMU platform\\"s full category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0-100), and matching reason. The API uses synchronous mode and returns results immediately after invocation, making it suitable for embedding in real-time business workflows.
|
|
410
407
|
* ## Demo
|
|
411
408
|
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
412
409
|
* | --- | --- | --- | --- | --- |
|
|
413
|
-
* | 1688 |  | USB
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* \\>USB
|
|
417
|
-
* | 1688 |  |
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
*
|
|
410
|
+
* | 1688 |  | USB fan, mini fan | TEMU | Home Appliances
|
|
411
|
+
* \\>Heating, Cooling & Air Quality Appliances
|
|
412
|
+
* \\>Electric Fans
|
|
413
|
+
* \\>USB Fans |
|
|
414
|
+
* | 1688 |  | Bracelet | TEMU | Clothing, Shoes & Jewelry
|
|
415
|
+
* \\>Women\\"s Fashion
|
|
416
|
+
* \\>Women\\"s Jewelry
|
|
417
|
+
* \\>Women\\"s Fashion Bracelets & Bangles
|
|
418
|
+
* \\>Women\\"s Fashion Charms & Charm Bracelets
|
|
419
|
+
* \\>Women\\"s Fashion Charm Bracelets
|
|
420
|
+
* \\>Women\\"s Fashion Chain Charm Bracelets |
|
|
424
421
|
*
|
|
425
422
|
* @param request - CategoryMatchRequest
|
|
426
423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -467,31 +464,31 @@ class Client extends openapi_core_1.default {
|
|
|
467
464
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CategoryMatchResponse({}));
|
|
468
465
|
}
|
|
469
466
|
/**
|
|
470
|
-
* Provides a large language model-based cross-platform product category
|
|
467
|
+
* Provides a large language model-based intelligent cross-platform product category matching service. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence level score with matching reasons to help merchants quickly select categories during cross-platform product listing. (Synchronization)
|
|
471
468
|
*
|
|
472
469
|
* @remarks
|
|
473
470
|
* ## Product Introduction
|
|
474
|
-
*
|
|
471
|
+
* A large language model-based intelligent cross-platform product category matching service. Accepts product information from a source platform, automatically matches the best category on the target listing platform, and returns a confidence level score with matching reasons to help merchants quickly select categories during cross-platform product listing. (Synchronization)
|
|
475
472
|
* ## Common scenarios
|
|
476
|
-
* Cross-platform product listing: After sourcing products,
|
|
477
|
-
* This service automates category mapping and is suitable for bulk API calls from
|
|
478
|
-
* The current version supports
|
|
473
|
+
* Cross-platform product listing: After sourcing products, merchants list them on a target platform and need to match products to the correct category in the target platform\\"s category tree. Manually selecting categories requires familiarity with the target platform\\"s complete category system, which is time-consuming, labor-intensive, and error-prone. Incorrect category matching can cause product delisting and other issues.
|
|
474
|
+
* This service automates category mapping and is suitable for bulk API calls from top sellers\\" self-built systems, ERP/SaaS platform integration for automated listing workflows, and quick single-product listing for SMB merchants.
|
|
475
|
+
* The current version only supports TEMU as the target listing platform. Currently, automatic product information retrieval from source platforms is not supported and users must manually provide input parameters. This capability will be added in future versions, along with support for more source and target platforms.
|
|
479
476
|
* ## Functions and features
|
|
480
|
-
*
|
|
477
|
+
* Users input 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 TEMU platform\\"s full category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0-100), and matching reason. The API uses synchronous mode and returns results immediately after invocation, making it suitable for embedding in real-time business workflows.
|
|
481
478
|
* ## Demo
|
|
482
479
|
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
483
480
|
* | --- | --- | --- | --- | --- |
|
|
484
|
-
* | 1688 |  | USB
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* \\>USB
|
|
488
|
-
* | 1688 |  |
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
481
|
+
* | 1688 |  | USB fan, mini fan | TEMU | Home Appliances
|
|
482
|
+
* \\>Heating, Cooling & Air Quality Appliances
|
|
483
|
+
* \\>Electric Fans
|
|
484
|
+
* \\>USB Fans |
|
|
485
|
+
* | 1688 |  | Bracelet | TEMU | Clothing, Shoes & Jewelry
|
|
486
|
+
* \\>Women\\"s Fashion
|
|
487
|
+
* \\>Women\\"s Jewelry
|
|
488
|
+
* \\>Women\\"s Fashion Bracelets & Bangles
|
|
489
|
+
* \\>Women\\"s Fashion Charms & Charm Bracelets
|
|
490
|
+
* \\>Women\\"s Fashion Charm Bracelets
|
|
491
|
+
* \\>Women\\"s Fashion Chain Charm Bracelets |
|
|
495
492
|
*
|
|
496
493
|
* @param request - CategoryMatchRequest
|
|
497
494
|
* @returns CategoryMatchResponse
|
|
@@ -510,8 +507,8 @@ class Client extends openapi_core_1.default {
|
|
|
510
507
|
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the available (`AVAILABLE`) state.
|
|
511
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`.
|
|
512
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`.
|
|
513
|
-
* - Set a reasonable timeout period when calling this operation (
|
|
514
|
-
* - For
|
|
510
|
+
* - Set a reasonable timeout period when calling this operation (no more than 300 seconds recommended) to avoid failures caused by network latency or high processing complexity.
|
|
511
|
+
* - For production environments, use the POP Action method for access. The internal REST address is primarily used for integration testing during the development phase.
|
|
515
512
|
*
|
|
516
513
|
* @param tmpReq - DiduiAreaDeductionRequest
|
|
517
514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -563,8 +560,8 @@ class Client extends openapi_core_1.default {
|
|
|
563
560
|
* - Make sure that the knowledge base corresponding to the specified `RagId` belongs to the caller and is in the available (`AVAILABLE`) state.
|
|
564
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`.
|
|
565
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`.
|
|
566
|
-
* - Set a reasonable timeout period when calling this operation (
|
|
567
|
-
* - For
|
|
563
|
+
* - Set a reasonable timeout period when calling this operation (no more than 300 seconds recommended) to avoid failures caused by network latency or high processing complexity.
|
|
564
|
+
* - For production environments, use the POP Action method for access. The internal REST address is primarily used for integration testing during the development phase.
|
|
568
565
|
*
|
|
569
566
|
* @param request - DiduiAreaDeductionRequest
|
|
570
567
|
* @returns DiduiAreaDeductionResponse
|
|
@@ -574,7 +571,10 @@ class Client extends openapi_core_1.default {
|
|
|
574
571
|
return await this.diduiAreaDeductionWithOptions(request, runtime);
|
|
575
572
|
}
|
|
576
573
|
/**
|
|
577
|
-
*
|
|
574
|
+
* Designed specifically for document translation, this API supports translation between more than 100 language pairs (including bridged pairs), meeting the needs of multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
575
|
+
* It excels in the following areas:
|
|
576
|
+
* - Content accuracy: translation accuracy, and accuracy of parameters and units.
|
|
577
|
+
* - Structural integrity: overall layout continuity, and page margin and layout restoration.
|
|
578
578
|
*
|
|
579
579
|
* @remarks
|
|
580
580
|
* ## Product Introduction
|
|
@@ -582,14 +582,14 @@ class Client extends openapi_core_1.default {
|
|
|
582
582
|
* Excels in the following areas:
|
|
583
583
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
584
584
|
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
585
|
-
* ##
|
|
585
|
+
* ## Scenarios
|
|
586
586
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
587
587
|
* ## Features
|
|
588
588
|
* - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
|
|
589
|
-
* - Supports translation of text within images in documents, as well as
|
|
589
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
590
590
|
* - Supports high-fidelity layout preservation after translation.
|
|
591
|
-
* - A single PDF 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). Commonly used for brand name protection
|
|
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). Commonly used for brand name protection. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform if you need more.
|
|
593
593
|
*
|
|
594
594
|
* @param request - DocumentTranslateRequest
|
|
595
595
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -627,7 +627,10 @@ 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
|
-
*
|
|
630
|
+
* Designed specifically for document translation, this API supports translation between more than 100 language pairs (including bridged pairs), meeting the needs of multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
631
|
+
* It excels in the following areas:
|
|
632
|
+
* - Content accuracy: translation accuracy, and accuracy of parameters and units.
|
|
633
|
+
* - Structural integrity: overall layout continuity, and page margin and layout restoration.
|
|
631
634
|
*
|
|
632
635
|
* @remarks
|
|
633
636
|
* ## Product Introduction
|
|
@@ -635,14 +638,14 @@ class Client extends openapi_core_1.default {
|
|
|
635
638
|
* Excels in the following areas:
|
|
636
639
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
637
640
|
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
638
|
-
* ##
|
|
641
|
+
* ## Scenarios
|
|
639
642
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
640
643
|
* ## Features
|
|
641
644
|
* - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
|
|
642
|
-
* - Supports translation of text within images in documents, as well as
|
|
645
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
643
646
|
* - Supports high-fidelity layout preservation after translation.
|
|
644
|
-
* - A single PDF supports up to 100 pages
|
|
645
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection
|
|
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). Commonly used for brand name protection. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform if you need more.
|
|
646
649
|
*
|
|
647
650
|
* @param request - DocumentTranslateRequest
|
|
648
651
|
* @returns DocumentTranslateResponse
|
|
@@ -652,23 +655,117 @@ class Client extends openapi_core_1.default {
|
|
|
652
655
|
return await this.documentTranslateWithOptions(request, runtime);
|
|
653
656
|
}
|
|
654
657
|
/**
|
|
655
|
-
*
|
|
658
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service 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 rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
656
659
|
*
|
|
657
660
|
* @remarks
|
|
658
|
-
* ## Product
|
|
659
|
-
* The
|
|
660
|
-
* ##
|
|
661
|
-
* - **
|
|
661
|
+
* ## **Product Introduction**
|
|
662
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service 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 rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
663
|
+
* ## **Scenarios**
|
|
664
|
+
* - **Video asset remix:** 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 suitable for 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 video assets for new products and help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
666
|
+
* - **Product presentation and selling point expression:** Suitable for apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, and small appliances. Based on the selling point structure, display actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
667
|
+
* - **Multi-selling-point and multi-version testing:** Rapidly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support content testing and ad creative iteration.
|
|
668
|
+
* ## **Capabilities**
|
|
669
|
+
* ### **Core capabilities**
|
|
670
|
+
* Two replacement modes are supported:
|
|
671
|
+
* - **Product replacement (product_replacement):** Preserves the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
672
|
+
* - **Person replacement (person_replacement):** Preserves 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 requirements:** Simply provide a reference video and a 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
|
+
* - **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
|
+
* - **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
|
+
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
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 with attention to silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories, reducing clipping, deformation, texture loss, and detail artifacts.
|
|
679
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point structure, video composition, shot sequence, display actions, voiceover content, and closing style of the original video.
|
|
680
|
+
* - **Commercial model matching:** Supports matching model appearance and display style based on product style, silhouette, target audience, and market requirements.
|
|
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
|
+
*
|
|
683
|
+
* @param tmpReq - EcomVideoRecreationRequest
|
|
684
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
685
|
+
* @returns EcomVideoRecreationResponse
|
|
686
|
+
*/
|
|
687
|
+
async ecomVideoRecreationWithOptions(tmpReq, runtime) {
|
|
688
|
+
tmpReq.validate();
|
|
689
|
+
let request = new $_model.EcomVideoRecreationShrinkRequest({});
|
|
690
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
691
|
+
if (!$dara.isNull(tmpReq.input)) {
|
|
692
|
+
request.inputShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.input, "Input", "json");
|
|
693
|
+
}
|
|
694
|
+
if (!$dara.isNull(tmpReq.output)) {
|
|
695
|
+
request.outputShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.output, "Output", "json");
|
|
696
|
+
}
|
|
697
|
+
let query = {};
|
|
698
|
+
if (!$dara.isNull(request.inputShrink)) {
|
|
699
|
+
query["Input"] = request.inputShrink;
|
|
700
|
+
}
|
|
701
|
+
if (!$dara.isNull(request.outputShrink)) {
|
|
702
|
+
query["Output"] = request.outputShrink;
|
|
703
|
+
}
|
|
704
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
705
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
706
|
+
});
|
|
707
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
708
|
+
action: "EcomVideoRecreation",
|
|
709
|
+
version: "2026-04-28",
|
|
710
|
+
protocol: "HTTPS",
|
|
711
|
+
pathname: "/",
|
|
712
|
+
method: "POST",
|
|
713
|
+
authType: "AK",
|
|
714
|
+
style: "RPC",
|
|
715
|
+
reqBodyType: "formData",
|
|
716
|
+
bodyType: "json",
|
|
717
|
+
});
|
|
718
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EcomVideoRecreationResponse({}));
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service 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 rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
662
722
|
*
|
|
663
|
-
*
|
|
723
|
+
* @remarks
|
|
724
|
+
* ## **Product Introduction**
|
|
725
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service 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 rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
726
|
+
* ## **Scenarios**
|
|
727
|
+
* - **Video asset remix:** 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 suitable for 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 video assets for new products and help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
729
|
+
* - **Product presentation and selling point expression:** Suitable for apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, and small appliances. Based on the selling point structure, display actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
730
|
+
* - **Multi-selling-point and multi-version testing:** Rapidly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support content testing and ad creative iteration.
|
|
731
|
+
* ## **Capabilities**
|
|
732
|
+
* ### **Core capabilities**
|
|
733
|
+
* Two replacement modes are supported:
|
|
734
|
+
* - **Product replacement (product_replacement):** Preserves the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
735
|
+
* - **Person replacement (person_replacement):** Preserves 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 requirements:** Simply provide a reference video and a 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
|
+
* - **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
|
+
* - **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
|
+
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
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 with attention to silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories, reducing clipping, deformation, texture loss, and detail artifacts.
|
|
742
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point structure, video composition, shot sequence, display actions, voiceover content, and closing style of the original video.
|
|
743
|
+
* - **Commercial model matching:** Supports matching model appearance and display style based on product style, silhouette, target audience, and market requirements.
|
|
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
|
+
*
|
|
746
|
+
* @param request - EcomVideoRecreationRequest
|
|
747
|
+
* @returns EcomVideoRecreationResponse
|
|
748
|
+
*/
|
|
749
|
+
async ecomVideoRecreation(request) {
|
|
750
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
751
|
+
return await this.ecomVideoRecreationWithOptions(request, runtime);
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Intelligently crops images to specified dimensions, automatically identifies the main subject area, and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
664
755
|
*
|
|
665
|
-
*
|
|
666
|
-
*
|
|
756
|
+
* @remarks
|
|
757
|
+
* ## Product Introduction
|
|
758
|
+
* The image cropping service resizes input images to specified dimensions. It automatically identifies the main subject area and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
759
|
+
* ## Common scenarios
|
|
760
|
+
* - **Multi-platform content distribution**: Automatically generates content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
667
761
|
*
|
|
668
|
-
*
|
|
762
|
+
* - **Content placement**: Automatically adjusts sizes for different ad slots across platforms, highlights the main subject, reduces whitespace, and emphasizes product features.
|
|
763
|
+
* ## Features
|
|
764
|
+
* * Automatically identifies the main subject area of an image for precise cropping.
|
|
669
765
|
*
|
|
670
|
-
*
|
|
671
|
-
*
|
|
766
|
+
* * Supports custom cropping dimensions to adapt to different platforms and devices.
|
|
767
|
+
* ## Effect comparison
|
|
768
|
+
* | **Original image** | **Cropped to 1000×1000** | **Cropped to 3000×2000** |
|
|
672
769
|
* | --- | --- | --- |
|
|
673
770
|
* |  |  |  |
|
|
674
771
|
* |  |  |  |
|
|
@@ -707,23 +804,21 @@ class Client extends openapi_core_1.default {
|
|
|
707
804
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageCroppingResponse({}));
|
|
708
805
|
}
|
|
709
806
|
/**
|
|
710
|
-
* Intelligently
|
|
807
|
+
* Intelligently crops images to specified dimensions, automatically identifies the main subject area, and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
711
808
|
*
|
|
712
809
|
* @remarks
|
|
713
|
-
* ## Product
|
|
714
|
-
* The image cropping
|
|
715
|
-
* ##
|
|
716
|
-
* - **Multi-platform
|
|
717
|
-
*
|
|
718
|
-
* - **Content Placement**: Automatically adjust sizes for different ad slots on different platforms, highlighting the main content, reducing blank space, and showcasing product features.
|
|
719
|
-
*
|
|
720
|
-
* ## Feature Description
|
|
721
|
-
* * Automatically identify the main subject area of an image and crop precisely.
|
|
810
|
+
* ## Product Introduction
|
|
811
|
+
* The image cropping service resizes input images to specified dimensions. It automatically identifies the main subject area and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
812
|
+
* ## Common scenarios
|
|
813
|
+
* - **Multi-platform content distribution**: Automatically generates content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
722
814
|
*
|
|
723
|
-
*
|
|
815
|
+
* - **Content placement**: Automatically adjusts sizes for different ad slots across platforms, highlights the main subject, reduces whitespace, and emphasizes product features.
|
|
816
|
+
* ## Features
|
|
817
|
+
* * Automatically identifies the main subject area of an image for precise cropping.
|
|
724
818
|
*
|
|
725
|
-
*
|
|
726
|
-
*
|
|
819
|
+
* * Supports custom cropping dimensions to adapt to different platforms and devices.
|
|
820
|
+
* ## Effect comparison
|
|
821
|
+
* | **Original image** | **Cropped to 1000×1000** | **Cropped to 3000×2000** |
|
|
727
822
|
* | --- | --- | --- |
|
|
728
823
|
* |  |  |  |
|
|
729
824
|
* |  |  |  |
|
|
@@ -737,22 +832,22 @@ class Client extends openapi_core_1.default {
|
|
|
737
832
|
return await this.imageCroppingWithOptions(request, runtime);
|
|
738
833
|
}
|
|
739
834
|
/**
|
|
740
|
-
* Automatically identifies salient
|
|
835
|
+
* 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)
|
|
741
836
|
*
|
|
742
837
|
* @remarks
|
|
743
838
|
* ## Product Introduction
|
|
744
|
-
* The intelligent image matting product automatically identifies salient
|
|
745
|
-
* ##
|
|
746
|
-
* * **Secondary editing of materials**: After separating the image subject from the background,
|
|
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
|
+
* ## Common scenarios
|
|
841
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, users can further edit the image.
|
|
747
842
|
*
|
|
748
|
-
* * **Improved material processing efficiency**: Quickly
|
|
749
|
-
* ##
|
|
843
|
+
* * **Improved material processing efficiency**: Quickly extracts the subject from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
844
|
+
* ## Functions and features.
|
|
750
845
|
* #### 1. One-click precise subject recognition
|
|
751
846
|
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
752
847
|
*
|
|
753
|
-
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with
|
|
848
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with accuracy exceeding 95%.
|
|
754
849
|
* #### 2. Intelligent edge optimization
|
|
755
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
850
|
+
* * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass), preserving natural transition effects.
|
|
756
851
|
* #### 3. Multi-format output and background operations
|
|
757
852
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
758
853
|
*
|
|
@@ -803,22 +898,22 @@ class Client extends openapi_core_1.default {
|
|
|
803
898
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageMattingResponse({}));
|
|
804
899
|
}
|
|
805
900
|
/**
|
|
806
|
-
* Automatically identifies salient
|
|
901
|
+
* 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)
|
|
807
902
|
*
|
|
808
903
|
* @remarks
|
|
809
904
|
* ## Product Introduction
|
|
810
|
-
* The intelligent image matting product automatically identifies salient
|
|
811
|
-
* ##
|
|
812
|
-
* * **Secondary editing of materials**: After separating the image subject from the background,
|
|
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
|
+
* ## Common scenarios
|
|
907
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, users can further edit the image.
|
|
813
908
|
*
|
|
814
|
-
* * **Improved material processing efficiency**: Quickly
|
|
815
|
-
* ##
|
|
909
|
+
* * **Improved material processing efficiency**: Quickly extracts the subject from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
910
|
+
* ## Functions and features.
|
|
816
911
|
* #### 1. One-click precise subject recognition
|
|
817
912
|
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
818
913
|
*
|
|
819
|
-
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with
|
|
914
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with accuracy exceeding 95%.
|
|
820
915
|
* #### 2. Intelligent edge optimization
|
|
821
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
916
|
+
* * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass), preserving natural transition effects.
|
|
822
917
|
* #### 3. Multi-format output and background operations
|
|
823
918
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
824
919
|
*
|
|
@@ -838,39 +933,39 @@ class Client extends openapi_core_1.default {
|
|
|
838
933
|
return await this.imageMattingWithOptions(request, runtime);
|
|
839
934
|
}
|
|
840
935
|
/**
|
|
841
|
-
*
|
|
936
|
+
* Identifies intelligent elements in e-commerce images.
|
|
842
937
|
*
|
|
843
938
|
* @remarks
|
|
844
939
|
* ## Product Introduction
|
|
845
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
940
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
846
941
|
* ## Scenarios
|
|
847
942
|
* **1. Intelligent image screening and optimization:**
|
|
848
|
-
* 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 containing 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.
|
|
849
944
|
* **2. Automated image processing and efficiency improvement:**
|
|
850
|
-
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that
|
|
945
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that need optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
851
946
|
* ## Features
|
|
852
947
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, refer to the related examples in the removal documentation (reserved text link)**
|
|
853
948
|
* * Image subject: The core product area in the image
|
|
854
949
|
*
|
|
855
950
|
* * Image background: The remaining part of the image other than the product subject
|
|
856
951
|
*
|
|
857
|
-
* * Text: Horizontal
|
|
952
|
+
* * Text: Horizontal/vertical/diagonal English/Chinese text
|
|
858
953
|
*
|
|
859
954
|
* * Logo: An emblem or trademark
|
|
860
955
|
*
|
|
861
956
|
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
862
957
|
*
|
|
863
|
-
* * Text-containing color block: A color block outside the subject
|
|
958
|
+
* * Text-containing color block: A color block containing text outside the subject area
|
|
864
959
|
*
|
|
865
960
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
866
|
-
* * Element recognition: Identifies whether
|
|
961
|
+
* * Element recognition: Identifies whether text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
867
962
|
*
|
|
868
|
-
* * Workflow coordination:
|
|
963
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API effectively removes them, ensuring the accuracy and efficiency of image processing.
|
|
869
964
|
* ## Technical advantages
|
|
870
965
|
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process large volumes of images while maintaining fast response times, adapting to business needs of different scales.
|
|
871
966
|
*
|
|
872
|
-
* * Flexibility:
|
|
873
|
-
* ##
|
|
967
|
+
* * Flexibility: Users can select the element types to identify as needed, including elements in both subject and non-subject areas such as watermarks, logos, and text, meeting personalized recognition requirements.
|
|
968
|
+
* ## Effect comparison
|
|
874
969
|
* | **Original image** | **Recognition result** |
|
|
875
970
|
* | --- | --- |
|
|
876
971
|
* |  | [Subject]
|
|
@@ -906,7 +1001,7 @@ class Client extends openapi_core_1.default {
|
|
|
906
1001
|
*
|
|
907
1002
|
* * Text: true
|
|
908
1003
|
*
|
|
909
|
-
* * Text-containing color block: true
|
|
1004
|
+
* * Text-containing color block: true |
|
|
910
1005
|
*
|
|
911
1006
|
* @param tmpReq - ImageRecognitionRequest
|
|
912
1007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -964,39 +1059,39 @@ class Client extends openapi_core_1.default {
|
|
|
964
1059
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionResponse({}));
|
|
965
1060
|
}
|
|
966
1061
|
/**
|
|
967
|
-
*
|
|
1062
|
+
* Identifies intelligent elements in e-commerce images.
|
|
968
1063
|
*
|
|
969
1064
|
* @remarks
|
|
970
1065
|
* ## Product Introduction
|
|
971
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
1066
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It can deeply analyze image details, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
972
1067
|
* ## Scenarios
|
|
973
1068
|
* **1. Intelligent image screening and optimization:**
|
|
974
|
-
* 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 containing 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.
|
|
975
1070
|
* **2. Automated image processing and efficiency improvement:**
|
|
976
|
-
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that
|
|
1071
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that need optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
977
1072
|
* ## Features
|
|
978
1073
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, refer to the related examples in the removal documentation (reserved text link)**
|
|
979
1074
|
* * Image subject: The core product area in the image
|
|
980
1075
|
*
|
|
981
1076
|
* * Image background: The remaining part of the image other than the product subject
|
|
982
1077
|
*
|
|
983
|
-
* * Text: Horizontal
|
|
1078
|
+
* * Text: Horizontal/vertical/diagonal English/Chinese text
|
|
984
1079
|
*
|
|
985
1080
|
* * Logo: An emblem or trademark
|
|
986
1081
|
*
|
|
987
1082
|
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
988
1083
|
*
|
|
989
|
-
* * Text-containing color block: A color block outside the subject
|
|
1084
|
+
* * Text-containing color block: A color block containing text outside the subject area
|
|
990
1085
|
*
|
|
991
1086
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
992
|
-
* * Element recognition: Identifies whether
|
|
1087
|
+
* * Element recognition: Identifies whether text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
993
1088
|
*
|
|
994
|
-
* * Workflow coordination:
|
|
1089
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API effectively removes them, ensuring the accuracy and efficiency of image processing.
|
|
995
1090
|
* ## Technical advantages
|
|
996
1091
|
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process large volumes of images while maintaining fast response times, adapting to business needs of different scales.
|
|
997
1092
|
*
|
|
998
|
-
* * Flexibility:
|
|
999
|
-
* ##
|
|
1093
|
+
* * Flexibility: Users can select the element types to identify as needed, including elements in both subject and non-subject areas such as watermarks, logos, and text, meeting personalized recognition requirements.
|
|
1094
|
+
* ## Effect comparison
|
|
1000
1095
|
* | **Original image** | **Recognition result** |
|
|
1001
1096
|
* | --- | --- |
|
|
1002
1097
|
* |  | [Subject]
|
|
@@ -1032,7 +1127,7 @@ class Client extends openapi_core_1.default {
|
|
|
1032
1127
|
*
|
|
1033
1128
|
* * Text: true
|
|
1034
1129
|
*
|
|
1035
|
-
* * Text-containing color block: true
|
|
1130
|
+
* * Text-containing color block: true |
|
|
1036
1131
|
*
|
|
1037
1132
|
* @param request - ImageRecognitionRequest
|
|
1038
1133
|
* @returns ImageRecognitionResponse
|
|
@@ -1132,81 +1227,91 @@ class Client extends openapi_core_1.default {
|
|
|
1132
1227
|
return await this.imageRemovalProWithOptions(request, runtime);
|
|
1133
1228
|
}
|
|
1134
1229
|
/**
|
|
1135
|
-
* Intelligently
|
|
1230
|
+
* Intelligently removes unwanted elements from e-commerce images, automatically detecting and erasing text, specific names, transparent text blocks, and visual clutter. Supports specifying objects to remove on demand, enabling efficient and precise batch processing of large volumes of images to simplify image editing workflows. (Synchronous)
|
|
1136
1231
|
*
|
|
1137
1232
|
* @remarks
|
|
1138
|
-
*
|
|
1139
|
-
* The intelligent image
|
|
1140
|
-
*
|
|
1233
|
+
* # Product Introduction
|
|
1234
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically detects and removes text, specific names, transparent text blocks, and visual clutter from e-commerce images. You can specify objects to remove on demand, enabling efficient and precise batch processing of large volumes of images to simplify image editing workflows. (Synchronous)
|
|
1235
|
+
* # Common scenarios
|
|
1141
1236
|
* * **Efficient e-commerce image processing:**
|
|
1142
1237
|
*
|
|
1143
|
-
*
|
|
1238
|
+
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1144
1239
|
* * **Multi-platform product information synchronization:**
|
|
1145
1240
|
*
|
|
1146
|
-
* When
|
|
1241
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and visual clutter to comply with image specifications of different platforms.
|
|
1147
1242
|
* * **Marketing material preparation:**
|
|
1148
1243
|
*
|
|
1149
|
-
*
|
|
1150
|
-
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality.
|
|
1151
|
-
*
|
|
1152
|
-
* 1. First, understand the definitions of image subject and image background. When specifying
|
|
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. We recommend using this in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and visual clutter, 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 sequentially, you can maximize removal effectiveness and reduce false removals and false identifications.
|
|
1246
|
+
* # Features
|
|
1247
|
+
* 1. First, understand the definitions of image subject and image background. When specifying removal targets, 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.
|
|
1153
1248
|
*
|
|
1154
1249
|
* 1. Image subject: The core product area in the image.
|
|
1155
1250
|
*
|
|
1156
|
-
* 2. Image background: The remaining portion of the image
|
|
1251
|
+
* 2. Image background: The remaining portion of the image excluding the product subject.
|
|
1157
1252
|
*
|
|
1158
|
-
* 2. The following
|
|
1159
|
-
*
|
|
1160
|
-
*
|
|
1253
|
+
* 2. The following three removal target options are supported:
|
|
1254
|
+
*
|
|
1255
|
+
* 1. Select by type only. Supported types include text, specific names, transparent text blocks, and visual clutter. Refer to the following examples to clarify your requirements and perform targeted operations.
|
|
1256
|
+
*
|
|
1257
|
+
* 2. (Upgrade) Specify images to remove. You can specify multiple images at a time.
|
|
1258
|
+
*
|
|
1259
|
+
* 3. (Upgrade) Specify text to remove. You can specify multiple text strings at a time.
|
|
1260
|
+
*
|
|
1261
|
+
* Processing workflow: User submits original image URL → OCR+VLM model detects text or image positions → Determines coordinates of areas to repair → AI repairs and generates a clean image → Returns the result image URL.
|
|
1262
|
+
* # 4. Effect comparison
|
|
1263
|
+
* | **Removable objects in images** | **Original image** | **Image after removal** |
|
|
1161
1264
|
* | --- | --- | --- |
|
|
1162
|
-
* | Text | *
|
|
1265
|
+
* | Text | * Involving the image subject area
|
|
1163
1266
|
*
|
|
1164
1267
|
* 
|
|
1165
1268
|
*
|
|
1166
|
-
* *
|
|
1269
|
+
* * Not involving the image subject area
|
|
1167
1270
|
*
|
|
1168
|
-
*  | *
|
|
1271
|
+
*  | * Involving the image subject area
|
|
1169
1272
|
*
|
|
1170
1273
|
* 
|
|
1171
|
-
* *
|
|
1274
|
+
* * Not involving the image subject area
|
|
1172
1275
|
*
|
|
1173
1276
|
*  |
|
|
1174
|
-
* | Specific names | *
|
|
1277
|
+
* | Specific names | * Involving the image subject area
|
|
1175
1278
|
*
|
|
1176
1279
|
* 
|
|
1177
1280
|
*
|
|
1178
|
-
* *
|
|
1281
|
+
* * Not involving the image subject area
|
|
1179
1282
|
*
|
|
1180
|
-
*  | *
|
|
1283
|
+
*  | * Involving the image subject area
|
|
1181
1284
|
*
|
|
1182
1285
|
* 
|
|
1183
|
-
* *
|
|
1286
|
+
* * Not involving the image subject area
|
|
1184
1287
|
*
|
|
1185
1288
|
*  |
|
|
1186
|
-
* | Transparent text blocks | *
|
|
1289
|
+
* | Transparent text blocks | * Involving the image subject area
|
|
1187
1290
|
*
|
|
1188
1291
|
* 
|
|
1189
1292
|
*
|
|
1190
|
-
* *
|
|
1293
|
+
* * Not involving the image subject area
|
|
1191
1294
|
*
|
|
1192
|
-
*  | *
|
|
1295
|
+
*  | * Involving the image subject area
|
|
1193
1296
|
*
|
|
1194
1297
|
* 
|
|
1195
|
-
* *
|
|
1298
|
+
* * Not involving the image subject area
|
|
1196
1299
|
*
|
|
1197
1300
|
*  |
|
|
1198
|
-
* |
|
|
1301
|
+
* | Visual clutter | * Involving the image subject area
|
|
1199
1302
|
*
|
|
1200
1303
|
* 
|
|
1201
1304
|
*
|
|
1202
|
-
* *
|
|
1305
|
+
* * Not involving the image subject area
|
|
1203
1306
|
*
|
|
1204
|
-
*  | *
|
|
1307
|
+
*  | * Involving the image subject area
|
|
1205
1308
|
*
|
|
1206
1309
|
* 
|
|
1207
|
-
* *
|
|
1310
|
+
* * Not involving the image subject area
|
|
1208
1311
|
*
|
|
1209
1312
|
*  |
|
|
1313
|
+
* | Specified image element removal (supports multiple image links) |  |  |
|
|
1314
|
+
* | Specified text removal (supports multiple text strings) |  |  |
|
|
1210
1315
|
*
|
|
1211
1316
|
* @param tmpReq - ImageRemoveRequest
|
|
1212
1317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1267,81 +1372,91 @@ class Client extends openapi_core_1.default {
|
|
|
1267
1372
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveResponse({}));
|
|
1268
1373
|
}
|
|
1269
1374
|
/**
|
|
1270
|
-
* Intelligently
|
|
1375
|
+
* Intelligently removes unwanted elements from e-commerce images, automatically detecting and erasing text, specific names, transparent text blocks, and visual clutter. Supports specifying objects to remove on demand, enabling efficient and precise batch processing of large volumes of images to simplify image editing workflows. (Synchronous)
|
|
1271
1376
|
*
|
|
1272
1377
|
* @remarks
|
|
1273
|
-
*
|
|
1274
|
-
* The intelligent image
|
|
1275
|
-
*
|
|
1378
|
+
* # Product Introduction
|
|
1379
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically detects and removes text, specific names, transparent text blocks, and visual clutter from e-commerce images. You can specify objects to remove on demand, enabling efficient and precise batch processing of large volumes of images to simplify image editing workflows. (Synchronous)
|
|
1380
|
+
* # Common scenarios
|
|
1276
1381
|
* * **Efficient e-commerce image processing:**
|
|
1277
1382
|
*
|
|
1278
|
-
*
|
|
1383
|
+
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
1279
1384
|
* * **Multi-platform product information synchronization:**
|
|
1280
1385
|
*
|
|
1281
|
-
* When
|
|
1386
|
+
* When listing products across different e-commerce platforms, quickly remove specific text and visual clutter to comply with image specifications of different platforms.
|
|
1282
1387
|
* * **Marketing material preparation:**
|
|
1283
1388
|
*
|
|
1284
|
-
*
|
|
1285
|
-
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality.
|
|
1286
|
-
*
|
|
1287
|
-
* 1. First, understand the definitions of image subject and image background. When specifying
|
|
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. We recommend using this in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and visual clutter, 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 sequentially, you can maximize removal effectiveness and reduce false removals and false identifications.
|
|
1391
|
+
* # Features
|
|
1392
|
+
* 1. First, understand the definitions of image subject and image background. When specifying removal targets, 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.
|
|
1288
1393
|
*
|
|
1289
1394
|
* 1. Image subject: The core product area in the image.
|
|
1290
1395
|
*
|
|
1291
|
-
* 2. Image background: The remaining portion of the image
|
|
1396
|
+
* 2. Image background: The remaining portion of the image excluding the product subject.
|
|
1292
1397
|
*
|
|
1293
|
-
* 2. The following
|
|
1294
|
-
*
|
|
1295
|
-
*
|
|
1398
|
+
* 2. The following three removal target options are supported:
|
|
1399
|
+
*
|
|
1400
|
+
* 1. Select by type only. Supported types include text, specific names, transparent text blocks, and visual clutter. Refer to the following examples to clarify your requirements and perform targeted operations.
|
|
1401
|
+
*
|
|
1402
|
+
* 2. (Upgrade) Specify images to remove. You can specify multiple images at a time.
|
|
1403
|
+
*
|
|
1404
|
+
* 3. (Upgrade) Specify text to remove. You can specify multiple text strings at a time.
|
|
1405
|
+
*
|
|
1406
|
+
* Processing workflow: User submits original image URL → OCR+VLM model detects text or image positions → Determines coordinates of areas to repair → AI repairs and generates a clean image → Returns the result image URL.
|
|
1407
|
+
* # 4. Effect comparison
|
|
1408
|
+
* | **Removable objects in images** | **Original image** | **Image after removal** |
|
|
1296
1409
|
* | --- | --- | --- |
|
|
1297
|
-
* | Text | *
|
|
1410
|
+
* | Text | * Involving the image subject area
|
|
1298
1411
|
*
|
|
1299
1412
|
* 
|
|
1300
1413
|
*
|
|
1301
|
-
* *
|
|
1414
|
+
* * Not involving the image subject area
|
|
1302
1415
|
*
|
|
1303
|
-
*  | *
|
|
1416
|
+
*  | * Involving the image subject area
|
|
1304
1417
|
*
|
|
1305
1418
|
* 
|
|
1306
|
-
* *
|
|
1419
|
+
* * Not involving the image subject area
|
|
1307
1420
|
*
|
|
1308
1421
|
*  |
|
|
1309
|
-
* | Specific names | *
|
|
1422
|
+
* | Specific names | * Involving the image subject area
|
|
1310
1423
|
*
|
|
1311
1424
|
* 
|
|
1312
1425
|
*
|
|
1313
|
-
* *
|
|
1426
|
+
* * Not involving the image subject area
|
|
1314
1427
|
*
|
|
1315
|
-
*  | *
|
|
1428
|
+
*  | * Involving the image subject area
|
|
1316
1429
|
*
|
|
1317
1430
|
* 
|
|
1318
|
-
* *
|
|
1431
|
+
* * Not involving the image subject area
|
|
1319
1432
|
*
|
|
1320
1433
|
*  |
|
|
1321
|
-
* | Transparent text blocks | *
|
|
1434
|
+
* | Transparent text blocks | * Involving the image subject area
|
|
1322
1435
|
*
|
|
1323
1436
|
* 
|
|
1324
1437
|
*
|
|
1325
|
-
* *
|
|
1438
|
+
* * Not involving the image subject area
|
|
1326
1439
|
*
|
|
1327
|
-
*  | *
|
|
1440
|
+
*  | * Involving the image subject area
|
|
1328
1441
|
*
|
|
1329
1442
|
* 
|
|
1330
|
-
* *
|
|
1443
|
+
* * Not involving the image subject area
|
|
1331
1444
|
*
|
|
1332
1445
|
*  |
|
|
1333
|
-
* |
|
|
1446
|
+
* | Visual clutter | * Involving the image subject area
|
|
1334
1447
|
*
|
|
1335
1448
|
* 
|
|
1336
1449
|
*
|
|
1337
|
-
* *
|
|
1450
|
+
* * Not involving the image subject area
|
|
1338
1451
|
*
|
|
1339
|
-
*  | *
|
|
1452
|
+
*  | * Involving the image subject area
|
|
1340
1453
|
*
|
|
1341
1454
|
* 
|
|
1342
|
-
* *
|
|
1455
|
+
* * Not involving the image subject area
|
|
1343
1456
|
*
|
|
1344
1457
|
*  |
|
|
1458
|
+
* | Specified image element removal (supports multiple image links) |  |  |
|
|
1459
|
+
* | Specified text removal (supports multiple text strings) |  |  |
|
|
1345
1460
|
*
|
|
1346
1461
|
* @param request - ImageRemoveRequest
|
|
1347
1462
|
* @returns ImageRemoveResponse
|
|
@@ -1351,11 +1466,11 @@ class Client extends openapi_core_1.default {
|
|
|
1351
1466
|
return await this.imageRemoveWithOptions(request, runtime);
|
|
1352
1467
|
}
|
|
1353
1468
|
/**
|
|
1354
|
-
*
|
|
1469
|
+
* Translates text in images using the PLUS edition, which is designed specifically for e-commerce images and adopts a Mixture of Experts (MOE) architecture. Compared to the Lite and Pro editions of image translation, this edition delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 8 language directions, with more language directions to be supported in the future.
|
|
1355
1470
|
*
|
|
1356
1471
|
* @remarks
|
|
1357
1472
|
* ## Product Introduction
|
|
1358
|
-
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and
|
|
1473
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
|
|
1359
1474
|
* Supported language pairs:
|
|
1360
1475
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1361
1476
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1372,14 +1487,14 @@ class Client extends openapi_core_1.default {
|
|
|
1372
1487
|
* | 10 | en | English | fr | French |
|
|
1373
1488
|
* | 11 | en | English | de | German |
|
|
1374
1489
|
* | 12 | en | English | pl | Polish |
|
|
1375
|
-
* ##
|
|
1490
|
+
* ## Common scenarios
|
|
1376
1491
|
* Main product images and detail images for cross-border e-commerce.
|
|
1377
|
-
* ##
|
|
1378
|
-
* * **Product body information protection**: Allows you to choose whether to translate text on the product body
|
|
1492
|
+
* ## Functions and features
|
|
1493
|
+
* * **Product body information protection**: Allows you to choose whether to translate text on the product body, helping you protect body information such as embedded product names from being translated.
|
|
1379
1494
|
*
|
|
1380
|
-
* * **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, helping you protect brand name information from being translated.
|
|
1381
1496
|
*
|
|
1382
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1497
|
+
* * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and removal (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1383
1498
|
*
|
|
1384
1499
|
* @param request - ImageTranslationPlusRequest
|
|
1385
1500
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1426,11 +1541,11 @@ class Client extends openapi_core_1.default {
|
|
|
1426
1541
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
|
|
1427
1542
|
}
|
|
1428
1543
|
/**
|
|
1429
|
-
*
|
|
1544
|
+
* Translates text in images using the PLUS edition, which is designed specifically for e-commerce images and adopts a Mixture of Experts (MOE) architecture. Compared to the Lite and Pro editions of image translation, this edition delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 8 language directions, with more language directions to be supported in the future.
|
|
1430
1545
|
*
|
|
1431
1546
|
* @remarks
|
|
1432
1547
|
* ## Product Introduction
|
|
1433
|
-
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and
|
|
1548
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
|
|
1434
1549
|
* Supported language pairs:
|
|
1435
1550
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1436
1551
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1447,14 +1562,14 @@ class Client extends openapi_core_1.default {
|
|
|
1447
1562
|
* | 10 | en | English | fr | French |
|
|
1448
1563
|
* | 11 | en | English | de | German |
|
|
1449
1564
|
* | 12 | en | English | pl | Polish |
|
|
1450
|
-
* ##
|
|
1565
|
+
* ## Common scenarios
|
|
1451
1566
|
* Main product images and detail images for cross-border e-commerce.
|
|
1452
|
-
* ##
|
|
1453
|
-
* * **Product body information protection**: Allows you to choose whether to translate text on the product body
|
|
1567
|
+
* ## Functions and features
|
|
1568
|
+
* * **Product body information protection**: Allows you to choose whether to translate text on the product body, helping you protect body information such as embedded product names from being translated.
|
|
1454
1569
|
*
|
|
1455
|
-
* * **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, helping you protect brand name information from being translated.
|
|
1456
1571
|
*
|
|
1457
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1572
|
+
* * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and removal (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1458
1573
|
*
|
|
1459
1574
|
* @param request - ImageTranslationPlusRequest
|
|
1460
1575
|
* @returns ImageTranslationPlusResponse
|
|
@@ -1464,12 +1579,19 @@ class Client extends openapi_core_1.default {
|
|
|
1464
1579
|
return await this.imageTranslationPlusWithOptions(request, runtime);
|
|
1465
1580
|
}
|
|
1466
1581
|
/**
|
|
1467
|
-
* Translates
|
|
1582
|
+
* Translates images using the Pro edition, which is designed for e-commerce images and integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged directions).
|
|
1468
1583
|
*
|
|
1469
1584
|
* @remarks
|
|
1470
|
-
* ## Product Introduction
|
|
1471
|
-
*
|
|
1472
|
-
* ##
|
|
1585
|
+
* ## Product Introduction
|
|
1586
|
+
* The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions (including bridged directions).
|
|
1587
|
+
* ## Scenarios
|
|
1588
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1589
|
+
* ## Features
|
|
1590
|
+
* - **Product subject protection**: Allows you to choose whether to translate text on the product subject, helping you protect subject information such as embedded product names from being translated.
|
|
1591
|
+
* - **Post-translation editing**: Allows you to choose whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
1592
|
+
* - **Brand name protection**: Allows you to choose whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
1593
|
+
* - **Translation intervention**: Allows you to customize translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1594
|
+
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1473
1595
|
*
|
|
1474
1596
|
* @param request - ImageTranslationProRequest
|
|
1475
1597
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1519,12 +1641,19 @@ class Client extends openapi_core_1.default {
|
|
|
1519
1641
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
|
|
1520
1642
|
}
|
|
1521
1643
|
/**
|
|
1522
|
-
* Translates
|
|
1644
|
+
* Translates images using the Pro edition, which is designed for e-commerce images and integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged directions).
|
|
1523
1645
|
*
|
|
1524
1646
|
* @remarks
|
|
1525
|
-
* ## Product Introduction
|
|
1526
|
-
*
|
|
1527
|
-
* ##
|
|
1647
|
+
* ## Product Introduction
|
|
1648
|
+
* The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions (including bridged directions).
|
|
1649
|
+
* ## Scenarios
|
|
1650
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1651
|
+
* ## Features
|
|
1652
|
+
* - **Product subject protection**: Allows you to choose whether to translate text on the product subject, helping you protect subject information such as embedded product names from being translated.
|
|
1653
|
+
* - **Post-translation editing**: Allows you to choose whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
1654
|
+
* - **Brand name protection**: Allows you to choose whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
1655
|
+
* - **Translation intervention**: Allows you to customize translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1656
|
+
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1528
1657
|
*
|
|
1529
1658
|
* @param request - ImageTranslationProRequest
|
|
1530
1659
|
* @returns ImageTranslationProResponse
|
|
@@ -1534,12 +1663,22 @@ class Client extends openapi_core_1.default {
|
|
|
1534
1663
|
return await this.imageTranslationProWithOptions(request, runtime);
|
|
1535
1664
|
}
|
|
1536
1665
|
/**
|
|
1537
|
-
* Translates text in images with support for over 100 language
|
|
1666
|
+
* Translates text in images with support for over 100 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It 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, enabling secondary editing of translation results through an image editor.
|
|
1538
1667
|
*
|
|
1539
1668
|
* @remarks
|
|
1540
|
-
* # 1. Product Introduction
|
|
1541
|
-
*
|
|
1542
|
-
* #
|
|
1669
|
+
* # 1. Product Introduction
|
|
1670
|
+
* The image translation product is designed specifically for e-commerce images, supporting over 100 language directions (including bridging). It accurately handles complex text layouts within images and ensures that translated content matches the image context, helping 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, enabling secondary editing of translation results through an image editor.
|
|
1671
|
+
* # 2. Common scenarios
|
|
1672
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
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.
|
|
1675
|
+
*
|
|
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
|
+
*
|
|
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 an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1679
|
+
*
|
|
1680
|
+
* * **Translation intervention**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1681
|
+
* * **Image editor integration**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1543
1682
|
*
|
|
1544
1683
|
* @param request - ImageTranslationStandardRequest
|
|
1545
1684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1586,12 +1725,22 @@ class Client extends openapi_core_1.default {
|
|
|
1586
1725
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardResponse({}));
|
|
1587
1726
|
}
|
|
1588
1727
|
/**
|
|
1589
|
-
* Translates text in images with support for over 100 language
|
|
1728
|
+
* Translates text in images with support for over 100 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It 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, enabling secondary editing of translation results through an image editor.
|
|
1590
1729
|
*
|
|
1591
1730
|
* @remarks
|
|
1592
|
-
* # 1. Product Introduction
|
|
1593
|
-
*
|
|
1594
|
-
* #
|
|
1731
|
+
* # 1. Product Introduction
|
|
1732
|
+
* The image translation product is designed specifically for e-commerce images, supporting over 100 language directions (including bridging). It accurately handles complex text layouts within images and ensures that translated content matches the image context, helping 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, enabling secondary editing of translation results through an image editor.
|
|
1733
|
+
* # 2. Common scenarios
|
|
1734
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
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.
|
|
1737
|
+
*
|
|
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
|
+
*
|
|
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 an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1741
|
+
*
|
|
1742
|
+
* * **Translation intervention**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1743
|
+
* * **Image editor integration**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1595
1744
|
*
|
|
1596
1745
|
* @param request - ImageTranslationStandardRequest
|
|
1597
1746
|
* @returns ImageTranslationStandardResponse
|
|
@@ -1601,11 +1750,11 @@ class Client extends openapi_core_1.default {
|
|
|
1601
1750
|
return await this.imageTranslationStandardWithOptions(request, runtime);
|
|
1602
1751
|
}
|
|
1603
1752
|
/**
|
|
1604
|
-
* Supports automatic language
|
|
1753
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations.
|
|
1605
1754
|
*
|
|
1606
1755
|
* @remarks
|
|
1607
1756
|
* ## Product Introduction
|
|
1608
|
-
* Supports automatic language
|
|
1757
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text language identification 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).
|
|
1609
1758
|
*
|
|
1610
1759
|
* @param request - LanguageDetectRequest
|
|
1611
1760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1614,6 +1763,9 @@ class Client extends openapi_core_1.default {
|
|
|
1614
1763
|
async languageDetectWithOptions(request, runtime) {
|
|
1615
1764
|
request.validate();
|
|
1616
1765
|
let query = {};
|
|
1766
|
+
if (!$dara.isNull(request.scene)) {
|
|
1767
|
+
query["Scene"] = request.scene;
|
|
1768
|
+
}
|
|
1617
1769
|
if (!$dara.isNull(request.sourceText)) {
|
|
1618
1770
|
query["SourceText"] = request.sourceText;
|
|
1619
1771
|
}
|
|
@@ -1634,11 +1786,11 @@ class Client extends openapi_core_1.default {
|
|
|
1634
1786
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.LanguageDetectResponse({}));
|
|
1635
1787
|
}
|
|
1636
1788
|
/**
|
|
1637
|
-
* Supports automatic language
|
|
1789
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations.
|
|
1638
1790
|
*
|
|
1639
1791
|
* @remarks
|
|
1640
1792
|
* ## Product Introduction
|
|
1641
|
-
* Supports automatic language
|
|
1793
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text language identification 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).
|
|
1642
1794
|
*
|
|
1643
1795
|
* @param request - LanguageDetectRequest
|
|
1644
1796
|
* @returns LanguageDetectResponse
|
|
@@ -1648,29 +1800,29 @@ class Client extends openapi_core_1.default {
|
|
|
1648
1800
|
return await this.languageDetectWithOptions(request, runtime);
|
|
1649
1801
|
}
|
|
1650
1802
|
/**
|
|
1651
|
-
*
|
|
1803
|
+
* Detects the compliance of marketing material displays in retail stores based on a multimodal large language model (MLLM). This API targets in-store marketing material inspection scenarios for offline retail and channel stores. It performs natural-language-level compliance checks on standard materials such as functional display cards, posters, and door-shaped display stands, as well as long-tail materials such as light cloth banners, KT boards, floor stickers, and light boxes in store photos, according to inspection rules. It outputs structured conclusions and Chinese-language evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
1652
1804
|
*
|
|
1653
1805
|
* @remarks
|
|
1654
|
-
* ## **
|
|
1655
|
-
* - **In-store marketing material compliance inspection**: Automatically determines whether
|
|
1806
|
+
* ## **Scenarios**
|
|
1807
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional display cards, posters, door-shaped display stands, etc.) are placed or posted according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placed incorrectly," or "content mismatch."
|
|
1656
1808
|
*
|
|
1657
|
-
* - **New product
|
|
1809
|
+
* - **New product/campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been deployed as required for listing, replacing manual spot checks.
|
|
1658
1810
|
*
|
|
1659
|
-
* - **Adaptive dual-image comparison and single-image detection**:
|
|
1811
|
+
* - **Adaptive dual-image comparison and single-image detection**: The same 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. Callers do not need to differentiate between invocation methods.
|
|
1660
1812
|
* ## **Features**
|
|
1661
|
-
* - **Multi-mode intelligent routing**:
|
|
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 material detection pipeline. Callers only need to provide image URLs and rule text. Currently, four detection routing pipelines are supported: "functional display card," "poster," "door-shaped display stand," and "other materials." Additional detection pipelines for specific marketing material types will be added over time.
|
|
1662
1814
|
*
|
|
1663
|
-
* - **MLLM semantic-level understanding +
|
|
1815
|
+
* - **MLLM semantic-level understanding + rule structuring collaboration**: Uses a multimodal large model for material recognition, content comparison, text OCR, and other semantic-level understanding tasks. Combined with rule cleaning and structuring models, natural language rules are decomposed into individually assessable steps (S1/S2...), ensuring accuracy while maintaining rule flexibility and traceability.
|
|
1664
1816
|
*
|
|
1665
|
-
* - **Structured
|
|
1817
|
+
* - **Structured audit conclusion output**: Output is unified into the `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` structure. The overall conclusion is derived from the logical AND of all steps. Each step is independently visible, facilitating direct integration with downstream business systems and supporting case-level manual review traceability.
|
|
1666
1818
|
*
|
|
1667
|
-
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A)
|
|
1668
|
-
* ## **
|
|
1669
|
-
* - **Synchronous call**:
|
|
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
|
+
* ## **Invocation method**
|
|
1821
|
+
* - **Synchronous call**: A single request returns the detection result without polling. The response uses the unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
1670
1822
|
*
|
|
1671
|
-
* - **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 specific request path.
|
|
1672
1824
|
*
|
|
1673
|
-
* - **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 publication for the specific value).
|
|
1674
1826
|
*
|
|
1675
1827
|
* @param request - MaterialInspectionRequest
|
|
1676
1828
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1711,29 +1863,29 @@ class Client extends openapi_core_1.default {
|
|
|
1711
1863
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MaterialInspectionResponse({}));
|
|
1712
1864
|
}
|
|
1713
1865
|
/**
|
|
1714
|
-
*
|
|
1866
|
+
* Detects the compliance of marketing material displays in retail stores based on a multimodal large language model (MLLM). This API targets in-store marketing material inspection scenarios for offline retail and channel stores. It performs natural-language-level compliance checks on standard materials such as functional display cards, posters, and door-shaped display stands, as well as long-tail materials such as light cloth banners, KT boards, floor stickers, and light boxes in store photos, according to inspection rules. It outputs structured conclusions and Chinese-language evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
1715
1867
|
*
|
|
1716
1868
|
* @remarks
|
|
1717
|
-
* ## **
|
|
1718
|
-
* - **In-store marketing material compliance inspection**: Automatically determines whether
|
|
1869
|
+
* ## **Scenarios**
|
|
1870
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether marketing materials (functional display cards, posters, door-shaped display stands, etc.) are placed or posted according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placed incorrectly," or "content mismatch."
|
|
1719
1871
|
*
|
|
1720
|
-
* - **New product
|
|
1872
|
+
* - **New product/campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been deployed as required for listing, replacing manual spot checks.
|
|
1721
1873
|
*
|
|
1722
|
-
* - **Adaptive dual-image comparison and single-image detection**:
|
|
1874
|
+
* - **Adaptive dual-image comparison and single-image detection**: The same 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. Callers do not need to differentiate between invocation methods.
|
|
1723
1875
|
* ## **Features**
|
|
1724
|
-
* - **Multi-mode intelligent routing**:
|
|
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 material detection pipeline. Callers only need to provide image URLs and rule text. Currently, four detection routing pipelines are supported: "functional display card," "poster," "door-shaped display stand," and "other materials." Additional detection pipelines for specific marketing material types will be added over time.
|
|
1725
1877
|
*
|
|
1726
|
-
* - **MLLM semantic-level understanding +
|
|
1878
|
+
* - **MLLM semantic-level understanding + rule structuring collaboration**: Uses a multimodal large model for material recognition, content comparison, text OCR, and other semantic-level understanding tasks. Combined with rule cleaning and structuring models, natural language rules are decomposed into individually assessable steps (S1/S2...), ensuring accuracy while maintaining rule flexibility and traceability.
|
|
1727
1879
|
*
|
|
1728
|
-
* - **Structured
|
|
1880
|
+
* - **Structured audit conclusion output**: Output is unified into the `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence` structure. The overall conclusion is derived from the logical AND of all steps. Each step is independently visible, facilitating direct integration with downstream business systems and supporting case-level manual review traceability.
|
|
1729
1881
|
*
|
|
1730
|
-
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A)
|
|
1731
|
-
* ## **
|
|
1732
|
-
* - **Synchronous call**:
|
|
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
|
+
* ## **Invocation method**
|
|
1884
|
+
* - **Synchronous call**: A single request returns the detection result without polling. The response uses the unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
1733
1885
|
*
|
|
1734
|
-
* - **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 specific request path.
|
|
1735
1887
|
*
|
|
1736
|
-
* - **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 publication for the specific value).
|
|
1737
1889
|
*
|
|
1738
1890
|
* @param request - MaterialInspectionRequest
|
|
1739
1891
|
* @returns MaterialInspectionResponse
|
|
@@ -1743,25 +1895,25 @@ class Client extends openapi_core_1.default {
|
|
|
1743
1895
|
return await this.materialInspectionWithOptions(request, runtime);
|
|
1744
1896
|
}
|
|
1745
1897
|
/**
|
|
1746
|
-
* 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. For photos of shelves or floor stacks taken in stores, the product first uses a multimodal large model to detect the bounding box and preliminary name of each product, then performs similarity recall against the customer\\"s dedicated SKU vector library to exactly match each product to the customer\\"s own SKUs. The output is per-product structured results that can be directly integrated with business systems. It is suitable for large-scale, high-concurrent visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1747
1899
|
*
|
|
1748
1900
|
* @remarks
|
|
1749
1901
|
* ## **Product Introduction**
|
|
1750
|
-
* Display detection is an intelligent
|
|
1751
|
-
* ## **
|
|
1752
|
-
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image
|
|
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 or floor stacks taken in stores, the product first uses a multimodal large model to detect the bounding box and preliminary name of each product, then performs similarity recall against the customer\\"s dedicated SKU vector library to exactly match each product to the customer\\"s own SKUs. The output is per-product structured results that can be directly integrated with business systems. It is suitable for large-scale, high-concurrent visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1903
|
+
* ## **Common scenarios**
|
|
1904
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image and matches it to the customer\\"s SKU library, outputting a per-product list (product name + position + similarity score) to replace manual counting.
|
|
1753
1905
|
*
|
|
1754
1906
|
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
1755
1907
|
*
|
|
1756
|
-
* - **Customer-
|
|
1757
|
-
* ## **
|
|
1758
|
-
* - **Two-stage detection + retrieval collaboration**: The
|
|
1908
|
+
* - **Customer-dedicated SKU library**: Customers upload their own SKU reference images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
1909
|
+
* ## **Functions and features**
|
|
1910
|
+
* - **Two-stage detection + retrieval collaboration**: The multimodal large model detects each product bounding box and preliminary name on the full image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
1759
1911
|
*
|
|
1760
|
-
* - **
|
|
1912
|
+
* - **Dedicated vector library with isolated retrieval**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library with strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1761
1913
|
*
|
|
1762
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.
|
|
1763
1915
|
*
|
|
1764
|
-
* - **Supported input formats**: Currently supports image URLs accessible
|
|
1916
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the public network or from OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1765
1917
|
*
|
|
1766
1918
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1767
1919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1799,25 +1951,25 @@ class Client extends openapi_core_1.default {
|
|
|
1799
1951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionResponse({}));
|
|
1800
1952
|
}
|
|
1801
1953
|
/**
|
|
1802
|
-
* 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. For photos of shelves or floor stacks taken in stores, the product first uses a multimodal large model to detect the bounding box and preliminary name of each product, then performs similarity recall against the customer\\"s dedicated SKU vector library to exactly match each product to the customer\\"s own SKUs. The output is per-product structured results that can be directly integrated with business systems. It is suitable for large-scale, high-concurrent visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1803
1955
|
*
|
|
1804
1956
|
* @remarks
|
|
1805
1957
|
* ## **Product Introduction**
|
|
1806
|
-
* Display detection is an intelligent
|
|
1807
|
-
* ## **
|
|
1808
|
-
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image
|
|
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 or floor stacks taken in stores, the product first uses a multimodal large model to detect the bounding box and preliminary name of each product, then performs similarity recall against the customer\\"s dedicated SKU vector library to exactly match each product to the customer\\"s own SKUs. The output is per-product structured results that can be directly integrated with business systems. It is suitable for large-scale, high-concurrent visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1959
|
+
* ## **Common scenarios**
|
|
1960
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image and matches it to the customer\\"s SKU library, outputting a per-product list (product name + position + similarity score) to replace manual counting.
|
|
1809
1961
|
*
|
|
1810
1962
|
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
1811
1963
|
*
|
|
1812
|
-
* - **Customer-
|
|
1813
|
-
* ## **
|
|
1814
|
-
* - **Two-stage detection + retrieval collaboration**: The
|
|
1964
|
+
* - **Customer-dedicated SKU library**: Customers upload their own SKU reference images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
1965
|
+
* ## **Functions and features**
|
|
1966
|
+
* - **Two-stage detection + retrieval collaboration**: The multimodal large model detects each product bounding box and preliminary name on the full image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
1815
1967
|
*
|
|
1816
|
-
* - **
|
|
1968
|
+
* - **Dedicated vector library with isolated retrieval**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library with strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1817
1969
|
*
|
|
1818
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.
|
|
1819
1971
|
*
|
|
1820
|
-
* - **Supported input formats**: Currently supports image URLs accessible
|
|
1972
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the public network or from OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1821
1973
|
*
|
|
1822
1974
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1823
1975
|
* @returns MerchandisePlacementDetectionResponse
|
|
@@ -1827,22 +1979,22 @@ class Client extends openapi_core_1.default {
|
|
|
1827
1979
|
return await this.merchandisePlacementDetectionWithOptions(request, runtime);
|
|
1828
1980
|
}
|
|
1829
1981
|
/**
|
|
1830
|
-
* An intelligent logistics parcel
|
|
1982
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured review across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference for parcels on scanning platforms. It adapts to different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese reason descriptions that can directly interface with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1831
1983
|
*
|
|
1832
1984
|
* @remarks
|
|
1833
1985
|
* ## Product Introduction
|
|
1834
|
-
* An intelligent logistics parcel
|
|
1835
|
-
* ##
|
|
1836
|
-
* 1. **Parcel
|
|
1837
|
-
* 2. **Foreign
|
|
1838
|
-
* 3. **Multi-
|
|
1839
|
-
* 4. **Inbound
|
|
1840
|
-
*
|
|
1841
|
-
* ##
|
|
1842
|
-
* 1. **Multi-
|
|
1843
|
-
* 2. **MLLM +
|
|
1844
|
-
* 3. **Structured
|
|
1845
|
-
* 4. **Supported
|
|
1986
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured review across multiple dimensions including **bounding box validity, bounding box fit accuracy, and foreign object interference** for parcels on scanning platforms. It adapts to different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese reason descriptions that can directly interface with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
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, identifying typical issues such as oversized or undersized bounding boxes.
|
|
1989
|
+
* 2. **Foreign object interference detection**: Automatically identifies 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 handles both white background board (blue frame) and green background board (blue frame + red frame) capture patterns 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 manual outsourced review.
|
|
1992
|
+
* The product is also applicable to general image "frame-subject" relationship review scenarios, such as product photography material review and document scanning quality verification.
|
|
1993
|
+
* ## Features
|
|
1994
|
+
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities that automatically identify the background type (white/green) and bounding box type (none/single frame/double frame) in images, and route requests to the corresponding review sub-process. Callers only need to pass in the image URL without manually specifying the scenario.
|
|
1995
|
+
* 2. **MLLM + dedicated CV model collaboration**: Uses a multimodal large language model for semantic-level scene understanding and foreign object recognition, and uses dedicated parcel segmentation and IoU evaluation models for pixel-level bounding box fit quantification, ensuring accuracy while controlling inference latency and cost.
|
|
1996
|
+
* 3. **Structured review conclusions**: Output is unified as `result` (Boolean) + `info` (Chinese reason) structure. Supported reason types include "Review passed", "Review failed: bounding box too large", "Review failed: bounding box too small", "Review failed: foreign object detected", and others, enabling direct integration with downstream business systems.
|
|
1997
|
+
* 4. **Supported input formats**: Currently supports publicly accessible image URLs.
|
|
1846
1998
|
*
|
|
1847
1999
|
* @param request - PackageWeightSizeCheckRequest
|
|
1848
2000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1874,22 +2026,22 @@ class Client extends openapi_core_1.default {
|
|
|
1874
2026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PackageWeightSizeCheckResponse({}));
|
|
1875
2027
|
}
|
|
1876
2028
|
/**
|
|
1877
|
-
* An intelligent logistics parcel
|
|
2029
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured review across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference for parcels on scanning platforms. It adapts to different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese reason descriptions that can directly interface with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1878
2030
|
*
|
|
1879
2031
|
* @remarks
|
|
1880
2032
|
* ## Product Introduction
|
|
1881
|
-
* An intelligent logistics parcel
|
|
1882
|
-
* ##
|
|
1883
|
-
* 1. **Parcel
|
|
1884
|
-
* 2. **Foreign
|
|
1885
|
-
* 3. **Multi-
|
|
1886
|
-
* 4. **Inbound
|
|
1887
|
-
*
|
|
1888
|
-
* ##
|
|
1889
|
-
* 1. **Multi-
|
|
1890
|
-
* 2. **MLLM +
|
|
1891
|
-
* 3. **Structured
|
|
1892
|
-
* 4. **Supported
|
|
2033
|
+
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured review across multiple dimensions including **bounding box validity, bounding box fit accuracy, and foreign object interference** for parcels on scanning platforms. It adapts to different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese reason descriptions that can directly interface with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
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, identifying typical issues such as oversized or undersized bounding boxes.
|
|
2036
|
+
* 2. **Foreign object interference detection**: Automatically identifies 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 handles both white background board (blue frame) and green background board (blue frame + red frame) capture patterns 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 manual outsourced review.
|
|
2039
|
+
* The product is also applicable to general image "frame-subject" relationship review scenarios, such as product photography material review and document scanning quality verification.
|
|
2040
|
+
* ## Features
|
|
2041
|
+
* 1. **Multi-scenario intelligent routing**: The product has built-in scenario classification capabilities that automatically identify the background type (white/green) and bounding box type (none/single frame/double frame) in images, and route requests to the corresponding review sub-process. Callers only need to pass in the image URL without manually specifying the scenario.
|
|
2042
|
+
* 2. **MLLM + dedicated CV model collaboration**: Uses a multimodal large language model for semantic-level scene understanding and foreign object recognition, and uses dedicated parcel segmentation and IoU evaluation models for pixel-level bounding box fit quantification, ensuring accuracy while controlling inference latency and cost.
|
|
2043
|
+
* 3. **Structured review conclusions**: Output is unified as `result` (Boolean) + `info` (Chinese reason) structure. Supported reason types include "Review passed", "Review failed: bounding box too large", "Review failed: bounding box too small", "Review failed: foreign object detected", and others, enabling direct integration with downstream business systems.
|
|
2044
|
+
* 4. **Supported input formats**: Currently supports publicly accessible image URLs.
|
|
1893
2045
|
*
|
|
1894
2046
|
* @param request - PackageWeightSizeCheckRequest
|
|
1895
2047
|
* @returns PackageWeightSizeCheckResponse
|
|
@@ -2120,21 +2272,21 @@ class Client extends openapi_core_1.default {
|
|
|
2120
2272
|
return await this.queryAsyncTaskResultWithOptions(request, runtime);
|
|
2121
2273
|
}
|
|
2122
2274
|
/**
|
|
2123
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
2275
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2124
2276
|
*
|
|
2125
2277
|
* @remarks
|
|
2126
2278
|
* # 1. Product Introduction
|
|
2127
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
2279
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2128
2280
|
* # 2. Common scenarios
|
|
2129
|
-
* **Batch processing
|
|
2130
|
-
* # 3.
|
|
2131
|
-
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains
|
|
2281
|
+
* **Batch processing scenario:** Detect images containing size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
2282
|
+
* # 3. Features
|
|
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.
|
|
2132
2284
|
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business accuracy 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 and is suitable for integration into automated batch workflows for sequential invocation.
|
|
2133
2285
|
* # 4. Effect comparison
|
|
2134
2286
|
* | **Input image** | **Confidence** | **Output result** |
|
|
2135
2287
|
* | --- | --- | --- |
|
|
2136
2288
|
* |  | 0.4 | true |
|
|
2137
|
-
* |  | 0.4 | false
|
|
2289
|
+
* |  | 0.4 | false |
|
|
2138
2290
|
*
|
|
2139
2291
|
* @param request - SizeChartDetectRequest
|
|
2140
2292
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2166,21 +2318,21 @@ class Client extends openapi_core_1.default {
|
|
|
2166
2318
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartDetectResponse({}));
|
|
2167
2319
|
}
|
|
2168
2320
|
/**
|
|
2169
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
2321
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2170
2322
|
*
|
|
2171
2323
|
* @remarks
|
|
2172
2324
|
* # 1. Product Introduction
|
|
2173
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
2325
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2174
2326
|
* # 2. Common scenarios
|
|
2175
|
-
* **Batch processing
|
|
2176
|
-
* # 3.
|
|
2177
|
-
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains
|
|
2327
|
+
* **Batch processing scenario:** Detect images containing size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
2328
|
+
* # 3. Features
|
|
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.
|
|
2178
2330
|
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business accuracy 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 and is suitable for integration into automated batch workflows for sequential invocation.
|
|
2179
2331
|
* # 4. Effect comparison
|
|
2180
2332
|
* | **Input image** | **Confidence** | **Output result** |
|
|
2181
2333
|
* | --- | --- | --- |
|
|
2182
2334
|
* |  | 0.4 | true |
|
|
2183
|
-
* |  | 0.4 | false
|
|
2335
|
+
* |  | 0.4 | false |
|
|
2184
2336
|
*
|
|
2185
2337
|
* @param request - SizeChartDetectRequest
|
|
2186
2338
|
* @returns SizeChartDetectResponse
|
|
@@ -2190,19 +2342,19 @@ class Client extends openapi_core_1.default {
|
|
|
2190
2342
|
return await this.sizeChartDetectWithOptions(request, runtime);
|
|
2191
2343
|
}
|
|
2192
2344
|
/**
|
|
2193
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2345
|
+
* Intelligently extracts structured information such as size charts and package weight/dimensions from images using a multimodal foundation model. (Asynchronous)
|
|
2194
2346
|
*
|
|
2195
2347
|
* @remarks
|
|
2196
2348
|
* ## Product Introduction
|
|
2197
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2349
|
+
* Intelligently extracts structured information such as size charts and package weight/dimensions from images using a multimodal foundation model. (Asynchronous)
|
|
2198
2350
|
* ## Common scenarios
|
|
2199
|
-
* * Size
|
|
2351
|
+
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2200
2352
|
*
|
|
2201
2353
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2202
2354
|
* ## Functions and features
|
|
2203
|
-
* The size chart extraction service is based on a multimodal
|
|
2204
|
-
* Core capabilities:
|
|
2205
|
-
* ##
|
|
2355
|
+
* The size chart extraction service is based on a multimodal foundation model that automatically identifies size tables or package weight/dimension information in images and converts them into structured text output. You provide an image URL, and the system processes it as an asynchronous task, returning the extracted structured data. You can specify column names to recognize (such as Size, Bust, Length) through ColumnNameList for precise targeted extraction. You can also control the output language through the LanguageModel parameter, with options for Chinese (cn) or English (en). If not specified, the original language is preserved. This service is suitable for scenarios such as converting apparel size tables to text and batch structuring of product package weight/dimension information.
|
|
2356
|
+
* Core capabilities: Input an image URL and optional column name configuration, and output structured data of size charts or package weight/dimensions from the image. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned, and you need to poll for the final result. This is suitable for processing complex images or high-volume call scenarios.
|
|
2357
|
+
* ## Effect comparison
|
|
2206
2358
|
* | **Input image** | **Output result** |
|
|
2207
2359
|
* | --- | --- |
|
|
2208
2360
|
* |  | {
|
|
@@ -2310,7 +2462,7 @@ class Client extends openapi_core_1.default {
|
|
|
2310
2462
|
* "腰围(拉伸)",
|
|
2311
2463
|
* "体重建议"
|
|
2312
2464
|
* \\]
|
|
2313
|
-
* }
|
|
2465
|
+
* } |
|
|
2314
2466
|
*
|
|
2315
2467
|
* @param tmpReq - SizeChartExtractRequest
|
|
2316
2468
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2350,19 +2502,19 @@ class Client extends openapi_core_1.default {
|
|
|
2350
2502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartExtractResponse({}));
|
|
2351
2503
|
}
|
|
2352
2504
|
/**
|
|
2353
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2505
|
+
* Intelligently extracts structured information such as size charts and package weight/dimensions from images using a multimodal foundation model. (Asynchronous)
|
|
2354
2506
|
*
|
|
2355
2507
|
* @remarks
|
|
2356
2508
|
* ## Product Introduction
|
|
2357
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
2509
|
+
* Intelligently extracts structured information such as size charts and package weight/dimensions from images using a multimodal foundation model. (Asynchronous)
|
|
2358
2510
|
* ## Common scenarios
|
|
2359
|
-
* * Size
|
|
2511
|
+
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2360
2512
|
*
|
|
2361
2513
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2362
2514
|
* ## Functions and features
|
|
2363
|
-
* The size chart extraction service is based on a multimodal
|
|
2364
|
-
* Core capabilities:
|
|
2365
|
-
* ##
|
|
2515
|
+
* The size chart extraction service is based on a multimodal foundation model that automatically identifies size tables or package weight/dimension information in images and converts them into structured text output. You provide an image URL, and the system processes it as an asynchronous task, returning the extracted structured data. You can specify column names to recognize (such as Size, Bust, Length) through ColumnNameList for precise targeted extraction. You can also control the output language through the LanguageModel parameter, with options for Chinese (cn) or English (en). If not specified, the original language is preserved. This service is suitable for scenarios such as converting apparel size tables to text and batch structuring of product package weight/dimension information.
|
|
2516
|
+
* Core capabilities: Input an image URL and optional column name configuration, and output structured data of size charts or package weight/dimensions from the image. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned, and you need to poll for the final result. This is suitable for processing complex images or high-volume call scenarios.
|
|
2517
|
+
* ## Effect comparison
|
|
2366
2518
|
* | **Input image** | **Output result** |
|
|
2367
2519
|
* | --- | --- |
|
|
2368
2520
|
* |  | {
|
|
@@ -2470,7 +2622,7 @@ class Client extends openapi_core_1.default {
|
|
|
2470
2622
|
* "腰围(拉伸)",
|
|
2471
2623
|
* "体重建议"
|
|
2472
2624
|
* \\]
|
|
2473
|
-
* }
|
|
2625
|
+
* } |
|
|
2474
2626
|
*
|
|
2475
2627
|
* @param request - SizeChartExtractRequest
|
|
2476
2628
|
* @returns SizeChartExtractResponse
|
|
@@ -2480,27 +2632,27 @@ class Client extends openapi_core_1.default {
|
|
|
2480
2632
|
return await this.sizeChartExtractWithOptions(request, runtime);
|
|
2481
2633
|
}
|
|
2482
2634
|
/**
|
|
2483
|
-
*
|
|
2635
|
+
* Corrects errors in search terms and titles.
|
|
2484
2636
|
*
|
|
2485
2637
|
* @remarks
|
|
2486
2638
|
* ## Product Introduction
|
|
2487
|
-
* Corrects errors in search terms and titles.
|
|
2488
|
-
* | No. | Language
|
|
2639
|
+
* Corrects errors in search terms and titles. The following 14 languages are currently supported:
|
|
2640
|
+
* | No. | Language name (English) | Language code | Language name (Chinese) |
|
|
2489
2641
|
* |------|------------------------|------------|------------------------|
|
|
2490
|
-
* | 1 | Arabic | ar |
|
|
2491
|
-
* | 2 | German | de |
|
|
2492
|
-
* | 3 | English | en |
|
|
2493
|
-
* | 4 | Spanish | es |
|
|
2494
|
-
* | 5 | French | fr |
|
|
2495
|
-
* | 6 | Hebrew | he |
|
|
2496
|
-
* | 7 | Italian | it |
|
|
2497
|
-
* | 8 | Japanese | ja |
|
|
2498
|
-
* | 9 | Korean | ko |
|
|
2499
|
-
* | 10 | Dutch | nl |
|
|
2500
|
-
* | 11 | Polish | pl |
|
|
2501
|
-
* | 12 | Portuguese | pt |
|
|
2502
|
-
* | 13 | Russian | ru |
|
|
2503
|
-
* | 14 | Ukrainian | uk |
|
|
2642
|
+
* | 1 | Arabic | ar | 阿拉伯语 |
|
|
2643
|
+
* | 2 | German | de | 德语 |
|
|
2644
|
+
* | 3 | English | en | 英语 |
|
|
2645
|
+
* | 4 | Spanish | es | 西班牙语 |
|
|
2646
|
+
* | 5 | French | fr | 法语 |
|
|
2647
|
+
* | 6 | Hebrew | he | 希伯来语 |
|
|
2648
|
+
* | 7 | Italian | it | 意大利语 |
|
|
2649
|
+
* | 8 | Japanese | ja | 日语 |
|
|
2650
|
+
* | 9 | Korean | ko | 韩语 |
|
|
2651
|
+
* | 10 | Dutch | nl | 荷兰语 |
|
|
2652
|
+
* | 11 | Polish | pl | 波兰语 |
|
|
2653
|
+
* | 12 | Portuguese | pt | 葡萄牙语-巴西 |
|
|
2654
|
+
* | 13 | Russian | ru | 俄语 |
|
|
2655
|
+
* | 14 | Ukrainian | uk | 乌克兰语 |
|
|
2504
2656
|
*
|
|
2505
2657
|
* @param request - TextCorrectRequest
|
|
2506
2658
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2532,27 +2684,27 @@ class Client extends openapi_core_1.default {
|
|
|
2532
2684
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextCorrectResponse({}));
|
|
2533
2685
|
}
|
|
2534
2686
|
/**
|
|
2535
|
-
*
|
|
2687
|
+
* Corrects errors in search terms and titles.
|
|
2536
2688
|
*
|
|
2537
2689
|
* @remarks
|
|
2538
2690
|
* ## Product Introduction
|
|
2539
|
-
* Corrects errors in search terms and titles.
|
|
2540
|
-
* | No. | Language
|
|
2691
|
+
* Corrects errors in search terms and titles. The following 14 languages are currently supported:
|
|
2692
|
+
* | No. | Language name (English) | Language code | Language name (Chinese) |
|
|
2541
2693
|
* |------|------------------------|------------|------------------------|
|
|
2542
|
-
* | 1 | Arabic | ar |
|
|
2543
|
-
* | 2 | German | de |
|
|
2544
|
-
* | 3 | English | en |
|
|
2545
|
-
* | 4 | Spanish | es |
|
|
2546
|
-
* | 5 | French | fr |
|
|
2547
|
-
* | 6 | Hebrew | he |
|
|
2548
|
-
* | 7 | Italian | it |
|
|
2549
|
-
* | 8 | Japanese | ja |
|
|
2550
|
-
* | 9 | Korean | ko |
|
|
2551
|
-
* | 10 | Dutch | nl |
|
|
2552
|
-
* | 11 | Polish | pl |
|
|
2553
|
-
* | 12 | Portuguese | pt |
|
|
2554
|
-
* | 13 | Russian | ru |
|
|
2555
|
-
* | 14 | Ukrainian | uk |
|
|
2694
|
+
* | 1 | Arabic | ar | 阿拉伯语 |
|
|
2695
|
+
* | 2 | German | de | 德语 |
|
|
2696
|
+
* | 3 | English | en | 英语 |
|
|
2697
|
+
* | 4 | Spanish | es | 西班牙语 |
|
|
2698
|
+
* | 5 | French | fr | 法语 |
|
|
2699
|
+
* | 6 | Hebrew | he | 希伯来语 |
|
|
2700
|
+
* | 7 | Italian | it | 意大利语 |
|
|
2701
|
+
* | 8 | Japanese | ja | 日语 |
|
|
2702
|
+
* | 9 | Korean | ko | 韩语 |
|
|
2703
|
+
* | 10 | Dutch | nl | 荷兰语 |
|
|
2704
|
+
* | 11 | Polish | pl | 波兰语 |
|
|
2705
|
+
* | 12 | Portuguese | pt | 葡萄牙语-巴西 |
|
|
2706
|
+
* | 13 | Russian | ru | 俄语 |
|
|
2707
|
+
* | 14 | Ukrainian | uk | 乌克兰语 |
|
|
2556
2708
|
*
|
|
2557
2709
|
* @param request - TextCorrectRequest
|
|
2558
2710
|
* @returns TextCorrectResponse
|
|
@@ -2562,28 +2714,32 @@ class Client extends openapi_core_1.default {
|
|
|
2562
2714
|
return await this.textCorrectWithOptions(request, runtime);
|
|
2563
2715
|
}
|
|
2564
2716
|
/**
|
|
2565
|
-
* 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-
|
|
2717
|
+
* 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 languages. If you do not specify a source language, automatic detection is performed.
|
|
2566
2718
|
*
|
|
2567
2719
|
* @remarks
|
|
2568
2720
|
* ## Product Introduction
|
|
2569
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
2721
|
+
* 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 languages. If you do not specify a source language, automatic detection is performed.
|
|
2570
2722
|
* ## Common scenarios
|
|
2571
|
-
* - Product titles: Marco MT
|
|
2572
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2723
|
+
* - Product titles: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
2724
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
2573
2725
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2574
|
-
* - Customer service conversations: In customer service scenarios,
|
|
2575
|
-
* Marco MT
|
|
2726
|
+
* - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language pairs.
|
|
2727
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2576
2728
|
* ## Features
|
|
2577
|
-
* - **Supported language
|
|
2578
|
-
*
|
|
2579
|
-
* - **
|
|
2580
|
-
*
|
|
2729
|
+
* - **Supported language pairs**
|
|
2730
|
+
* Marco MT supports translation between more than 100 languages and language detection for 24 languages. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
2731
|
+
* - **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 offers faster translation inference speed and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2733
|
+
* - **Supported text format types**
|
|
2734
|
+
* Currently supports text and html format types.
|
|
2735
|
+
* - **Translation intervention**
|
|
2736
|
+
* Supports custom translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
|
|
2581
2737
|
* ## Translation quality comparison
|
|
2582
2738
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2583
2739
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2584
2740
|
* | 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 |
|
|
2585
2741
|
* | 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 |
|
|
2586
|
-
* | 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
|
|
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 description — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
2587
2743
|
*
|
|
2588
2744
|
* @param tmpReq - TextTranslateRequest
|
|
2589
2745
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2635,28 +2791,32 @@ class Client extends openapi_core_1.default {
|
|
|
2635
2791
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextTranslateResponse({}));
|
|
2636
2792
|
}
|
|
2637
2793
|
/**
|
|
2638
|
-
* 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-
|
|
2794
|
+
* 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 languages. If you do not specify a source language, automatic detection is performed.
|
|
2639
2795
|
*
|
|
2640
2796
|
* @remarks
|
|
2641
2797
|
* ## Product Introduction
|
|
2642
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
2798
|
+
* 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 languages. If you do not specify a source language, automatic detection is performed.
|
|
2643
2799
|
* ## Common scenarios
|
|
2644
|
-
* - Product titles: Marco MT
|
|
2645
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
2800
|
+
* - Product titles: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
2801
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
2646
2802
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2647
|
-
* - Customer service conversations: In customer service scenarios,
|
|
2648
|
-
* Marco MT
|
|
2803
|
+
* - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language pairs.
|
|
2804
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2649
2805
|
* ## Features
|
|
2650
|
-
* - **Supported language
|
|
2651
|
-
*
|
|
2652
|
-
* - **
|
|
2653
|
-
*
|
|
2806
|
+
* - **Supported language pairs**
|
|
2807
|
+
* Marco MT supports translation between more than 100 languages and language detection for 24 languages. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
2808
|
+
* - **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 offers faster translation inference speed and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
2810
|
+
* - **Supported text format types**
|
|
2811
|
+
* Currently supports text and html format types.
|
|
2812
|
+
* - **Translation intervention**
|
|
2813
|
+
* Supports custom translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
|
|
2654
2814
|
* ## Translation quality comparison
|
|
2655
2815
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2656
2816
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2657
2817
|
* | 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 |
|
|
2658
2818
|
* | 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 |
|
|
2659
|
-
* | 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
|
|
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 description — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
2660
2820
|
*
|
|
2661
2821
|
* @param request - TextTranslateRequest
|
|
2662
2822
|
* @returns TextTranslateResponse
|
|
@@ -2666,25 +2826,25 @@ class Client extends openapi_core_1.default {
|
|
|
2666
2826
|
return await this.textTranslateWithOptions(request, runtime);
|
|
2667
2827
|
}
|
|
2668
2828
|
/**
|
|
2669
|
-
*
|
|
2829
|
+
* The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
|
|
2670
2830
|
*
|
|
2671
2831
|
* @remarks
|
|
2672
2832
|
* # Scenarios
|
|
2673
|
-
* -
|
|
2674
|
-
* -
|
|
2675
|
-
* - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography
|
|
2676
|
-
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual
|
|
2677
|
-
* - Standard product explanation and other high-frequency e-commerce scenarios:
|
|
2678
|
-
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video
|
|
2833
|
+
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
|
|
2834
|
+
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
|
|
2835
|
+
* - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
|
|
2836
|
+
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
|
|
2837
|
+
* - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
2838
|
+
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
|
|
2679
2839
|
* # Features
|
|
2680
|
-
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities
|
|
2681
|
-
* - Highly stable generation with low waste rate: Uses a deterministic generation
|
|
2682
|
-
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (
|
|
2683
|
-
* - Reference image priority + 6-axis consistency verification:
|
|
2684
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2685
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through
|
|
2686
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2687
|
-
* - Adapted
|
|
2840
|
+
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
|
|
2841
|
+
* - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
|
|
2842
|
+
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
|
|
2843
|
+
* - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
|
|
2844
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
|
|
2845
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
|
|
2846
|
+
* - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
|
|
2847
|
+
* - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
|
|
2688
2848
|
*
|
|
2689
2849
|
* @param tmpReq - VideoGenerationRequest
|
|
2690
2850
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2730,25 +2890,25 @@ class Client extends openapi_core_1.default {
|
|
|
2730
2890
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoGenerationResponse({}));
|
|
2731
2891
|
}
|
|
2732
2892
|
/**
|
|
2733
|
-
*
|
|
2893
|
+
* The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
|
|
2734
2894
|
*
|
|
2735
2895
|
* @remarks
|
|
2736
2896
|
* # Scenarios
|
|
2737
|
-
* -
|
|
2738
|
-
* -
|
|
2739
|
-
* - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography
|
|
2740
|
-
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual
|
|
2741
|
-
* - Standard product explanation and other high-frequency e-commerce scenarios:
|
|
2742
|
-
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video
|
|
2897
|
+
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
|
|
2898
|
+
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
|
|
2899
|
+
* - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
|
|
2900
|
+
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
|
|
2901
|
+
* - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
2902
|
+
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
|
|
2743
2903
|
* # Features
|
|
2744
|
-
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities
|
|
2745
|
-
* - Highly stable generation with low waste rate: Uses a deterministic generation
|
|
2746
|
-
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (
|
|
2747
|
-
* - Reference image priority + 6-axis consistency verification:
|
|
2748
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2749
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through
|
|
2750
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2751
|
-
* - Adapted
|
|
2904
|
+
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
|
|
2905
|
+
* - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
|
|
2906
|
+
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
|
|
2907
|
+
* - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
|
|
2908
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
|
|
2909
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
|
|
2910
|
+
* - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
|
|
2911
|
+
* - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
|
|
2752
2912
|
*
|
|
2753
2913
|
* @param request - VideoGenerationRequest
|
|
2754
2914
|
* @returns VideoGenerationResponse
|
|
@@ -2762,8 +2922,8 @@ class Client extends openapi_core_1.default {
|
|
|
2762
2922
|
*
|
|
2763
2923
|
* @remarks
|
|
2764
2924
|
* ## 1. Product Introduction
|
|
2765
|
-
* The
|
|
2766
|
-
* The API uses an asynchronous call mode: after submitting a translation task, you
|
|
2925
|
+
* 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.
|
|
2926
|
+
* The API uses an asynchronous call mode: after submitting a translation task, you receive a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
|
|
2767
2927
|
* ## 2. Common scenarios
|
|
2768
2928
|
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
|
|
2769
2929
|
*
|
|
@@ -2826,8 +2986,8 @@ class Client extends openapi_core_1.default {
|
|
|
2826
2986
|
*
|
|
2827
2987
|
* @remarks
|
|
2828
2988
|
* ## 1. Product Introduction
|
|
2829
|
-
* The
|
|
2830
|
-
* The API uses an asynchronous call mode: after submitting a translation task, you
|
|
2989
|
+
* 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.
|
|
2990
|
+
* The API uses an asynchronous call mode: after submitting a translation task, you receive a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
|
|
2831
2991
|
* ## 2. Common scenarios
|
|
2832
2992
|
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
|
|
2833
2993
|
*
|
|
@@ -2853,43 +3013,43 @@ class Client extends openapi_core_1.default {
|
|
|
2853
3013
|
return await this.videoTranslationWithOptions(request, runtime);
|
|
2854
3014
|
}
|
|
2855
3015
|
/**
|
|
2856
|
-
* 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.
|
|
3016
|
+
* 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. Users 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)
|
|
2857
3017
|
*
|
|
2858
3018
|
* @remarks
|
|
2859
3019
|
* # 1. Product Introduction
|
|
2860
|
-
* 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.
|
|
2861
|
-
* # 2.
|
|
2862
|
-
* Applicable to batch optimization of product images
|
|
2863
|
-
* * Detecting low-quality images that contain text, watermarks, logos, or
|
|
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. Users 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)
|
|
3021
|
+
* # 2. Applicable scenarios
|
|
3022
|
+
* 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 ad patches, allowing users to filter images that need processing
|
|
2864
3024
|
*
|
|
2865
|
-
* * Removing non-compliant elements such as watermarks, logos,
|
|
3025
|
+
* * Removing non-compliant elements such as watermarks, logos, ad patches, and Chinese text from original images
|
|
2866
3026
|
*
|
|
2867
3027
|
* * Removing the background around the product subject edges
|
|
2868
3028
|
*
|
|
2869
3029
|
* * Translating text within images into other languages
|
|
2870
3030
|
*
|
|
2871
|
-
* * Expanding images to other dimensions (by ratio, size,
|
|
3031
|
+
* * Expanding images to other dimensions (by ratio, size, etc.) with automatic background fill
|
|
2872
3032
|
*
|
|
2873
3033
|
* * Cropping images to specified dimensions
|
|
2874
3034
|
*
|
|
2875
|
-
* * Upscaling image
|
|
2876
|
-
* # 3.
|
|
2877
|
-
*
|
|
3035
|
+
* * Upscaling image pixels by a specified factor
|
|
3036
|
+
* # 3. Feature overview
|
|
3037
|
+
* Users provide a product image URL and select the desired AI capability combination through the Ability parameter (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 users determine whether an image contains certain specified elements, and the presence of elements affects subsequent AI capability selection, 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.
|
|
2878
3038
|
* 
|
|
2879
3039
|
* Each AI capability is described as follows:
|
|
2880
|
-
* 1. **Intelligent
|
|
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 with watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
2881
3041
|
*
|
|
2882
|
-
* 2. **Intelligent
|
|
3042
|
+
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates it from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with transparent or white backgrounds, supports custom background colors and target size cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
2883
3043
|
*
|
|
2884
|
-
* 3. **Intelligent
|
|
3044
|
+
* 3. **Intelligent Removal:** Automatically identifies and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and ad patches. Supports specifying removal of elements in the subject area or non-subject area separately, and also supports precise removal area specification through the Mask parameter for efficient batch compliance cleanup.
|
|
2885
3045
|
*
|
|
2886
|
-
* 4. **Image Translation Pro:** Leverages multimodal
|
|
3046
|
+
* 4. **Image Translation Pro:** Leverages multimodal large model technology to translate text in images into the target language and render it directly at the corresponding position in the original image. Supports over 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.
|
|
2887
3047
|
*
|
|
2888
|
-
* 5. **Intelligent
|
|
3048
|
+
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image field of 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–3.0×), and by pixel offset in up/down/left/right directions. AI automatically fills in naturally transitioning background content.
|
|
2889
3049
|
*
|
|
2890
|
-
* 6. **Intelligent
|
|
3050
|
+
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the image 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.
|
|
2891
3051
|
*
|
|
2892
|
-
* 7. **HD
|
|
3052
|
+
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images, supporting 2–4× magnification. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
2893
3053
|
* # 4. Before and after comparison
|
|
2894
3054
|
* | **Original image** | **Capabilities used** | **Output image** |
|
|
2895
3055
|
* | --- | --- | --- |
|
|
@@ -2907,7 +3067,7 @@ class Client extends openapi_core_1.default {
|
|
|
2907
3067
|
*
|
|
2908
3068
|
* * Intelligent removal
|
|
2909
3069
|
*
|
|
2910
|
-
* * HD upscaling | 
|
|
3070
|
+
* * HD upscaling |  |
|
|
2911
3071
|
*
|
|
2912
3072
|
* @param tmpReq - VisionFlowRequest
|
|
2913
3073
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3001,43 +3161,43 @@ class Client extends openapi_core_1.default {
|
|
|
3001
3161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VisionFlowResponse({}));
|
|
3002
3162
|
}
|
|
3003
3163
|
/**
|
|
3004
|
-
* 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.
|
|
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. Users 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)
|
|
3005
3165
|
*
|
|
3006
3166
|
* @remarks
|
|
3007
3167
|
* # 1. Product Introduction
|
|
3008
|
-
* 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.
|
|
3009
|
-
* # 2.
|
|
3010
|
-
* Applicable to batch optimization of product images
|
|
3011
|
-
* * Detecting low-quality images that contain text, watermarks, logos, or
|
|
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. Users 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)
|
|
3169
|
+
* # 2. Applicable scenarios
|
|
3170
|
+
* 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 ad patches, allowing users to filter images that need processing
|
|
3012
3172
|
*
|
|
3013
|
-
* * Removing non-compliant elements such as watermarks, logos,
|
|
3173
|
+
* * Removing non-compliant elements such as watermarks, logos, ad patches, and Chinese text from original images
|
|
3014
3174
|
*
|
|
3015
3175
|
* * Removing the background around the product subject edges
|
|
3016
3176
|
*
|
|
3017
3177
|
* * Translating text within images into other languages
|
|
3018
3178
|
*
|
|
3019
|
-
* * Expanding images to other dimensions (by ratio, size,
|
|
3179
|
+
* * Expanding images to other dimensions (by ratio, size, etc.) with automatic background fill
|
|
3020
3180
|
*
|
|
3021
3181
|
* * Cropping images to specified dimensions
|
|
3022
3182
|
*
|
|
3023
|
-
* * Upscaling image
|
|
3024
|
-
* # 3.
|
|
3025
|
-
*
|
|
3183
|
+
* * Upscaling image pixels by a specified factor
|
|
3184
|
+
* # 3. Feature overview
|
|
3185
|
+
* Users provide a product image URL and select the desired AI capability combination through the Ability parameter (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 users determine whether an image contains certain specified elements, and the presence of elements affects subsequent AI capability selection, 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.
|
|
3026
3186
|
* 
|
|
3027
3187
|
* Each AI capability is described as follows:
|
|
3028
|
-
* 1. **Intelligent
|
|
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 with watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
3029
3189
|
*
|
|
3030
|
-
* 2. **Intelligent
|
|
3190
|
+
* 2. **Intelligent Matting:** Automatically identifies the product subject in an image and precisely separates it from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with transparent or white backgrounds, supports custom background colors and target size cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
3031
3191
|
*
|
|
3032
|
-
* 3. **Intelligent
|
|
3192
|
+
* 3. **Intelligent Removal:** Automatically identifies and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and ad patches. Supports specifying removal of elements in the subject area or non-subject area separately, and also supports precise removal area specification through the Mask parameter for efficient batch compliance cleanup.
|
|
3033
3193
|
*
|
|
3034
|
-
* 4. **Image Translation Pro:** Leverages multimodal
|
|
3194
|
+
* 4. **Image Translation Pro:** Leverages multimodal large model technology to translate text in images into the target language and render it directly at the corresponding position in the original image. Supports over 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.
|
|
3035
3195
|
*
|
|
3036
|
-
* 5. **Intelligent
|
|
3196
|
+
* 5. **Intelligent Image Expansion:** Expands the image canvas using AI generation technology to broaden the image field of 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–3.0×), and by pixel offset in up/down/left/right directions. AI automatically fills in naturally transitioning background content.
|
|
3037
3197
|
*
|
|
3038
|
-
* 6. **Intelligent
|
|
3198
|
+
* 6. **Intelligent Cropping:** Intelligently crops images to specified dimensions, automatically identifies the image 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.
|
|
3039
3199
|
*
|
|
3040
|
-
* 7. **HD
|
|
3200
|
+
* 7. **HD Upscaling:** Enhances details and reduces noise while upscaling images, supporting 2–4× magnification. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
3041
3201
|
* # 4. Before and after comparison
|
|
3042
3202
|
* | **Original image** | **Capabilities used** | **Output image** |
|
|
3043
3203
|
* | --- | --- | --- |
|
|
@@ -3055,7 +3215,7 @@ class Client extends openapi_core_1.default {
|
|
|
3055
3215
|
*
|
|
3056
3216
|
* * Intelligent removal
|
|
3057
3217
|
*
|
|
3058
|
-
* * HD upscaling | 
|
|
3218
|
+
* * HD upscaling |  |
|
|
3059
3219
|
*
|
|
3060
3220
|
* @param request - VisionFlowRequest
|
|
3061
3221
|
* @returns VisionFlowResponse
|