@alicloud/aidge20260428 5.10.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 +186 -186
- package/dist/client.js +210 -186
- package/dist/client.js.map +1 -1
- 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/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/VideoTranslationRequest.d.ts +12 -12
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
- package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
- package/package.json +1 -1
- package/src/client.ts +222 -190
- 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/SizeChartExtractAsyncRequest.ts +11 -1
- package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
- package/src/models/VideoTranslationRequest.ts +12 -12
- package/src/models/VideoTranslationResponseBody.ts +4 -4
- package/src/models/VideoTranslationShrinkRequest.ts +12 -12
package/dist/client.d.ts
CHANGED
|
@@ -715,13 +715,13 @@ export default class Client extends OpenApi {
|
|
|
715
715
|
*/
|
|
716
716
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
717
717
|
/**
|
|
718
|
-
* 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.
|
|
719
719
|
*
|
|
720
720
|
* @remarks
|
|
721
721
|
* # Scenarios
|
|
722
|
-
* * 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.
|
|
723
723
|
*
|
|
724
|
-
* * 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.
|
|
725
725
|
* # Features.
|
|
726
726
|
* #### 1. One-click precise subject recognition
|
|
727
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.
|
|
@@ -730,9 +730,9 @@ export default class Client extends OpenApi {
|
|
|
730
730
|
* #### 2. Intelligent edge optimization
|
|
731
731
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
732
732
|
* #### 3. Multi-format output and background operations
|
|
733
|
-
* * **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.
|
|
734
734
|
*
|
|
735
|
-
* * **
|
|
735
|
+
* * **Custom background color support**
|
|
736
736
|
* # Effect comparison
|
|
737
737
|
* | **Original image (input)** | **Result image (output)** |
|
|
738
738
|
* | --- | --- |
|
|
@@ -746,13 +746,13 @@ export default class Client extends OpenApi {
|
|
|
746
746
|
*/
|
|
747
747
|
imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
|
|
748
748
|
/**
|
|
749
|
-
* 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.
|
|
750
750
|
*
|
|
751
751
|
* @remarks
|
|
752
752
|
* # Scenarios
|
|
753
|
-
* * 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.
|
|
754
754
|
*
|
|
755
|
-
* * 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.
|
|
756
756
|
* # Features.
|
|
757
757
|
* #### 1. One-click precise subject recognition
|
|
758
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.
|
|
@@ -761,9 +761,9 @@ export default class Client extends OpenApi {
|
|
|
761
761
|
* #### 2. Intelligent edge optimization
|
|
762
762
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
763
763
|
* #### 3. Multi-format output and background operations
|
|
764
|
-
* * **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.
|
|
765
765
|
*
|
|
766
|
-
* * **
|
|
766
|
+
* * **Custom background color support**
|
|
767
767
|
* # Effect comparison
|
|
768
768
|
* | **Original image (input)** | **Result image (output)** |
|
|
769
769
|
* | --- | --- |
|
|
@@ -927,12 +927,12 @@ export default class Client extends OpenApi {
|
|
|
927
927
|
*/
|
|
928
928
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
929
929
|
/**
|
|
930
|
-
* 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.
|
|
931
931
|
*
|
|
932
932
|
* @remarks
|
|
933
933
|
* # Scenarios
|
|
934
934
|
* 1. Intelligent image filtering and optimization:
|
|
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
|
|
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.
|
|
936
936
|
* 2. Automated image processing and efficiency improvement:
|
|
937
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.
|
|
938
938
|
* # Features
|
|
@@ -945,14 +945,14 @@ export default class Client extends OpenApi {
|
|
|
945
945
|
*
|
|
946
946
|
* * Logo: A logo or trademark.
|
|
947
947
|
*
|
|
948
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
948
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
949
949
|
*
|
|
950
950
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
951
951
|
*
|
|
952
|
-
* **2. The
|
|
952
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
953
953
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
954
954
|
*
|
|
955
|
-
* * 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.
|
|
956
956
|
*
|
|
957
957
|
* **3. Technical advantages:**
|
|
958
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.
|
|
@@ -1002,12 +1002,12 @@ export default class Client extends OpenApi {
|
|
|
1002
1002
|
*/
|
|
1003
1003
|
imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
1004
1004
|
/**
|
|
1005
|
-
* 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.
|
|
1006
1006
|
*
|
|
1007
1007
|
* @remarks
|
|
1008
1008
|
* # Scenarios
|
|
1009
1009
|
* 1. Intelligent image filtering and optimization:
|
|
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
|
|
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.
|
|
1011
1011
|
* 2. Automated image processing and efficiency improvement:
|
|
1012
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.
|
|
1013
1013
|
* # Features
|
|
@@ -1020,14 +1020,14 @@ export default class Client extends OpenApi {
|
|
|
1020
1020
|
*
|
|
1021
1021
|
* * Logo: A logo or trademark.
|
|
1022
1022
|
*
|
|
1023
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
1023
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
1024
1024
|
*
|
|
1025
1025
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
1026
1026
|
*
|
|
1027
|
-
* **2. The
|
|
1027
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
1028
1028
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1029
1029
|
*
|
|
1030
|
-
* * 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.
|
|
1031
1031
|
*
|
|
1032
1032
|
* **3. Technical advantages:**
|
|
1033
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.
|
|
@@ -1139,27 +1139,27 @@ export default class Client extends OpenApi {
|
|
|
1139
1139
|
*/
|
|
1140
1140
|
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
1141
1141
|
/**
|
|
1142
|
-
*
|
|
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.
|
|
1143
1143
|
*
|
|
1144
1144
|
* @remarks
|
|
1145
1145
|
* ## Scenarios
|
|
1146
|
-
* * **Efficient e-commerce
|
|
1146
|
+
* * **Efficient processing of e-commerce images:**
|
|
1147
1147
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1148
|
-
* * **
|
|
1149
|
-
*
|
|
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.
|
|
1150
1150
|
* ## Features
|
|
1151
|
-
* 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.
|
|
1152
1152
|
*
|
|
1153
1153
|
* 1. Image subject: the core product area in the image.
|
|
1154
1154
|
*
|
|
1155
|
-
* 2. Image background: the rest of the image
|
|
1155
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1156
1156
|
*
|
|
1157
|
-
* 2. Second, the
|
|
1158
|
-
* ##
|
|
1159
|
-
* | **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** |
|
|
1160
1160
|
* | --- | --- |
|
|
1161
|
-
* |  |  |
|
|
1162
|
-
* |  |  |
|
|
1162
|
+
* |  |  |
|
|
1163
1163
|
*
|
|
1164
1164
|
* @param request - ImageRemovalProAsyncRequest
|
|
1165
1165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1167,27 +1167,27 @@ export default class Client extends OpenApi {
|
|
|
1167
1167
|
*/
|
|
1168
1168
|
imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
1169
1169
|
/**
|
|
1170
|
-
*
|
|
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.
|
|
1171
1171
|
*
|
|
1172
1172
|
* @remarks
|
|
1173
1173
|
* ## Scenarios
|
|
1174
|
-
* * **Efficient e-commerce
|
|
1174
|
+
* * **Efficient processing of e-commerce images:**
|
|
1175
1175
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1176
|
-
* * **
|
|
1177
|
-
*
|
|
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.
|
|
1178
1178
|
* ## Features
|
|
1179
|
-
* 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.
|
|
1180
1180
|
*
|
|
1181
1181
|
* 1. Image subject: the core product area in the image.
|
|
1182
1182
|
*
|
|
1183
|
-
* 2. Image background: the rest of the image
|
|
1183
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1184
1184
|
*
|
|
1185
|
-
* 2. Second, the
|
|
1186
|
-
* ##
|
|
1187
|
-
* | **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** |
|
|
1188
1188
|
* | --- | --- |
|
|
1189
|
-
* |  |  |
|
|
1190
|
-
* |  |  |
|
|
1190
|
+
* |  |  |
|
|
1191
1191
|
*
|
|
1192
1192
|
* @param request - ImageRemovalProAsyncRequest
|
|
1193
1193
|
* @returns ImageRemovalProAsyncResponse
|
|
@@ -1377,33 +1377,33 @@ export default class Client extends OpenApi {
|
|
|
1377
1377
|
*/
|
|
1378
1378
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
1379
1379
|
/**
|
|
1380
|
-
*
|
|
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.
|
|
1381
1381
|
*
|
|
1382
1382
|
* @remarks
|
|
1383
1383
|
* ## Scenarios
|
|
1384
|
-
* * **Efficient
|
|
1384
|
+
* * **Efficient e-commerce image processing:**
|
|
1385
1385
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1386
1386
|
* * **Multi-platform product information synchronization:**
|
|
1387
|
-
* 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.
|
|
1388
1388
|
* * **Marketing material preparation:**
|
|
1389
1389
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1390
|
-
* > 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".
|
|
1391
1391
|
* ## Features
|
|
1392
|
-
* 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.
|
|
1393
1393
|
*
|
|
1394
1394
|
* 1. Image subject: the core product area in the image.
|
|
1395
1395
|
*
|
|
1396
1396
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1397
1397
|
*
|
|
1398
|
-
* 2. Second, the objects to
|
|
1398
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1399
1399
|
*
|
|
1400
|
-
* 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.
|
|
1401
1401
|
*
|
|
1402
1402
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1403
1403
|
*
|
|
1404
|
-
* 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.
|
|
1405
1405
|
*
|
|
1406
|
-
* 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.
|
|
1407
1407
|
* ## Effect comparison
|
|
1408
1408
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1409
1409
|
* | --- | --- | --- |
|
|
@@ -1443,7 +1443,7 @@ export default class Client extends OpenApi {
|
|
|
1443
1443
|
* * Does not involve the image subject area
|
|
1444
1444
|
*
|
|
1445
1445
|
*  |
|
|
1446
|
-
* |
|
|
1446
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1447
1447
|
*
|
|
1448
1448
|
* 
|
|
1449
1449
|
*
|
|
@@ -1456,7 +1456,7 @@ export default class Client extends OpenApi {
|
|
|
1456
1456
|
*
|
|
1457
1457
|
*  |
|
|
1458
1458
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1459
|
-
* | Specified text erasure (supports multiple
|
|
1459
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1460
1460
|
*
|
|
1461
1461
|
* @param tmpReq - ImageRemoveAsyncRequest
|
|
1462
1462
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1464,33 +1464,33 @@ export default class Client extends OpenApi {
|
|
|
1464
1464
|
*/
|
|
1465
1465
|
imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1466
1466
|
/**
|
|
1467
|
-
*
|
|
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.
|
|
1468
1468
|
*
|
|
1469
1469
|
* @remarks
|
|
1470
1470
|
* ## Scenarios
|
|
1471
|
-
* * **Efficient
|
|
1471
|
+
* * **Efficient e-commerce image processing:**
|
|
1472
1472
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1473
1473
|
* * **Multi-platform product information synchronization:**
|
|
1474
|
-
* 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.
|
|
1475
1475
|
* * **Marketing material preparation:**
|
|
1476
1476
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1477
|
-
* > 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".
|
|
1478
1478
|
* ## Features
|
|
1479
|
-
* 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.
|
|
1480
1480
|
*
|
|
1481
1481
|
* 1. Image subject: the core product area in the image.
|
|
1482
1482
|
*
|
|
1483
1483
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1484
1484
|
*
|
|
1485
|
-
* 2. Second, the objects to
|
|
1485
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1486
1486
|
*
|
|
1487
|
-
* 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.
|
|
1488
1488
|
*
|
|
1489
1489
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1490
1490
|
*
|
|
1491
|
-
* 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.
|
|
1492
1492
|
*
|
|
1493
|
-
* 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.
|
|
1494
1494
|
* ## Effect comparison
|
|
1495
1495
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1496
1496
|
* | --- | --- | --- |
|
|
@@ -1530,7 +1530,7 @@ export default class Client extends OpenApi {
|
|
|
1530
1530
|
* * Does not involve the image subject area
|
|
1531
1531
|
*
|
|
1532
1532
|
*  |
|
|
1533
|
-
* |
|
|
1533
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1534
1534
|
*
|
|
1535
1535
|
* 
|
|
1536
1536
|
*
|
|
@@ -1543,7 +1543,7 @@ export default class Client extends OpenApi {
|
|
|
1543
1543
|
*
|
|
1544
1544
|
*  |
|
|
1545
1545
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1546
|
-
* | Specified text erasure (supports multiple
|
|
1546
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1547
1547
|
*
|
|
1548
1548
|
* @param request - ImageRemoveAsyncRequest
|
|
1549
1549
|
* @returns ImageRemoveAsyncResponse
|
|
@@ -1621,17 +1621,17 @@ export default class Client extends OpenApi {
|
|
|
1621
1621
|
*/
|
|
1622
1622
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1623
1623
|
/**
|
|
1624
|
-
* 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.
|
|
1625
1625
|
*
|
|
1626
1626
|
* @remarks
|
|
1627
1627
|
* ## Scenarios
|
|
1628
1628
|
* Main images and detail images for cross-border e-commerce.
|
|
1629
1629
|
* ## Features
|
|
1630
|
-
* * **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.
|
|
1631
1631
|
*
|
|
1632
|
-
* * **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.
|
|
1633
1633
|
*
|
|
1634
|
-
* * **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.
|
|
1635
1635
|
* ## Supported language pairs
|
|
1636
1636
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1637
1637
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1649,8 +1649,8 @@ export default class Client extends OpenApi {
|
|
|
1649
1649
|
* | 11 | en | English | de | German |
|
|
1650
1650
|
* | 12 | en | English | pl | Polish |
|
|
1651
1651
|
* ## Preparations and call process
|
|
1652
|
-
* The asynchronous API for
|
|
1653
|
-
* 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).
|
|
1654
1654
|
*
|
|
1655
1655
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1656
1656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1658,17 +1658,17 @@ export default class Client extends OpenApi {
|
|
|
1658
1658
|
*/
|
|
1659
1659
|
imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1660
1660
|
/**
|
|
1661
|
-
* 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.
|
|
1662
1662
|
*
|
|
1663
1663
|
* @remarks
|
|
1664
1664
|
* ## Scenarios
|
|
1665
1665
|
* Main images and detail images for cross-border e-commerce.
|
|
1666
1666
|
* ## Features
|
|
1667
|
-
* * **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.
|
|
1668
1668
|
*
|
|
1669
|
-
* * **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.
|
|
1670
1670
|
*
|
|
1671
|
-
* * **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.
|
|
1672
1672
|
* ## Supported language pairs
|
|
1673
1673
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1674
1674
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1686,8 +1686,8 @@ export default class Client extends OpenApi {
|
|
|
1686
1686
|
* | 11 | en | English | de | German |
|
|
1687
1687
|
* | 12 | en | English | pl | Polish |
|
|
1688
1688
|
* ## Preparations and call process
|
|
1689
|
-
* The asynchronous API for
|
|
1690
|
-
* 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).
|
|
1691
1691
|
*
|
|
1692
1692
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1693
1693
|
* @returns ImageTranslationPlusAsyncResponse
|
|
@@ -1733,23 +1733,23 @@ export default class Client extends OpenApi {
|
|
|
1733
1733
|
*/
|
|
1734
1734
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1735
1735
|
/**
|
|
1736
|
-
* 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.
|
|
1737
1737
|
*
|
|
1738
1738
|
* @remarks
|
|
1739
1739
|
* ## Scenarios
|
|
1740
1740
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1741
1741
|
* ## Features
|
|
1742
|
-
* * 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.
|
|
1743
1743
|
*
|
|
1744
|
-
* *
|
|
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.
|
|
1745
1745
|
*
|
|
1746
|
-
* * 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.
|
|
1747
1747
|
*
|
|
1748
|
-
* * 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.
|
|
1749
1749
|
* ## Preparations and call process
|
|
1750
|
-
* Image Translation Pro supports both synchronous and asynchronous
|
|
1751
|
-
* The asynchronous APIs for text translation and other capabilities share the result retrieval process,
|
|
1752
|
-
* 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).
|
|
1753
1753
|
*
|
|
1754
1754
|
* @param request - ImageTranslationProAsyncRequest
|
|
1755
1755
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1757,23 +1757,23 @@ export default class Client extends OpenApi {
|
|
|
1757
1757
|
*/
|
|
1758
1758
|
imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1759
1759
|
/**
|
|
1760
|
-
* 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.
|
|
1761
1761
|
*
|
|
1762
1762
|
* @remarks
|
|
1763
1763
|
* ## Scenarios
|
|
1764
1764
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1765
1765
|
* ## Features
|
|
1766
|
-
* * 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.
|
|
1767
1767
|
*
|
|
1768
|
-
* *
|
|
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.
|
|
1769
1769
|
*
|
|
1770
|
-
* * 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.
|
|
1771
1771
|
*
|
|
1772
|
-
* * 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.
|
|
1773
1773
|
* ## Preparations and call process
|
|
1774
|
-
* Image Translation Pro supports both synchronous and asynchronous
|
|
1775
|
-
* The asynchronous APIs for text translation and other capabilities share the result retrieval process,
|
|
1776
|
-
* 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).
|
|
1777
1777
|
*
|
|
1778
1778
|
* @param request - ImageTranslationProAsyncRequest
|
|
1779
1779
|
* @returns ImageTranslationProAsyncResponse
|
|
@@ -1825,23 +1825,23 @@ export default class Client extends OpenApi {
|
|
|
1825
1825
|
*/
|
|
1826
1826
|
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1827
1827
|
/**
|
|
1828
|
-
* 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.
|
|
1829
1829
|
*
|
|
1830
1830
|
* @remarks
|
|
1831
1831
|
* ## Scenarios
|
|
1832
1832
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1833
1833
|
* ## Features
|
|
1834
|
-
* * **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.
|
|
1835
1835
|
*
|
|
1836
|
-
* * **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.
|
|
1837
1837
|
*
|
|
1838
|
-
* * **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.
|
|
1839
1839
|
*
|
|
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 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.
|
|
1841
1841
|
* ## Preparations and call process
|
|
1842
|
-
* * Image Translation
|
|
1843
|
-
* * The asynchronous
|
|
1844
|
-
* * 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).
|
|
1845
1845
|
*
|
|
1846
1846
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1847
1847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1849,23 +1849,23 @@ export default class Client extends OpenApi {
|
|
|
1849
1849
|
*/
|
|
1850
1850
|
imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1851
1851
|
/**
|
|
1852
|
-
* 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.
|
|
1853
1853
|
*
|
|
1854
1854
|
* @remarks
|
|
1855
1855
|
* ## Scenarios
|
|
1856
1856
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1857
1857
|
* ## Features
|
|
1858
|
-
* * **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.
|
|
1859
1859
|
*
|
|
1860
|
-
* * **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.
|
|
1861
1861
|
*
|
|
1862
|
-
* * **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.
|
|
1863
1863
|
*
|
|
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 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.
|
|
1865
1865
|
* ## Preparations and call process
|
|
1866
|
-
* * Image Translation
|
|
1867
|
-
* * The asynchronous
|
|
1868
|
-
* * 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).
|
|
1869
1869
|
*
|
|
1870
1870
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1871
1871
|
* @returns ImageTranslationStandardAsyncResponse
|
|
@@ -2381,10 +2381,10 @@ export default class Client extends OpenApi {
|
|
|
2381
2381
|
*/
|
|
2382
2382
|
productHotspotDetection(request: $_model.ProductHotspotDetectionRequest): Promise<$_model.ProductHotspotDetectionResponse>;
|
|
2383
2383
|
/**
|
|
2384
|
-
* API name
|
|
2384
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2385
2385
|
*
|
|
2386
2386
|
* @remarks
|
|
2387
|
-
* API name
|
|
2387
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2388
2388
|
*
|
|
2389
2389
|
* @param request - QueryAsyncTaskResultRequest
|
|
2390
2390
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2392,10 +2392,10 @@ export default class Client extends OpenApi {
|
|
|
2392
2392
|
*/
|
|
2393
2393
|
queryAsyncTaskResultWithOptions(request: $_model.QueryAsyncTaskResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
2394
2394
|
/**
|
|
2395
|
-
* API name
|
|
2395
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2396
2396
|
*
|
|
2397
2397
|
* @remarks
|
|
2398
|
-
* API name
|
|
2398
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2399
2399
|
*
|
|
2400
2400
|
* @param request - QueryAsyncTaskResultRequest
|
|
2401
2401
|
* @returns QueryAsyncTaskResultResponse
|
|
@@ -2715,105 +2715,105 @@ export default class Client extends OpenApi {
|
|
|
2715
2715
|
*/
|
|
2716
2716
|
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
2717
2717
|
/**
|
|
2718
|
-
* 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.
|
|
2719
2719
|
*
|
|
2720
2720
|
* @remarks
|
|
2721
2721
|
* ## Scenarios
|
|
2722
|
-
* Size charts:
|
|
2723
|
-
* 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.
|
|
2724
2724
|
* ## Feature description
|
|
2725
|
-
* The size chart extraction service is based on multimodal
|
|
2726
|
-
* Core capabilities:
|
|
2727
|
-
* ##
|
|
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
|
|
2728
2728
|
* | Input image | Output result |
|
|
2729
2729
|
* | --- | --- |
|
|
2730
2730
|
* |  | {
|
|
2731
2731
|
* "SizeChart": [
|
|
2732
2732
|
* {
|
|
2733
|
-
* "
|
|
2733
|
+
* "Size": {
|
|
2734
2734
|
* "value": "S"
|
|
2735
2735
|
* },
|
|
2736
|
-
* "
|
|
2736
|
+
* "Waist": {
|
|
2737
2737
|
* "unit": "CM",
|
|
2738
2738
|
* "value": 58
|
|
2739
2739
|
* },
|
|
2740
|
-
* "
|
|
2740
|
+
* "Skirt length": {
|
|
2741
2741
|
* "unit": "CM",
|
|
2742
2742
|
* "value": 81
|
|
2743
2743
|
* },
|
|
2744
|
-
* "
|
|
2744
|
+
* "Weight recommendation": {
|
|
2745
2745
|
* "unit": "kg",
|
|
2746
2746
|
* "lower_value": 40,
|
|
2747
2747
|
* "upper_value": 47.5
|
|
2748
2748
|
* }
|
|
2749
2749
|
* },
|
|
2750
2750
|
* {
|
|
2751
|
-
* "
|
|
2751
|
+
* "Size": {
|
|
2752
2752
|
* "value": "M"
|
|
2753
2753
|
* },
|
|
2754
|
-
* "
|
|
2754
|
+
* "Waist": {
|
|
2755
2755
|
* "unit": "CM",
|
|
2756
2756
|
* "value": 59
|
|
2757
2757
|
* },
|
|
2758
|
-
* "
|
|
2758
|
+
* "Skirt length": {
|
|
2759
2759
|
* "unit": "CM",
|
|
2760
2760
|
* "value": 82
|
|
2761
2761
|
* },
|
|
2762
|
-
* "
|
|
2762
|
+
* "Weight recommendation": {
|
|
2763
2763
|
* "unit": "kg",
|
|
2764
2764
|
* "lower_value": 45,
|
|
2765
2765
|
* "upper_value": 52.5
|
|
2766
2766
|
* }
|
|
2767
2767
|
* },
|
|
2768
2768
|
* {
|
|
2769
|
-
* "
|
|
2769
|
+
* "Size": {
|
|
2770
2770
|
* "value": "L"
|
|
2771
2771
|
* },
|
|
2772
|
-
* "
|
|
2772
|
+
* "Waist": {
|
|
2773
2773
|
* "unit": "CM",
|
|
2774
2774
|
* "value": 60
|
|
2775
2775
|
* },
|
|
2776
|
-
* "
|
|
2776
|
+
* "Skirt length": {
|
|
2777
2777
|
* "unit": "CM",
|
|
2778
2778
|
* "value": 83
|
|
2779
2779
|
* },
|
|
2780
|
-
* "
|
|
2780
|
+
* "Weight recommendation": {
|
|
2781
2781
|
* "unit": "kg",
|
|
2782
2782
|
* "lower_value": 50,
|
|
2783
2783
|
* "upper_value": 57.5
|
|
2784
2784
|
* }
|
|
2785
2785
|
* },
|
|
2786
2786
|
* {
|
|
2787
|
-
* "
|
|
2787
|
+
* "Size": {
|
|
2788
2788
|
* "value": "XL"
|
|
2789
2789
|
* },
|
|
2790
|
-
* "
|
|
2790
|
+
* "Waist": {
|
|
2791
2791
|
* "unit": "CM",
|
|
2792
2792
|
* "value": 61
|
|
2793
2793
|
* },
|
|
2794
|
-
* "
|
|
2794
|
+
* "Skirt length": {
|
|
2795
2795
|
* "unit": "CM",
|
|
2796
2796
|
* "value": 84
|
|
2797
2797
|
* },
|
|
2798
|
-
* "
|
|
2798
|
+
* "Weight recommendation": {
|
|
2799
2799
|
* "unit": "kg",
|
|
2800
2800
|
* "lower_value": 55,
|
|
2801
2801
|
* "upper_value": 62.5
|
|
2802
2802
|
* }
|
|
2803
2803
|
* },
|
|
2804
2804
|
* {
|
|
2805
|
-
* "
|
|
2805
|
+
* "Size": {
|
|
2806
2806
|
* "value": "2XL"
|
|
2807
2807
|
* },
|
|
2808
|
-
* "
|
|
2808
|
+
* "Waist": {
|
|
2809
2809
|
* "unit": "CM",
|
|
2810
2810
|
* "value": 62
|
|
2811
2811
|
* },
|
|
2812
|
-
* "
|
|
2812
|
+
* "Skirt length": {
|
|
2813
2813
|
* "unit": "CM",
|
|
2814
2814
|
* "value": 85
|
|
2815
2815
|
* },
|
|
2816
|
-
* "
|
|
2816
|
+
* "Weight recommendation": {
|
|
2817
2817
|
* "unit": "kg",
|
|
2818
2818
|
* "lower_value": 60,
|
|
2819
2819
|
* "upper_value": 67.5
|
|
@@ -2840,105 +2840,105 @@ export default class Client extends OpenApi {
|
|
|
2840
2840
|
*/
|
|
2841
2841
|
sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2842
2842
|
/**
|
|
2843
|
-
* 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.
|
|
2844
2844
|
*
|
|
2845
2845
|
* @remarks
|
|
2846
2846
|
* ## Scenarios
|
|
2847
|
-
* Size charts:
|
|
2848
|
-
* 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.
|
|
2849
2849
|
* ## Feature description
|
|
2850
|
-
* The size chart extraction service is based on multimodal
|
|
2851
|
-
* Core capabilities:
|
|
2852
|
-
* ##
|
|
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
|
|
2853
2853
|
* | Input image | Output result |
|
|
2854
2854
|
* | --- | --- |
|
|
2855
2855
|
* |  | {
|
|
2856
2856
|
* "SizeChart": [
|
|
2857
2857
|
* {
|
|
2858
|
-
* "
|
|
2858
|
+
* "Size": {
|
|
2859
2859
|
* "value": "S"
|
|
2860
2860
|
* },
|
|
2861
|
-
* "
|
|
2861
|
+
* "Waist": {
|
|
2862
2862
|
* "unit": "CM",
|
|
2863
2863
|
* "value": 58
|
|
2864
2864
|
* },
|
|
2865
|
-
* "
|
|
2865
|
+
* "Skirt length": {
|
|
2866
2866
|
* "unit": "CM",
|
|
2867
2867
|
* "value": 81
|
|
2868
2868
|
* },
|
|
2869
|
-
* "
|
|
2869
|
+
* "Weight recommendation": {
|
|
2870
2870
|
* "unit": "kg",
|
|
2871
2871
|
* "lower_value": 40,
|
|
2872
2872
|
* "upper_value": 47.5
|
|
2873
2873
|
* }
|
|
2874
2874
|
* },
|
|
2875
2875
|
* {
|
|
2876
|
-
* "
|
|
2876
|
+
* "Size": {
|
|
2877
2877
|
* "value": "M"
|
|
2878
2878
|
* },
|
|
2879
|
-
* "
|
|
2879
|
+
* "Waist": {
|
|
2880
2880
|
* "unit": "CM",
|
|
2881
2881
|
* "value": 59
|
|
2882
2882
|
* },
|
|
2883
|
-
* "
|
|
2883
|
+
* "Skirt length": {
|
|
2884
2884
|
* "unit": "CM",
|
|
2885
2885
|
* "value": 82
|
|
2886
2886
|
* },
|
|
2887
|
-
* "
|
|
2887
|
+
* "Weight recommendation": {
|
|
2888
2888
|
* "unit": "kg",
|
|
2889
2889
|
* "lower_value": 45,
|
|
2890
2890
|
* "upper_value": 52.5
|
|
2891
2891
|
* }
|
|
2892
2892
|
* },
|
|
2893
2893
|
* {
|
|
2894
|
-
* "
|
|
2894
|
+
* "Size": {
|
|
2895
2895
|
* "value": "L"
|
|
2896
2896
|
* },
|
|
2897
|
-
* "
|
|
2897
|
+
* "Waist": {
|
|
2898
2898
|
* "unit": "CM",
|
|
2899
2899
|
* "value": 60
|
|
2900
2900
|
* },
|
|
2901
|
-
* "
|
|
2901
|
+
* "Skirt length": {
|
|
2902
2902
|
* "unit": "CM",
|
|
2903
2903
|
* "value": 83
|
|
2904
2904
|
* },
|
|
2905
|
-
* "
|
|
2905
|
+
* "Weight recommendation": {
|
|
2906
2906
|
* "unit": "kg",
|
|
2907
2907
|
* "lower_value": 50,
|
|
2908
2908
|
* "upper_value": 57.5
|
|
2909
2909
|
* }
|
|
2910
2910
|
* },
|
|
2911
2911
|
* {
|
|
2912
|
-
* "
|
|
2912
|
+
* "Size": {
|
|
2913
2913
|
* "value": "XL"
|
|
2914
2914
|
* },
|
|
2915
|
-
* "
|
|
2915
|
+
* "Waist": {
|
|
2916
2916
|
* "unit": "CM",
|
|
2917
2917
|
* "value": 61
|
|
2918
2918
|
* },
|
|
2919
|
-
* "
|
|
2919
|
+
* "Skirt length": {
|
|
2920
2920
|
* "unit": "CM",
|
|
2921
2921
|
* "value": 84
|
|
2922
2922
|
* },
|
|
2923
|
-
* "
|
|
2923
|
+
* "Weight recommendation": {
|
|
2924
2924
|
* "unit": "kg",
|
|
2925
2925
|
* "lower_value": 55,
|
|
2926
2926
|
* "upper_value": 62.5
|
|
2927
2927
|
* }
|
|
2928
2928
|
* },
|
|
2929
2929
|
* {
|
|
2930
|
-
* "
|
|
2930
|
+
* "Size": {
|
|
2931
2931
|
* "value": "2XL"
|
|
2932
2932
|
* },
|
|
2933
|
-
* "
|
|
2933
|
+
* "Waist": {
|
|
2934
2934
|
* "unit": "CM",
|
|
2935
2935
|
* "value": 62
|
|
2936
2936
|
* },
|
|
2937
|
-
* "
|
|
2937
|
+
* "Skirt length": {
|
|
2938
2938
|
* "unit": "CM",
|
|
2939
2939
|
* "value": 85
|
|
2940
2940
|
* },
|
|
2941
|
-
* "
|
|
2941
|
+
* "Weight recommendation": {
|
|
2942
2942
|
* "unit": "kg",
|
|
2943
2943
|
* "lower_value": 60,
|
|
2944
2944
|
* "upper_value": 67.5
|
|
@@ -3279,28 +3279,28 @@ export default class Client extends OpenApi {
|
|
|
3279
3279
|
*/
|
|
3280
3280
|
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
3281
3281
|
/**
|
|
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
|
|
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.
|
|
3283
3283
|
*
|
|
3284
3284
|
* @remarks
|
|
3285
3285
|
* ## Product introduction
|
|
3286
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
|
|
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.
|
|
3288
3288
|
* ## Scenarios
|
|
3289
|
-
* * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to
|
|
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.
|
|
3290
3290
|
*
|
|
3291
|
-
* * **International social media marketing**: Localizes
|
|
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.
|
|
3292
3292
|
*
|
|
3293
|
-
* * **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.
|
|
3294
3294
|
*
|
|
3295
|
-
* * **Training and product instructions**: Translates the 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.
|
|
3296
3296
|
* ## Features
|
|
3297
3297
|
* | Feature | Identifier | Description |
|
|
3298
3298
|
* | --- | --- | --- |
|
|
3299
|
-
* | Speech subtitle translation |
|
|
3300
|
-
* | On-screen text translation |
|
|
3301
|
-
* Speech subtitle translation (
|
|
3302
|
-
* On-screen text translation (
|
|
3303
|
-
* When both
|
|
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.
|
|
3304
3304
|
*
|
|
3305
3305
|
* @param tmpReq - VideoTranslationRequest
|
|
3306
3306
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3308,28 +3308,28 @@ export default class Client extends OpenApi {
|
|
|
3308
3308
|
*/
|
|
3309
3309
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
3310
3310
|
/**
|
|
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
|
|
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.
|
|
3312
3312
|
*
|
|
3313
3313
|
* @remarks
|
|
3314
3314
|
* ## Product introduction
|
|
3315
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
|
|
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.
|
|
3317
3317
|
* ## Scenarios
|
|
3318
|
-
* * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to
|
|
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.
|
|
3319
3319
|
*
|
|
3320
|
-
* * **International social media marketing**: Localizes
|
|
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.
|
|
3321
3321
|
*
|
|
3322
|
-
* * **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.
|
|
3323
3323
|
*
|
|
3324
|
-
* * **Training and product instructions**: Translates the 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.
|
|
3325
3325
|
* ## Features
|
|
3326
3326
|
* | Feature | Identifier | Description |
|
|
3327
3327
|
* | --- | --- | --- |
|
|
3328
|
-
* | Speech subtitle translation |
|
|
3329
|
-
* | On-screen text translation |
|
|
3330
|
-
* Speech subtitle translation (
|
|
3331
|
-
* On-screen text translation (
|
|
3332
|
-
* When both
|
|
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.
|
|
3333
3333
|
*
|
|
3334
3334
|
* @param request - VideoTranslationRequest
|
|
3335
3335
|
* @returns VideoTranslationResponse
|