@alicloud/aidge20260428 5.10.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +201 -186
- package/dist/client.js +282 -186
- package/dist/client.js.map +1 -1
- package/dist/models/GenerateProductContentRequest.d.ts +85 -0
- package/dist/models/GenerateProductContentRequest.js +80 -0
- package/dist/models/GenerateProductContentRequest.js.map +1 -0
- package/dist/models/GenerateProductContentResponse.d.ts +19 -0
- package/dist/models/GenerateProductContentResponse.js +69 -0
- package/dist/models/GenerateProductContentResponse.js.map +1 -0
- package/dist/models/GenerateProductContentResponseBody.d.ts +71 -0
- package/dist/models/GenerateProductContentResponseBody.js +109 -0
- package/dist/models/GenerateProductContentResponseBody.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/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/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +15 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +308 -190
- package/src/models/GenerateProductContentRequest.ts +120 -0
- package/src/models/GenerateProductContentResponse.ts +40 -0
- package/src/models/GenerateProductContentResponseBody.ts +124 -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/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/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -598,6 +598,21 @@ export default class Client extends OpenApi {
|
|
|
598
598
|
* @returns GeneralRephotographyDetectionResponse
|
|
599
599
|
*/
|
|
600
600
|
generalRephotographyDetection(request: $_model.GeneralRephotographyDetectionRequest): Promise<$_model.GeneralRephotographyDetectionResponse>;
|
|
601
|
+
/**
|
|
602
|
+
* 商品文案生成改写
|
|
603
|
+
*
|
|
604
|
+
* @param request - GenerateProductContentRequest
|
|
605
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
606
|
+
* @returns GenerateProductContentResponse
|
|
607
|
+
*/
|
|
608
|
+
generateProductContentWithOptions(request: $_model.GenerateProductContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateProductContentResponse>;
|
|
609
|
+
/**
|
|
610
|
+
* 商品文案生成改写
|
|
611
|
+
*
|
|
612
|
+
* @param request - GenerateProductContentRequest
|
|
613
|
+
* @returns GenerateProductContentResponse
|
|
614
|
+
*/
|
|
615
|
+
generateProductContent(request: $_model.GenerateProductContentRequest): Promise<$_model.GenerateProductContentResponse>;
|
|
601
616
|
/**
|
|
602
617
|
* Intelligently crops images to specified dimensions, automatically identifies the main subject area, and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
603
618
|
*
|
|
@@ -715,13 +730,13 @@ export default class Client extends OpenApi {
|
|
|
715
730
|
*/
|
|
716
731
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
717
732
|
/**
|
|
718
|
-
* Extracts the salient subject from an image
|
|
733
|
+
* 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
734
|
*
|
|
720
735
|
* @remarks
|
|
721
736
|
* # Scenarios
|
|
722
|
-
* * Supports secondary editing of materials: After the image subject
|
|
737
|
+
* * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
|
|
723
738
|
*
|
|
724
|
-
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement,
|
|
739
|
+
* * 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
740
|
* # Features.
|
|
726
741
|
* #### 1. One-click precise subject recognition
|
|
727
742
|
* * **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 +745,9 @@ export default class Client extends OpenApi {
|
|
|
730
745
|
* #### 2. Intelligent edge optimization
|
|
731
746
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
732
747
|
* #### 3. Multi-format output and background operations
|
|
733
|
-
* * **Transparent background export**: Directly generates PNG images with transparent
|
|
748
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
|
|
734
749
|
*
|
|
735
|
-
* * **
|
|
750
|
+
* * **Custom background color support**
|
|
736
751
|
* # Effect comparison
|
|
737
752
|
* | **Original image (input)** | **Result image (output)** |
|
|
738
753
|
* | --- | --- |
|
|
@@ -746,13 +761,13 @@ export default class Client extends OpenApi {
|
|
|
746
761
|
*/
|
|
747
762
|
imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
|
|
748
763
|
/**
|
|
749
|
-
* Extracts the salient subject from an image
|
|
764
|
+
* 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
765
|
*
|
|
751
766
|
* @remarks
|
|
752
767
|
* # Scenarios
|
|
753
|
-
* * Supports secondary editing of materials: After the image subject
|
|
768
|
+
* * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
|
|
754
769
|
*
|
|
755
|
-
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement,
|
|
770
|
+
* * 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
771
|
* # Features.
|
|
757
772
|
* #### 1. One-click precise subject recognition
|
|
758
773
|
* * **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 +776,9 @@ export default class Client extends OpenApi {
|
|
|
761
776
|
* #### 2. Intelligent edge optimization
|
|
762
777
|
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
763
778
|
* #### 3. Multi-format output and background operations
|
|
764
|
-
* * **Transparent background export**: Directly generates PNG images with transparent
|
|
779
|
+
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
|
|
765
780
|
*
|
|
766
|
-
* * **
|
|
781
|
+
* * **Custom background color support**
|
|
767
782
|
* # Effect comparison
|
|
768
783
|
* | **Original image (input)** | **Result image (output)** |
|
|
769
784
|
* | --- | --- |
|
|
@@ -927,12 +942,12 @@ export default class Client extends OpenApi {
|
|
|
927
942
|
*/
|
|
928
943
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
929
944
|
/**
|
|
930
|
-
* Identifies specific elements in e-commerce images. It
|
|
945
|
+
* 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
946
|
*
|
|
932
947
|
* @remarks
|
|
933
948
|
* # Scenarios
|
|
934
949
|
* 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
|
|
950
|
+
* 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
951
|
* 2. Automated image processing and efficiency improvement:
|
|
937
952
|
* 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
953
|
* # Features
|
|
@@ -945,14 +960,14 @@ export default class Client extends OpenApi {
|
|
|
945
960
|
*
|
|
946
961
|
* * Logo: A logo or trademark.
|
|
947
962
|
*
|
|
948
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
963
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
949
964
|
*
|
|
950
965
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
951
966
|
*
|
|
952
|
-
* **2. The
|
|
967
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
953
968
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
954
969
|
*
|
|
955
|
-
* * Workflow collaboration: Used in combination with the intelligent elimination API.
|
|
970
|
+
* * 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
971
|
*
|
|
957
972
|
* **3. Technical advantages:**
|
|
958
973
|
* * 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 +1017,12 @@ export default class Client extends OpenApi {
|
|
|
1002
1017
|
*/
|
|
1003
1018
|
imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
1004
1019
|
/**
|
|
1005
|
-
* Identifies specific elements in e-commerce images. It
|
|
1020
|
+
* 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
1021
|
*
|
|
1007
1022
|
* @remarks
|
|
1008
1023
|
* # Scenarios
|
|
1009
1024
|
* 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
|
|
1025
|
+
* 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
1026
|
* 2. Automated image processing and efficiency improvement:
|
|
1012
1027
|
* 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
1028
|
* # Features
|
|
@@ -1020,14 +1035,14 @@ export default class Client extends OpenApi {
|
|
|
1020
1035
|
*
|
|
1021
1036
|
* * Logo: A logo or trademark.
|
|
1022
1037
|
*
|
|
1023
|
-
* * Watermark: Monochrome transparent text, logos, images, URLs,
|
|
1038
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
|
|
1024
1039
|
*
|
|
1025
1040
|
* * Text-containing color block: A color block containing text outside the subject.
|
|
1026
1041
|
*
|
|
1027
|
-
* **2. The
|
|
1042
|
+
* **2. The intelligent element recognition API provides the following features:**
|
|
1028
1043
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1029
1044
|
*
|
|
1030
|
-
* * Workflow collaboration: Used in combination with the intelligent elimination API.
|
|
1045
|
+
* * 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
1046
|
*
|
|
1032
1047
|
* **3. Technical advantages:**
|
|
1033
1048
|
* * 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 +1154,27 @@ export default class Client extends OpenApi {
|
|
|
1139
1154
|
*/
|
|
1140
1155
|
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
1141
1156
|
/**
|
|
1142
|
-
*
|
|
1157
|
+
* 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
1158
|
*
|
|
1144
1159
|
* @remarks
|
|
1145
1160
|
* ## Scenarios
|
|
1146
|
-
* * **Efficient e-commerce
|
|
1161
|
+
* * **Efficient processing of e-commerce images:**
|
|
1147
1162
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1148
|
-
* * **
|
|
1149
|
-
*
|
|
1163
|
+
* * **Product information synchronization across multiple platforms:**
|
|
1164
|
+
* 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
1165
|
* ## Features
|
|
1151
|
-
* 1. First,
|
|
1166
|
+
* 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
1167
|
*
|
|
1153
1168
|
* 1. Image subject: the core product area in the image.
|
|
1154
1169
|
*
|
|
1155
|
-
* 2. Image background: the rest of the image
|
|
1170
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1156
1171
|
*
|
|
1157
|
-
* 2. Second, the
|
|
1158
|
-
* ##
|
|
1159
|
-
* | **Original image** | **
|
|
1172
|
+
* 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:
|
|
1173
|
+
* ## Effect comparison
|
|
1174
|
+
* | **Original image** | **Processed image** |
|
|
1160
1175
|
* | --- | --- |
|
|
1161
|
-
* |  |  |
|
|
1162
|
-
* |  |  |
|
|
1177
|
+
* |  |  |
|
|
1163
1178
|
*
|
|
1164
1179
|
* @param request - ImageRemovalProAsyncRequest
|
|
1165
1180
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1167,27 +1182,27 @@ export default class Client extends OpenApi {
|
|
|
1167
1182
|
*/
|
|
1168
1183
|
imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
1169
1184
|
/**
|
|
1170
|
-
*
|
|
1185
|
+
* 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
1186
|
*
|
|
1172
1187
|
* @remarks
|
|
1173
1188
|
* ## Scenarios
|
|
1174
|
-
* * **Efficient e-commerce
|
|
1189
|
+
* * **Efficient processing of e-commerce images:**
|
|
1175
1190
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1176
|
-
* * **
|
|
1177
|
-
*
|
|
1191
|
+
* * **Product information synchronization across multiple platforms:**
|
|
1192
|
+
* 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
1193
|
* ## Features
|
|
1179
|
-
* 1. First,
|
|
1194
|
+
* 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
1195
|
*
|
|
1181
1196
|
* 1. Image subject: the core product area in the image.
|
|
1182
1197
|
*
|
|
1183
|
-
* 2. Image background: the rest of the image
|
|
1198
|
+
* 2. Image background: the rest of the image except the product subject.
|
|
1184
1199
|
*
|
|
1185
|
-
* 2. Second, the
|
|
1186
|
-
* ##
|
|
1187
|
-
* | **Original image** | **
|
|
1200
|
+
* 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:
|
|
1201
|
+
* ## Effect comparison
|
|
1202
|
+
* | **Original image** | **Processed image** |
|
|
1188
1203
|
* | --- | --- |
|
|
1189
|
-
* |  |  |
|
|
1190
|
-
* |  |  |
|
|
1205
|
+
* |  |  |
|
|
1191
1206
|
*
|
|
1192
1207
|
* @param request - ImageRemovalProAsyncRequest
|
|
1193
1208
|
* @returns ImageRemovalProAsyncResponse
|
|
@@ -1377,33 +1392,33 @@ export default class Client extends OpenApi {
|
|
|
1377
1392
|
*/
|
|
1378
1393
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
1379
1394
|
/**
|
|
1380
|
-
*
|
|
1395
|
+
* 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
1396
|
*
|
|
1382
1397
|
* @remarks
|
|
1383
1398
|
* ## Scenarios
|
|
1384
|
-
* * **Efficient
|
|
1399
|
+
* * **Efficient e-commerce image processing:**
|
|
1385
1400
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1386
1401
|
* * **Multi-platform product information synchronization:**
|
|
1387
|
-
* When merchants
|
|
1402
|
+
* 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
1403
|
* * **Marketing material preparation:**
|
|
1389
1404
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1390
|
-
* > Note: Merchants or platforms can batch remove
|
|
1405
|
+
* > 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
1406
|
* ## Features
|
|
1392
|
-
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to
|
|
1407
|
+
* 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
1408
|
*
|
|
1394
1409
|
* 1. Image subject: the core product area in the image.
|
|
1395
1410
|
*
|
|
1396
1411
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1397
1412
|
*
|
|
1398
|
-
* 2. Second, the objects to
|
|
1413
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1399
1414
|
*
|
|
1400
|
-
* 1. The user selects
|
|
1415
|
+
* 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
1416
|
*
|
|
1402
1417
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1403
1418
|
*
|
|
1404
|
-
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple
|
|
1419
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
|
|
1405
1420
|
*
|
|
1406
|
-
* Processing flow: The user
|
|
1421
|
+
* 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
1422
|
* ## Effect comparison
|
|
1408
1423
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1409
1424
|
* | --- | --- | --- |
|
|
@@ -1443,7 +1458,7 @@ export default class Client extends OpenApi {
|
|
|
1443
1458
|
* * Does not involve the image subject area
|
|
1444
1459
|
*
|
|
1445
1460
|
*  |
|
|
1446
|
-
* |
|
|
1461
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1447
1462
|
*
|
|
1448
1463
|
* 
|
|
1449
1464
|
*
|
|
@@ -1456,7 +1471,7 @@ export default class Client extends OpenApi {
|
|
|
1456
1471
|
*
|
|
1457
1472
|
*  |
|
|
1458
1473
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1459
|
-
* | Specified text erasure (supports multiple
|
|
1474
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1460
1475
|
*
|
|
1461
1476
|
* @param tmpReq - ImageRemoveAsyncRequest
|
|
1462
1477
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1464,33 +1479,33 @@ export default class Client extends OpenApi {
|
|
|
1464
1479
|
*/
|
|
1465
1480
|
imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1466
1481
|
/**
|
|
1467
|
-
*
|
|
1482
|
+
* 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
1483
|
*
|
|
1469
1484
|
* @remarks
|
|
1470
1485
|
* ## Scenarios
|
|
1471
|
-
* * **Efficient
|
|
1486
|
+
* * **Efficient e-commerce image processing:**
|
|
1472
1487
|
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1473
1488
|
* * **Multi-platform product information synchronization:**
|
|
1474
|
-
* When merchants
|
|
1489
|
+
* 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
1490
|
* * **Marketing material preparation:**
|
|
1476
1491
|
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1477
|
-
* > Note: Merchants or platforms can batch remove
|
|
1492
|
+
* > 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
1493
|
* ## Features
|
|
1479
|
-
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to
|
|
1494
|
+
* 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
1495
|
*
|
|
1481
1496
|
* 1. Image subject: the core product area in the image.
|
|
1482
1497
|
*
|
|
1483
1498
|
* 2. Image background: the rest of the image other than the product subject.
|
|
1484
1499
|
*
|
|
1485
|
-
* 2. Second, the objects to
|
|
1500
|
+
* 2. Second, the objects to be removed support the following three cases:
|
|
1486
1501
|
*
|
|
1487
|
-
* 1. The user selects
|
|
1502
|
+
* 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
1503
|
*
|
|
1489
1504
|
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1490
1505
|
*
|
|
1491
|
-
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple
|
|
1506
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
|
|
1492
1507
|
*
|
|
1493
|
-
* Processing flow: The user
|
|
1508
|
+
* 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
1509
|
* ## Effect comparison
|
|
1495
1510
|
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1496
1511
|
* | --- | --- | --- |
|
|
@@ -1530,7 +1545,7 @@ export default class Client extends OpenApi {
|
|
|
1530
1545
|
* * Does not involve the image subject area
|
|
1531
1546
|
*
|
|
1532
1547
|
*  |
|
|
1533
|
-
* |
|
|
1548
|
+
* | Promotional stickers | * Involves the image subject area
|
|
1534
1549
|
*
|
|
1535
1550
|
* 
|
|
1536
1551
|
*
|
|
@@ -1543,7 +1558,7 @@ export default class Client extends OpenApi {
|
|
|
1543
1558
|
*
|
|
1544
1559
|
*  |
|
|
1545
1560
|
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1546
|
-
* | Specified text erasure (supports multiple
|
|
1561
|
+
* | Specified text erasure (supports multiple text strings) |  |  |
|
|
1547
1562
|
*
|
|
1548
1563
|
* @param request - ImageRemoveAsyncRequest
|
|
1549
1564
|
* @returns ImageRemoveAsyncResponse
|
|
@@ -1621,17 +1636,17 @@ export default class Client extends OpenApi {
|
|
|
1621
1636
|
*/
|
|
1622
1637
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1623
1638
|
/**
|
|
1624
|
-
* Translates e-commerce images by using the Mixture of Experts (
|
|
1639
|
+
* 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
1640
|
*
|
|
1626
1641
|
* @remarks
|
|
1627
1642
|
* ## Scenarios
|
|
1628
1643
|
* Main images and detail images for cross-border e-commerce.
|
|
1629
1644
|
* ## 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
|
|
1645
|
+
* * **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
1646
|
*
|
|
1632
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand
|
|
1647
|
+
* * **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
1648
|
*
|
|
1634
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF),
|
|
1649
|
+
* * **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
1650
|
* ## Supported language pairs
|
|
1636
1651
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1637
1652
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1649,8 +1664,8 @@ export default class Client extends OpenApi {
|
|
|
1649
1664
|
* | 11 | en | English | de | German |
|
|
1650
1665
|
* | 12 | en | English | pl | Polish |
|
|
1651
1666
|
* ## Preparations and call process
|
|
1652
|
-
* The asynchronous API for
|
|
1653
|
-
* For the asynchronous
|
|
1667
|
+
* 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.
|
|
1668
|
+
* 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
1669
|
*
|
|
1655
1670
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1656
1671
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1658,17 +1673,17 @@ export default class Client extends OpenApi {
|
|
|
1658
1673
|
*/
|
|
1659
1674
|
imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1660
1675
|
/**
|
|
1661
|
-
* Translates e-commerce images by using the Mixture of Experts (
|
|
1676
|
+
* 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
1677
|
*
|
|
1663
1678
|
* @remarks
|
|
1664
1679
|
* ## Scenarios
|
|
1665
1680
|
* Main images and detail images for cross-border e-commerce.
|
|
1666
1681
|
* ## 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
|
|
1682
|
+
* * **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
1683
|
*
|
|
1669
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand
|
|
1684
|
+
* * **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
1685
|
*
|
|
1671
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF),
|
|
1686
|
+
* * **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
1687
|
* ## Supported language pairs
|
|
1673
1688
|
* | **No.** | **Source language** | | **Target language** | |
|
|
1674
1689
|
* | --- | --- | --- | --- | --- |
|
|
@@ -1686,8 +1701,8 @@ export default class Client extends OpenApi {
|
|
|
1686
1701
|
* | 11 | en | English | de | German |
|
|
1687
1702
|
* | 12 | en | English | pl | Polish |
|
|
1688
1703
|
* ## Preparations and call process
|
|
1689
|
-
* The asynchronous API for
|
|
1690
|
-
* For the asynchronous
|
|
1704
|
+
* 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.
|
|
1705
|
+
* 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
1706
|
*
|
|
1692
1707
|
* @param request - ImageTranslationPlusAsyncRequest
|
|
1693
1708
|
* @returns ImageTranslationPlusAsyncResponse
|
|
@@ -1733,23 +1748,23 @@ export default class Client extends OpenApi {
|
|
|
1733
1748
|
*/
|
|
1734
1749
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1735
1750
|
/**
|
|
1736
|
-
* Translates images by using Image Translation Pro.
|
|
1751
|
+
* 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
1752
|
*
|
|
1738
1753
|
* @remarks
|
|
1739
1754
|
* ## Scenarios
|
|
1740
1755
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1741
1756
|
* ## Features
|
|
1742
|
-
* * Product subject information protection:
|
|
1757
|
+
* * 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
1758
|
*
|
|
1744
|
-
* *
|
|
1759
|
+
* * 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
1760
|
*
|
|
1746
|
-
* * Brand name protection:
|
|
1761
|
+
* * 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
1762
|
*
|
|
1748
|
-
* * Translation intervention:
|
|
1763
|
+
* * 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
1764
|
* ## 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,
|
|
1765
|
+
* 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).
|
|
1766
|
+
* 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.
|
|
1767
|
+
* 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
1768
|
*
|
|
1754
1769
|
* @param request - ImageTranslationProAsyncRequest
|
|
1755
1770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1757,23 +1772,23 @@ export default class Client extends OpenApi {
|
|
|
1757
1772
|
*/
|
|
1758
1773
|
imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1759
1774
|
/**
|
|
1760
|
-
* Translates images by using Image Translation Pro.
|
|
1775
|
+
* 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
1776
|
*
|
|
1762
1777
|
* @remarks
|
|
1763
1778
|
* ## Scenarios
|
|
1764
1779
|
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1765
1780
|
* ## Features
|
|
1766
|
-
* * Product subject information protection:
|
|
1781
|
+
* * 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
1782
|
*
|
|
1768
|
-
* *
|
|
1783
|
+
* * 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
1784
|
*
|
|
1770
|
-
* * Brand name protection:
|
|
1785
|
+
* * 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
1786
|
*
|
|
1772
|
-
* * Translation intervention:
|
|
1787
|
+
* * 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
1788
|
* ## 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,
|
|
1789
|
+
* 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).
|
|
1790
|
+
* 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.
|
|
1791
|
+
* 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
1792
|
*
|
|
1778
1793
|
* @param request - ImageTranslationProAsyncRequest
|
|
1779
1794
|
* @returns ImageTranslationProAsyncResponse
|
|
@@ -1825,23 +1840,23 @@ export default class Client extends OpenApi {
|
|
|
1825
1840
|
*/
|
|
1826
1841
|
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1827
1842
|
/**
|
|
1828
|
-
* Translates e-commerce
|
|
1843
|
+
* 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
1844
|
*
|
|
1830
1845
|
* @remarks
|
|
1831
1846
|
* ## Scenarios
|
|
1832
1847
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1833
1848
|
* ## Features
|
|
1834
|
-
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject
|
|
1849
|
+
* * **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
1850
|
*
|
|
1836
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image
|
|
1851
|
+
* * **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
1852
|
*
|
|
1838
|
-
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as
|
|
1853
|
+
* * **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
1854
|
*
|
|
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
|
|
1855
|
+
* * **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
1856
|
* ## 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).
|
|
1857
|
+
* * 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).
|
|
1858
|
+
* * 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.
|
|
1859
|
+
* * 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
1860
|
*
|
|
1846
1861
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1847
1862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1849,23 +1864,23 @@ export default class Client extends OpenApi {
|
|
|
1849
1864
|
*/
|
|
1850
1865
|
imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1851
1866
|
/**
|
|
1852
|
-
* Translates e-commerce
|
|
1867
|
+
* 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
1868
|
*
|
|
1854
1869
|
* @remarks
|
|
1855
1870
|
* ## Scenarios
|
|
1856
1871
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1857
1872
|
* ## Features
|
|
1858
|
-
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject
|
|
1873
|
+
* * **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
1874
|
*
|
|
1860
|
-
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image
|
|
1875
|
+
* * **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
1876
|
*
|
|
1862
|
-
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as
|
|
1877
|
+
* * **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
1878
|
*
|
|
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
|
|
1879
|
+
* * **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
1880
|
* ## 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).
|
|
1881
|
+
* * 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).
|
|
1882
|
+
* * 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.
|
|
1883
|
+
* * 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
1884
|
*
|
|
1870
1885
|
* @param request - ImageTranslationStandardAsyncRequest
|
|
1871
1886
|
* @returns ImageTranslationStandardAsyncResponse
|
|
@@ -2381,10 +2396,10 @@ export default class Client extends OpenApi {
|
|
|
2381
2396
|
*/
|
|
2382
2397
|
productHotspotDetection(request: $_model.ProductHotspotDetectionRequest): Promise<$_model.ProductHotspotDetectionResponse>;
|
|
2383
2398
|
/**
|
|
2384
|
-
* API name
|
|
2399
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2385
2400
|
*
|
|
2386
2401
|
* @remarks
|
|
2387
|
-
* API name
|
|
2402
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2388
2403
|
*
|
|
2389
2404
|
* @param request - QueryAsyncTaskResultRequest
|
|
2390
2405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2392,10 +2407,10 @@ export default class Client extends OpenApi {
|
|
|
2392
2407
|
*/
|
|
2393
2408
|
queryAsyncTaskResultWithOptions(request: $_model.QueryAsyncTaskResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
2394
2409
|
/**
|
|
2395
|
-
* API name
|
|
2410
|
+
* Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2396
2411
|
*
|
|
2397
2412
|
* @remarks
|
|
2398
|
-
* API name
|
|
2413
|
+
* The API name in the POP gateway is QueryAsyncTaskResult.
|
|
2399
2414
|
*
|
|
2400
2415
|
* @param request - QueryAsyncTaskResultRequest
|
|
2401
2416
|
* @returns QueryAsyncTaskResultResponse
|
|
@@ -2715,105 +2730,105 @@ export default class Client extends OpenApi {
|
|
|
2715
2730
|
*/
|
|
2716
2731
|
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
2717
2732
|
/**
|
|
2718
|
-
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2733
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
|
|
2719
2734
|
*
|
|
2720
2735
|
* @remarks
|
|
2721
2736
|
* ## Scenarios
|
|
2722
|
-
* Size charts:
|
|
2723
|
-
* Package weight and dimensions:
|
|
2737
|
+
* Size charts: extracts size charts of apparel categories into text.
|
|
2738
|
+
* Package weight and dimensions: extracts package weight and dimension information from images.
|
|
2724
2739
|
* ## Feature description
|
|
2725
|
-
* The size chart extraction service is based on multimodal
|
|
2726
|
-
* Core capabilities:
|
|
2727
|
-
* ##
|
|
2740
|
+
* 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.
|
|
2741
|
+
* 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.
|
|
2742
|
+
* ## Comparison
|
|
2728
2743
|
* | Input image | Output result |
|
|
2729
2744
|
* | --- | --- |
|
|
2730
2745
|
* |  | {
|
|
2731
2746
|
* "SizeChart": [
|
|
2732
2747
|
* {
|
|
2733
|
-
* "
|
|
2748
|
+
* "Size": {
|
|
2734
2749
|
* "value": "S"
|
|
2735
2750
|
* },
|
|
2736
|
-
* "
|
|
2751
|
+
* "Waist": {
|
|
2737
2752
|
* "unit": "CM",
|
|
2738
2753
|
* "value": 58
|
|
2739
2754
|
* },
|
|
2740
|
-
* "
|
|
2755
|
+
* "Skirt length": {
|
|
2741
2756
|
* "unit": "CM",
|
|
2742
2757
|
* "value": 81
|
|
2743
2758
|
* },
|
|
2744
|
-
* "
|
|
2759
|
+
* "Weight recommendation": {
|
|
2745
2760
|
* "unit": "kg",
|
|
2746
2761
|
* "lower_value": 40,
|
|
2747
2762
|
* "upper_value": 47.5
|
|
2748
2763
|
* }
|
|
2749
2764
|
* },
|
|
2750
2765
|
* {
|
|
2751
|
-
* "
|
|
2766
|
+
* "Size": {
|
|
2752
2767
|
* "value": "M"
|
|
2753
2768
|
* },
|
|
2754
|
-
* "
|
|
2769
|
+
* "Waist": {
|
|
2755
2770
|
* "unit": "CM",
|
|
2756
2771
|
* "value": 59
|
|
2757
2772
|
* },
|
|
2758
|
-
* "
|
|
2773
|
+
* "Skirt length": {
|
|
2759
2774
|
* "unit": "CM",
|
|
2760
2775
|
* "value": 82
|
|
2761
2776
|
* },
|
|
2762
|
-
* "
|
|
2777
|
+
* "Weight recommendation": {
|
|
2763
2778
|
* "unit": "kg",
|
|
2764
2779
|
* "lower_value": 45,
|
|
2765
2780
|
* "upper_value": 52.5
|
|
2766
2781
|
* }
|
|
2767
2782
|
* },
|
|
2768
2783
|
* {
|
|
2769
|
-
* "
|
|
2784
|
+
* "Size": {
|
|
2770
2785
|
* "value": "L"
|
|
2771
2786
|
* },
|
|
2772
|
-
* "
|
|
2787
|
+
* "Waist": {
|
|
2773
2788
|
* "unit": "CM",
|
|
2774
2789
|
* "value": 60
|
|
2775
2790
|
* },
|
|
2776
|
-
* "
|
|
2791
|
+
* "Skirt length": {
|
|
2777
2792
|
* "unit": "CM",
|
|
2778
2793
|
* "value": 83
|
|
2779
2794
|
* },
|
|
2780
|
-
* "
|
|
2795
|
+
* "Weight recommendation": {
|
|
2781
2796
|
* "unit": "kg",
|
|
2782
2797
|
* "lower_value": 50,
|
|
2783
2798
|
* "upper_value": 57.5
|
|
2784
2799
|
* }
|
|
2785
2800
|
* },
|
|
2786
2801
|
* {
|
|
2787
|
-
* "
|
|
2802
|
+
* "Size": {
|
|
2788
2803
|
* "value": "XL"
|
|
2789
2804
|
* },
|
|
2790
|
-
* "
|
|
2805
|
+
* "Waist": {
|
|
2791
2806
|
* "unit": "CM",
|
|
2792
2807
|
* "value": 61
|
|
2793
2808
|
* },
|
|
2794
|
-
* "
|
|
2809
|
+
* "Skirt length": {
|
|
2795
2810
|
* "unit": "CM",
|
|
2796
2811
|
* "value": 84
|
|
2797
2812
|
* },
|
|
2798
|
-
* "
|
|
2813
|
+
* "Weight recommendation": {
|
|
2799
2814
|
* "unit": "kg",
|
|
2800
2815
|
* "lower_value": 55,
|
|
2801
2816
|
* "upper_value": 62.5
|
|
2802
2817
|
* }
|
|
2803
2818
|
* },
|
|
2804
2819
|
* {
|
|
2805
|
-
* "
|
|
2820
|
+
* "Size": {
|
|
2806
2821
|
* "value": "2XL"
|
|
2807
2822
|
* },
|
|
2808
|
-
* "
|
|
2823
|
+
* "Waist": {
|
|
2809
2824
|
* "unit": "CM",
|
|
2810
2825
|
* "value": 62
|
|
2811
2826
|
* },
|
|
2812
|
-
* "
|
|
2827
|
+
* "Skirt length": {
|
|
2813
2828
|
* "unit": "CM",
|
|
2814
2829
|
* "value": 85
|
|
2815
2830
|
* },
|
|
2816
|
-
* "
|
|
2831
|
+
* "Weight recommendation": {
|
|
2817
2832
|
* "unit": "kg",
|
|
2818
2833
|
* "lower_value": 60,
|
|
2819
2834
|
* "upper_value": 67.5
|
|
@@ -2840,105 +2855,105 @@ export default class Client extends OpenApi {
|
|
|
2840
2855
|
*/
|
|
2841
2856
|
sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2842
2857
|
/**
|
|
2843
|
-
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2858
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
|
|
2844
2859
|
*
|
|
2845
2860
|
* @remarks
|
|
2846
2861
|
* ## Scenarios
|
|
2847
|
-
* Size charts:
|
|
2848
|
-
* Package weight and dimensions:
|
|
2862
|
+
* Size charts: extracts size charts of apparel categories into text.
|
|
2863
|
+
* Package weight and dimensions: extracts package weight and dimension information from images.
|
|
2849
2864
|
* ## Feature description
|
|
2850
|
-
* The size chart extraction service is based on multimodal
|
|
2851
|
-
* Core capabilities:
|
|
2852
|
-
* ##
|
|
2865
|
+
* 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.
|
|
2866
|
+
* 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.
|
|
2867
|
+
* ## Comparison
|
|
2853
2868
|
* | Input image | Output result |
|
|
2854
2869
|
* | --- | --- |
|
|
2855
2870
|
* |  | {
|
|
2856
2871
|
* "SizeChart": [
|
|
2857
2872
|
* {
|
|
2858
|
-
* "
|
|
2873
|
+
* "Size": {
|
|
2859
2874
|
* "value": "S"
|
|
2860
2875
|
* },
|
|
2861
|
-
* "
|
|
2876
|
+
* "Waist": {
|
|
2862
2877
|
* "unit": "CM",
|
|
2863
2878
|
* "value": 58
|
|
2864
2879
|
* },
|
|
2865
|
-
* "
|
|
2880
|
+
* "Skirt length": {
|
|
2866
2881
|
* "unit": "CM",
|
|
2867
2882
|
* "value": 81
|
|
2868
2883
|
* },
|
|
2869
|
-
* "
|
|
2884
|
+
* "Weight recommendation": {
|
|
2870
2885
|
* "unit": "kg",
|
|
2871
2886
|
* "lower_value": 40,
|
|
2872
2887
|
* "upper_value": 47.5
|
|
2873
2888
|
* }
|
|
2874
2889
|
* },
|
|
2875
2890
|
* {
|
|
2876
|
-
* "
|
|
2891
|
+
* "Size": {
|
|
2877
2892
|
* "value": "M"
|
|
2878
2893
|
* },
|
|
2879
|
-
* "
|
|
2894
|
+
* "Waist": {
|
|
2880
2895
|
* "unit": "CM",
|
|
2881
2896
|
* "value": 59
|
|
2882
2897
|
* },
|
|
2883
|
-
* "
|
|
2898
|
+
* "Skirt length": {
|
|
2884
2899
|
* "unit": "CM",
|
|
2885
2900
|
* "value": 82
|
|
2886
2901
|
* },
|
|
2887
|
-
* "
|
|
2902
|
+
* "Weight recommendation": {
|
|
2888
2903
|
* "unit": "kg",
|
|
2889
2904
|
* "lower_value": 45,
|
|
2890
2905
|
* "upper_value": 52.5
|
|
2891
2906
|
* }
|
|
2892
2907
|
* },
|
|
2893
2908
|
* {
|
|
2894
|
-
* "
|
|
2909
|
+
* "Size": {
|
|
2895
2910
|
* "value": "L"
|
|
2896
2911
|
* },
|
|
2897
|
-
* "
|
|
2912
|
+
* "Waist": {
|
|
2898
2913
|
* "unit": "CM",
|
|
2899
2914
|
* "value": 60
|
|
2900
2915
|
* },
|
|
2901
|
-
* "
|
|
2916
|
+
* "Skirt length": {
|
|
2902
2917
|
* "unit": "CM",
|
|
2903
2918
|
* "value": 83
|
|
2904
2919
|
* },
|
|
2905
|
-
* "
|
|
2920
|
+
* "Weight recommendation": {
|
|
2906
2921
|
* "unit": "kg",
|
|
2907
2922
|
* "lower_value": 50,
|
|
2908
2923
|
* "upper_value": 57.5
|
|
2909
2924
|
* }
|
|
2910
2925
|
* },
|
|
2911
2926
|
* {
|
|
2912
|
-
* "
|
|
2927
|
+
* "Size": {
|
|
2913
2928
|
* "value": "XL"
|
|
2914
2929
|
* },
|
|
2915
|
-
* "
|
|
2930
|
+
* "Waist": {
|
|
2916
2931
|
* "unit": "CM",
|
|
2917
2932
|
* "value": 61
|
|
2918
2933
|
* },
|
|
2919
|
-
* "
|
|
2934
|
+
* "Skirt length": {
|
|
2920
2935
|
* "unit": "CM",
|
|
2921
2936
|
* "value": 84
|
|
2922
2937
|
* },
|
|
2923
|
-
* "
|
|
2938
|
+
* "Weight recommendation": {
|
|
2924
2939
|
* "unit": "kg",
|
|
2925
2940
|
* "lower_value": 55,
|
|
2926
2941
|
* "upper_value": 62.5
|
|
2927
2942
|
* }
|
|
2928
2943
|
* },
|
|
2929
2944
|
* {
|
|
2930
|
-
* "
|
|
2945
|
+
* "Size": {
|
|
2931
2946
|
* "value": "2XL"
|
|
2932
2947
|
* },
|
|
2933
|
-
* "
|
|
2948
|
+
* "Waist": {
|
|
2934
2949
|
* "unit": "CM",
|
|
2935
2950
|
* "value": 62
|
|
2936
2951
|
* },
|
|
2937
|
-
* "
|
|
2952
|
+
* "Skirt length": {
|
|
2938
2953
|
* "unit": "CM",
|
|
2939
2954
|
* "value": 85
|
|
2940
2955
|
* },
|
|
2941
|
-
* "
|
|
2956
|
+
* "Weight recommendation": {
|
|
2942
2957
|
* "unit": "kg",
|
|
2943
2958
|
* "lower_value": 60,
|
|
2944
2959
|
* "upper_value": 67.5
|
|
@@ -3279,28 +3294,28 @@ export default class Client extends OpenApi {
|
|
|
3279
3294
|
*/
|
|
3280
3295
|
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
3281
3296
|
/**
|
|
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
|
|
3297
|
+
* 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
3298
|
*
|
|
3284
3299
|
* @remarks
|
|
3285
3300
|
* ## Product introduction
|
|
3286
3301
|
* 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
|
|
3302
|
+
* 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
3303
|
* ## 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
|
|
3304
|
+
* * **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
3305
|
*
|
|
3291
|
-
* * **International social media marketing**: Localizes
|
|
3306
|
+
* * **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
3307
|
*
|
|
3293
|
-
* * **Global brand advertising**: Automatically generates video versions in the languages
|
|
3308
|
+
* * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
|
|
3294
3309
|
*
|
|
3295
|
-
* * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3310
|
+
* * **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
3311
|
* ## Features
|
|
3297
3312
|
* | Feature | Identifier | Description |
|
|
3298
3313
|
* | --- | --- | --- |
|
|
3299
|
-
* | Speech subtitle translation |
|
|
3300
|
-
* | On-screen text translation |
|
|
3301
|
-
* Speech subtitle translation (
|
|
3302
|
-
* On-screen text translation (
|
|
3303
|
-
* When both
|
|
3314
|
+
* | 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. |
|
|
3315
|
+
* | 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. |
|
|
3316
|
+
* 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.
|
|
3317
|
+
* 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.
|
|
3318
|
+
* 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
3319
|
*
|
|
3305
3320
|
* @param tmpReq - VideoTranslationRequest
|
|
3306
3321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3308,28 +3323,28 @@ export default class Client extends OpenApi {
|
|
|
3308
3323
|
*/
|
|
3309
3324
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
3310
3325
|
/**
|
|
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
|
|
3326
|
+
* 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
3327
|
*
|
|
3313
3328
|
* @remarks
|
|
3314
3329
|
* ## Product introduction
|
|
3315
3330
|
* 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
|
|
3331
|
+
* 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
3332
|
* ## 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
|
|
3333
|
+
* * **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
3334
|
*
|
|
3320
|
-
* * **International social media marketing**: Localizes
|
|
3335
|
+
* * **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
3336
|
*
|
|
3322
|
-
* * **Global brand advertising**: Automatically generates video versions in the languages
|
|
3337
|
+
* * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
|
|
3323
3338
|
*
|
|
3324
|
-
* * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3339
|
+
* * **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
3340
|
* ## Features
|
|
3326
3341
|
* | Feature | Identifier | Description |
|
|
3327
3342
|
* | --- | --- | --- |
|
|
3328
|
-
* | Speech subtitle translation |
|
|
3329
|
-
* | On-screen text translation |
|
|
3330
|
-
* Speech subtitle translation (
|
|
3331
|
-
* On-screen text translation (
|
|
3332
|
-
* When both
|
|
3343
|
+
* | 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. |
|
|
3344
|
+
* | 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. |
|
|
3345
|
+
* 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.
|
|
3346
|
+
* 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.
|
|
3347
|
+
* 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
3348
|
*
|
|
3334
3349
|
* @param request - VideoTranslationRequest
|
|
3335
3350
|
* @returns VideoTranslationResponse
|