@alicloud/aidge20260428 5.9.0 → 5.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +324 -264
- package/dist/client.js +488 -264
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
- package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
- package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
- package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/AiTryOnRequest.d.ts +4 -4
- package/dist/models/AiTryOnResponseBody.d.ts +10 -10
- package/dist/models/AiTryOnResponseBody.js +0 -2
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
- package/dist/models/ImageMattingAsyncRequest.js +2 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
- package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
- package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
- package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
- package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
- package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
- package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
- package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
- package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/VideoTranslationRequest.d.ts +12 -12
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
- package/dist/models/model.d.ts +26 -0
- package/dist/models/model.js +59 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +524 -268
- package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
- package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
- package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
- package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/AiTryOnRequest.ts +4 -4
- package/src/models/AiTryOnResponseBody.ts +10 -10
- package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
- package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
- package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/ImageMattingAsyncRequest.ts +11 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
- package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
- package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
- package/src/models/ImageRemoveAsyncRequest.ts +27 -6
- package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
- package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
- package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
- package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
- package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
- package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
- package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
- package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
- package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
- package/src/models/TextTranslateAsyncRequest.ts +28 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
- package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
- package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
- package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/VideoTranslationRequest.ts +12 -12
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +12 -12
- package/src/models/model.ts +26 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,31 +9,46 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Synchronously adds content to a display knowledge base in batches.
|
|
13
|
+
*
|
|
14
|
+
* @param tmpReq - AddDisplayKnowledgeRequest
|
|
15
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16
|
+
* @returns AddDisplayKnowledgeResponse
|
|
17
|
+
*/
|
|
18
|
+
addDisplayKnowledgeWithOptions(tmpReq: $_model.AddDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddDisplayKnowledgeResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Synchronously adds content to a display knowledge base in batches.
|
|
21
|
+
*
|
|
22
|
+
* @param request - AddDisplayKnowledgeRequest
|
|
23
|
+
* @returns AddDisplayKnowledgeResponse
|
|
24
|
+
*/
|
|
25
|
+
addDisplayKnowledge(request: $_model.AddDisplayKnowledgeRequest): Promise<$_model.AddDisplayKnowledgeResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
|
|
13
28
|
*
|
|
14
29
|
* @remarks
|
|
15
30
|
* ## Scenarios
|
|
16
|
-
* - **Virtual try-on for clothing
|
|
17
|
-
* Supports
|
|
31
|
+
* - **Virtual try-on for clothing:**
|
|
32
|
+
* Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
|
|
18
33
|
* - **Virtual try-on for shoes and hats:**
|
|
19
|
-
* Supports virtual try-on for shoes
|
|
34
|
+
* Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
|
|
20
35
|
* - **E-commerce product display and marketing:**
|
|
21
|
-
* Helps merchants quickly generate model try-on images for different products
|
|
36
|
+
* Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
|
|
22
37
|
* - **Online shopping experience optimization:**
|
|
23
|
-
*
|
|
38
|
+
* Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
|
|
24
39
|
* ## Features
|
|
25
|
-
* - **
|
|
26
|
-
* - a. Model image: The person
|
|
27
|
-
* - b. Product image: The clothing, shoes, or hat
|
|
28
|
-
* - **
|
|
29
|
-
* - a. Specify product type:
|
|
30
|
-
* - b. Automatic type recognition: If
|
|
31
|
-
* - **
|
|
32
|
-
* - a. Preserve model details: The generation process does not alter the
|
|
33
|
-
* - b. Maintain
|
|
34
|
-
* - c. Generate try-on
|
|
35
|
-
* ##
|
|
36
|
-
* | **Type** | **Model image** | **
|
|
40
|
+
* - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
|
|
41
|
+
* - a. Model image: The image of the person who will wear the garment in the virtual try-on.
|
|
42
|
+
* - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
|
|
43
|
+
* - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
44
|
+
* - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
|
|
45
|
+
* - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
|
|
46
|
+
* - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
|
|
47
|
+
* - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
|
|
48
|
+
* - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
49
|
+
* - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
|
|
50
|
+
* ## Examples
|
|
51
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
37
52
|
* | --- | --- | --- | --- |
|
|
38
53
|
* | Tops |  |  |  |
|
|
39
54
|
* | Bottoms |  |  |  |
|
|
@@ -48,31 +63,31 @@ export default class Client extends OpenApi {
|
|
|
48
63
|
*/
|
|
49
64
|
aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse>;
|
|
50
65
|
/**
|
|
51
|
-
*
|
|
66
|
+
* Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
|
|
52
67
|
*
|
|
53
68
|
* @remarks
|
|
54
69
|
* ## Scenarios
|
|
55
|
-
* - **Virtual try-on for clothing
|
|
56
|
-
* Supports
|
|
70
|
+
* - **Virtual try-on for clothing:**
|
|
71
|
+
* Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
|
|
57
72
|
* - **Virtual try-on for shoes and hats:**
|
|
58
|
-
* Supports virtual try-on for shoes
|
|
73
|
+
* Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
|
|
59
74
|
* - **E-commerce product display and marketing:**
|
|
60
|
-
* Helps merchants quickly generate model try-on images for different products
|
|
75
|
+
* Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
|
|
61
76
|
* - **Online shopping experience optimization:**
|
|
62
|
-
*
|
|
77
|
+
* Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
|
|
63
78
|
* ## Features
|
|
64
|
-
* - **
|
|
65
|
-
* - a. Model image: The person
|
|
66
|
-
* - b. Product image: The clothing, shoes, or hat
|
|
67
|
-
* - **
|
|
68
|
-
* - a. Specify product type:
|
|
69
|
-
* - b. Automatic type recognition: If
|
|
70
|
-
* - **
|
|
71
|
-
* - a. Preserve model details: The generation process does not alter the
|
|
72
|
-
* - b. Maintain
|
|
73
|
-
* - c. Generate try-on
|
|
74
|
-
* ##
|
|
75
|
-
* | **Type** | **Model image** | **
|
|
79
|
+
* - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
|
|
80
|
+
* - a. Model image: The image of the person who will wear the garment in the virtual try-on.
|
|
81
|
+
* - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
|
|
82
|
+
* - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
83
|
+
* - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
|
|
84
|
+
* - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
|
|
85
|
+
* - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
|
|
86
|
+
* - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
|
|
87
|
+
* - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
88
|
+
* - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
|
|
89
|
+
* ## Examples
|
|
90
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
76
91
|
* | --- | --- | --- | --- |
|
|
77
92
|
* | Tops |  |  |  |
|
|
78
93
|
* | Bottoms |  |  |  |
|
|
@@ -319,6 +334,21 @@ export default class Client extends OpenApi {
|
|
|
319
334
|
* @returns CategoryMatchResponse
|
|
320
335
|
*/
|
|
321
336
|
categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
|
|
337
|
+
/**
|
|
338
|
+
* Deletes display knowledge base content in batches synchronously.
|
|
339
|
+
*
|
|
340
|
+
* @param tmpReq - DeleteDisplayKnowledgeRequest
|
|
341
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
342
|
+
* @returns DeleteDisplayKnowledgeResponse
|
|
343
|
+
*/
|
|
344
|
+
deleteDisplayKnowledgeWithOptions(tmpReq: $_model.DeleteDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDisplayKnowledgeResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Deletes display knowledge base content in batches synchronously.
|
|
347
|
+
*
|
|
348
|
+
* @param request - DeleteDisplayKnowledgeRequest
|
|
349
|
+
* @returns DeleteDisplayKnowledgeResponse
|
|
350
|
+
*/
|
|
351
|
+
deleteDisplayKnowledge(request: $_model.DeleteDisplayKnowledgeRequest): Promise<$_model.DeleteDisplayKnowledgeResponse>;
|
|
322
352
|
/**
|
|
323
353
|
* Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
|
|
324
354
|
*
|
|
@@ -685,13 +715,13 @@ export default class Client extends OpenApi {
|
|
|
685
715
|
*/
|
|
686
716
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
687
717
|
/**
|
|
688
|
-
* Extracts the salient subject from an image
|
|
718
|
+
* Extracts the salient subject from an image by separating it from the background and returns the subject image with the background removed. It also provides multiple background options and custom size options to optimize product display.
|
|
689
719
|
*
|
|
690
720
|
* @remarks
|
|
691
721
|
* # Scenarios
|
|
692
|
-
* * Supports secondary editing of materials: After the image subject
|
|
722
|
+
* * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
|
|
693
723
|
*
|
|
694
|
-
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement,
|
|
724
|
+
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, thereby improving the production efficiency of advertising images and marketing posters.
|
|
695
725
|
* # Features.
|
|
696
726
|
* #### 1. One-click precise subject recognition
|
|
697
727
|
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
@@ -700,9 +730,9 @@ export default class Client extends OpenApi {
|
|
|
700
730
|
* #### 2. Intelligent edge optimization
|
|
701
731
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
702
732
|
* #### 3. Multi-format output and background operations
|
|
703
|
-
* * **Transparent background export**: Directly generates PNG images with transparent
|
|
733
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
|
|
704
734
|
*
|
|
705
|
-
* * **
|
|
735
|
+
* * **Custom background color support**
|
|
706
736
|
* # Effect comparison
|
|
707
737
|
* | **Original image (input)** | **Result image (output)** |
|
|
708
738
|
* | --- | --- |
|
|
@@ -716,13 +746,13 @@ export default class Client extends OpenApi {
|
|
|
716
746
|
*/
|
|
717
747
|
imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
|
|
718
748
|
/**
|
|
719
|
-
* Extracts the salient subject from an image
|
|
749
|
+
* Extracts the salient subject from an image by separating it from the background and returns the subject image with the background removed. It also provides multiple background options and custom size options to optimize product display.
|
|
720
750
|
*
|
|
721
751
|
* @remarks
|
|
722
752
|
* # Scenarios
|
|
723
|
-
* * Supports secondary editing of materials: After the image subject
|
|
753
|
+
* * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
|
|
724
754
|
*
|
|
725
|
-
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement,
|
|
755
|
+
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, thereby improving the production efficiency of advertising images and marketing posters.
|
|
726
756
|
* # Features.
|
|
727
757
|
* #### 1. One-click precise subject recognition
|
|
728
758
|
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
@@ -731,9 +761,9 @@ export default class Client extends OpenApi {
|
|
|
731
761
|
* #### 2. Intelligent edge optimization
|
|
732
762
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
733
763
|
* #### 3. Multi-format output and background operations
|
|
734
|
-
* * **Transparent background export**: Directly generates PNG images with transparent
|
|
764
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
|
|
735
765
|
*
|
|
736
|
-
* * **
|
|
766
|
+
* * **Custom background color support**
|
|
737
767
|
* # Effect comparison
|
|
738
768
|
* | **Original image (input)** | **Result image (output)** |
|
|
739
769
|
* | --- | --- |
|
|
@@ -897,12 +927,12 @@ export default class Client extends OpenApi {
|
|
|
897
927
|
*/
|
|
898
928
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
899
929
|
/**
|
|
900
|
-
* Identifies specific elements in e-commerce images. It
|
|
930
|
+
* Identifies specific elements in e-commerce images. It extracts image details to help users quickly identify text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
|
|
901
931
|
*
|
|
902
932
|
* @remarks
|
|
903
933
|
* # Scenarios
|
|
904
934
|
* 1. Intelligent image filtering and optimization:
|
|
905
|
-
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can
|
|
935
|
+
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
906
936
|
* 2. Automated image processing and efficiency improvement:
|
|
907
937
|
* Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
|
|
908
938
|
* # Features
|
|
@@ -915,14 +945,14 @@ export default class Client extends OpenApi {
|
|
|
915
945
|
*
|
|
916
946
|
* * Logo: A logo or trademark.
|
|
917
947
|
*
|
|
918
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
948
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
919
949
|
*
|
|
920
950
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
921
951
|
*
|
|
922
|
-
* **2. The
|
|
952
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
923
953
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
924
954
|
*
|
|
925
|
-
* * Workflow collaboration: Used in combination with the intelligent elimination API.
|
|
955
|
+
* * Workflow collaboration: Used in combination with the intelligent elimination API. First, the intelligent element recognition API identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
|
|
926
956
|
*
|
|
927
957
|
* **3. Technical advantages:**
|
|
928
958
|
* * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
|
|
@@ -972,12 +1002,12 @@ export default class Client extends OpenApi {
|
|
|
972
1002
|
*/
|
|
973
1003
|
imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
974
1004
|
/**
|
|
975
|
-
* Identifies specific elements in e-commerce images. It
|
|
1005
|
+
* Identifies specific elements in e-commerce images. It extracts image details to help users quickly identify text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
|
|
976
1006
|
*
|
|
977
1007
|
* @remarks
|
|
978
1008
|
* # Scenarios
|
|
979
1009
|
* 1. Intelligent image filtering and optimization:
|
|
980
|
-
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can
|
|
1010
|
+
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
981
1011
|
* 2. Automated image processing and efficiency improvement:
|
|
982
1012
|
* Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
|
|
983
1013
|
* # Features
|
|
@@ -990,14 +1020,14 @@ export default class Client extends OpenApi {
|
|
|
990
1020
|
*
|
|
991
1021
|
* * Logo: A logo or trademark.
|
|
992
1022
|
*
|
|
993
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
1023
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
994
1024
|
*
|
|
995
1025
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
996
1026
|
*
|
|
997
|
-
* **2. The
|
|
1027
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
998
1028
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
999
1029
|
*
|
|
1000
|
-
* * Workflow collaboration: Used in combination with the intelligent elimination API.
|
|
1030
|
+
* * Workflow collaboration: Used in combination with the intelligent elimination API. First, the intelligent element recognition API identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
|
|
1001
1031
|
*
|
|
1002
1032
|
* **3. Technical advantages:**
|
|
1003
1033
|
* * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
|
|
@@ -1109,27 +1139,27 @@ export default class Client extends OpenApi {
|
|
|
1109
1139
|
*/
|
|
1110
1140
|
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
1111
1141
|
/**
|
|
1112
|
-
*
|
|
1142
|
+
* Removes objects from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and watermarks. Allows you to specify objects to remove as needed, enabling efficient and accurate processing of large batches of images and simplifying image editing.
|
|
1113
1143
|
*
|
|
1114
1144
|
* @remarks
|
|
1115
1145
|
* ## Scenarios
|
|
1116
|
-
* * **Efficient e-commerce
|
|
1146
|
+
* * **Efficient processing of e-commerce images:**
|
|
1117
1147
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1118
|
-
* * **
|
|
1119
|
-
*
|
|
1148
|
+
* * **Product information synchronization across multiple platforms:**
|
|
1149
|
+
* Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
|
|
1120
1150
|
* ## Features
|
|
1121
|
-
* 1. First,
|
|
1151
|
+
* 1. First, understand the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose to remove objects from the image subject or the image background. Both API and editor integration methods are supported to meet different requirements.
|
|
1122
1152
|
*
|
|
1123
1153
|
* 1. Image subject: the core product area in the image.
|
|
1124
1154
|
*
|
|
1125
|
-
* 2. Image background: the rest of the image
|
|
1155
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1126
1156
|
*
|
|
1127
|
-
* 2. Second, the
|
|
1128
|
-
* ##
|
|
1129
|
-
* | **Original image** | **
|
|
1157
|
+
* 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your requirements and perform targeted operations:
|
|
1158
|
+
* ## Effect comparison
|
|
1159
|
+
* | **Original image** | **Processed image** |
|
|
1130
1160
|
* | --- | --- |
|
|
1131
|
-
* |  |  |
|
|
1132
|
-
* |  |  |
|
|
1162
|
+
* |  |  |
|
|
1133
1163
|
*
|
|
1134
1164
|
* @param request - ImageRemovalProAsyncRequest
|
|
1135
1165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1137,27 +1167,27 @@ export default class Client extends OpenApi {
|
|
|
1137
1167
|
*/
|
|
1138
1168
|
imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
1139
1169
|
/**
|
|
1140
|
-
*
|
|
1170
|
+
* Removes objects from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and watermarks. Allows you to specify objects to remove as needed, enabling efficient and accurate processing of large batches of images and simplifying image editing.
|
|
1141
1171
|
*
|
|
1142
1172
|
* @remarks
|
|
1143
1173
|
* ## Scenarios
|
|
1144
|
-
* * **Efficient e-commerce
|
|
1174
|
+
* * **Efficient processing of e-commerce images:**
|
|
1145
1175
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1146
|
-
* * **
|
|
1147
|
-
*
|
|
1176
|
+
* * **Product information synchronization across multiple platforms:**
|
|
1177
|
+
* Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
|
|
1148
1178
|
* ## Features
|
|
1149
|
-
* 1. First,
|
|
1179
|
+
* 1. First, understand the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose to remove objects from the image subject or the image background. Both API and editor integration methods are supported to meet different requirements.
|
|
1150
1180
|
*
|
|
1151
1181
|
* 1. Image subject: the core product area in the image.
|
|
1152
1182
|
*
|
|
1153
|
-
* 2. Image background: the rest of the image
|
|
1183
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1154
1184
|
*
|
|
1155
|
-
* 2. Second, the
|
|
1156
|
-
* ##
|
|
1157
|
-
* | **Original image** | **
|
|
1185
|
+
* 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your requirements and perform targeted operations:
|
|
1186
|
+
* ## Effect comparison
|
|
1187
|
+
* | **Original image** | **Processed image** |
|
|
1158
1188
|
* | --- | --- |
|
|
1159
|
-
* |  |  |
|
|
1160
|
-
* |  |  |
|
|
1190
|
+
* |  |  |
|
|
1161
1191
|
*
|
|
1162
1192
|
* @param request - ImageRemovalProAsyncRequest
|
|
1163
1193
|
* @returns ImageRemovalProAsyncResponse
|
|
@@ -1347,33 +1377,33 @@ export default class Client extends OpenApi {
|
|
|
1347
1377
|
*/
|
|
1348
1378
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
1349
1379
|
/**
|
|
1350
|
-
*
|
|
1380
|
+
* Intelligently removes unwanted elements from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and promotional stickers. Supports specifying target objects for removal to enable efficient and accurate batch processing and simplify image editing.
|
|
1351
1381
|
*
|
|
1352
1382
|
* @remarks
|
|
1353
1383
|
* ## Scenarios
|
|
1354
|
-
* * **Efficient
|
|
1384
|
+
* * **Efficient e-commerce image processing:**
|
|
1355
1385
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1356
1386
|
* * **Multi-platform product information synchronization:**
|
|
1357
|
-
* When merchants
|
|
1387
|
+
* When merchants list products on different e-commerce platforms simultaneously, they can quickly remove specific text and promotional stickers to comply with the image specifications of different platforms.
|
|
1358
1388
|
* * **Marketing material preparation:**
|
|
1359
1389
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1360
|
-
* > Note: Merchants or platforms can batch remove
|
|
1390
|
+
* > Note: Merchants or platforms can batch remove impurities in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter images containing text, specific names, transparent text blocks, and promotional stickers, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
|
|
1361
1391
|
* ## Features
|
|
1362
|
-
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to
|
|
1392
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, 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.
|
|
1363
1393
|
*
|
|
1364
1394
|
* 1. Image subject: the core product area in the image.
|
|
1365
1395
|
*
|
|
1366
1396
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1367
1397
|
*
|
|
1368
|
-
* 2. Second, the objects to
|
|
1398
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1369
1399
|
*
|
|
1370
|
-
* 1. The user selects
|
|
1400
|
+
* 1. The user only selects the type. Supported types include text, specific names, transparent text blocks, and promotional stickers. You can clarify the usage requirements through the following examples for targeted operations.
|
|
1371
1401
|
*
|
|
1372
1402
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1373
1403
|
*
|
|
1374
|
-
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple
|
|
1404
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
|
|
1375
1405
|
*
|
|
1376
|
-
* Processing flow: The user
|
|
1406
|
+
* Processing flow: The user passes in the original image URL → OCR and VLM models detect the text or image position → Determine the coordinates of the area to be repaired → AI repairs and generates a clean image → Returns the result image URL.
|
|
1377
1407
|
* ## Effect comparison
|
|
1378
1408
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1379
1409
|
* | --- | --- | --- |
|
|
@@ -1413,7 +1443,7 @@ export default class Client extends OpenApi {
|
|
|
1413
1443
|
* * Does not involve the image subject area
|
|
1414
1444
|
*
|
|
1415
1445
|
*  |
|
|
1416
|
-
* |
|
|
1446
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1417
1447
|
*
|
|
1418
1448
|
* 
|
|
1419
1449
|
*
|
|
@@ -1426,7 +1456,7 @@ export default class Client extends OpenApi {
|
|
|
1426
1456
|
*
|
|
1427
1457
|
*  |
|
|
1428
1458
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1429
|
-
* | Specified text erasure (supports multiple
|
|
1459
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1430
1460
|
*
|
|
1431
1461
|
* @param tmpReq - ImageRemoveAsyncRequest
|
|
1432
1462
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1434,33 +1464,33 @@ export default class Client extends OpenApi {
|
|
|
1434
1464
|
*/
|
|
1435
1465
|
imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1436
1466
|
/**
|
|
1437
|
-
*
|
|
1467
|
+
* Intelligently removes unwanted elements from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and promotional stickers. Supports specifying target objects for removal to enable efficient and accurate batch processing and simplify image editing.
|
|
1438
1468
|
*
|
|
1439
1469
|
* @remarks
|
|
1440
1470
|
* ## Scenarios
|
|
1441
|
-
* * **Efficient
|
|
1471
|
+
* * **Efficient e-commerce image processing:**
|
|
1442
1472
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1443
1473
|
* * **Multi-platform product information synchronization:**
|
|
1444
|
-
* When merchants
|
|
1474
|
+
* When merchants list products on different e-commerce platforms simultaneously, they can quickly remove specific text and promotional stickers to comply with the image specifications of different platforms.
|
|
1445
1475
|
* * **Marketing material preparation:**
|
|
1446
1476
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1447
|
-
* > Note: Merchants or platforms can batch remove
|
|
1477
|
+
* > Note: Merchants or platforms can batch remove impurities in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter images containing text, specific names, transparent text blocks, and promotional stickers, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
|
|
1448
1478
|
* ## Features
|
|
1449
|
-
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to
|
|
1479
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, 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.
|
|
1450
1480
|
*
|
|
1451
1481
|
* 1. Image subject: the core product area in the image.
|
|
1452
1482
|
*
|
|
1453
1483
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1454
1484
|
*
|
|
1455
|
-
* 2. Second, the objects to
|
|
1485
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1456
1486
|
*
|
|
1457
|
-
* 1. The user selects
|
|
1487
|
+
* 1. The user only selects the type. Supported types include text, specific names, transparent text blocks, and promotional stickers. You can clarify the usage requirements through the following examples for targeted operations.
|
|
1458
1488
|
*
|
|
1459
1489
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1460
1490
|
*
|
|
1461
|
-
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple
|
|
1491
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
|
|
1462
1492
|
*
|
|
1463
|
-
* Processing flow: The user
|
|
1493
|
+
* Processing flow: The user passes in the original image URL → OCR and VLM models detect the text or image position → Determine the coordinates of the area to be repaired → AI repairs and generates a clean image → Returns the result image URL.
|
|
1464
1494
|
* ## Effect comparison
|
|
1465
1495
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1466
1496
|
* | --- | --- | --- |
|
|
@@ -1500,7 +1530,7 @@ export default class Client extends OpenApi {
|
|
|
1500
1530
|
* * Does not involve the image subject area
|
|
1501
1531
|
*
|
|
1502
1532
|
*  |
|
|
1503
|
-
* |
|
|
1533
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1504
1534
|
*
|
|
1505
1535
|
* 
|
|
1506
1536
|
*
|
|
@@ -1513,7 +1543,7 @@ export default class Client extends OpenApi {
|
|
|
1513
1543
|
*
|
|
1514
1544
|
*  |
|
|
1515
1545
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1516
|
-
* | Specified text erasure (supports multiple
|
|
1546
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1517
1547
|
*
|
|
1518
1548
|
* @param request - ImageRemoveAsyncRequest
|
|
1519
1549
|
* @returns ImageRemoveAsyncResponse
|
|
@@ -1591,17 +1621,17 @@ export default class Client extends OpenApi {
|
|
|
1591
1621
|
*/
|
|
1592
1622
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1593
1623
|
/**
|
|
1594
|
-
* Translates e-commerce images by using the Mixture of Experts (
|
|
1624
|
+
* Translates e-commerce images by using the Mixture of Experts (MoE) architecture. Compared with the Lite and Pro editions, the Plus edition provides higher translation accuracy for multiple minor languages.
|
|
1595
1625
|
*
|
|
1596
1626
|
* @remarks
|
|
1597
1627
|
* ## Scenarios
|
|
1598
1628
|
* Main images and detail images for cross-border e-commerce.
|
|
1599
1629
|
* ## Features
|
|
1600
|
-
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product
|
|
1630
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
|
|
1601
1631
|
*
|
|
1602
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand
|
|
1632
|
+
* * **Brand name protection**: Allows you to specify whether to translate the brand name in the image. This helps you protect the brand name from being translated.
|
|
1603
1633
|
*
|
|
1604
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF),
|
|
1634
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1605
1635
|
* ## Supported language pairs
|
|
1606
1636
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1607
1637
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1619,8 +1649,8 @@ export default class Client extends OpenApi {
|
|
|
1619
1649
|
* | 11 | en | English | de | German |
|
|
1620
1650
|
* | 12 | en | English | pl | Polish |
|
|
1621
1651
|
* ## Preparations and call process
|
|
1622
|
-
* The asynchronous API for
|
|
1623
|
-
* For the asynchronous
|
|
1652
|
+
* The asynchronous API operations for the Plus edition of image translation and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1653
|
+
* For the integration process of asynchronous calls, subscription rules, message formats and encryption protocols, and detailed integration solutions, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1624
1654
|
*
|
|
1625
1655
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1626
1656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1628,17 +1658,17 @@ export default class Client extends OpenApi {
|
|
|
1628
1658
|
*/
|
|
1629
1659
|
imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1630
1660
|
/**
|
|
1631
|
-
* Translates e-commerce images by using the Mixture of Experts (
|
|
1661
|
+
* Translates e-commerce images by using the Mixture of Experts (MoE) architecture. Compared with the Lite and Pro editions, the Plus edition provides higher translation accuracy for multiple minor languages.
|
|
1632
1662
|
*
|
|
1633
1663
|
* @remarks
|
|
1634
1664
|
* ## Scenarios
|
|
1635
1665
|
* Main images and detail images for cross-border e-commerce.
|
|
1636
1666
|
* ## Features
|
|
1637
|
-
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product
|
|
1667
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
|
|
1638
1668
|
*
|
|
1639
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand
|
|
1669
|
+
* * **Brand name protection**: Allows you to specify whether to translate the brand name in the image. This helps you protect the brand name from being translated.
|
|
1640
1670
|
*
|
|
1641
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF),
|
|
1671
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1642
1672
|
* ## Supported language pairs
|
|
1643
1673
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1644
1674
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1656,8 +1686,8 @@ export default class Client extends OpenApi {
|
|
|
1656
1686
|
* | 11 | en | English | de | German |
|
|
1657
1687
|
* | 12 | en | English | pl | Polish |
|
|
1658
1688
|
* ## Preparations and call process
|
|
1659
|
-
* The asynchronous API for
|
|
1660
|
-
* For the asynchronous
|
|
1689
|
+
* The asynchronous API operations for the Plus edition of image translation and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1690
|
+
* For the integration process of asynchronous calls, subscription rules, message formats and encryption protocols, and detailed integration solutions, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1661
1691
|
*
|
|
1662
1692
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1663
1693
|
* @returns ImageTranslationPlusAsyncResponse
|
|
@@ -1703,23 +1733,23 @@ export default class Client extends OpenApi {
|
|
|
1703
1733
|
*/
|
|
1704
1734
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1705
1735
|
/**
|
|
1706
|
-
* Translates images by using Image Translation Pro.
|
|
1736
|
+
* Translates images asynchronously by using Image Translation Pro. Designed for e-commerce images, this service integrates multimodal large language models to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language pairs, including bridged language pairs.
|
|
1707
1737
|
*
|
|
1708
1738
|
* @remarks
|
|
1709
1739
|
* ## Scenarios
|
|
1710
1740
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1711
1741
|
* ## Features
|
|
1712
|
-
* * Product subject information protection:
|
|
1742
|
+
* * Product subject information protection: You can specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
|
|
1713
1743
|
*
|
|
1714
|
-
* *
|
|
1744
|
+
* * Secondary editing after translation: You can specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when you integrate an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
|
|
1715
1745
|
*
|
|
1716
|
-
* * Brand name protection:
|
|
1746
|
+
* * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
|
|
1717
1747
|
*
|
|
1718
|
-
* * Translation intervention:
|
|
1748
|
+
* * Translation intervention: You can customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
|
|
1719
1749
|
* ## Preparations and call process
|
|
1720
|
-
* Image Translation Pro supports both synchronous and asynchronous
|
|
1721
|
-
* The asynchronous APIs for text translation and other capabilities share the result retrieval process,
|
|
1722
|
-
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls,
|
|
1750
|
+
* Image Translation Pro supports both synchronous and asynchronous calls. This topic describes the asynchronous call API. For synchronous calls, see [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
|
|
1751
|
+
* The asynchronous APIs for text translation and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1752
|
+
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, see [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1723
1753
|
*
|
|
1724
1754
|
* @param request - ImageTranslationProAsyncRequest
|
|
1725
1755
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1727,23 +1757,23 @@ export default class Client extends OpenApi {
|
|
|
1727
1757
|
*/
|
|
1728
1758
|
imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1729
1759
|
/**
|
|
1730
|
-
* Translates images by using Image Translation Pro.
|
|
1760
|
+
* Translates images asynchronously by using Image Translation Pro. Designed for e-commerce images, this service integrates multimodal large language models to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language pairs, including bridged language pairs.
|
|
1731
1761
|
*
|
|
1732
1762
|
* @remarks
|
|
1733
1763
|
* ## Scenarios
|
|
1734
1764
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1735
1765
|
* ## Features
|
|
1736
|
-
* * Product subject information protection:
|
|
1766
|
+
* * Product subject information protection: You can specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
|
|
1737
1767
|
*
|
|
1738
|
-
* *
|
|
1768
|
+
* * Secondary editing after translation: You can specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when you integrate an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
|
|
1739
1769
|
*
|
|
1740
|
-
* * Brand name protection:
|
|
1770
|
+
* * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
|
|
1741
1771
|
*
|
|
1742
|
-
* * Translation intervention:
|
|
1772
|
+
* * Translation intervention: You can customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
|
|
1743
1773
|
* ## Preparations and call process
|
|
1744
|
-
* Image Translation Pro supports both synchronous and asynchronous
|
|
1745
|
-
* The asynchronous APIs for text translation and other capabilities share the result retrieval process,
|
|
1746
|
-
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls,
|
|
1774
|
+
* Image Translation Pro supports both synchronous and asynchronous calls. This topic describes the asynchronous call API. For synchronous calls, see [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
|
|
1775
|
+
* The asynchronous APIs for text translation and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1776
|
+
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, see [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1747
1777
|
*
|
|
1748
1778
|
* @param request - ImageTranslationProAsyncRequest
|
|
1749
1779
|
* @returns ImageTranslationProAsyncResponse
|
|
@@ -1795,23 +1825,23 @@ export default class Client extends OpenApi {
|
|
|
1795
1825
|
*/
|
|
1796
1826
|
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1797
1827
|
/**
|
|
1798
|
-
* Translates e-commerce
|
|
1828
|
+
* Translates images specifically designed for e-commerce, supporting over 400 language pairs, including bridged pairs. It accurately processes complex text layouts within images and ensures that the translated content matches the image context. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. Additionally, the service returns layer information such as the position, font, and color of text in the image, which facilitates secondary editing of translation results by using image editors.
|
|
1799
1829
|
*
|
|
1800
1830
|
* @remarks
|
|
1801
1831
|
* ## Scenarios
|
|
1802
1832
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1803
1833
|
* ## Features
|
|
1804
|
-
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject
|
|
1834
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information from being translated and prevents the translation of embedded information such as product names.
|
|
1805
1835
|
*
|
|
1806
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image
|
|
1836
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1807
1837
|
*
|
|
1808
|
-
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as
|
|
1838
|
+
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as the position, font, and color of the text. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, refer to platform notifications.
|
|
1809
1839
|
*
|
|
1810
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention
|
|
1840
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
|
|
1811
1841
|
* ## Preparations and call process
|
|
1812
|
-
* * Image Translation
|
|
1813
|
-
* * The asynchronous
|
|
1814
|
-
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1842
|
+
* * The standard edition of Image Translation supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API operation. To use synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
|
|
1843
|
+
* * The asynchronous API operations for the standard edition of Image Translation and other features share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1844
|
+
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1815
1845
|
*
|
|
1816
1846
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1817
1847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1819,23 +1849,23 @@ export default class Client extends OpenApi {
|
|
|
1819
1849
|
*/
|
|
1820
1850
|
imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1821
1851
|
/**
|
|
1822
|
-
* Translates e-commerce
|
|
1852
|
+
* Translates images specifically designed for e-commerce, supporting over 400 language pairs, including bridged pairs. It accurately processes complex text layouts within images and ensures that the translated content matches the image context. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. Additionally, the service returns layer information such as the position, font, and color of text in the image, which facilitates secondary editing of translation results by using image editors.
|
|
1823
1853
|
*
|
|
1824
1854
|
* @remarks
|
|
1825
1855
|
* ## Scenarios
|
|
1826
1856
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1827
1857
|
* ## Features
|
|
1828
|
-
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject
|
|
1858
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information from being translated and prevents the translation of embedded information such as product names.
|
|
1829
1859
|
*
|
|
1830
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image
|
|
1860
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1831
1861
|
*
|
|
1832
|
-
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as
|
|
1862
|
+
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as the position, font, and color of the text. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, refer to platform notifications.
|
|
1833
1863
|
*
|
|
1834
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention
|
|
1864
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
|
|
1835
1865
|
* ## Preparations and call process
|
|
1836
|
-
* * Image Translation
|
|
1837
|
-
* * The asynchronous
|
|
1838
|
-
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1866
|
+
* * The standard edition of Image Translation supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API operation. To use synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
|
|
1867
|
+
* * The asynchronous API operations for the standard edition of Image Translation and other features share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1868
|
+
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1839
1869
|
*
|
|
1840
1870
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1841
1871
|
* @returns ImageTranslationStandardAsyncResponse
|
|
@@ -2351,10 +2381,10 @@ export default class Client extends OpenApi {
|
|
|
2351
2381
|
*/
|
|
2352
2382
|
productHotspotDetection(request: $_model.ProductHotspotDetectionRequest): Promise<$_model.ProductHotspotDetectionResponse>;
|
|
2353
2383
|
/**
|
|
2354
|
-
* API name
|
|
2384
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2355
2385
|
*
|
|
2356
2386
|
* @remarks
|
|
2357
|
-
* API name
|
|
2387
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2358
2388
|
*
|
|
2359
2389
|
* @param request - QueryAsyncTaskResultRequest
|
|
2360
2390
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2362,15 +2392,30 @@ export default class Client extends OpenApi {
|
|
|
2362
2392
|
*/
|
|
2363
2393
|
queryAsyncTaskResultWithOptions(request: $_model.QueryAsyncTaskResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
2364
2394
|
/**
|
|
2365
|
-
* API name
|
|
2395
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2366
2396
|
*
|
|
2367
2397
|
* @remarks
|
|
2368
|
-
* API name
|
|
2398
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2369
2399
|
*
|
|
2370
2400
|
* @param request - QueryAsyncTaskResultRequest
|
|
2371
2401
|
* @returns QueryAsyncTaskResultResponse
|
|
2372
2402
|
*/
|
|
2373
2403
|
queryAsyncTaskResult(request: $_model.QueryAsyncTaskResultRequest): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
2404
|
+
/**
|
|
2405
|
+
* Performs a paged query on the content of a display knowledge base with paging (synchronization).
|
|
2406
|
+
*
|
|
2407
|
+
* @param tmpReq - QueryDisplayKnowledgeRequest
|
|
2408
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2409
|
+
* @returns QueryDisplayKnowledgeResponse
|
|
2410
|
+
*/
|
|
2411
|
+
queryDisplayKnowledgeWithOptions(tmpReq: $_model.QueryDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDisplayKnowledgeResponse>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Performs a paged query on the content of a display knowledge base with paging (synchronization).
|
|
2414
|
+
*
|
|
2415
|
+
* @param request - QueryDisplayKnowledgeRequest
|
|
2416
|
+
* @returns QueryDisplayKnowledgeResponse
|
|
2417
|
+
*/
|
|
2418
|
+
queryDisplayKnowledge(request: $_model.QueryDisplayKnowledgeRequest): Promise<$_model.QueryDisplayKnowledgeResponse>;
|
|
2374
2419
|
/**
|
|
2375
2420
|
* Detects whether an image contains a size chart. (Synchronous)
|
|
2376
2421
|
*
|
|
@@ -2670,105 +2715,105 @@ export default class Client extends OpenApi {
|
|
|
2670
2715
|
*/
|
|
2671
2716
|
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
2672
2717
|
/**
|
|
2673
|
-
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2718
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
|
|
2674
2719
|
*
|
|
2675
2720
|
* @remarks
|
|
2676
2721
|
* ## Scenarios
|
|
2677
|
-
* Size charts:
|
|
2678
|
-
* Package weight and dimensions:
|
|
2722
|
+
* Size charts: extracts size charts of apparel categories into text.
|
|
2723
|
+
* Package weight and dimensions: extracts package weight and dimension information from images.
|
|
2679
2724
|
* ## Feature description
|
|
2680
|
-
* The size chart extraction service is based on multimodal
|
|
2681
|
-
* Core capabilities:
|
|
2682
|
-
* ##
|
|
2725
|
+
* The size chart extraction service is based on multimodal large language models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList to achieve precise and targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
|
|
2726
|
+
* Core capabilities: You can input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling a large number of calls.
|
|
2727
|
+
* ## Comparison
|
|
2683
2728
|
* | Input image | Output result |
|
|
2684
2729
|
* | --- | --- |
|
|
2685
2730
|
* |  | {
|
|
2686
2731
|
* "SizeChart": [
|
|
2687
2732
|
* {
|
|
2688
|
-
* "
|
|
2733
|
+
* "Size": {
|
|
2689
2734
|
* "value": "S"
|
|
2690
2735
|
* },
|
|
2691
|
-
* "
|
|
2736
|
+
* "Waist": {
|
|
2692
2737
|
* "unit": "CM",
|
|
2693
2738
|
* "value": 58
|
|
2694
2739
|
* },
|
|
2695
|
-
* "
|
|
2740
|
+
* "Skirt length": {
|
|
2696
2741
|
* "unit": "CM",
|
|
2697
2742
|
* "value": 81
|
|
2698
2743
|
* },
|
|
2699
|
-
* "
|
|
2744
|
+
* "Weight recommendation": {
|
|
2700
2745
|
* "unit": "kg",
|
|
2701
2746
|
* "lower_value": 40,
|
|
2702
2747
|
* "upper_value": 47.5
|
|
2703
2748
|
* }
|
|
2704
2749
|
* },
|
|
2705
2750
|
* {
|
|
2706
|
-
* "
|
|
2751
|
+
* "Size": {
|
|
2707
2752
|
* "value": "M"
|
|
2708
2753
|
* },
|
|
2709
|
-
* "
|
|
2754
|
+
* "Waist": {
|
|
2710
2755
|
* "unit": "CM",
|
|
2711
2756
|
* "value": 59
|
|
2712
2757
|
* },
|
|
2713
|
-
* "
|
|
2758
|
+
* "Skirt length": {
|
|
2714
2759
|
* "unit": "CM",
|
|
2715
2760
|
* "value": 82
|
|
2716
2761
|
* },
|
|
2717
|
-
* "
|
|
2762
|
+
* "Weight recommendation": {
|
|
2718
2763
|
* "unit": "kg",
|
|
2719
2764
|
* "lower_value": 45,
|
|
2720
2765
|
* "upper_value": 52.5
|
|
2721
2766
|
* }
|
|
2722
2767
|
* },
|
|
2723
2768
|
* {
|
|
2724
|
-
* "
|
|
2769
|
+
* "Size": {
|
|
2725
2770
|
* "value": "L"
|
|
2726
2771
|
* },
|
|
2727
|
-
* "
|
|
2772
|
+
* "Waist": {
|
|
2728
2773
|
* "unit": "CM",
|
|
2729
2774
|
* "value": 60
|
|
2730
2775
|
* },
|
|
2731
|
-
* "
|
|
2776
|
+
* "Skirt length": {
|
|
2732
2777
|
* "unit": "CM",
|
|
2733
2778
|
* "value": 83
|
|
2734
2779
|
* },
|
|
2735
|
-
* "
|
|
2780
|
+
* "Weight recommendation": {
|
|
2736
2781
|
* "unit": "kg",
|
|
2737
2782
|
* "lower_value": 50,
|
|
2738
2783
|
* "upper_value": 57.5
|
|
2739
2784
|
* }
|
|
2740
2785
|
* },
|
|
2741
2786
|
* {
|
|
2742
|
-
* "
|
|
2787
|
+
* "Size": {
|
|
2743
2788
|
* "value": "XL"
|
|
2744
2789
|
* },
|
|
2745
|
-
* "
|
|
2790
|
+
* "Waist": {
|
|
2746
2791
|
* "unit": "CM",
|
|
2747
2792
|
* "value": 61
|
|
2748
2793
|
* },
|
|
2749
|
-
* "
|
|
2794
|
+
* "Skirt length": {
|
|
2750
2795
|
* "unit": "CM",
|
|
2751
2796
|
* "value": 84
|
|
2752
2797
|
* },
|
|
2753
|
-
* "
|
|
2798
|
+
* "Weight recommendation": {
|
|
2754
2799
|
* "unit": "kg",
|
|
2755
2800
|
* "lower_value": 55,
|
|
2756
2801
|
* "upper_value": 62.5
|
|
2757
2802
|
* }
|
|
2758
2803
|
* },
|
|
2759
2804
|
* {
|
|
2760
|
-
* "
|
|
2805
|
+
* "Size": {
|
|
2761
2806
|
* "value": "2XL"
|
|
2762
2807
|
* },
|
|
2763
|
-
* "
|
|
2808
|
+
* "Waist": {
|
|
2764
2809
|
* "unit": "CM",
|
|
2765
2810
|
* "value": 62
|
|
2766
2811
|
* },
|
|
2767
|
-
* "
|
|
2812
|
+
* "Skirt length": {
|
|
2768
2813
|
* "unit": "CM",
|
|
2769
2814
|
* "value": 85
|
|
2770
2815
|
* },
|
|
2771
|
-
* "
|
|
2816
|
+
* "Weight recommendation": {
|
|
2772
2817
|
* "unit": "kg",
|
|
2773
2818
|
* "lower_value": 60,
|
|
2774
2819
|
* "upper_value": 67.5
|
|
@@ -2795,105 +2840,105 @@ export default class Client extends OpenApi {
|
|
|
2795
2840
|
*/
|
|
2796
2841
|
sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2797
2842
|
/**
|
|
2798
|
-
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2843
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
|
|
2799
2844
|
*
|
|
2800
2845
|
* @remarks
|
|
2801
2846
|
* ## Scenarios
|
|
2802
|
-
* Size charts:
|
|
2803
|
-
* Package weight and dimensions:
|
|
2847
|
+
* Size charts: extracts size charts of apparel categories into text.
|
|
2848
|
+
* Package weight and dimensions: extracts package weight and dimension information from images.
|
|
2804
2849
|
* ## Feature description
|
|
2805
|
-
* The size chart extraction service is based on multimodal
|
|
2806
|
-
* Core capabilities:
|
|
2807
|
-
* ##
|
|
2850
|
+
* The size chart extraction service is based on multimodal large language models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList to achieve precise and targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
|
|
2851
|
+
* Core capabilities: You can input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling a large number of calls.
|
|
2852
|
+
* ## Comparison
|
|
2808
2853
|
* | Input image | Output result |
|
|
2809
2854
|
* | --- | --- |
|
|
2810
2855
|
* |  | {
|
|
2811
2856
|
* "SizeChart": [
|
|
2812
2857
|
* {
|
|
2813
|
-
* "
|
|
2858
|
+
* "Size": {
|
|
2814
2859
|
* "value": "S"
|
|
2815
2860
|
* },
|
|
2816
|
-
* "
|
|
2861
|
+
* "Waist": {
|
|
2817
2862
|
* "unit": "CM",
|
|
2818
2863
|
* "value": 58
|
|
2819
2864
|
* },
|
|
2820
|
-
* "
|
|
2865
|
+
* "Skirt length": {
|
|
2821
2866
|
* "unit": "CM",
|
|
2822
2867
|
* "value": 81
|
|
2823
2868
|
* },
|
|
2824
|
-
* "
|
|
2869
|
+
* "Weight recommendation": {
|
|
2825
2870
|
* "unit": "kg",
|
|
2826
2871
|
* "lower_value": 40,
|
|
2827
2872
|
* "upper_value": 47.5
|
|
2828
2873
|
* }
|
|
2829
2874
|
* },
|
|
2830
2875
|
* {
|
|
2831
|
-
* "
|
|
2876
|
+
* "Size": {
|
|
2832
2877
|
* "value": "M"
|
|
2833
2878
|
* },
|
|
2834
|
-
* "
|
|
2879
|
+
* "Waist": {
|
|
2835
2880
|
* "unit": "CM",
|
|
2836
2881
|
* "value": 59
|
|
2837
2882
|
* },
|
|
2838
|
-
* "
|
|
2883
|
+
* "Skirt length": {
|
|
2839
2884
|
* "unit": "CM",
|
|
2840
2885
|
* "value": 82
|
|
2841
2886
|
* },
|
|
2842
|
-
* "
|
|
2887
|
+
* "Weight recommendation": {
|
|
2843
2888
|
* "unit": "kg",
|
|
2844
2889
|
* "lower_value": 45,
|
|
2845
2890
|
* "upper_value": 52.5
|
|
2846
2891
|
* }
|
|
2847
2892
|
* },
|
|
2848
2893
|
* {
|
|
2849
|
-
* "
|
|
2894
|
+
* "Size": {
|
|
2850
2895
|
* "value": "L"
|
|
2851
2896
|
* },
|
|
2852
|
-
* "
|
|
2897
|
+
* "Waist": {
|
|
2853
2898
|
* "unit": "CM",
|
|
2854
2899
|
* "value": 60
|
|
2855
2900
|
* },
|
|
2856
|
-
* "
|
|
2901
|
+
* "Skirt length": {
|
|
2857
2902
|
* "unit": "CM",
|
|
2858
2903
|
* "value": 83
|
|
2859
2904
|
* },
|
|
2860
|
-
* "
|
|
2905
|
+
* "Weight recommendation": {
|
|
2861
2906
|
* "unit": "kg",
|
|
2862
2907
|
* "lower_value": 50,
|
|
2863
2908
|
* "upper_value": 57.5
|
|
2864
2909
|
* }
|
|
2865
2910
|
* },
|
|
2866
2911
|
* {
|
|
2867
|
-
* "
|
|
2912
|
+
* "Size": {
|
|
2868
2913
|
* "value": "XL"
|
|
2869
2914
|
* },
|
|
2870
|
-
* "
|
|
2915
|
+
* "Waist": {
|
|
2871
2916
|
* "unit": "CM",
|
|
2872
2917
|
* "value": 61
|
|
2873
2918
|
* },
|
|
2874
|
-
* "
|
|
2919
|
+
* "Skirt length": {
|
|
2875
2920
|
* "unit": "CM",
|
|
2876
2921
|
* "value": 84
|
|
2877
2922
|
* },
|
|
2878
|
-
* "
|
|
2923
|
+
* "Weight recommendation": {
|
|
2879
2924
|
* "unit": "kg",
|
|
2880
2925
|
* "lower_value": 55,
|
|
2881
2926
|
* "upper_value": 62.5
|
|
2882
2927
|
* }
|
|
2883
2928
|
* },
|
|
2884
2929
|
* {
|
|
2885
|
-
* "
|
|
2930
|
+
* "Size": {
|
|
2886
2931
|
* "value": "2XL"
|
|
2887
2932
|
* },
|
|
2888
|
-
* "
|
|
2933
|
+
* "Waist": {
|
|
2889
2934
|
* "unit": "CM",
|
|
2890
2935
|
* "value": 62
|
|
2891
2936
|
* },
|
|
2892
|
-
* "
|
|
2937
|
+
* "Skirt length": {
|
|
2893
2938
|
* "unit": "CM",
|
|
2894
2939
|
* "value": 85
|
|
2895
2940
|
* },
|
|
2896
|
-
* "
|
|
2941
|
+
* "Weight recommendation": {
|
|
2897
2942
|
* "unit": "kg",
|
|
2898
2943
|
* "lower_value": 60,
|
|
2899
2944
|
* "upper_value": 67.5
|
|
@@ -3095,36 +3140,36 @@ export default class Client extends OpenApi {
|
|
|
3095
3140
|
*/
|
|
3096
3141
|
textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
|
|
3097
3142
|
/**
|
|
3098
|
-
*
|
|
3143
|
+
* Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
|
|
3099
3144
|
*
|
|
3100
3145
|
* @remarks
|
|
3101
|
-
* ##
|
|
3102
|
-
* *
|
|
3146
|
+
* ## Scenarios
|
|
3147
|
+
* * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
|
|
3103
3148
|
*
|
|
3104
|
-
* *
|
|
3149
|
+
* * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
|
|
3105
3150
|
*
|
|
3106
|
-
* *
|
|
3151
|
+
* * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
|
|
3107
3152
|
*
|
|
3108
|
-
* *
|
|
3153
|
+
* * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
|
|
3109
3154
|
*
|
|
3110
|
-
*
|
|
3111
|
-
* ##
|
|
3112
|
-
* *
|
|
3155
|
+
* The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
|
|
3156
|
+
* ## Features
|
|
3157
|
+
* * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3113
3158
|
*
|
|
3114
|
-
* *
|
|
3159
|
+
* * **Supported text formats** The model supports text and HTML formats.
|
|
3115
3160
|
*
|
|
3116
|
-
* *
|
|
3161
|
+
* * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
3117
3162
|
*
|
|
3118
|
-
* *
|
|
3119
|
-
* |
|
|
3163
|
+
* * **Translation quality comparison**
|
|
3164
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
3120
3165
|
* | --- | --- | --- | --- | --- |
|
|
3121
|
-
* | 75mm
|
|
3122
|
-
* | New
|
|
3123
|
-
* | Men
|
|
3124
|
-
* ##
|
|
3125
|
-
*
|
|
3126
|
-
*
|
|
3127
|
-
*
|
|
3166
|
+
* | 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 |
|
|
3167
|
+
* | 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 punctuation |
|
|
3168
|
+
* | 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 fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
|
|
3169
|
+
* ## Preparations and invocation flow
|
|
3170
|
+
* Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
|
|
3171
|
+
* The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
3172
|
+
* For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
3128
3173
|
*
|
|
3129
3174
|
* @param tmpReq - TextTranslateAsyncRequest
|
|
3130
3175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3132,41 +3177,56 @@ export default class Client extends OpenApi {
|
|
|
3132
3177
|
*/
|
|
3133
3178
|
textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3134
3179
|
/**
|
|
3135
|
-
*
|
|
3180
|
+
* Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
|
|
3136
3181
|
*
|
|
3137
3182
|
* @remarks
|
|
3138
|
-
* ##
|
|
3139
|
-
* *
|
|
3183
|
+
* ## Scenarios
|
|
3184
|
+
* * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
|
|
3140
3185
|
*
|
|
3141
|
-
* *
|
|
3186
|
+
* * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
|
|
3142
3187
|
*
|
|
3143
|
-
* *
|
|
3188
|
+
* * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
|
|
3144
3189
|
*
|
|
3145
|
-
* *
|
|
3190
|
+
* * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
|
|
3146
3191
|
*
|
|
3147
|
-
*
|
|
3148
|
-
* ##
|
|
3149
|
-
* *
|
|
3192
|
+
* The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
|
|
3193
|
+
* ## Features
|
|
3194
|
+
* * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3150
3195
|
*
|
|
3151
|
-
* *
|
|
3196
|
+
* * **Supported text formats** The model supports text and HTML formats.
|
|
3152
3197
|
*
|
|
3153
|
-
* *
|
|
3198
|
+
* * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
3154
3199
|
*
|
|
3155
|
-
* *
|
|
3156
|
-
* |
|
|
3200
|
+
* * **Translation quality comparison**
|
|
3201
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
3157
3202
|
* | --- | --- | --- | --- | --- |
|
|
3158
|
-
* | 75mm
|
|
3159
|
-
* | New
|
|
3160
|
-
* | Men
|
|
3161
|
-
* ##
|
|
3162
|
-
*
|
|
3163
|
-
*
|
|
3164
|
-
*
|
|
3203
|
+
* | 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 |
|
|
3204
|
+
* | 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 punctuation |
|
|
3205
|
+
* | 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 fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
|
|
3206
|
+
* ## Preparations and invocation flow
|
|
3207
|
+
* Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
|
|
3208
|
+
* The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
3209
|
+
* For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
3165
3210
|
*
|
|
3166
3211
|
* @param request - TextTranslateAsyncRequest
|
|
3167
3212
|
* @returns TextTranslateAsyncResponse
|
|
3168
3213
|
*/
|
|
3169
3214
|
textTranslateAsync(request: $_model.TextTranslateAsyncRequest): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3215
|
+
/**
|
|
3216
|
+
* Synchronously updates the content of a display knowledge base in batches.
|
|
3217
|
+
*
|
|
3218
|
+
* @param tmpReq - UpdateDisplayKnowledgeRequest
|
|
3219
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3220
|
+
* @returns UpdateDisplayKnowledgeResponse
|
|
3221
|
+
*/
|
|
3222
|
+
updateDisplayKnowledgeWithOptions(tmpReq: $_model.UpdateDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDisplayKnowledgeResponse>;
|
|
3223
|
+
/**
|
|
3224
|
+
* Synchronously updates the content of a display knowledge base in batches.
|
|
3225
|
+
*
|
|
3226
|
+
* @param request - UpdateDisplayKnowledgeRequest
|
|
3227
|
+
* @returns UpdateDisplayKnowledgeResponse
|
|
3228
|
+
*/
|
|
3229
|
+
updateDisplayKnowledge(request: $_model.UpdateDisplayKnowledgeRequest): Promise<$_model.UpdateDisplayKnowledgeResponse>;
|
|
3170
3230
|
/**
|
|
3171
3231
|
* The e-commerce AI video generation agent is designed for e-commerce merchants and platforms. Based on product main images, titles, and selling points, it automatically generates 5- to 30-second product showcase short videos to help customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P. You can invoke single products quickly and generate multiple products in batches, meeting the needs of daily operations and large-scale product content production. It currently overwrites all clothing categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to core e-commerce categories such as skincare, cosmetics, food and beverages, and home appliances.
|
|
3172
3232
|
*
|
|
@@ -3219,28 +3279,28 @@ export default class Client extends OpenApi {
|
|
|
3219
3279
|
*/
|
|
3220
3280
|
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
3221
3281
|
/**
|
|
3222
|
-
* Translates
|
|
3282
|
+
* Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3223
3283
|
*
|
|
3224
3284
|
* @remarks
|
|
3225
3285
|
* ## Product introduction
|
|
3226
|
-
* The video translation API translates speech and on-screen text in
|
|
3227
|
-
*
|
|
3286
|
+
* The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3287
|
+
* The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3228
3288
|
* ## Scenarios
|
|
3229
|
-
* * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
3289
|
+
* * **Cross-border e-commerce video localization**: Translates the speech subtitles and selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
3230
3290
|
*
|
|
3231
|
-
* * **International social media marketing**: Localizes on-screen text
|
|
3291
|
+
* * **International social media marketing**: Localizes speech subtitles and on-screen text for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
|
|
3232
3292
|
*
|
|
3233
|
-
* * **Global brand advertising**: Automatically generates video versions in the languages
|
|
3293
|
+
* * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
|
|
3234
3294
|
*
|
|
3235
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3295
|
+
* * **Training and product instructions**: Translates the speech subtitles and on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3236
3296
|
* ## Features
|
|
3237
3297
|
* | Feature | Identifier | Description |
|
|
3238
3298
|
* | --- | --- | --- |
|
|
3239
|
-
* | Speech
|
|
3240
|
-
* | On-screen text translation | visual | Translates
|
|
3241
|
-
* Speech
|
|
3242
|
-
* On-screen text translation (visual) targets recognizable
|
|
3243
|
-
* When both speech and visual are selected, the speech
|
|
3299
|
+
* | Speech subtitle translation | speech | Translates the video speech into target language dubbing. You can choose to erase the original subtitles only or replace them with translated subtitles. By default, the original subtitles are not processed and no new subtitles are added. |
|
|
3300
|
+
* | On-screen text translation | visual | Translates the source language text in the video frames, or erases the on-screen text without translation. You can choose to erase brand logos. |
|
|
3301
|
+
* Speech subtitle translation (speech) generates target language dubbing based on the spoken content in the video, processes the subtitles based on the original subtitle processing option, and synthesizes the final video. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content. Replacing with translated subtitles erases the original subtitles first and then adds subtitles synchronized with the translated speech.
|
|
3302
|
+
* On-screen text translation (visual) targets recognizable original video language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and does not require the text to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3303
|
+
* When both speech and visual are selected, the speech subtitle translation is completed and the video is synthesized first, and then the on-screen text processing is performed on this video. The translated dubbing is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are erased or added during the speech subtitle phase, and subsequent on-screen text processing may still change the original subtitles. Subtitles that have been replaced with translated subtitles are retained during subsequent on-screen text processing.
|
|
3244
3304
|
*
|
|
3245
3305
|
* @param tmpReq - VideoTranslationRequest
|
|
3246
3306
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3248,28 +3308,28 @@ export default class Client extends OpenApi {
|
|
|
3248
3308
|
*/
|
|
3249
3309
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
3250
3310
|
/**
|
|
3251
|
-
* Translates
|
|
3311
|
+
* Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3252
3312
|
*
|
|
3253
3313
|
* @remarks
|
|
3254
3314
|
* ## Product introduction
|
|
3255
|
-
* The video translation API translates speech and on-screen text in
|
|
3256
|
-
*
|
|
3315
|
+
* The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3316
|
+
* The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3257
3317
|
* ## Scenarios
|
|
3258
|
-
* * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
3318
|
+
* * **Cross-border e-commerce video localization**: Translates the speech subtitles and selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
3259
3319
|
*
|
|
3260
|
-
* * **International social media marketing**: Localizes on-screen text
|
|
3320
|
+
* * **International social media marketing**: Localizes speech subtitles and on-screen text for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
|
|
3261
3321
|
*
|
|
3262
|
-
* * **Global brand advertising**: Automatically generates video versions in the languages
|
|
3322
|
+
* * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
|
|
3263
3323
|
*
|
|
3264
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3324
|
+
* * **Training and product instructions**: Translates the speech subtitles and on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3265
3325
|
* ## Features
|
|
3266
3326
|
* | Feature | Identifier | Description |
|
|
3267
3327
|
* | --- | --- | --- |
|
|
3268
|
-
* | Speech
|
|
3269
|
-
* | On-screen text translation | visual | Translates
|
|
3270
|
-
* Speech
|
|
3271
|
-
* On-screen text translation (visual) targets recognizable
|
|
3272
|
-
* When both speech and visual are selected, the speech
|
|
3328
|
+
* | Speech subtitle translation | speech | Translates the video speech into target language dubbing. You can choose to erase the original subtitles only or replace them with translated subtitles. By default, the original subtitles are not processed and no new subtitles are added. |
|
|
3329
|
+
* | On-screen text translation | visual | Translates the source language text in the video frames, or erases the on-screen text without translation. You can choose to erase brand logos. |
|
|
3330
|
+
* Speech subtitle translation (speech) generates target language dubbing based on the spoken content in the video, processes the subtitles based on the original subtitle processing option, and synthesizes the final video. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content. Replacing with translated subtitles erases the original subtitles first and then adds subtitles synchronized with the translated speech.
|
|
3331
|
+
* On-screen text translation (visual) targets recognizable original video language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and does not require the text to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3332
|
+
* When both speech and visual are selected, the speech subtitle translation is completed and the video is synthesized first, and then the on-screen text processing is performed on this video. The translated dubbing is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are erased or added during the speech subtitle phase, and subsequent on-screen text processing may still change the original subtitles. Subtitles that have been replaced with translated subtitles are retained during subsequent on-screen text processing.
|
|
3273
3333
|
*
|
|
3274
3334
|
* @param request - VideoTranslationRequest
|
|
3275
3335
|
* @returns VideoTranslationResponse
|