@alicloud/aidge20260428 1.0.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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +1426 -0
- package/dist/client.js +2254 -0
- package/dist/client.js.map +1 -0
- package/dist/models/AssetOptimizeLiteRequest.d.ts +93 -0
- package/dist/models/AssetOptimizeLiteRequest.js +74 -0
- package/dist/models/AssetOptimizeLiteRequest.js.map +1 -0
- package/dist/models/AssetOptimizeLiteResponse.d.ts +19 -0
- package/dist/models/AssetOptimizeLiteResponse.js +69 -0
- package/dist/models/AssetOptimizeLiteResponse.js.map +1 -0
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +72 -0
- package/dist/models/AssetOptimizeLiteResponseBody.js +90 -0
- package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeProRequest.d.ts +117 -0
- package/dist/models/AssetOptimizeProRequest.js +83 -0
- package/dist/models/AssetOptimizeProRequest.js.map +1 -0
- package/dist/models/AssetOptimizeProResponse.d.ts +19 -0
- package/dist/models/AssetOptimizeProResponse.js +69 -0
- package/dist/models/AssetOptimizeProResponse.js.map +1 -0
- package/dist/models/AssetOptimizeProResponseBody.d.ts +70 -0
- package/dist/models/AssetOptimizeProResponseBody.js +88 -0
- package/dist/models/AssetOptimizeProResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +117 -0
- package/dist/models/AssetOptimizeProShrinkRequest.js +80 -0
- package/dist/models/AssetOptimizeProShrinkRequest.js.map +1 -0
- package/dist/models/CategoryAttributeMatchRequest.d.ts +89 -0
- package/dist/models/CategoryAttributeMatchRequest.js +75 -0
- package/dist/models/CategoryAttributeMatchRequest.js.map +1 -0
- package/dist/models/CategoryAttributeMatchResponse.d.ts +19 -0
- package/dist/models/CategoryAttributeMatchResponse.js +69 -0
- package/dist/models/CategoryAttributeMatchResponse.js.map +1 -0
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +218 -0
- package/dist/models/CategoryAttributeMatchResponseBody.js +168 -0
- package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -0
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +89 -0
- package/dist/models/CategoryAttributeMatchShrinkRequest.js +72 -0
- package/dist/models/CategoryAttributeMatchShrinkRequest.js.map +1 -0
- package/dist/models/CategoryMatchRequest.d.ts +79 -0
- package/dist/models/CategoryMatchRequest.js +70 -0
- package/dist/models/CategoryMatchRequest.js.map +1 -0
- package/dist/models/CategoryMatchResponse.d.ts +19 -0
- package/dist/models/CategoryMatchResponse.js +69 -0
- package/dist/models/CategoryMatchResponse.js.map +1 -0
- package/dist/models/CategoryMatchResponseBody.d.ts +117 -0
- package/dist/models/CategoryMatchResponseBody.js +103 -0
- package/dist/models/CategoryMatchResponseBody.js.map +1 -0
- package/dist/models/DocumentTranslateRequest.d.ts +51 -0
- package/dist/models/DocumentTranslateRequest.js +64 -0
- package/dist/models/DocumentTranslateRequest.js.map +1 -0
- package/dist/models/DocumentTranslateResponse.d.ts +19 -0
- package/dist/models/DocumentTranslateResponse.js +69 -0
- package/dist/models/DocumentTranslateResponse.js.map +1 -0
- package/dist/models/DocumentTranslateResponseBody.d.ts +72 -0
- package/dist/models/DocumentTranslateResponseBody.js +88 -0
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -0
- package/dist/models/ImageCroppingRequest.d.ts +43 -0
- package/dist/models/ImageCroppingRequest.js +62 -0
- package/dist/models/ImageCroppingRequest.js.map +1 -0
- package/dist/models/ImageCroppingResponse.d.ts +19 -0
- package/dist/models/ImageCroppingResponse.js +69 -0
- package/dist/models/ImageCroppingResponse.js.map +1 -0
- package/dist/models/ImageCroppingResponseBody.d.ts +96 -0
- package/dist/models/ImageCroppingResponseBody.js +97 -0
- package/dist/models/ImageCroppingResponseBody.js.map +1 -0
- package/dist/models/ImageMattingRequest.d.ts +59 -0
- package/dist/models/ImageMattingRequest.js +66 -0
- package/dist/models/ImageMattingRequest.js.map +1 -0
- package/dist/models/ImageMattingResponse.d.ts +19 -0
- package/dist/models/ImageMattingResponse.js +69 -0
- package/dist/models/ImageMattingResponse.js.map +1 -0
- package/dist/models/ImageMattingResponseBody.d.ts +106 -0
- package/dist/models/ImageMattingResponseBody.js +99 -0
- package/dist/models/ImageMattingResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionRequest.d.ts +79 -0
- package/dist/models/ImageRecognitionRequest.js +78 -0
- package/dist/models/ImageRecognitionRequest.js.map +1 -0
- package/dist/models/ImageRecognitionResponse.d.ts +19 -0
- package/dist/models/ImageRecognitionResponse.js +69 -0
- package/dist/models/ImageRecognitionResponse.js.map +1 -0
- package/dist/models/ImageRecognitionResponseBody.d.ts +173 -0
- package/dist/models/ImageRecognitionResponseBody.js +120 -0
- package/dist/models/ImageRecognitionResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +79 -0
- package/dist/models/ImageRecognitionShrinkRequest.js +72 -0
- package/dist/models/ImageRecognitionShrinkRequest.js.map +1 -0
- package/dist/models/ImageRemoveRequest.d.ts +49 -0
- package/dist/models/ImageRemoveRequest.js +70 -0
- package/dist/models/ImageRemoveRequest.js.map +1 -0
- package/dist/models/ImageRemoveResponse.d.ts +19 -0
- package/dist/models/ImageRemoveResponse.js +69 -0
- package/dist/models/ImageRemoveResponse.js.map +1 -0
- package/dist/models/ImageRemoveResponseBody.d.ts +96 -0
- package/dist/models/ImageRemoveResponseBody.js +97 -0
- package/dist/models/ImageRemoveResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveShrinkRequest.d.ts +49 -0
- package/dist/models/ImageRemoveShrinkRequest.js +64 -0
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -0
- package/dist/models/ImageTranslationProRequest.d.ts +83 -0
- package/dist/models/ImageTranslationProRequest.js +72 -0
- package/dist/models/ImageTranslationProRequest.js.map +1 -0
- package/dist/models/ImageTranslationProResponse.d.ts +19 -0
- package/dist/models/ImageTranslationProResponse.js +69 -0
- package/dist/models/ImageTranslationProResponse.js.map +1 -0
- package/dist/models/ImageTranslationProResponseBody.d.ts +533 -0
- package/dist/models/ImageTranslationProResponseBody.js +378 -0
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationStandardRequest.d.ts +67 -0
- package/dist/models/ImageTranslationStandardRequest.js +68 -0
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -0
- package/dist/models/ImageTranslationStandardResponse.d.ts +19 -0
- package/dist/models/ImageTranslationStandardResponse.js +69 -0
- package/dist/models/ImageTranslationStandardResponse.js.map +1 -0
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +80 -0
- package/dist/models/ImageTranslationStandardResponseBody.js +93 -0
- package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -0
- package/dist/models/LanguageDetectRequest.d.ts +23 -0
- package/dist/models/LanguageDetectRequest.js +58 -0
- package/dist/models/LanguageDetectRequest.js.map +1 -0
- package/dist/models/LanguageDetectResponse.d.ts +19 -0
- package/dist/models/LanguageDetectResponse.js +69 -0
- package/dist/models/LanguageDetectResponse.js.map +1 -0
- package/dist/models/LanguageDetectResponseBody.d.ts +82 -0
- package/dist/models/LanguageDetectResponseBody.js +93 -0
- package/dist/models/LanguageDetectResponseBody.js.map +1 -0
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +33 -0
- package/dist/models/PackageWeightSizeCheckRequest.js +60 -0
- package/dist/models/PackageWeightSizeCheckRequest.js.map +1 -0
- package/dist/models/PackageWeightSizeCheckResponse.d.ts +19 -0
- package/dist/models/PackageWeightSizeCheckResponse.js +69 -0
- package/dist/models/PackageWeightSizeCheckResponse.js.map +1 -0
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +70 -0
- package/dist/models/PackageWeightSizeCheckResponseBody.js +88 -0
- package/dist/models/PackageWeightSizeCheckResponseBody.js.map +1 -0
- package/dist/models/QueryAsyncTaskResultRequest.d.ts +21 -0
- package/dist/models/QueryAsyncTaskResultRequest.js +58 -0
- package/dist/models/QueryAsyncTaskResultRequest.js.map +1 -0
- package/dist/models/QueryAsyncTaskResultResponse.d.ts +19 -0
- package/dist/models/QueryAsyncTaskResultResponse.js +69 -0
- package/dist/models/QueryAsyncTaskResultResponse.js.map +1 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +95 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js +97 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -0
- package/dist/models/SizeChartDetectRequest.d.ts +31 -0
- package/dist/models/SizeChartDetectRequest.js +60 -0
- package/dist/models/SizeChartDetectRequest.js.map +1 -0
- package/dist/models/SizeChartDetectResponse.d.ts +19 -0
- package/dist/models/SizeChartDetectResponse.js +69 -0
- package/dist/models/SizeChartDetectResponse.js.map +1 -0
- package/dist/models/SizeChartDetectResponseBody.d.ts +82 -0
- package/dist/models/SizeChartDetectResponseBody.js +93 -0
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -0
- package/dist/models/SizeChartExtractRequest.d.ts +39 -0
- package/dist/models/SizeChartExtractRequest.js +65 -0
- package/dist/models/SizeChartExtractRequest.js.map +1 -0
- package/dist/models/SizeChartExtractResponse.d.ts +19 -0
- package/dist/models/SizeChartExtractResponse.js +69 -0
- package/dist/models/SizeChartExtractResponse.js.map +1 -0
- package/dist/models/SizeChartExtractResponseBody.d.ts +70 -0
- package/dist/models/SizeChartExtractResponseBody.js +88 -0
- package/dist/models/SizeChartExtractResponseBody.js.map +1 -0
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +39 -0
- package/dist/models/SizeChartExtractShrinkRequest.js +62 -0
- package/dist/models/SizeChartExtractShrinkRequest.js.map +1 -0
- package/dist/models/TextCorrectRequest.d.ts +33 -0
- package/dist/models/TextCorrectRequest.js +60 -0
- package/dist/models/TextCorrectRequest.js.map +1 -0
- package/dist/models/TextCorrectResponse.d.ts +19 -0
- package/dist/models/TextCorrectResponse.js +69 -0
- package/dist/models/TextCorrectResponse.js.map +1 -0
- package/dist/models/TextCorrectResponseBody.d.ts +80 -0
- package/dist/models/TextCorrectResponseBody.js +93 -0
- package/dist/models/TextCorrectResponseBody.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +57 -0
- package/dist/models/TextTranslateRequest.js +69 -0
- package/dist/models/TextTranslateRequest.js.map +1 -0
- package/dist/models/TextTranslateResponse.d.ts +19 -0
- package/dist/models/TextTranslateResponse.js +69 -0
- package/dist/models/TextTranslateResponse.js.map +1 -0
- package/dist/models/TextTranslateResponseBody.d.ts +113 -0
- package/dist/models/TextTranslateResponseBody.js +119 -0
- package/dist/models/TextTranslateResponseBody.js.map +1 -0
- package/dist/models/TextTranslateShrinkRequest.d.ts +57 -0
- package/dist/models/TextTranslateShrinkRequest.js +66 -0
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -0
- package/dist/models/VisionFlowRequest.d.ts +153 -0
- package/dist/models/VisionFlowRequest.js +105 -0
- package/dist/models/VisionFlowRequest.js.map +1 -0
- package/dist/models/VisionFlowResponse.d.ts +19 -0
- package/dist/models/VisionFlowResponse.js +69 -0
- package/dist/models/VisionFlowResponse.js.map +1 -0
- package/dist/models/VisionFlowResponseBody.d.ts +70 -0
- package/dist/models/VisionFlowResponseBody.js +88 -0
- package/dist/models/VisionFlowResponseBody.js.map +1 -0
- package/dist/models/VisionFlowShrinkRequest.d.ts +153 -0
- package/dist/models/VisionFlowShrinkRequest.js +90 -0
- package/dist/models/VisionFlowShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +95 -0
- package/dist/models/model.js +195 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +29 -0
- package/src/client.ts +2378 -0
- package/src/models/AssetOptimizeLiteRequest.ts +122 -0
- package/src/models/AssetOptimizeLiteResponse.ts +40 -0
- package/src/models/AssetOptimizeLiteResponseBody.ts +106 -0
- package/src/models/AssetOptimizeProRequest.ts +155 -0
- package/src/models/AssetOptimizeProResponse.ts +40 -0
- package/src/models/AssetOptimizeProResponseBody.ts +104 -0
- package/src/models/AssetOptimizeProShrinkRequest.ts +152 -0
- package/src/models/CategoryAttributeMatchRequest.ts +119 -0
- package/src/models/CategoryAttributeMatchResponse.ts +40 -0
- package/src/models/CategoryAttributeMatchResponseBody.ts +314 -0
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +116 -0
- package/src/models/CategoryMatchRequest.ts +104 -0
- package/src/models/CategoryMatchResponse.ts +40 -0
- package/src/models/CategoryMatchResponseBody.ts +164 -0
- package/src/models/DocumentTranslateRequest.ts +70 -0
- package/src/models/DocumentTranslateResponse.ts +40 -0
- package/src/models/DocumentTranslateResponseBody.ts +106 -0
- package/src/models/ImageCroppingRequest.ts +60 -0
- package/src/models/ImageCroppingResponse.ts +40 -0
- package/src/models/ImageCroppingResponseBody.ts +137 -0
- package/src/models/ImageMattingRequest.ts +80 -0
- package/src/models/ImageMattingResponse.ts +40 -0
- package/src/models/ImageMattingResponseBody.ts +149 -0
- package/src/models/ImageRecognitionRequest.ts +112 -0
- package/src/models/ImageRecognitionResponse.ts +40 -0
- package/src/models/ImageRecognitionResponseBody.ts +237 -0
- package/src/models/ImageRecognitionShrinkRequest.ts +106 -0
- package/src/models/ImageRemoveRequest.ts +74 -0
- package/src/models/ImageRemoveResponse.ts +40 -0
- package/src/models/ImageRemoveResponseBody.ts +137 -0
- package/src/models/ImageRemoveShrinkRequest.ts +68 -0
- package/src/models/ImageTranslationProRequest.ts +110 -0
- package/src/models/ImageTranslationProResponse.ts +40 -0
- package/src/models/ImageTranslationProResponseBody.ts +774 -0
- package/src/models/ImageTranslationStandardRequest.ts +90 -0
- package/src/models/ImageTranslationStandardResponse.ts +40 -0
- package/src/models/ImageTranslationStandardResponseBody.ts +117 -0
- package/src/models/LanguageDetectRequest.ts +36 -0
- package/src/models/LanguageDetectResponse.ts +40 -0
- package/src/models/LanguageDetectResponseBody.ts +119 -0
- package/src/models/PackageWeightSizeCheckRequest.ts +48 -0
- package/src/models/PackageWeightSizeCheckResponse.ts +40 -0
- package/src/models/PackageWeightSizeCheckResponseBody.ts +104 -0
- package/src/models/QueryAsyncTaskResultRequest.ts +34 -0
- package/src/models/QueryAsyncTaskResultResponse.ts +40 -0
- package/src/models/QueryAsyncTaskResultResponseBody.ts +136 -0
- package/src/models/SizeChartDetectRequest.ts +46 -0
- package/src/models/SizeChartDetectResponse.ts +40 -0
- package/src/models/SizeChartDetectResponseBody.ts +119 -0
- package/src/models/SizeChartExtractRequest.ts +59 -0
- package/src/models/SizeChartExtractResponse.ts +40 -0
- package/src/models/SizeChartExtractResponseBody.ts +104 -0
- package/src/models/SizeChartExtractShrinkRequest.ts +56 -0
- package/src/models/TextCorrectRequest.ts +48 -0
- package/src/models/TextCorrectResponse.ts +40 -0
- package/src/models/TextCorrectResponseBody.ts +117 -0
- package/src/models/TextTranslateRequest.ts +81 -0
- package/src/models/TextTranslateResponse.ts +40 -0
- package/src/models/TextTranslateResponseBody.ts +167 -0
- package/src/models/TextTranslateShrinkRequest.ts +78 -0
- package/src/models/VisionFlowRequest.ts +213 -0
- package/src/models/VisionFlowResponse.ts +40 -0
- package/src/models/VisionFlowResponseBody.ts +104 -0
- package/src/models/VisionFlowShrinkRequest.ts +198 -0
- package/src/models/model.ts +95 -0
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,1426 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import OpenApi from '@alicloud/openapi-core';
|
|
3
|
+
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
4
|
+
import * as $_model from './models/model';
|
|
5
|
+
export * from './models/model';
|
|
6
|
+
export default class Client extends OpenApi {
|
|
7
|
+
constructor(config: $OpenApiUtil.Config);
|
|
8
|
+
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
}, endpoint: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* A one-click cross-platform product material optimization service for cross-border e-commerce sellers (minimum cost version). Input product links from source platforms to generate optimized materials including titles, attributes, main images, SKU images, detail images, and descriptions that comply with the target platform\\"s requirements. Uses officially pre-built minimum-cost workflows, primarily based on filtering and lightweight processing without invoking high-cost image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* ## Product Introduction
|
|
16
|
+
* A one-click cross-platform product material optimization service for cross-border e-commerce sellers (minimum cost version). Input product links from source platforms to generate optimized materials including titles, attributes, main images, SKU images, detail images, and descriptions that comply with the target platform\\"s requirements. Uses officially pre-built minimum-cost workflows, primarily based on filtering and lightweight processing without invoking high-cost image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
17
|
+
* ## Applicable Scenarios
|
|
18
|
+
* Suitable for cost-sensitive cross-platform product listing scenarios where speed, volume, and affordability are top priorities: for example, bulk listing from 1688 to TEMU, high-SKU inventory batch uploads, entry-level AI processing capabilities provided by top sellers and ERP/SaaS platforms, and merchants with high daily processing volumes but low requirements for marketing performance.
|
|
19
|
+
* By filtering images containing watermarks or non-compliant elements and prioritizing clean original images, it helps merchants complete cross-platform listings at minimal cost.
|
|
20
|
+
* ## Feature Overview
|
|
21
|
+
* This service uses an officially pre-built "Minimum Cost" product optimization workflow, covering the full pipeline from material acquisition, compliance filtering, text optimization, to image processing:
|
|
22
|
+
* 1. Automatically parses 1688 product links to extract multiple material types including titles, SKUs, main images, detail images, and attributes;
|
|
23
|
+
* 2. Performs text filtering and SEO optimization based on TEMU platform blacklisted terms and compliance rules;
|
|
24
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing filtering and selecting clean original images. SKU images and a small number of main images are processed using image translation capabilities to comply with platform standards (high-conversion images with marketing text may be filtered out);
|
|
25
|
+
* 4. Completes category matching, attribute filling, and localization rewriting according to target platform requirements.
|
|
26
|
+
*
|
|
27
|
+
* @param request - AssetOptimizeLiteRequest
|
|
28
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
29
|
+
* @returns AssetOptimizeLiteResponse
|
|
30
|
+
*/
|
|
31
|
+
assetOptimizeLiteWithOptions(request: $_model.AssetOptimizeLiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssetOptimizeLiteResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* A one-click cross-platform product material optimization service for cross-border e-commerce sellers (minimum cost version). Input product links from source platforms to generate optimized materials including titles, attributes, main images, SKU images, detail images, and descriptions that comply with the target platform\\"s requirements. Uses officially pre-built minimum-cost workflows, primarily based on filtering and lightweight processing without invoking high-cost image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* ## Product Introduction
|
|
37
|
+
* A one-click cross-platform product material optimization service for cross-border e-commerce sellers (minimum cost version). Input product links from source platforms to generate optimized materials including titles, attributes, main images, SKU images, detail images, and descriptions that comply with the target platform\\"s requirements. Uses officially pre-built minimum-cost workflows, primarily based on filtering and lightweight processing without invoking high-cost image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
38
|
+
* ## Applicable Scenarios
|
|
39
|
+
* Suitable for cost-sensitive cross-platform product listing scenarios where speed, volume, and affordability are top priorities: for example, bulk listing from 1688 to TEMU, high-SKU inventory batch uploads, entry-level AI processing capabilities provided by top sellers and ERP/SaaS platforms, and merchants with high daily processing volumes but low requirements for marketing performance.
|
|
40
|
+
* By filtering images containing watermarks or non-compliant elements and prioritizing clean original images, it helps merchants complete cross-platform listings at minimal cost.
|
|
41
|
+
* ## Feature Overview
|
|
42
|
+
* This service uses an officially pre-built "Minimum Cost" product optimization workflow, covering the full pipeline from material acquisition, compliance filtering, text optimization, to image processing:
|
|
43
|
+
* 1. Automatically parses 1688 product links to extract multiple material types including titles, SKUs, main images, detail images, and attributes;
|
|
44
|
+
* 2. Performs text filtering and SEO optimization based on TEMU platform blacklisted terms and compliance rules;
|
|
45
|
+
* 3. Intelligently identifies watermarks, logos, and Chinese text in images, prioritizing filtering and selecting clean original images. SKU images and a small number of main images are processed using image translation capabilities to comply with platform standards (high-conversion images with marketing text may be filtered out);
|
|
46
|
+
* 4. Completes category matching, attribute filling, and localization rewriting according to target platform requirements.
|
|
47
|
+
*
|
|
48
|
+
* @param request - AssetOptimizeLiteRequest
|
|
49
|
+
* @returns AssetOptimizeLiteResponse
|
|
50
|
+
*/
|
|
51
|
+
assetOptimizeLite(request: $_model.AssetOptimizeLiteRequest): Promise<$_model.AssetOptimizeLiteResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Provides a one-click cross-platform product listing optimization service (best effect edition) for cross-border e-commerce sellers. Takes 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 official pre-built best-effect workflow to maximize AI capabilities, retains and localizes brand marketing assets, and outputs category-specific assets such as size charts for apparel categories. (Asynchronous).
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* ## Product Introduction
|
|
57
|
+
* A one-click cross-platform product listing optimization service (best effect edition) for cross-border e-commerce sellers. Takes 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.
|
|
58
|
+
* ## Common scenarios
|
|
59
|
+
* Suitable for scenarios that demand high-quality cross-platform product listing assets and strong conversion performance. Examples include categories with high dependency on marketing assets such as apparel, accessories, beauty, and home goods. Also suitable for brand merchants and high-value products that need to retain marketing images with embedded 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.
|
|
60
|
+
* ## Features
|
|
61
|
+
* This service uses the official pre-built "Best Effect" product optimization workflow, covering the entire pipeline from asset retrieval, diagnosis, filtering, and optimization to output:
|
|
62
|
+
* 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.
|
|
63
|
+
* 2. Uses LLM-based text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
64
|
+
* 3. Invokes multiple image processing capabilities including intelligent recognition, intelligent background removal, intelligent erasure, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling.
|
|
65
|
+
* 4. Outputs category-specific assets, such as size charts and package weight/dimensions for apparel categories.
|
|
66
|
+
* 5. Outputs a standardized product asset package ready for direct listing.
|
|
67
|
+
*
|
|
68
|
+
* @param tmpReq - AssetOptimizeProRequest
|
|
69
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
70
|
+
* @returns AssetOptimizeProResponse
|
|
71
|
+
*/
|
|
72
|
+
assetOptimizeProWithOptions(tmpReq: $_model.AssetOptimizeProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssetOptimizeProResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Provides a one-click cross-platform product listing optimization service (best effect edition) for cross-border e-commerce sellers. Takes 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 official pre-built best-effect workflow to maximize AI capabilities, retains and localizes brand marketing assets, and outputs category-specific assets such as size charts for apparel categories. (Asynchronous).
|
|
75
|
+
*
|
|
76
|
+
* @remarks
|
|
77
|
+
* ## Product Introduction
|
|
78
|
+
* A one-click cross-platform product listing optimization service (best effect edition) for cross-border e-commerce sellers. Takes 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.
|
|
79
|
+
* ## Common scenarios
|
|
80
|
+
* Suitable for scenarios that demand high-quality cross-platform product listing assets and strong conversion performance. Examples include categories with high dependency on marketing assets such as apparel, accessories, beauty, and home goods. Also suitable for brand merchants and high-value products that need to retain marketing images with embedded 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.
|
|
81
|
+
* ## Features
|
|
82
|
+
* This service uses the official pre-built "Best Effect" product optimization workflow, covering the entire pipeline from asset retrieval, diagnosis, filtering, and optimization to output:
|
|
83
|
+
* 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.
|
|
84
|
+
* 2. Uses LLM-based text compliance filtering, SEO keyword optimization, five-point description generation, and multilingual localization rewriting.
|
|
85
|
+
* 3. Invokes multiple image processing capabilities including intelligent recognition, intelligent background removal, intelligent erasure, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling.
|
|
86
|
+
* 4. Outputs category-specific assets, such as size charts and package weight/dimensions for apparel categories.
|
|
87
|
+
* 5. Outputs a standardized product asset package ready for direct listing.
|
|
88
|
+
*
|
|
89
|
+
* @param request - AssetOptimizeProRequest
|
|
90
|
+
* @returns AssetOptimizeProResponse
|
|
91
|
+
*/
|
|
92
|
+
assetOptimizePro(request: $_model.AssetOptimizeProRequest): Promise<$_model.AssetOptimizeProResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* 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).
|
|
95
|
+
*
|
|
96
|
+
* @remarks
|
|
97
|
+
* # Scenarios
|
|
98
|
+
* Cross-platform product listing attribute filling: When merchants list products across platforms, different platforms such as the source platform and the TEMU platform require different attribute fields for different categories, with complex hierarchical associations (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 applicable to scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
99
|
+
* # Features
|
|
100
|
+
* 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, and completes two core tasks: ① Matches the precise category path for the product on the TEMU platform. ② Automatically fills in the required attributes under that category (such as material, battery properties, size, and connectivity), and returns the confidence score and reasoning for each attribute. The API uses synchronous mode and returns results immediately upon invocation.
|
|
101
|
+
* # Comparison
|
|
102
|
+
* The following example shows the attributes of a USB fan:
|
|
103
|
+
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
104
|
+
* | --- | --- | --- | --- | --- |
|
|
105
|
+
* | 品牌 | 其他 | 供电方式 | USB充电(内置电池) | No |
|
|
106
|
+
* | 续航时长 | 3-6h(含) | 可充电电池 | 锂系电池 | No |
|
|
107
|
+
* | 附加功能 | 数显 | 电池容量(mAh) | 4000 | Yes |
|
|
108
|
+
* | 内置蓄电池容量 | 2000mAh-4000mAh(含) | 风扇功能 | 高速特征 | No |
|
|
109
|
+
* | 货号 | X699 | 控制方式 | 按键 | Yes |
|
|
110
|
+
* | 主要下游平台 | ebay,亚马逊,wish,速卖通,独立站,LAZADA,其他 | 完成类型 | 涂漆 | Yes |
|
|
111
|
+
* | 有可授权的自有品牌 | 否 | 推荐使用 | 冷却 | No |
|
|
112
|
+
* | 尺寸 | 65\\*60\\*171 | 电风扇设计 | 可穿戴风扇 | No |
|
|
113
|
+
* | 适用送礼场合 | 个人礼品 | 包含的组件 | 无 | No |
|
|
114
|
+
* | 外壳工艺 | 喷涂(UV漆,橡胶漆,金属漆,钢琴烤漆,珠光粉) | 材料 | 塑料 | No |
|
|
115
|
+
* | 包装体积 | 65\\*60\\*171 | 特殊功能 | 便携式 | No |
|
|
116
|
+
* | 外观尺寸 | 51\\*36\\*34 | 室内外使用 | 室内室外均可 | No |
|
|
117
|
+
* | 风速档位 | 3档 | 品牌名 | 无 | No |
|
|
118
|
+
* | 操作方式 | 普通按钮 | | | |
|
|
119
|
+
* | 扇叶材质 | ABS | | | |
|
|
120
|
+
* | 电源方式 | USB | | | |
|
|
121
|
+
* | 是否内置电池 | 内置电池 | | | |
|
|
122
|
+
* | 是否专利货源 | 否 | | | |
|
|
123
|
+
* | 颜色 | X699风扇-黄色,X699风扇-浅紫色,X699风扇-天蓝色,X699风扇-橙色,X699风扇-浅绿色,普通小风扇 | | | |
|
|
124
|
+
* | 主要销售地区 | 日韩,非洲,韩国,日本,欧洲,南美,东南亚,北美,东北亚,中东,拉丁美洲,欧美,其他 | | | |
|
|
125
|
+
* | 是否跨境出口专供货源 | 是 | | | |
|
|
126
|
+
* | 风格 | 清新 | | | |
|
|
127
|
+
* | 电机类型 | 无刷电机 | | | |
|
|
128
|
+
* | 噪音 | 36dB(A)-45dB(A)(含) | | | |
|
|
129
|
+
* | 产品净重 | 125g | | | |
|
|
130
|
+
* | 扇叶数量 | 6片及以上 | | | |
|
|
131
|
+
* | 风扇分类 | 手持风扇 | | | |.
|
|
132
|
+
*
|
|
133
|
+
* @param tmpReq - CategoryAttributeMatchRequest
|
|
134
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
135
|
+
* @returns CategoryAttributeMatchResponse
|
|
136
|
+
*/
|
|
137
|
+
categoryAttributeMatchWithOptions(tmpReq: $_model.CategoryAttributeMatchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CategoryAttributeMatchResponse>;
|
|
138
|
+
/**
|
|
139
|
+
* 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).
|
|
140
|
+
*
|
|
141
|
+
* @remarks
|
|
142
|
+
* # Scenarios
|
|
143
|
+
* Cross-platform product listing attribute filling: When merchants list products across platforms, different platforms such as the source platform and the TEMU platform require different attribute fields for different categories, with complex hierarchical associations (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 applicable to scenarios such as automated bulk listing for top sellers, ERP/SaaS platform integration, and quick product listing for SMB merchants.
|
|
144
|
+
* # Features
|
|
145
|
+
* 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, and completes two core tasks: ① Matches the precise category path for the product on the TEMU platform. ② Automatically fills in the required attributes under that category (such as material, battery properties, size, and connectivity), and returns the confidence score and reasoning for each attribute. The API uses synchronous mode and returns results immediately upon invocation.
|
|
146
|
+
* # Comparison
|
|
147
|
+
* The following example shows the attributes of a USB fan:
|
|
148
|
+
* | **1688 Attribute** | **1688 Attribute Value** | **TEMU Attribute** | **TEMU Attribute Value** | **Existing in 1688** |
|
|
149
|
+
* | --- | --- | --- | --- | --- |
|
|
150
|
+
* | 品牌 | 其他 | 供电方式 | USB充电(内置电池) | No |
|
|
151
|
+
* | 续航时长 | 3-6h(含) | 可充电电池 | 锂系电池 | No |
|
|
152
|
+
* | 附加功能 | 数显 | 电池容量(mAh) | 4000 | Yes |
|
|
153
|
+
* | 内置蓄电池容量 | 2000mAh-4000mAh(含) | 风扇功能 | 高速特征 | No |
|
|
154
|
+
* | 货号 | X699 | 控制方式 | 按键 | Yes |
|
|
155
|
+
* | 主要下游平台 | ebay,亚马逊,wish,速卖通,独立站,LAZADA,其他 | 完成类型 | 涂漆 | Yes |
|
|
156
|
+
* | 有可授权的自有品牌 | 否 | 推荐使用 | 冷却 | No |
|
|
157
|
+
* | 尺寸 | 65\\*60\\*171 | 电风扇设计 | 可穿戴风扇 | No |
|
|
158
|
+
* | 适用送礼场合 | 个人礼品 | 包含的组件 | 无 | No |
|
|
159
|
+
* | 外壳工艺 | 喷涂(UV漆,橡胶漆,金属漆,钢琴烤漆,珠光粉) | 材料 | 塑料 | No |
|
|
160
|
+
* | 包装体积 | 65\\*60\\*171 | 特殊功能 | 便携式 | No |
|
|
161
|
+
* | 外观尺寸 | 51\\*36\\*34 | 室内外使用 | 室内室外均可 | No |
|
|
162
|
+
* | 风速档位 | 3档 | 品牌名 | 无 | No |
|
|
163
|
+
* | 操作方式 | 普通按钮 | | | |
|
|
164
|
+
* | 扇叶材质 | ABS | | | |
|
|
165
|
+
* | 电源方式 | USB | | | |
|
|
166
|
+
* | 是否内置电池 | 内置电池 | | | |
|
|
167
|
+
* | 是否专利货源 | 否 | | | |
|
|
168
|
+
* | 颜色 | X699风扇-黄色,X699风扇-浅紫色,X699风扇-天蓝色,X699风扇-橙色,X699风扇-浅绿色,普通小风扇 | | | |
|
|
169
|
+
* | 主要销售地区 | 日韩,非洲,韩国,日本,欧洲,南美,东南亚,北美,东北亚,中东,拉丁美洲,欧美,其他 | | | |
|
|
170
|
+
* | 是否跨境出口专供货源 | 是 | | | |
|
|
171
|
+
* | 风格 | 清新 | | | |
|
|
172
|
+
* | 电机类型 | 无刷电机 | | | |
|
|
173
|
+
* | 噪音 | 36dB(A)-45dB(A)(含) | | | |
|
|
174
|
+
* | 产品净重 | 125g | | | |
|
|
175
|
+
* | 扇叶数量 | 6片及以上 | | | |
|
|
176
|
+
* | 风扇分类 | 手持风扇 | | | |.
|
|
177
|
+
*
|
|
178
|
+
* @param request - CategoryAttributeMatchRequest
|
|
179
|
+
* @returns CategoryAttributeMatchResponse
|
|
180
|
+
*/
|
|
181
|
+
categoryAttributeMatch(request: $_model.CategoryAttributeMatchRequest): Promise<$_model.CategoryAttributeMatchResponse>;
|
|
182
|
+
/**
|
|
183
|
+
* Provides a large language model-based cross-platform product category intelligent 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 sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
184
|
+
*
|
|
185
|
+
* @remarks
|
|
186
|
+
* ## Product Introduction
|
|
187
|
+
* Provides a large language model-based cross-platform product category intelligent 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 sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
188
|
+
* ## Common scenarios
|
|
189
|
+
* Cross-platform product listing: After sourcing products, sellers need to map them to the correct categories in the target platform\\"s category tree. Manually selecting categories requires familiarity with the target platform\\"s entire category structure, which is time-consuming, labor-intensive, and error-prone. Incorrect category mapping can cause products to be delisted.
|
|
190
|
+
* This service automates category mapping and is suitable for bulk API calls from large sellers\\" proprietary systems, integration into ERP/SaaS platforms for automated listing workflows, and quick single-product listing for SMB sellers.
|
|
191
|
+
* The current version supports only TEMU as the target listing platform. Automatic retrieval of product information from source platforms is not yet supported and requires manual parameter input. This capability and support for additional source and target platforms will be added in future releases.
|
|
192
|
+
* ## Functions and features
|
|
193
|
+
* You can 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 full TEMU platform category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0–100), and matching reason. The API uses synchronous mode and returns results immediately, making it suitable for embedding in real-time business workflows.
|
|
194
|
+
* ## Demo
|
|
195
|
+
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
196
|
+
* | --- | --- | --- | --- | --- |
|
|
197
|
+
* | 1688 |  | USB风扇、迷你风扇 | TEMU | 家电
|
|
198
|
+
* \\>加热、冷却和空气质量电器
|
|
199
|
+
* \\>电风扇
|
|
200
|
+
* \\>USB 风扇 |
|
|
201
|
+
* | 1688 |  | 手链 | TEMU | 服装、鞋靴和珠宝饰品
|
|
202
|
+
* \\>女士时尚
|
|
203
|
+
* \\>女士饰品
|
|
204
|
+
* \\>女士时尚手链、手镯
|
|
205
|
+
* \\>女士时尚吊饰和吊饰手链
|
|
206
|
+
* \\>女士时尚吊饰手链
|
|
207
|
+
* \\>女士时尚链式吊饰手链 |.
|
|
208
|
+
*
|
|
209
|
+
* @param request - CategoryMatchRequest
|
|
210
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
211
|
+
* @returns CategoryMatchResponse
|
|
212
|
+
*/
|
|
213
|
+
categoryMatchWithOptions(request: $_model.CategoryMatchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CategoryMatchResponse>;
|
|
214
|
+
/**
|
|
215
|
+
* Provides a large language model-based cross-platform product category intelligent 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 sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
216
|
+
*
|
|
217
|
+
* @remarks
|
|
218
|
+
* ## Product Introduction
|
|
219
|
+
* Provides a large language model-based cross-platform product category intelligent 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 sellers quickly select categories for cross-platform product listing. (Synchronous)
|
|
220
|
+
* ## Common scenarios
|
|
221
|
+
* Cross-platform product listing: After sourcing products, sellers need to map them to the correct categories in the target platform\\"s category tree. Manually selecting categories requires familiarity with the target platform\\"s entire category structure, which is time-consuming, labor-intensive, and error-prone. Incorrect category mapping can cause products to be delisted.
|
|
222
|
+
* This service automates category mapping and is suitable for bulk API calls from large sellers\\" proprietary systems, integration into ERP/SaaS platforms for automated listing workflows, and quick single-product listing for SMB sellers.
|
|
223
|
+
* The current version supports only TEMU as the target listing platform. Automatic retrieval of product information from source platforms is not yet supported and requires manual parameter input. This capability and support for additional source and target platforms will be added in future releases.
|
|
224
|
+
* ## Functions and features
|
|
225
|
+
* You can 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 full TEMU platform category tree. The response includes the complete category path (CategoryPath), category name (CategoryName), confidence score (0–100), and matching reason. The API uses synchronous mode and returns results immediately, making it suitable for embedding in real-time business workflows.
|
|
226
|
+
* ## Demo
|
|
227
|
+
* | **Source platform** | **Image** | **Source platform category** | **Target platform** | **Target platform category** |
|
|
228
|
+
* | --- | --- | --- | --- | --- |
|
|
229
|
+
* | 1688 |  | USB风扇、迷你风扇 | TEMU | 家电
|
|
230
|
+
* \\>加热、冷却和空气质量电器
|
|
231
|
+
* \\>电风扇
|
|
232
|
+
* \\>USB 风扇 |
|
|
233
|
+
* | 1688 |  | 手链 | TEMU | 服装、鞋靴和珠宝饰品
|
|
234
|
+
* \\>女士时尚
|
|
235
|
+
* \\>女士饰品
|
|
236
|
+
* \\>女士时尚手链、手镯
|
|
237
|
+
* \\>女士时尚吊饰和吊饰手链
|
|
238
|
+
* \\>女士时尚吊饰手链
|
|
239
|
+
* \\>女士时尚链式吊饰手链 |.
|
|
240
|
+
*
|
|
241
|
+
* @param request - CategoryMatchRequest
|
|
242
|
+
* @returns CategoryMatchResponse
|
|
243
|
+
*/
|
|
244
|
+
categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
|
|
245
|
+
/**
|
|
246
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
247
|
+
* The service excels in the following areas:
|
|
248
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
249
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
250
|
+
*
|
|
251
|
+
* @remarks
|
|
252
|
+
* ## Product Introduction
|
|
253
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
254
|
+
* The service excels in the following areas:
|
|
255
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
256
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
257
|
+
* ## Common scenarios
|
|
258
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
259
|
+
* 3. Features
|
|
260
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
|
|
261
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
262
|
+
* - Supports high-fidelity layout preservation after translation.
|
|
263
|
+
* - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
|
|
264
|
+
* - 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. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
265
|
+
*
|
|
266
|
+
* @param request - DocumentTranslateRequest
|
|
267
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
268
|
+
* @returns DocumentTranslateResponse
|
|
269
|
+
*/
|
|
270
|
+
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
273
|
+
* The service excels in the following areas:
|
|
274
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
275
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
276
|
+
*
|
|
277
|
+
* @remarks
|
|
278
|
+
* ## Product Introduction
|
|
279
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), handling multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
280
|
+
* The service excels in the following areas:
|
|
281
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
282
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
283
|
+
* ## Common scenarios
|
|
284
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
285
|
+
* 3. Features
|
|
286
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed list of supported languages, see section 4.5.
|
|
287
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
288
|
+
* - Supports high-fidelity layout preservation after translation.
|
|
289
|
+
* - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
|
|
290
|
+
* - 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. Pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
291
|
+
*
|
|
292
|
+
* @param request - DocumentTranslateRequest
|
|
293
|
+
* @returns DocumentTranslateResponse
|
|
294
|
+
*/
|
|
295
|
+
documentTranslate(request: $_model.DocumentTranslateRequest): Promise<$_model.DocumentTranslateResponse>;
|
|
296
|
+
/**
|
|
297
|
+
* Intelligently crop images to specified dimensions, automatically identify the main subject area of the image, and precisely crop to various sizes to meet design requirements for different scenarios. (Synchronous)
|
|
298
|
+
*
|
|
299
|
+
* @remarks
|
|
300
|
+
* ## Product Overview
|
|
301
|
+
* The image cropping product can resize input images to specified dimensions. It supports automatic identification of the main subject area in images and precisely crops to various sizes to meet design requirements for different scenarios. (Synchronous)
|
|
302
|
+
* ## Use Cases
|
|
303
|
+
* - **Multi-platform Content Distribution**: Automatically generate content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
304
|
+
*
|
|
305
|
+
* - **Content Placement**: Automatically adjust sizes for different ad slots on different platforms, highlighting the main content, reducing blank space, and showcasing product features.
|
|
306
|
+
*
|
|
307
|
+
* ## Feature Description
|
|
308
|
+
* * Automatically identify the main subject area of an image and crop precisely.
|
|
309
|
+
*
|
|
310
|
+
* * Support custom crop size output to adapt to different platforms and devices.
|
|
311
|
+
*
|
|
312
|
+
* ## Effect Comparison
|
|
313
|
+
* | **Original Image** | **Cropped to 1000\\*1000** | **Cropped to 3000\\*2000** |
|
|
314
|
+
* | --- | --- | --- |
|
|
315
|
+
* |  |  |  |
|
|
316
|
+
* |  |  |  |
|
|
317
|
+
* |  |  |  |
|
|
318
|
+
*
|
|
319
|
+
* @param request - ImageCroppingRequest
|
|
320
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
321
|
+
* @returns ImageCroppingResponse
|
|
322
|
+
*/
|
|
323
|
+
imageCroppingWithOptions(request: $_model.ImageCroppingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageCroppingResponse>;
|
|
324
|
+
/**
|
|
325
|
+
* Intelligently crop images to specified dimensions, automatically identify the main subject area of the image, and precisely crop to various sizes to meet design requirements for different scenarios. (Synchronous)
|
|
326
|
+
*
|
|
327
|
+
* @remarks
|
|
328
|
+
* ## Product Overview
|
|
329
|
+
* The image cropping product can resize input images to specified dimensions. It supports automatic identification of the main subject area in images and precisely crops to various sizes to meet design requirements for different scenarios. (Synchronous)
|
|
330
|
+
* ## Use Cases
|
|
331
|
+
* - **Multi-platform Content Distribution**: Automatically generate content in multiple sizes to meet the different image size requirements of various platforms and scenarios.
|
|
332
|
+
*
|
|
333
|
+
* - **Content Placement**: Automatically adjust sizes for different ad slots on different platforms, highlighting the main content, reducing blank space, and showcasing product features.
|
|
334
|
+
*
|
|
335
|
+
* ## Feature Description
|
|
336
|
+
* * Automatically identify the main subject area of an image and crop precisely.
|
|
337
|
+
*
|
|
338
|
+
* * Support custom crop size output to adapt to different platforms and devices.
|
|
339
|
+
*
|
|
340
|
+
* ## Effect Comparison
|
|
341
|
+
* | **Original Image** | **Cropped to 1000\\*1000** | **Cropped to 3000\\*2000** |
|
|
342
|
+
* | --- | --- | --- |
|
|
343
|
+
* |  |  |  |
|
|
344
|
+
* |  |  |  |
|
|
345
|
+
* |  |  |  |
|
|
346
|
+
*
|
|
347
|
+
* @param request - ImageCroppingRequest
|
|
348
|
+
* @returns ImageCroppingResponse
|
|
349
|
+
*/
|
|
350
|
+
imageCropping(request: $_model.ImageCroppingRequest): Promise<$_model.ImageCroppingResponse>;
|
|
351
|
+
/**
|
|
352
|
+
* Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
|
|
353
|
+
*
|
|
354
|
+
* @remarks
|
|
355
|
+
* ## Product Introduction
|
|
356
|
+
* Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
|
|
357
|
+
* ## Scenarios
|
|
358
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
359
|
+
*
|
|
360
|
+
* * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
361
|
+
* ## Features.
|
|
362
|
+
* #### 1. One-click precise subject recognition
|
|
363
|
+
* * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
364
|
+
*
|
|
365
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
366
|
+
* #### 2. Intelligent edge optimization
|
|
367
|
+
* * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
|
|
368
|
+
* #### 3. Multi-format output and background operations
|
|
369
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
370
|
+
*
|
|
371
|
+
* * **Custom background color support**.
|
|
372
|
+
* ## Effect comparison
|
|
373
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
374
|
+
* | --- | --- |
|
|
375
|
+
* |  |  |
|
|
376
|
+
* |  |  |
|
|
377
|
+
* |  |  |.
|
|
378
|
+
*
|
|
379
|
+
* @param request - ImageMattingRequest
|
|
380
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
381
|
+
* @returns ImageMattingResponse
|
|
382
|
+
*/
|
|
383
|
+
imageMattingWithOptions(request: $_model.ImageMattingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingResponse>;
|
|
384
|
+
/**
|
|
385
|
+
* Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
|
|
386
|
+
*
|
|
387
|
+
* @remarks
|
|
388
|
+
* ## Product Introduction
|
|
389
|
+
* Intelligent image matting automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. The product also provides multiple background options and custom size selections to optimize product display. (Synchronous).
|
|
390
|
+
* ## Scenarios
|
|
391
|
+
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
392
|
+
*
|
|
393
|
+
* * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
394
|
+
* ## Features.
|
|
395
|
+
* #### 1. One-click precise subject recognition
|
|
396
|
+
* * **AI automatic recognition**: Based on deep learning models, the feature intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
397
|
+
*
|
|
398
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
399
|
+
* #### 2. Intelligent edge optimization
|
|
400
|
+
* * **Detail-level processing**: Performs automatic optimization of edge aliasing and semi-transparent areas (such as smoke and glass) while preserving natural transition effects.
|
|
401
|
+
* #### 3. Multi-format output and background operations
|
|
402
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
403
|
+
*
|
|
404
|
+
* * **Custom background color support**.
|
|
405
|
+
* ## Effect comparison
|
|
406
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
407
|
+
* | --- | --- |
|
|
408
|
+
* |  |  |
|
|
409
|
+
* |  |  |
|
|
410
|
+
* |  |  |.
|
|
411
|
+
*
|
|
412
|
+
* @param request - ImageMattingRequest
|
|
413
|
+
* @returns ImageMattingResponse
|
|
414
|
+
*/
|
|
415
|
+
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* Intelligent element recognition.
|
|
418
|
+
*
|
|
419
|
+
* @remarks
|
|
420
|
+
* ## Product Introduction
|
|
421
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping you 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).
|
|
422
|
+
* ## Scenarios
|
|
423
|
+
* **1. Intelligent image screening and optimization:**
|
|
424
|
+
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
425
|
+
* **2. Automated image processing and efficiency improvement:**
|
|
426
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
427
|
+
* ## Features
|
|
428
|
+
* **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)**
|
|
429
|
+
* * Image subject: The core product area in the image
|
|
430
|
+
*
|
|
431
|
+
* * Image background: The remaining part of the image other than the product subject
|
|
432
|
+
*
|
|
433
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text
|
|
434
|
+
*
|
|
435
|
+
* * Logo: An emblem or trademark
|
|
436
|
+
*
|
|
437
|
+
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
438
|
+
*
|
|
439
|
+
* * Text-containing color block: A color block outside the subject that contains text
|
|
440
|
+
*
|
|
441
|
+
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
442
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
443
|
+
*
|
|
444
|
+
* * Workflow coordination: Works in conjunction 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 accuracy and efficiency in image processing.
|
|
445
|
+
* ## Technical advantages
|
|
446
|
+
* * 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.
|
|
447
|
+
*
|
|
448
|
+
* * Flexibility: You can select the element types to recognize based on your needs, including elements in both the subject and non-subject areas such as watermarks, logos, and text, to meet personalized recognition requirements.
|
|
449
|
+
* ## Comparison
|
|
450
|
+
* | **Original image** | **Recognition result** |
|
|
451
|
+
* | --- | --- |
|
|
452
|
+
* |  | [Subject]
|
|
453
|
+
* * Watermark: false
|
|
454
|
+
*
|
|
455
|
+
* * Logo: false
|
|
456
|
+
*
|
|
457
|
+
* * Text: false
|
|
458
|
+
*
|
|
459
|
+
* * Text-containing color block: false
|
|
460
|
+
*
|
|
461
|
+
* [Non-subject]
|
|
462
|
+
* * Watermark: false
|
|
463
|
+
*
|
|
464
|
+
* * Logo: true
|
|
465
|
+
*
|
|
466
|
+
* * Text: true
|
|
467
|
+
*
|
|
468
|
+
* * Text-containing color block: false |
|
|
469
|
+
* |  | [Subject]
|
|
470
|
+
* * Watermark: false
|
|
471
|
+
*
|
|
472
|
+
* * Logo: false
|
|
473
|
+
*
|
|
474
|
+
* * Text: false
|
|
475
|
+
*
|
|
476
|
+
* * Text-containing color block: false
|
|
477
|
+
*
|
|
478
|
+
* [Non-subject]
|
|
479
|
+
* * Watermark: true
|
|
480
|
+
*
|
|
481
|
+
* * Logo: false
|
|
482
|
+
*
|
|
483
|
+
* * Text: true
|
|
484
|
+
*
|
|
485
|
+
* * Text-containing color block: true |.
|
|
486
|
+
*
|
|
487
|
+
* @param tmpReq - ImageRecognitionRequest
|
|
488
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
489
|
+
* @returns ImageRecognitionResponse
|
|
490
|
+
*/
|
|
491
|
+
imageRecognitionWithOptions(tmpReq: $_model.ImageRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionResponse>;
|
|
492
|
+
/**
|
|
493
|
+
* Intelligent element recognition.
|
|
494
|
+
*
|
|
495
|
+
* @remarks
|
|
496
|
+
* ## Product Introduction
|
|
497
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping you 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).
|
|
498
|
+
* ## Scenarios
|
|
499
|
+
* **1. Intelligent image screening and optimization:**
|
|
500
|
+
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
501
|
+
* **2. Automated image processing and efficiency improvement:**
|
|
502
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
503
|
+
* ## Features
|
|
504
|
+
* **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)**
|
|
505
|
+
* * Image subject: The core product area in the image
|
|
506
|
+
*
|
|
507
|
+
* * Image background: The remaining part of the image other than the product subject
|
|
508
|
+
*
|
|
509
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text
|
|
510
|
+
*
|
|
511
|
+
* * Logo: An emblem or trademark
|
|
512
|
+
*
|
|
513
|
+
* * Watermark: Monochrome transparent text, emblems, images, URLs, or store names
|
|
514
|
+
*
|
|
515
|
+
* * Text-containing color block: A color block outside the subject that contains text
|
|
516
|
+
*
|
|
517
|
+
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
518
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
519
|
+
*
|
|
520
|
+
* * Workflow coordination: Works in conjunction 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 accuracy and efficiency in image processing.
|
|
521
|
+
* ## Technical advantages
|
|
522
|
+
* * 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.
|
|
523
|
+
*
|
|
524
|
+
* * Flexibility: You can select the element types to recognize based on your needs, including elements in both the subject and non-subject areas such as watermarks, logos, and text, to meet personalized recognition requirements.
|
|
525
|
+
* ## Comparison
|
|
526
|
+
* | **Original image** | **Recognition result** |
|
|
527
|
+
* | --- | --- |
|
|
528
|
+
* |  | [Subject]
|
|
529
|
+
* * Watermark: false
|
|
530
|
+
*
|
|
531
|
+
* * Logo: false
|
|
532
|
+
*
|
|
533
|
+
* * Text: false
|
|
534
|
+
*
|
|
535
|
+
* * Text-containing color block: false
|
|
536
|
+
*
|
|
537
|
+
* [Non-subject]
|
|
538
|
+
* * Watermark: false
|
|
539
|
+
*
|
|
540
|
+
* * Logo: true
|
|
541
|
+
*
|
|
542
|
+
* * Text: true
|
|
543
|
+
*
|
|
544
|
+
* * Text-containing color block: false |
|
|
545
|
+
* |  | [Subject]
|
|
546
|
+
* * Watermark: false
|
|
547
|
+
*
|
|
548
|
+
* * Logo: false
|
|
549
|
+
*
|
|
550
|
+
* * Text: false
|
|
551
|
+
*
|
|
552
|
+
* * Text-containing color block: false
|
|
553
|
+
*
|
|
554
|
+
* [Non-subject]
|
|
555
|
+
* * Watermark: true
|
|
556
|
+
*
|
|
557
|
+
* * Logo: false
|
|
558
|
+
*
|
|
559
|
+
* * Text: true
|
|
560
|
+
*
|
|
561
|
+
* * Text-containing color block: true |.
|
|
562
|
+
*
|
|
563
|
+
* @param request - ImageRecognitionRequest
|
|
564
|
+
* @returns ImageRecognitionResponse
|
|
565
|
+
*/
|
|
566
|
+
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
567
|
+
/**
|
|
568
|
+
* The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
|
|
569
|
+
*
|
|
570
|
+
* @remarks
|
|
571
|
+
* ## Product Overview
|
|
572
|
+
* The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
|
|
573
|
+
* ## Use Cases
|
|
574
|
+
* * **Efficient E-commerce Image Processing:**
|
|
575
|
+
*
|
|
576
|
+
* Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
|
|
577
|
+
* * **Multi-platform Product Information Synchronization:**
|
|
578
|
+
*
|
|
579
|
+
* When merchants simultaneously list products across different e-commerce platforms, they can quickly remove specific text and blemishes to comply with different platform image specifications.
|
|
580
|
+
* * **Marketing Material Preparation:**
|
|
581
|
+
*
|
|
582
|
+
* Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
|
|
583
|
+
* > 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 blemishes, then use the "Intelligent Removal API" to batch remove them. The Intelligent Recognition API focuses on "recognition," while the Intelligent Removal API focuses on "removal." By calling them in sequence, you can maximize removal effectiveness and reduce "false removals" and "false recognitions."
|
|
584
|
+
* ## Feature Introduction
|
|
585
|
+
* 1. First, clarify the definitions of image subject and image background. In actual use, when specifying removal targets, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
|
|
586
|
+
*
|
|
587
|
+
* 1. Image subject: The core product area in the image
|
|
588
|
+
*
|
|
589
|
+
* 2. Image background: The remaining portion of the image apart from the product subject
|
|
590
|
+
*
|
|
591
|
+
* 2. Second, the removal targets support the following four types: text, specific names, transparent text blocks, and blemishes. You can use the following examples to clarify your usage requirements and perform targeted operations:
|
|
592
|
+
*
|
|
593
|
+
* ## Effect Comparison
|
|
594
|
+
* | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
|
|
595
|
+
* | --- | --- | --- |
|
|
596
|
+
* | Text | * Involving the image subject area
|
|
597
|
+
*
|
|
598
|
+
* 
|
|
599
|
+
*
|
|
600
|
+
* * Not involving the image subject area
|
|
601
|
+
*
|
|
602
|
+
*  | * Involving the image subject area
|
|
603
|
+
*
|
|
604
|
+
* 
|
|
605
|
+
* * Not involving the image subject area
|
|
606
|
+
*
|
|
607
|
+
*  |
|
|
608
|
+
* | Specific Names | * Involving the image subject area
|
|
609
|
+
*
|
|
610
|
+
* 
|
|
611
|
+
*
|
|
612
|
+
* * Not involving the image subject area
|
|
613
|
+
*
|
|
614
|
+
*  | * Involving the image subject area
|
|
615
|
+
*
|
|
616
|
+
* 
|
|
617
|
+
* * Not involving the image subject area
|
|
618
|
+
*
|
|
619
|
+
*  |
|
|
620
|
+
* | Transparent Text Blocks | * Involving the image subject area
|
|
621
|
+
*
|
|
622
|
+
* 
|
|
623
|
+
*
|
|
624
|
+
* * Not involving the image subject area
|
|
625
|
+
*
|
|
626
|
+
*  | * Involving the image subject area
|
|
627
|
+
*
|
|
628
|
+
* 
|
|
629
|
+
* * Not involving the image subject area
|
|
630
|
+
*
|
|
631
|
+
*  |
|
|
632
|
+
* | Blemishes | * Involving the image subject area
|
|
633
|
+
*
|
|
634
|
+
* 
|
|
635
|
+
*
|
|
636
|
+
* * Not involving the image subject area
|
|
637
|
+
*
|
|
638
|
+
*  | * Involving the image subject area
|
|
639
|
+
*
|
|
640
|
+
* 
|
|
641
|
+
* * Not involving the image subject area
|
|
642
|
+
*
|
|
643
|
+
*  |
|
|
644
|
+
*
|
|
645
|
+
* @param tmpReq - ImageRemoveRequest
|
|
646
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
647
|
+
* @returns ImageRemoveResponse
|
|
648
|
+
*/
|
|
649
|
+
imageRemoveWithOptions(tmpReq: $_model.ImageRemoveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveResponse>;
|
|
650
|
+
/**
|
|
651
|
+
* The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
|
|
652
|
+
*
|
|
653
|
+
* @remarks
|
|
654
|
+
* ## Product Overview
|
|
655
|
+
* The Intelligent Image Removal product is specially designed for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and blemishes from e-commerce images. You can specify objects to remove from images as needed, enabling efficient and accurate batch processing of large volumes of images and simplifying the image editing workflow. (Synchronous)
|
|
656
|
+
* ## Use Cases
|
|
657
|
+
* * **Efficient E-commerce Image Processing:**
|
|
658
|
+
*
|
|
659
|
+
* Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
|
|
660
|
+
* * **Multi-platform Product Information Synchronization:**
|
|
661
|
+
*
|
|
662
|
+
* When merchants simultaneously list products across different e-commerce platforms, they can quickly remove specific text and blemishes to comply with different platform image specifications.
|
|
663
|
+
* * **Marketing Material Preparation:**
|
|
664
|
+
*
|
|
665
|
+
* Merchants can easily remove existing promotional information and quickly update it with the latest campaign details.
|
|
666
|
+
* > 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 blemishes, then use the "Intelligent Removal API" to batch remove them. The Intelligent Recognition API focuses on "recognition," while the Intelligent Removal API focuses on "removal." By calling them in sequence, you can maximize removal effectiveness and reduce "false removals" and "false recognitions."
|
|
667
|
+
* ## Feature Introduction
|
|
668
|
+
* 1. First, clarify the definitions of image subject and image background. In actual use, when specifying removal targets, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
|
|
669
|
+
*
|
|
670
|
+
* 1. Image subject: The core product area in the image
|
|
671
|
+
*
|
|
672
|
+
* 2. Image background: The remaining portion of the image apart from the product subject
|
|
673
|
+
*
|
|
674
|
+
* 2. Second, the removal targets support the following four types: text, specific names, transparent text blocks, and blemishes. You can use the following examples to clarify your usage requirements and perform targeted operations:
|
|
675
|
+
*
|
|
676
|
+
* ## Effect Comparison
|
|
677
|
+
* | **Removable Objects in Images** | **Original Image** | **Image After Removal** |
|
|
678
|
+
* | --- | --- | --- |
|
|
679
|
+
* | Text | * Involving the image subject area
|
|
680
|
+
*
|
|
681
|
+
* 
|
|
682
|
+
*
|
|
683
|
+
* * Not involving the image subject area
|
|
684
|
+
*
|
|
685
|
+
*  | * Involving the image subject area
|
|
686
|
+
*
|
|
687
|
+
* 
|
|
688
|
+
* * Not involving the image subject area
|
|
689
|
+
*
|
|
690
|
+
*  |
|
|
691
|
+
* | Specific Names | * Involving the image subject area
|
|
692
|
+
*
|
|
693
|
+
* 
|
|
694
|
+
*
|
|
695
|
+
* * Not involving the image subject area
|
|
696
|
+
*
|
|
697
|
+
*  | * Involving the image subject area
|
|
698
|
+
*
|
|
699
|
+
* 
|
|
700
|
+
* * Not involving the image subject area
|
|
701
|
+
*
|
|
702
|
+
*  |
|
|
703
|
+
* | Transparent Text Blocks | * Involving the image subject area
|
|
704
|
+
*
|
|
705
|
+
* 
|
|
706
|
+
*
|
|
707
|
+
* * Not involving the image subject area
|
|
708
|
+
*
|
|
709
|
+
*  | * Involving the image subject area
|
|
710
|
+
*
|
|
711
|
+
* 
|
|
712
|
+
* * Not involving the image subject area
|
|
713
|
+
*
|
|
714
|
+
*  |
|
|
715
|
+
* | Blemishes | * Involving the image subject area
|
|
716
|
+
*
|
|
717
|
+
* 
|
|
718
|
+
*
|
|
719
|
+
* * Not involving the image subject area
|
|
720
|
+
*
|
|
721
|
+
*  | * Involving the image subject area
|
|
722
|
+
*
|
|
723
|
+
* 
|
|
724
|
+
* * Not involving the image subject area
|
|
725
|
+
*
|
|
726
|
+
*  |
|
|
727
|
+
*
|
|
728
|
+
* @param request - ImageRemoveRequest
|
|
729
|
+
* @returns ImageRemoveResponse
|
|
730
|
+
*/
|
|
731
|
+
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
732
|
+
/**
|
|
733
|
+
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 100 language directions are supported, including bridged translations.
|
|
734
|
+
*
|
|
735
|
+
* @remarks
|
|
736
|
+
* ## Product Introduction
|
|
737
|
+
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 100 language directions are supported, including bridged translations.
|
|
738
|
+
* ## Scenarios
|
|
739
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
740
|
+
* ## Features
|
|
741
|
+
* - **Product subject information protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
742
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
743
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
744
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection. Pass the corresponding intervention glossary ID when calling the API to meet translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
745
|
+
*
|
|
746
|
+
* @param request - ImageTranslationProRequest
|
|
747
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
748
|
+
* @returns ImageTranslationProResponse
|
|
749
|
+
*/
|
|
750
|
+
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
751
|
+
/**
|
|
752
|
+
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 100 language directions are supported, including bridged translations.
|
|
753
|
+
*
|
|
754
|
+
* @remarks
|
|
755
|
+
* ## Product Introduction
|
|
756
|
+
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 100 language directions are supported, including bridged translations.
|
|
757
|
+
* ## Scenarios
|
|
758
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
759
|
+
* ## Features
|
|
760
|
+
* - **Product subject information protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
761
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
762
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
763
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection. Pass the corresponding intervention glossary ID when calling the API to meet translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
764
|
+
*
|
|
765
|
+
* @param request - ImageTranslationProRequest
|
|
766
|
+
* @returns ImageTranslationProResponse
|
|
767
|
+
*/
|
|
768
|
+
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
769
|
+
/**
|
|
770
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
* ## Product Introduction
|
|
774
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
|
|
775
|
+
* ## Common scenarios
|
|
776
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
777
|
+
* ## Functions and features
|
|
778
|
+
* - **Product subject information protection**: You can choose whether to translate text on the product subject. This helps protect subject information from being translated, such as embedded information like product names.
|
|
779
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
780
|
+
* - **Translation intervention support**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
781
|
+
*
|
|
782
|
+
* @param request - ImageTranslationStandardRequest
|
|
783
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
784
|
+
* @returns ImageTranslationStandardResponse
|
|
785
|
+
*/
|
|
786
|
+
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
787
|
+
/**
|
|
788
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
|
|
789
|
+
*
|
|
790
|
+
* @remarks
|
|
791
|
+
* ## Product Introduction
|
|
792
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
|
|
793
|
+
* ## Common scenarios
|
|
794
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
795
|
+
* ## Functions and features
|
|
796
|
+
* - **Product subject information protection**: You can choose whether to translate text on the product subject. This helps protect subject information from being translated, such as embedded information like product names.
|
|
797
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
798
|
+
* - **Translation intervention support**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
799
|
+
*
|
|
800
|
+
* @param request - ImageTranslationStandardRequest
|
|
801
|
+
* @returns ImageTranslationStandardResponse
|
|
802
|
+
*/
|
|
803
|
+
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
804
|
+
/**
|
|
805
|
+
* Supports automatic language detection for 24 languages. Applicable to short text such as search queries, titles, and conversations.
|
|
806
|
+
*
|
|
807
|
+
* @remarks
|
|
808
|
+
* ## Product Introduction
|
|
809
|
+
* Supports automatic language detection for 24 languages. Applicable to short text such as search queries, titles, and conversations.
|
|
810
|
+
*
|
|
811
|
+
* @param request - LanguageDetectRequest
|
|
812
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
813
|
+
* @returns LanguageDetectResponse
|
|
814
|
+
*/
|
|
815
|
+
languageDetectWithOptions(request: $_model.LanguageDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.LanguageDetectResponse>;
|
|
816
|
+
/**
|
|
817
|
+
* Supports automatic language detection for 24 languages. Applicable to short text such as search queries, titles, and conversations.
|
|
818
|
+
*
|
|
819
|
+
* @remarks
|
|
820
|
+
* ## Product Introduction
|
|
821
|
+
* Supports automatic language detection for 24 languages. Applicable to short text such as search queries, titles, and conversations.
|
|
822
|
+
*
|
|
823
|
+
* @param request - LanguageDetectRequest
|
|
824
|
+
* @returns LanguageDetectResponse
|
|
825
|
+
*/
|
|
826
|
+
languageDetect(request: $_model.LanguageDetectRequest): Promise<$_model.LanguageDetectResponse>;
|
|
827
|
+
/**
|
|
828
|
+
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
829
|
+
*
|
|
830
|
+
* @remarks
|
|
831
|
+
* ## Product Introduction
|
|
832
|
+
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including **bounding box validity, bounding box fit accuracy, and foreign object interference** on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
833
|
+
* ## Applicable Scenarios
|
|
834
|
+
* 1. **Parcel Bounding Box Audit**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum valid bounding rectangle" for the parcel, identifying typical issues such as oversized or undersized bounding boxes.
|
|
835
|
+
* 2. **Foreign Object Interference Detection**: Automatically identifies whether non-target objects such as fingers, keyboards, or auxiliary tools have entered the scanning area.
|
|
836
|
+
* 3. **Multi-Acquisition Environment Adaptation**: A single API can handle two common acquisition modes — white background board (blue box) and green background board (blue box + red box) — without requiring the caller to distinguish between scenarios.
|
|
837
|
+
* 4. **Inbound Quality Inspection Pipeline**: Used for automated review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, replacing or assisting manual outsourced auditing.
|
|
838
|
+
* Additionally, the product can also be used for general image "box-subject" relationship audit scenarios, such as product photography material review and document scanning quality verification.
|
|
839
|
+
* ## Feature Introduction
|
|
840
|
+
* 1. **Multi-Scenario Intelligent Routing**: The product has a built-in scenario classification capability that can automatically identify the background type (white/green) and bounding box type (none/single box/double box) in the image, and route the request to the corresponding audit sub-process. The caller only needs to provide the image URL without manually specifying the scenario.
|
|
841
|
+
* 2. **MLLM + Specialized CV Model Synergy**: Multimodal large language models are used for semantic-level scene understanding and foreign object recognition, while specialized parcel segmentation and IoU evaluation models are used for pixel-level bounding box fit quantification, ensuring accuracy while controlling inference latency and cost.
|
|
842
|
+
* 3. **Structured Audit Conclusions**: The output is uniformly structured as `result` (Boolean) + `info` (Chinese reason). Supported reason types include "Audit passed", "Audit not passed: bounding box too large", "Audit not passed: bounding box too small", "Audit not passed: foreign object present", etc., facilitating direct integration with downstream business systems.
|
|
843
|
+
* 4. **Supported Input Formats**: Currently supports publicly accessible image URLs.
|
|
844
|
+
*
|
|
845
|
+
* @param request - PackageWeightSizeCheckRequest
|
|
846
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
847
|
+
* @returns PackageWeightSizeCheckResponse
|
|
848
|
+
*/
|
|
849
|
+
packageWeightSizeCheckWithOptions(request: $_model.PackageWeightSizeCheckRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
850
|
+
/**
|
|
851
|
+
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
852
|
+
*
|
|
853
|
+
* @remarks
|
|
854
|
+
* ## Product Introduction
|
|
855
|
+
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including **bounding box validity, bounding box fit accuracy, and foreign object interference** on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
856
|
+
* ## Applicable Scenarios
|
|
857
|
+
* 1. **Parcel Bounding Box Audit**: Automatically determines whether the operator\\"s manual bounding box constitutes the "minimum valid bounding rectangle" for the parcel, identifying typical issues such as oversized or undersized bounding boxes.
|
|
858
|
+
* 2. **Foreign Object Interference Detection**: Automatically identifies whether non-target objects such as fingers, keyboards, or auxiliary tools have entered the scanning area.
|
|
859
|
+
* 3. **Multi-Acquisition Environment Adaptation**: A single API can handle two common acquisition modes — white background board (blue box) and green background board (blue box + red box) — without requiring the caller to distinguish between scenarios.
|
|
860
|
+
* 4. **Inbound Quality Inspection Pipeline**: Used for automated review in the piece-weight-dimension stage of the logistics warehouse new product inbound SOP, replacing or assisting manual outsourced auditing.
|
|
861
|
+
* Additionally, the product can also be used for general image "box-subject" relationship audit scenarios, such as product photography material review and document scanning quality verification.
|
|
862
|
+
* ## Feature Introduction
|
|
863
|
+
* 1. **Multi-Scenario Intelligent Routing**: The product has a built-in scenario classification capability that can automatically identify the background type (white/green) and bounding box type (none/single box/double box) in the image, and route the request to the corresponding audit sub-process. The caller only needs to provide the image URL without manually specifying the scenario.
|
|
864
|
+
* 2. **MLLM + Specialized CV Model Synergy**: Multimodal large language models are used for semantic-level scene understanding and foreign object recognition, while specialized parcel segmentation and IoU evaluation models are used for pixel-level bounding box fit quantification, ensuring accuracy while controlling inference latency and cost.
|
|
865
|
+
* 3. **Structured Audit Conclusions**: The output is uniformly structured as `result` (Boolean) + `info` (Chinese reason). Supported reason types include "Audit passed", "Audit not passed: bounding box too large", "Audit not passed: bounding box too small", "Audit not passed: foreign object present", etc., facilitating direct integration with downstream business systems.
|
|
866
|
+
* 4. **Supported Input Formats**: Currently supports publicly accessible image URLs.
|
|
867
|
+
*
|
|
868
|
+
* @param request - PackageWeightSizeCheckRequest
|
|
869
|
+
* @returns PackageWeightSizeCheckResponse
|
|
870
|
+
*/
|
|
871
|
+
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
872
|
+
/**
|
|
873
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
874
|
+
*
|
|
875
|
+
* @remarks
|
|
876
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
877
|
+
*
|
|
878
|
+
* @param request - QueryAsyncTaskResultRequest
|
|
879
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
880
|
+
* @returns QueryAsyncTaskResultResponse
|
|
881
|
+
*/
|
|
882
|
+
queryAsyncTaskResultWithOptions(request: $_model.QueryAsyncTaskResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
883
|
+
/**
|
|
884
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
885
|
+
*
|
|
886
|
+
* @remarks
|
|
887
|
+
* API name on the POP gateway: QueryAsyncTaskResult.
|
|
888
|
+
*
|
|
889
|
+
* @param request - QueryAsyncTaskResultRequest
|
|
890
|
+
* @returns QueryAsyncTaskResultResponse
|
|
891
|
+
*/
|
|
892
|
+
queryAsyncTaskResult(request: $_model.QueryAsyncTaskResultRequest): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
893
|
+
/**
|
|
894
|
+
* Detects whether an image contains a size chart. (Synchronous).
|
|
895
|
+
*
|
|
896
|
+
* @remarks
|
|
897
|
+
* # 1. Product Introduction
|
|
898
|
+
* Detects whether an image contains a size chart. (Synchronous).
|
|
899
|
+
* # 2. Common scenarios
|
|
900
|
+
* **Batch processing scenarios:** Detect images that contain size charts from a batch of images for further translation or extraction. The size chart detection service helps reduce costs.
|
|
901
|
+
* # 3. Functions and features
|
|
902
|
+
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains a size chart. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
903
|
+
* 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.
|
|
904
|
+
* # 4. Effect comparison
|
|
905
|
+
* | **Input image** | **Confidence** | **Output result** |
|
|
906
|
+
* | --- | --- | --- |
|
|
907
|
+
* |  | 0.4 | true |
|
|
908
|
+
* |  | 0.4 | false |.
|
|
909
|
+
*
|
|
910
|
+
* @param request - SizeChartDetectRequest
|
|
911
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
912
|
+
* @returns SizeChartDetectResponse
|
|
913
|
+
*/
|
|
914
|
+
sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
|
|
915
|
+
/**
|
|
916
|
+
* Detects whether an image contains a size chart. (Synchronous).
|
|
917
|
+
*
|
|
918
|
+
* @remarks
|
|
919
|
+
* # 1. Product Introduction
|
|
920
|
+
* Detects whether an image contains a size chart. (Synchronous).
|
|
921
|
+
* # 2. Common scenarios
|
|
922
|
+
* **Batch processing scenarios:** Detect images that contain size charts from a batch of images for further translation or extraction. The size chart detection service helps reduce costs.
|
|
923
|
+
* # 3. Functions and features
|
|
924
|
+
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains a size chart. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
925
|
+
* 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.
|
|
926
|
+
* # 4. Effect comparison
|
|
927
|
+
* | **Input image** | **Confidence** | **Output result** |
|
|
928
|
+
* | --- | --- | --- |
|
|
929
|
+
* |  | 0.4 | true |
|
|
930
|
+
* |  | 0.4 | false |.
|
|
931
|
+
*
|
|
932
|
+
* @param request - SizeChartDetectRequest
|
|
933
|
+
* @returns SizeChartDetectResponse
|
|
934
|
+
*/
|
|
935
|
+
sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
|
|
936
|
+
/**
|
|
937
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous).
|
|
938
|
+
*
|
|
939
|
+
* @remarks
|
|
940
|
+
* ## Product Introduction
|
|
941
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous).
|
|
942
|
+
* ## Common scenarios
|
|
943
|
+
* * Size charts: Extracts size charts from apparel categories into text.
|
|
944
|
+
*
|
|
945
|
+
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
946
|
+
* ## Functions and features
|
|
947
|
+
* The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
|
|
948
|
+
* Core capabilities: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume calls.
|
|
949
|
+
* ## Comparison
|
|
950
|
+
* | **Input image** | **Output result** |
|
|
951
|
+
* | --- | --- |
|
|
952
|
+
* |  | {
|
|
953
|
+
* "SizeChart": [
|
|
954
|
+
* {
|
|
955
|
+
* "尺码": {
|
|
956
|
+
* "value": "S"
|
|
957
|
+
* },
|
|
958
|
+
* "腰围": {
|
|
959
|
+
* "unit": "CM",
|
|
960
|
+
* "value": 58
|
|
961
|
+
* },
|
|
962
|
+
* "裙长": {
|
|
963
|
+
* "unit": "CM",
|
|
964
|
+
* "value": 81
|
|
965
|
+
* },
|
|
966
|
+
* "体重建议": {
|
|
967
|
+
* "unit": "kg",
|
|
968
|
+
* "lower_value": 40,
|
|
969
|
+
* "upper_value": 47.5
|
|
970
|
+
* }
|
|
971
|
+
* },
|
|
972
|
+
* {
|
|
973
|
+
* "尺码": {
|
|
974
|
+
* "value": "M"
|
|
975
|
+
* },
|
|
976
|
+
* "腰围": {
|
|
977
|
+
* "unit": "CM",
|
|
978
|
+
* "value": 59
|
|
979
|
+
* },
|
|
980
|
+
* "裙长": {
|
|
981
|
+
* "unit": "CM",
|
|
982
|
+
* "value": 82
|
|
983
|
+
* },
|
|
984
|
+
* "体重建议": {
|
|
985
|
+
* "unit": "kg",
|
|
986
|
+
* "lower_value": 45,
|
|
987
|
+
* "upper_value": 52.5
|
|
988
|
+
* }
|
|
989
|
+
* },
|
|
990
|
+
* {
|
|
991
|
+
* "尺码": {
|
|
992
|
+
* "value": "L"
|
|
993
|
+
* },
|
|
994
|
+
* "腰围": {
|
|
995
|
+
* "unit": "CM",
|
|
996
|
+
* "value": 60
|
|
997
|
+
* },
|
|
998
|
+
* "裙长": {
|
|
999
|
+
* "unit": "CM",
|
|
1000
|
+
* "value": 83
|
|
1001
|
+
* },
|
|
1002
|
+
* "体重建议": {
|
|
1003
|
+
* "unit": "kg",
|
|
1004
|
+
* "lower_value": 50,
|
|
1005
|
+
* "upper_value": 57.5
|
|
1006
|
+
* }
|
|
1007
|
+
* },
|
|
1008
|
+
* {
|
|
1009
|
+
* "尺码": {
|
|
1010
|
+
* "value": "XL"
|
|
1011
|
+
* },
|
|
1012
|
+
* "腰围": {
|
|
1013
|
+
* "unit": "CM",
|
|
1014
|
+
* "value": 61
|
|
1015
|
+
* },
|
|
1016
|
+
* "裙长": {
|
|
1017
|
+
* "unit": "CM",
|
|
1018
|
+
* "value": 84
|
|
1019
|
+
* },
|
|
1020
|
+
* "体重建议": {
|
|
1021
|
+
* "unit": "kg",
|
|
1022
|
+
* "lower_value": 55,
|
|
1023
|
+
* "upper_value": 62.5
|
|
1024
|
+
* }
|
|
1025
|
+
* },
|
|
1026
|
+
* {
|
|
1027
|
+
* "尺码": {
|
|
1028
|
+
* "value": "2XL"
|
|
1029
|
+
* },
|
|
1030
|
+
* "腰围": {
|
|
1031
|
+
* "unit": "CM",
|
|
1032
|
+
* "value": 62
|
|
1033
|
+
* },
|
|
1034
|
+
* "裙长": {
|
|
1035
|
+
* "unit": "CM",
|
|
1036
|
+
* "value": 85
|
|
1037
|
+
* },
|
|
1038
|
+
* "体重建议": {
|
|
1039
|
+
* "unit": "kg",
|
|
1040
|
+
* "lower_value": 60,
|
|
1041
|
+
* "upper_value": 67.5
|
|
1042
|
+
* }
|
|
1043
|
+
* }
|
|
1044
|
+
* \\],
|
|
1045
|
+
* "SizeChartAttributes": [
|
|
1046
|
+
* "尺码",
|
|
1047
|
+
* "裙长",
|
|
1048
|
+
* "腰围",
|
|
1049
|
+
* "体重建议"
|
|
1050
|
+
* \\],
|
|
1051
|
+
* "IntersectionAttributes": [
|
|
1052
|
+
* "尺码",
|
|
1053
|
+
* "裙长",
|
|
1054
|
+
* "腰围(拉伸)",
|
|
1055
|
+
* "体重建议"
|
|
1056
|
+
* \\]
|
|
1057
|
+
* } |.
|
|
1058
|
+
*
|
|
1059
|
+
* @param tmpReq - SizeChartExtractRequest
|
|
1060
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1061
|
+
* @returns SizeChartExtractResponse
|
|
1062
|
+
*/
|
|
1063
|
+
sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous).
|
|
1066
|
+
*
|
|
1067
|
+
* @remarks
|
|
1068
|
+
* ## Product Introduction
|
|
1069
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous).
|
|
1070
|
+
* ## Common scenarios
|
|
1071
|
+
* * Size charts: Extracts size charts from apparel categories into text.
|
|
1072
|
+
*
|
|
1073
|
+
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
1074
|
+
* ## Functions and features
|
|
1075
|
+
* The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
|
|
1076
|
+
* Core capabilities: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume calls.
|
|
1077
|
+
* ## Comparison
|
|
1078
|
+
* | **Input image** | **Output result** |
|
|
1079
|
+
* | --- | --- |
|
|
1080
|
+
* |  | {
|
|
1081
|
+
* "SizeChart": [
|
|
1082
|
+
* {
|
|
1083
|
+
* "尺码": {
|
|
1084
|
+
* "value": "S"
|
|
1085
|
+
* },
|
|
1086
|
+
* "腰围": {
|
|
1087
|
+
* "unit": "CM",
|
|
1088
|
+
* "value": 58
|
|
1089
|
+
* },
|
|
1090
|
+
* "裙长": {
|
|
1091
|
+
* "unit": "CM",
|
|
1092
|
+
* "value": 81
|
|
1093
|
+
* },
|
|
1094
|
+
* "体重建议": {
|
|
1095
|
+
* "unit": "kg",
|
|
1096
|
+
* "lower_value": 40,
|
|
1097
|
+
* "upper_value": 47.5
|
|
1098
|
+
* }
|
|
1099
|
+
* },
|
|
1100
|
+
* {
|
|
1101
|
+
* "尺码": {
|
|
1102
|
+
* "value": "M"
|
|
1103
|
+
* },
|
|
1104
|
+
* "腰围": {
|
|
1105
|
+
* "unit": "CM",
|
|
1106
|
+
* "value": 59
|
|
1107
|
+
* },
|
|
1108
|
+
* "裙长": {
|
|
1109
|
+
* "unit": "CM",
|
|
1110
|
+
* "value": 82
|
|
1111
|
+
* },
|
|
1112
|
+
* "体重建议": {
|
|
1113
|
+
* "unit": "kg",
|
|
1114
|
+
* "lower_value": 45,
|
|
1115
|
+
* "upper_value": 52.5
|
|
1116
|
+
* }
|
|
1117
|
+
* },
|
|
1118
|
+
* {
|
|
1119
|
+
* "尺码": {
|
|
1120
|
+
* "value": "L"
|
|
1121
|
+
* },
|
|
1122
|
+
* "腰围": {
|
|
1123
|
+
* "unit": "CM",
|
|
1124
|
+
* "value": 60
|
|
1125
|
+
* },
|
|
1126
|
+
* "裙长": {
|
|
1127
|
+
* "unit": "CM",
|
|
1128
|
+
* "value": 83
|
|
1129
|
+
* },
|
|
1130
|
+
* "体重建议": {
|
|
1131
|
+
* "unit": "kg",
|
|
1132
|
+
* "lower_value": 50,
|
|
1133
|
+
* "upper_value": 57.5
|
|
1134
|
+
* }
|
|
1135
|
+
* },
|
|
1136
|
+
* {
|
|
1137
|
+
* "尺码": {
|
|
1138
|
+
* "value": "XL"
|
|
1139
|
+
* },
|
|
1140
|
+
* "腰围": {
|
|
1141
|
+
* "unit": "CM",
|
|
1142
|
+
* "value": 61
|
|
1143
|
+
* },
|
|
1144
|
+
* "裙长": {
|
|
1145
|
+
* "unit": "CM",
|
|
1146
|
+
* "value": 84
|
|
1147
|
+
* },
|
|
1148
|
+
* "体重建议": {
|
|
1149
|
+
* "unit": "kg",
|
|
1150
|
+
* "lower_value": 55,
|
|
1151
|
+
* "upper_value": 62.5
|
|
1152
|
+
* }
|
|
1153
|
+
* },
|
|
1154
|
+
* {
|
|
1155
|
+
* "尺码": {
|
|
1156
|
+
* "value": "2XL"
|
|
1157
|
+
* },
|
|
1158
|
+
* "腰围": {
|
|
1159
|
+
* "unit": "CM",
|
|
1160
|
+
* "value": 62
|
|
1161
|
+
* },
|
|
1162
|
+
* "裙长": {
|
|
1163
|
+
* "unit": "CM",
|
|
1164
|
+
* "value": 85
|
|
1165
|
+
* },
|
|
1166
|
+
* "体重建议": {
|
|
1167
|
+
* "unit": "kg",
|
|
1168
|
+
* "lower_value": 60,
|
|
1169
|
+
* "upper_value": 67.5
|
|
1170
|
+
* }
|
|
1171
|
+
* }
|
|
1172
|
+
* \\],
|
|
1173
|
+
* "SizeChartAttributes": [
|
|
1174
|
+
* "尺码",
|
|
1175
|
+
* "裙长",
|
|
1176
|
+
* "腰围",
|
|
1177
|
+
* "体重建议"
|
|
1178
|
+
* \\],
|
|
1179
|
+
* "IntersectionAttributes": [
|
|
1180
|
+
* "尺码",
|
|
1181
|
+
* "裙长",
|
|
1182
|
+
* "腰围(拉伸)",
|
|
1183
|
+
* "体重建议"
|
|
1184
|
+
* \\]
|
|
1185
|
+
* } |.
|
|
1186
|
+
*
|
|
1187
|
+
* @param request - SizeChartExtractRequest
|
|
1188
|
+
* @returns SizeChartExtractResponse
|
|
1189
|
+
*/
|
|
1190
|
+
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Correct errors in search terms and titles
|
|
1193
|
+
*
|
|
1194
|
+
* @remarks
|
|
1195
|
+
* ## Product Introduction
|
|
1196
|
+
* Corrects errors in search terms and titles. Currently supports the following 14 languages:
|
|
1197
|
+
* | No. | Language Name (English) | Language Code | Language Name (Chinese) |
|
|
1198
|
+
* |------|------------------------|------------|------------------------|
|
|
1199
|
+
* | 1 | Arabic | ar | Arabic |
|
|
1200
|
+
* | 2 | German | de | German |
|
|
1201
|
+
* | 3 | English | en | English |
|
|
1202
|
+
* | 4 | Spanish | es | Spanish |
|
|
1203
|
+
* | 5 | French | fr | French |
|
|
1204
|
+
* | 6 | Hebrew | he | Hebrew |
|
|
1205
|
+
* | 7 | Italian | it | Italian |
|
|
1206
|
+
* | 8 | Japanese | ja | Japanese |
|
|
1207
|
+
* | 9 | Korean | ko | Korean |
|
|
1208
|
+
* | 10 | Dutch | nl | Dutch |
|
|
1209
|
+
* | 11 | Polish | pl | Polish |
|
|
1210
|
+
* | 12 | Portuguese | pt | Portuguese (Brazil) |
|
|
1211
|
+
* | 13 | Russian | ru | Russian |
|
|
1212
|
+
* | 14 | Ukrainian | uk | Ukrainian |
|
|
1213
|
+
*
|
|
1214
|
+
* @param request - TextCorrectRequest
|
|
1215
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1216
|
+
* @returns TextCorrectResponse
|
|
1217
|
+
*/
|
|
1218
|
+
textCorrectWithOptions(request: $_model.TextCorrectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextCorrectResponse>;
|
|
1219
|
+
/**
|
|
1220
|
+
* Correct errors in search terms and titles
|
|
1221
|
+
*
|
|
1222
|
+
* @remarks
|
|
1223
|
+
* ## Product Introduction
|
|
1224
|
+
* Corrects errors in search terms and titles. Currently supports the following 14 languages:
|
|
1225
|
+
* | No. | Language Name (English) | Language Code | Language Name (Chinese) |
|
|
1226
|
+
* |------|------------------------|------------|------------------------|
|
|
1227
|
+
* | 1 | Arabic | ar | Arabic |
|
|
1228
|
+
* | 2 | German | de | German |
|
|
1229
|
+
* | 3 | English | en | English |
|
|
1230
|
+
* | 4 | Spanish | es | Spanish |
|
|
1231
|
+
* | 5 | French | fr | French |
|
|
1232
|
+
* | 6 | Hebrew | he | Hebrew |
|
|
1233
|
+
* | 7 | Italian | it | Italian |
|
|
1234
|
+
* | 8 | Japanese | ja | Japanese |
|
|
1235
|
+
* | 9 | Korean | ko | Korean |
|
|
1236
|
+
* | 10 | Dutch | nl | Dutch |
|
|
1237
|
+
* | 11 | Polish | pl | Polish |
|
|
1238
|
+
* | 12 | Portuguese | pt | Portuguese (Brazil) |
|
|
1239
|
+
* | 13 | Russian | ru | Russian |
|
|
1240
|
+
* | 14 | Ukrainian | uk | Ukrainian |
|
|
1241
|
+
*
|
|
1242
|
+
* @param request - TextCorrectRequest
|
|
1243
|
+
* @returns TextCorrectResponse
|
|
1244
|
+
*/
|
|
1245
|
+
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1248
|
+
*
|
|
1249
|
+
* @remarks
|
|
1250
|
+
* ## Product Introduction
|
|
1251
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1252
|
+
* ## Common scenarios
|
|
1253
|
+
* - 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.
|
|
1254
|
+
* - 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.
|
|
1255
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1256
|
+
* - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1257
|
+
* Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1258
|
+
* ## Features
|
|
1259
|
+
* - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
1260
|
+
* - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1261
|
+
* - **Supported text format types** Currently supports text and html text types.
|
|
1262
|
+
* - **Translation intervention** 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. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1263
|
+
* ## Translation quality comparison
|
|
1264
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1265
|
+
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1266
|
+
* | 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 |
|
|
1267
|
+
* | 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 |
|
|
1268
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The product is a "key bag" rather than a "keychain." Other translations may cause ambiguity about the product subject |.
|
|
1269
|
+
*
|
|
1270
|
+
* @param tmpReq - TextTranslateRequest
|
|
1271
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1272
|
+
* @returns TextTranslateResponse
|
|
1273
|
+
*/
|
|
1274
|
+
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1277
|
+
*
|
|
1278
|
+
* @remarks
|
|
1279
|
+
* ## Product Introduction
|
|
1280
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. The model is continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1281
|
+
* ## Common scenarios
|
|
1282
|
+
* - 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.
|
|
1283
|
+
* - 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.
|
|
1284
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1285
|
+
* - Customer service conversations: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1286
|
+
* Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1287
|
+
* ## Features
|
|
1288
|
+
* - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
1289
|
+
* - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1290
|
+
* - **Supported text format types** Currently supports text and html text types.
|
|
1291
|
+
* - **Translation intervention** 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. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1292
|
+
* ## Translation quality comparison
|
|
1293
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1294
|
+
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1295
|
+
* | 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 |
|
|
1296
|
+
* | 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 |
|
|
1297
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The product is a "key bag" rather than a "keychain." Other translations may cause ambiguity about the product subject |.
|
|
1298
|
+
*
|
|
1299
|
+
* @param request - TextTranslateRequest
|
|
1300
|
+
* @returns TextTranslateResponse
|
|
1301
|
+
*/
|
|
1302
|
+
textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
|
|
1303
|
+
/**
|
|
1304
|
+
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous).
|
|
1305
|
+
*
|
|
1306
|
+
* @remarks
|
|
1307
|
+
* # 1. Product Introduction
|
|
1308
|
+
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous).
|
|
1309
|
+
* # 2. Common scenarios
|
|
1310
|
+
* Applicable to batch optimization of product images for cross-platform listing scenarios. Adapts source product images into main images, SKU images, and detail images required by listing platforms. Supported capabilities include:
|
|
1311
|
+
* * Detecting low-quality images that contain text, watermarks, logos, or overlay patches, and allowing users to filter images that require processing
|
|
1312
|
+
*
|
|
1313
|
+
* * Removing non-compliant elements such as watermarks, logos, overlay patches, and Chinese text from original images
|
|
1314
|
+
*
|
|
1315
|
+
* * Removing the background around the product subject edges
|
|
1316
|
+
*
|
|
1317
|
+
* * Translating text within images into other languages
|
|
1318
|
+
*
|
|
1319
|
+
* * Expanding images to other dimensions (by ratio, size, or other methods) with automatic background completion
|
|
1320
|
+
*
|
|
1321
|
+
* * Cropping images to specified dimensions
|
|
1322
|
+
*
|
|
1323
|
+
* * Upscaling image resolution by a specified factor.
|
|
1324
|
+
* # 3. Features
|
|
1325
|
+
* Provide a product image URL and use the Ability parameter to select the AI capability combination to invoke (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 either filter images out of or retain images in the subsequent AI processing pipeline.
|
|
1326
|
+
* 
|
|
1327
|
+
* Each AI capability is described as follows:
|
|
1328
|
+
* 1. **Intelligent element detection:** An element detection capability designed for e-commerce images. Detects text, logos, watermarks, and text-bearing color blocks in both the subject and background of an image, and returns Boolean detection results. Allows users to filter images based on detection results (for example, process only images that contain watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
1329
|
+
*
|
|
1330
|
+
* 2. **Intelligent matting:** Automatically identifies the product subject in an image and precisely separates the subject from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with a transparent or white background, supports custom background colors and target dimension cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
1331
|
+
*
|
|
1332
|
+
* 3. **Intelligent removal:** Automatically detects and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and overlay patches. Supports specifying removal of elements in the subject area or non-subject area separately, and also supports precise removal area specification through the Mask parameter for efficient compliance cleanup of large batches of images.
|
|
1333
|
+
*
|
|
1334
|
+
* 4. **Image Translation Pro:** Leverages multimodal foundation model technology to translate text in images into a target language and render it directly at the corresponding position in the original image. Supports more than 100 language pairs. Provides product subject text protection, brand name protection, and translation intervention glossaries to prevent mistranslation of embedded product information. After translation, returns layout information such as text position, font, and color for secondary editing.
|
|
1335
|
+
*
|
|
1336
|
+
* 5. **Intelligent image expansion:** Expands the image canvas using AI generation technology to broaden the image view without cropping the subject. Supports multiple expansion methods: by aspect ratio (1:1, 3:4, 4:3, 9:16, 16:9), by horizontal/vertical scaling ratio (1.0× to 3.0×), or by pixel offset in the up, down, left, and right directions. AI automatically generates naturally transitioning background content.
|
|
1337
|
+
*
|
|
1338
|
+
* 6. **Intelligent cropping:** Intelligently crops images to specified dimensions, automatically identifies the subject area, and precisely preserves core content. Supports custom output width and height (100 to 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.
|
|
1339
|
+
*
|
|
1340
|
+
* 7. **HD upscaling:** Enhances details and reduces noise while upscaling images. Supports 2× to 4× upscaling. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
1341
|
+
* # 4. Before and after comparison
|
|
1342
|
+
* | **Original image** | **Capabilities used** | **Output image** |
|
|
1343
|
+
* | --- | --- | --- |
|
|
1344
|
+
* |  | * Intelligent detection
|
|
1345
|
+
*
|
|
1346
|
+
* * Image Translation Pro
|
|
1347
|
+
*
|
|
1348
|
+
* * Intelligent cropping |  |
|
|
1349
|
+
* |  | * Intelligent matting
|
|
1350
|
+
*
|
|
1351
|
+
* * Intelligent removal
|
|
1352
|
+
*
|
|
1353
|
+
* * Intelligent cropping |  |
|
|
1354
|
+
* |  | * Intelligent detection
|
|
1355
|
+
*
|
|
1356
|
+
* * Intelligent removal
|
|
1357
|
+
*
|
|
1358
|
+
* * HD upscaling |  |.
|
|
1359
|
+
*
|
|
1360
|
+
* @param tmpReq - VisionFlowRequest
|
|
1361
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1362
|
+
* @returns VisionFlowResponse
|
|
1363
|
+
*/
|
|
1364
|
+
visionFlowWithOptions(tmpReq: $_model.VisionFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VisionFlowResponse>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous).
|
|
1367
|
+
*
|
|
1368
|
+
* @remarks
|
|
1369
|
+
* # 1. Product Introduction
|
|
1370
|
+
* A one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous).
|
|
1371
|
+
* # 2. Common scenarios
|
|
1372
|
+
* Applicable to batch optimization of product images for cross-platform listing scenarios. Adapts source product images into main images, SKU images, and detail images required by listing platforms. Supported capabilities include:
|
|
1373
|
+
* * Detecting low-quality images that contain text, watermarks, logos, or overlay patches, and allowing users to filter images that require processing
|
|
1374
|
+
*
|
|
1375
|
+
* * Removing non-compliant elements such as watermarks, logos, overlay patches, and Chinese text from original images
|
|
1376
|
+
*
|
|
1377
|
+
* * Removing the background around the product subject edges
|
|
1378
|
+
*
|
|
1379
|
+
* * Translating text within images into other languages
|
|
1380
|
+
*
|
|
1381
|
+
* * Expanding images to other dimensions (by ratio, size, or other methods) with automatic background completion
|
|
1382
|
+
*
|
|
1383
|
+
* * Cropping images to specified dimensions
|
|
1384
|
+
*
|
|
1385
|
+
* * Upscaling image resolution by a specified factor.
|
|
1386
|
+
* # 3. Features
|
|
1387
|
+
* Provide a product image URL and use the Ability parameter to select the AI capability combination to invoke (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 either filter images out of or retain images in the subsequent AI processing pipeline.
|
|
1388
|
+
* 
|
|
1389
|
+
* Each AI capability is described as follows:
|
|
1390
|
+
* 1. **Intelligent element detection:** An element detection capability designed for e-commerce images. Detects text, logos, watermarks, and text-bearing color blocks in both the subject and background of an image, and returns Boolean detection results. Allows users to filter images based on detection results (for example, process only images that contain watermarks). Works in conjunction with subsequent capabilities — first identifies the types of elements that need optimization, then precisely executes removal and other operations.
|
|
1391
|
+
*
|
|
1392
|
+
* 2. **Intelligent matting:** Automatically identifies the product subject in an image and precisely separates the subject from the background. Based on deep learning models, supports accurate segmentation of complex edges such as hair strands and transparent objects. Outputs images with a transparent or white background, supports custom background colors and target dimension cropping, and directly generates product display images that comply with e-commerce platform specifications.
|
|
1393
|
+
*
|
|
1394
|
+
* 3. **Intelligent removal:** Automatically detects and removes non-compliant elements from e-commerce images, including text, specific names (brand/store names), transparent text blocks, and overlay patches. Supports specifying removal of elements in the subject area or non-subject area separately, and also supports precise removal area specification through the Mask parameter for efficient compliance cleanup of large batches of images.
|
|
1395
|
+
*
|
|
1396
|
+
* 4. **Image Translation Pro:** Leverages multimodal foundation model technology to translate text in images into a target language and render it directly at the corresponding position in the original image. Supports more than 100 language pairs. Provides product subject text protection, brand name protection, and translation intervention glossaries to prevent mistranslation of embedded product information. After translation, returns layout information such as text position, font, and color for secondary editing.
|
|
1397
|
+
*
|
|
1398
|
+
* 5. **Intelligent image expansion:** Expands the image canvas using AI generation technology to broaden the image view without cropping the subject. Supports multiple expansion methods: by aspect ratio (1:1, 3:4, 4:3, 9:16, 16:9), by horizontal/vertical scaling ratio (1.0× to 3.0×), or by pixel offset in the up, down, left, and right directions. AI automatically generates naturally transitioning background content.
|
|
1399
|
+
*
|
|
1400
|
+
* 6. **Intelligent cropping:** Intelligently crops images to specified dimensions, automatically identifies the subject area, and precisely preserves core content. Supports custom output width and height (100 to 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.
|
|
1401
|
+
*
|
|
1402
|
+
* 7. **HD upscaling:** Enhances details and reduces noise while upscaling images. Supports 2× to 4× upscaling. Suitable for improving the clarity of low-resolution product images and optimizing visual presentation. Supports output in PNG, JPG, BMP, and other formats.
|
|
1403
|
+
* # 4. Before and after comparison
|
|
1404
|
+
* | **Original image** | **Capabilities used** | **Output image** |
|
|
1405
|
+
* | --- | --- | --- |
|
|
1406
|
+
* |  | * Intelligent detection
|
|
1407
|
+
*
|
|
1408
|
+
* * Image Translation Pro
|
|
1409
|
+
*
|
|
1410
|
+
* * Intelligent cropping |  |
|
|
1411
|
+
* |  | * Intelligent matting
|
|
1412
|
+
*
|
|
1413
|
+
* * Intelligent removal
|
|
1414
|
+
*
|
|
1415
|
+
* * Intelligent cropping |  |
|
|
1416
|
+
* |  | * Intelligent detection
|
|
1417
|
+
*
|
|
1418
|
+
* * Intelligent removal
|
|
1419
|
+
*
|
|
1420
|
+
* * HD upscaling |  |.
|
|
1421
|
+
*
|
|
1422
|
+
* @param request - VisionFlowRequest
|
|
1423
|
+
* @returns VisionFlowResponse
|
|
1424
|
+
*/
|
|
1425
|
+
visionFlow(request: $_model.VisionFlowRequest): Promise<$_model.VisionFlowResponse>;
|
|
1426
|
+
}
|