@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.
Files changed (93) hide show
  1. package/dist/client.d.ts +201 -186
  2. package/dist/client.js +282 -186
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GenerateProductContentRequest.d.ts +85 -0
  5. package/dist/models/GenerateProductContentRequest.js +80 -0
  6. package/dist/models/GenerateProductContentRequest.js.map +1 -0
  7. package/dist/models/GenerateProductContentResponse.d.ts +19 -0
  8. package/dist/models/GenerateProductContentResponse.js +69 -0
  9. package/dist/models/GenerateProductContentResponse.js.map +1 -0
  10. package/dist/models/GenerateProductContentResponseBody.d.ts +71 -0
  11. package/dist/models/GenerateProductContentResponseBody.js +109 -0
  12. package/dist/models/GenerateProductContentResponseBody.js.map +1 -0
  13. package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
  14. package/dist/models/ImageMattingAsyncRequest.js +2 -0
  15. package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
  16. package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
  17. package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
  18. package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
  19. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  20. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
  21. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
  22. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
  23. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  24. package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
  25. package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
  26. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  27. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
  28. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  29. package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
  30. package/dist/models/ImageRemoveAsyncRequest.js +2 -0
  31. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  32. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
  33. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  34. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
  35. package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
  36. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  37. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
  38. package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
  39. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
  40. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
  41. package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
  42. package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
  43. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
  44. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
  45. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
  46. package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
  47. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
  48. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
  49. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
  50. package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
  51. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  52. package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
  53. package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
  54. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
  55. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
  56. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
  57. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
  58. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
  59. package/dist/models/VideoTranslationRequest.d.ts +12 -12
  60. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  61. package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
  62. package/dist/models/model.d.ts +4 -0
  63. package/dist/models/model.js +15 -7
  64. package/dist/models/model.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +308 -190
  67. package/src/models/GenerateProductContentRequest.ts +120 -0
  68. package/src/models/GenerateProductContentResponse.ts +40 -0
  69. package/src/models/GenerateProductContentResponseBody.ts +124 -0
  70. package/src/models/ImageMattingAsyncRequest.ts +11 -1
  71. package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
  72. package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
  73. package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
  74. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
  75. package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
  76. package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
  77. package/src/models/ImageRemoveAsyncRequest.ts +27 -6
  78. package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
  79. package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
  80. package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
  81. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
  82. package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
  83. package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
  84. package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
  85. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
  86. package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
  87. package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
  88. package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
  89. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
  90. package/src/models/VideoTranslationRequest.ts +12 -12
  91. package/src/models/VideoTranslationResponseBody.ts +4 -4
  92. package/src/models/VideoTranslationShrinkRequest.ts +12 -12
  93. 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, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
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 is separated from the background, you can further edit the image.
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, which improves the production efficiency of advertising images and marketing posters.
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 or white backgrounds, which adapts to e-commerce and design scenarios.
748
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
734
749
  *
735
- * * **Supports custom background colors**
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, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
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 is separated from the background, you can further edit the image.
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, which improves the production efficiency of advertising images and marketing posters.
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 or white backgrounds, which adapts to e-commerce and design scenarios.
779
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
765
780
  *
766
- * * **Supports custom background colors**
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 analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
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 further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
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, or store names.
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 main features of the intelligent element recognition API include:**
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. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
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 analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
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 further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
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, or store names.
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 main features of the intelligent element recognition API include:**
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. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
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
- * Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
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 image processing:**
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
- * * **Multi-platform product information synchronization:**
1149
- * When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
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, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
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 other than the product subject.
1170
+ * 2. Image background: the rest of the image except the product subject.
1156
1171
  *
1157
- * 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
1158
- * ## Before and after
1159
- * | **Original image** | **Erased 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
- * | ![Main image 1 - Leopard print large capacity crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1162
- * | ![Main image 1 - Short half-cover round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1176
+ * | ![Main image 1 - Leopard print large capacity millennium single shoulder crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1177
+ * | ![Main image 1 - Handled ultra-short half-cover round head French false nails.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
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
- * Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
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 image processing:**
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
- * * **Multi-platform product information synchronization:**
1177
- * When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
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, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
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 other than the product subject.
1198
+ * 2. Image background: the rest of the image except the product subject.
1184
1199
  *
1185
- * 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
1186
- * ## Before and after
1187
- * | **Original image** | **Erased 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
- * | ![Main image 1 - Leopard print large capacity crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1190
- * | ![Main image 1 - Short half-cover round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1204
+ * | ![Main image 1 - Leopard print large capacity millennium single shoulder crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1205
+ * | ![Main image 1 - Handled ultra-short half-cover round head French false nails.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
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
- * Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
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 processing of e-commerce images:**
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 synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
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 unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, 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".
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 remove, 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 needs.
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 remove support the following three cases:
1413
+ * 2. Second, the objects to be removed support the following three cases:
1399
1414
  *
1400
- * 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
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 texts at a time.
1419
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
1405
1420
  *
1406
- * Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
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
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1446
- * | Watermarks | * Involves the image subject area
1461
+ * | Promotional stickers | * Involves the image subject area
1447
1462
  *
1448
1463
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1449
1464
  *
@@ -1456,7 +1471,7 @@ export default class Client extends OpenApi {
1456
1471
  *
1457
1472
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1458
1473
  * | Specified image element erasure (supports multiple image links) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/9297951f-53c1-4476-8c69-5c31df3fce21.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ef3f35aa-609f-454c-bba0-dd1710c83945.png) |
1459
- * | Specified text erasure (supports multiple texts) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
1474
+ * | Specified text erasure (supports multiple text strings) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
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
- * Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
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 processing of e-commerce images:**
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 synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
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 unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, 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".
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 remove, 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 needs.
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 remove support the following three cases:
1500
+ * 2. Second, the objects to be removed support the following three cases:
1486
1501
  *
1487
- * 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
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 texts at a time.
1506
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
1492
1507
  *
1493
- * Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
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
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1533
- * | Watermarks | * Involves the image subject area
1548
+ * | Promotional stickers | * Involves the image subject area
1534
1549
  *
1535
1550
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1536
1551
  *
@@ -1543,7 +1558,7 @@ export default class Client extends OpenApi {
1543
1558
  *
1544
1559
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1545
1560
  * | Specified image element erasure (supports multiple image links) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/9297951f-53c1-4476-8c69-5c31df3fce21.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ef3f35aa-609f-454c-bba0-dd1710c83945.png) |
1546
- * | Specified text erasure (supports multiple texts) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
1561
+ * | Specified text erasure (supports multiple text strings) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
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 (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
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 names, from being translated.
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 names in the image. This helps you protect brand name information from being translated.
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), 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 words. If you need more, contact the platform for processing.
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 Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
1653
- * For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
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 (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
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 names, from being translated.
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 names in the image. This helps you protect brand name information from being translated.
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), 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 words. If you need more, contact the platform for processing.
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 Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
1690
- * For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
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. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
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: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
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
- * * Post-translation editing: Allows you to 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 integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
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: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
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: Allows you to 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 terms. If you need more, contact the platform for assistance.
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 call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [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 result retrieval process, ApsaraMQ for 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, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
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. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
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: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
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
- * * Post-translation editing: Allows you to 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 integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
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: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
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: Allows you to 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 terms. If you need more, contact the platform for assistance.
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 call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [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 result retrieval process, ApsaraMQ for 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, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
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 images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
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, protecting the subject information and preventing the translation of embedded information such as product names.
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, protecting brand name information from being translated.
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 text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
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 terms. Contact the platform if you need a higher limit.
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 Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
1843
- * * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, 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 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 images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
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, protecting the subject information and preventing the translation of embedded information such as product names.
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, protecting brand name information from being translated.
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 text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
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 terms. Contact the platform if you need a higher limit.
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 Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
1867
- * * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, 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 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 on the POP gateway: QueryAsyncTaskResult.
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 on the POP gateway: QueryAsyncTaskResult.
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 on the POP gateway: QueryAsyncTaskResult.
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 on the POP gateway: QueryAsyncTaskResult.
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: Extracts size charts for apparel categories into text.
2723
- * Package weight and dimensions: Extracts package weight and dimension information from images.
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 foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. 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 for precise 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: 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 large-scale calls.
2727
- * ## Example results
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
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
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: Extracts size charts for apparel categories into text.
2848
- * Package weight and dimensions: Extracts package weight and dimension information from images.
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 foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. 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 for precise 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: 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 large-scale calls.
2852
- * ## Example results
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
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
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 task ID and poll the task status by calling the query API until the task is completed and the result is returned.
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 `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
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 facilitate promotion on overseas platforms.
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 the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
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 of the target regions to reduce manual production costs.
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 | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
3300
- * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3301
- * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3302
- * On-screen text translation (`visual`) targets the recognizable original 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 the text does not need 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. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
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 task ID and poll the task status by calling the query API until the task is completed and the result is returned.
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 `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
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 facilitate promotion on overseas platforms.
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 the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
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 of the target regions to reduce manual production costs.
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 | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
3329
- * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3330
- * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3331
- * On-screen text translation (`visual`) targets the recognizable original 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 the text does not need 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. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
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