@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.js CHANGED
@@ -1107,6 +1107,78 @@ class Client extends openapi_core_1.default {
1107
1107
  let runtime = new $dara.RuntimeOptions({});
1108
1108
  return await this.generalRephotographyDetectionWithOptions(request, runtime);
1109
1109
  }
1110
+ /**
1111
+ * 商品文案生成改写
1112
+ *
1113
+ * @param request - GenerateProductContentRequest
1114
+ * @param runtime - runtime options for this request RuntimeOptions
1115
+ * @returns GenerateProductContentResponse
1116
+ */
1117
+ async generateProductContentWithOptions(request, runtime) {
1118
+ request.validate();
1119
+ let query = {};
1120
+ if (!$dara.isNull(request.bulletPointCount)) {
1121
+ query["BulletPointCount"] = request.bulletPointCount;
1122
+ }
1123
+ if (!$dara.isNull(request.contentType)) {
1124
+ query["ContentType"] = request.contentType;
1125
+ }
1126
+ if (!$dara.isNull(request.enableTranslation)) {
1127
+ query["EnableTranslation"] = request.enableTranslation;
1128
+ }
1129
+ if (!$dara.isNull(request.maxLength)) {
1130
+ query["MaxLength"] = request.maxLength;
1131
+ }
1132
+ if (!$dara.isNull(request.minLength)) {
1133
+ query["MinLength"] = request.minLength;
1134
+ }
1135
+ if (!$dara.isNull(request.operation)) {
1136
+ query["Operation"] = request.operation;
1137
+ }
1138
+ if (!$dara.isNull(request.platform)) {
1139
+ query["Platform"] = request.platform;
1140
+ }
1141
+ if (!$dara.isNull(request.productAttributes)) {
1142
+ query["ProductAttributes"] = request.productAttributes;
1143
+ }
1144
+ if (!$dara.isNull(request.productCategory)) {
1145
+ query["ProductCategory"] = request.productCategory;
1146
+ }
1147
+ if (!$dara.isNull(request.sourceLanguage)) {
1148
+ query["SourceLanguage"] = request.sourceLanguage;
1149
+ }
1150
+ if (!$dara.isNull(request.sourceText)) {
1151
+ query["SourceText"] = request.sourceText;
1152
+ }
1153
+ if (!$dara.isNull(request.targetLanguage)) {
1154
+ query["TargetLanguage"] = request.targetLanguage;
1155
+ }
1156
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1157
+ query: openapi_core_2.OpenApiUtil.query(query),
1158
+ });
1159
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1160
+ action: "GenerateProductContent",
1161
+ version: "2026-04-28",
1162
+ protocol: "HTTPS",
1163
+ pathname: "/",
1164
+ method: "POST",
1165
+ authType: "AK",
1166
+ style: "RPC",
1167
+ reqBodyType: "formData",
1168
+ bodyType: "json",
1169
+ });
1170
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateProductContentResponse({}));
1171
+ }
1172
+ /**
1173
+ * 商品文案生成改写
1174
+ *
1175
+ * @param request - GenerateProductContentRequest
1176
+ * @returns GenerateProductContentResponse
1177
+ */
1178
+ async generateProductContent(request) {
1179
+ let runtime = new $dara.RuntimeOptions({});
1180
+ return await this.generateProductContentWithOptions(request, runtime);
1181
+ }
1110
1182
  /**
1111
1183
  * 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)
1112
1184
  *
@@ -1290,13 +1362,13 @@ class Client extends openapi_core_1.default {
1290
1362
  return await this.imageMattingWithOptions(request, runtime);
1291
1363
  }
1292
1364
  /**
1293
- * 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.
1365
+ * 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.
1294
1366
  *
1295
1367
  * @remarks
1296
1368
  * # Scenarios
1297
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1369
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1298
1370
  *
1299
- * * 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.
1371
+ * * 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.
1300
1372
  * # Features.
1301
1373
  * #### 1. One-click precise subject recognition
1302
1374
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1305,9 +1377,9 @@ class Client extends openapi_core_1.default {
1305
1377
  * #### 2. Intelligent edge optimization
1306
1378
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1307
1379
  * #### 3. Multi-format output and background operations
1308
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1380
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1309
1381
  *
1310
- * * **Supports custom background colors**
1382
+ * * **Custom background color support**
1311
1383
  * # Effect comparison
1312
1384
  * | **Original image (input)** | **Result image (output)** |
1313
1385
  * | --- | --- |
@@ -1328,6 +1400,9 @@ class Client extends openapi_core_1.default {
1328
1400
  if (!$dara.isNull(request.bgColor)) {
1329
1401
  query["BgColor"] = request.bgColor;
1330
1402
  }
1403
+ if (!$dara.isNull(request.bizId)) {
1404
+ query["BizId"] = request.bizId;
1405
+ }
1331
1406
  if (!$dara.isNull(request.imageUrl)) {
1332
1407
  query["ImageUrl"] = request.imageUrl;
1333
1408
  }
@@ -1354,13 +1429,13 @@ class Client extends openapi_core_1.default {
1354
1429
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageMattingAsyncResponse({}));
1355
1430
  }
1356
1431
  /**
1357
- * 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.
1432
+ * 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.
1358
1433
  *
1359
1434
  * @remarks
1360
1435
  * # Scenarios
1361
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1436
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1362
1437
  *
1363
- * * 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.
1438
+ * * 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.
1364
1439
  * # Features.
1365
1440
  * #### 1. One-click precise subject recognition
1366
1441
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1369,9 +1444,9 @@ class Client extends openapi_core_1.default {
1369
1444
  * #### 2. Intelligent edge optimization
1370
1445
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1371
1446
  * #### 3. Multi-format output and background operations
1372
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1447
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1373
1448
  *
1374
- * * **Supports custom background colors**
1449
+ * * **Custom background color support**
1375
1450
  * # Effect comparison
1376
1451
  * | **Original image (input)** | **Result image (output)** |
1377
1452
  * | --- | --- |
@@ -1591,12 +1666,12 @@ class Client extends openapi_core_1.default {
1591
1666
  return await this.imageRecognitionWithOptions(request, runtime);
1592
1667
  }
1593
1668
  /**
1594
- * 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.
1669
+ * 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.
1595
1670
  *
1596
1671
  * @remarks
1597
1672
  * # Scenarios
1598
1673
  * 1. Intelligent image filtering and optimization:
1599
- * 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.
1674
+ * 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.
1600
1675
  * 2. Automated image processing and efficiency improvement:
1601
1676
  * 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.
1602
1677
  * # Features
@@ -1609,14 +1684,14 @@ class Client extends openapi_core_1.default {
1609
1684
  *
1610
1685
  * * Logo: A logo or trademark.
1611
1686
  *
1612
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1687
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1613
1688
  *
1614
1689
  * * Text-containing color block: A color block containing text outside the subject.
1615
1690
  *
1616
- * **2. The main features of the intelligent element recognition API include:**
1691
+ * **2. The intelligent element recognition API provides the following features:**
1617
1692
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1618
1693
  *
1619
- * * 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.
1694
+ * * 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.
1620
1695
  *
1621
1696
  * **3. Technical advantages:**
1622
1697
  * * 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.
@@ -1675,6 +1750,9 @@ class Client extends openapi_core_1.default {
1675
1750
  request.objectDetectElementsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectDetectElements, "ObjectDetectElements", "json");
1676
1751
  }
1677
1752
  let query = {};
1753
+ if (!$dara.isNull(request.bizId)) {
1754
+ query["BizId"] = request.bizId;
1755
+ }
1678
1756
  if (!$dara.isNull(request.imageUrl)) {
1679
1757
  query["ImageUrl"] = request.imageUrl;
1680
1758
  }
@@ -1716,12 +1794,12 @@ class Client extends openapi_core_1.default {
1716
1794
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionAsyncResponse({}));
1717
1795
  }
1718
1796
  /**
1719
- * 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.
1797
+ * 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.
1720
1798
  *
1721
1799
  * @remarks
1722
1800
  * # Scenarios
1723
1801
  * 1. Intelligent image filtering and optimization:
1724
- * 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.
1802
+ * 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.
1725
1803
  * 2. Automated image processing and efficiency improvement:
1726
1804
  * 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.
1727
1805
  * # Features
@@ -1734,14 +1812,14 @@ class Client extends openapi_core_1.default {
1734
1812
  *
1735
1813
  * * Logo: A logo or trademark.
1736
1814
  *
1737
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1815
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1738
1816
  *
1739
1817
  * * Text-containing color block: A color block containing text outside the subject.
1740
1818
  *
1741
- * **2. The main features of the intelligent element recognition API include:**
1819
+ * **2. The intelligent element recognition API provides the following features:**
1742
1820
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1743
1821
  *
1744
- * * 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.
1822
+ * * 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.
1745
1823
  *
1746
1824
  * **3. Technical advantages:**
1747
1825
  * * 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.
@@ -1883,27 +1961,27 @@ class Client extends openapi_core_1.default {
1883
1961
  return await this.imageRemovalProWithOptions(request, runtime);
1884
1962
  }
1885
1963
  /**
1886
- * 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.
1964
+ * 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.
1887
1965
  *
1888
1966
  * @remarks
1889
1967
  * ## Scenarios
1890
- * * **Efficient e-commerce image processing:**
1968
+ * * **Efficient processing of e-commerce images:**
1891
1969
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1892
- * * **Multi-platform product information synchronization:**
1893
- * 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.
1970
+ * * **Product information synchronization across multiple platforms:**
1971
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1894
1972
  * ## Features
1895
- * 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.
1973
+ * 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.
1896
1974
  *
1897
1975
  * 1. Image subject: the core product area in the image.
1898
1976
  *
1899
- * 2. Image background: the rest of the image other than the product subject.
1977
+ * 2. Image background: the rest of the image except the product subject.
1900
1978
  *
1901
- * 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:
1902
- * ## Before and after
1903
- * | **Original image** | **Erased image** |
1979
+ * 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:
1980
+ * ## Effect comparison
1981
+ * | **Original image** | **Processed image** |
1904
1982
  * | --- | --- |
1905
- * | ![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) |
1906
- * | ![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) |
1983
+ * | ![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) |
1984
+ * | ![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) |
1907
1985
  *
1908
1986
  * @param request - ImageRemovalProAsyncRequest
1909
1987
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1912,6 +1990,9 @@ class Client extends openapi_core_1.default {
1912
1990
  async imageRemovalProAsyncWithOptions(request, runtime) {
1913
1991
  request.validate();
1914
1992
  let query = {};
1993
+ if (!$dara.isNull(request.bizId)) {
1994
+ query["BizId"] = request.bizId;
1995
+ }
1915
1996
  if (!$dara.isNull(request.imageUrl)) {
1916
1997
  query["ImageUrl"] = request.imageUrl;
1917
1998
  }
@@ -1932,27 +2013,27 @@ class Client extends openapi_core_1.default {
1932
2013
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemovalProAsyncResponse({}));
1933
2014
  }
1934
2015
  /**
1935
- * 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.
2016
+ * 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.
1936
2017
  *
1937
2018
  * @remarks
1938
2019
  * ## Scenarios
1939
- * * **Efficient e-commerce image processing:**
2020
+ * * **Efficient processing of e-commerce images:**
1940
2021
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1941
- * * **Multi-platform product information synchronization:**
1942
- * 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.
2022
+ * * **Product information synchronization across multiple platforms:**
2023
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1943
2024
  * ## Features
1944
- * 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.
2025
+ * 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.
1945
2026
  *
1946
2027
  * 1. Image subject: the core product area in the image.
1947
2028
  *
1948
- * 2. Image background: the rest of the image other than the product subject.
2029
+ * 2. Image background: the rest of the image except the product subject.
1949
2030
  *
1950
- * 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:
1951
- * ## Before and after
1952
- * | **Original image** | **Erased image** |
2031
+ * 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:
2032
+ * ## Effect comparison
2033
+ * | **Original image** | **Processed image** |
1953
2034
  * | --- | --- |
1954
- * | ![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) |
1955
- * | ![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) |
2035
+ * | ![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) |
2036
+ * | ![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) |
1956
2037
  *
1957
2038
  * @param request - ImageRemovalProAsyncRequest
1958
2039
  * @returns ImageRemovalProAsyncResponse
@@ -2201,33 +2282,33 @@ class Client extends openapi_core_1.default {
2201
2282
  return await this.imageRemoveWithOptions(request, runtime);
2202
2283
  }
2203
2284
  /**
2204
- * 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.
2285
+ * 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.
2205
2286
  *
2206
2287
  * @remarks
2207
2288
  * ## Scenarios
2208
- * * **Efficient processing of e-commerce images:**
2289
+ * * **Efficient e-commerce image processing:**
2209
2290
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2210
2291
  * * **Multi-platform product information synchronization:**
2211
- * 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.
2292
+ * 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.
2212
2293
  * * **Marketing material preparation:**
2213
2294
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2214
- * > 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".
2295
+ * > 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".
2215
2296
  * ## Features
2216
- * 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.
2297
+ * 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.
2217
2298
  *
2218
2299
  * 1. Image subject: the core product area in the image.
2219
2300
  *
2220
2301
  * 2. Image background: the rest of the image other than the product subject.
2221
2302
  *
2222
- * 2. Second, the objects to remove support the following three cases:
2303
+ * 2. Second, the objects to be removed support the following three cases:
2223
2304
  *
2224
- * 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.
2305
+ * 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.
2225
2306
  *
2226
2307
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2227
2308
  *
2228
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2309
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2229
2310
  *
2230
- * 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.
2311
+ * 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.
2231
2312
  * ## Effect comparison
2232
2313
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2233
2314
  * | --- | --- | --- |
@@ -2267,7 +2348,7 @@ class Client extends openapi_core_1.default {
2267
2348
  * * Does not involve the image subject area
2268
2349
  *
2269
2350
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2270
- * | Watermarks | * Involves the image subject area
2351
+ * | Promotional stickers | * Involves the image subject area
2271
2352
  *
2272
2353
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2273
2354
  *
@@ -2280,7 +2361,7 @@ class Client extends openapi_core_1.default {
2280
2361
  *
2281
2362
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2282
2363
  * | 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) |
2283
- * | 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) |
2364
+ * | 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) |
2284
2365
  *
2285
2366
  * @param tmpReq - ImageRemoveAsyncRequest
2286
2367
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2303,6 +2384,9 @@ class Client extends openapi_core_1.default {
2303
2384
  request.userTextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userText, "UserText", "json");
2304
2385
  }
2305
2386
  let query = {};
2387
+ if (!$dara.isNull(request.bizId)) {
2388
+ query["BizId"] = request.bizId;
2389
+ }
2306
2390
  if (!$dara.isNull(request.imageUrl)) {
2307
2391
  query["ImageUrl"] = request.imageUrl;
2308
2392
  }
@@ -2341,33 +2425,33 @@ class Client extends openapi_core_1.default {
2341
2425
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveAsyncResponse({}));
2342
2426
  }
2343
2427
  /**
2344
- * 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.
2428
+ * 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.
2345
2429
  *
2346
2430
  * @remarks
2347
2431
  * ## Scenarios
2348
- * * **Efficient processing of e-commerce images:**
2432
+ * * **Efficient e-commerce image processing:**
2349
2433
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2350
2434
  * * **Multi-platform product information synchronization:**
2351
- * 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.
2435
+ * 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.
2352
2436
  * * **Marketing material preparation:**
2353
2437
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2354
- * > 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".
2438
+ * > 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".
2355
2439
  * ## Features
2356
- * 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.
2440
+ * 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.
2357
2441
  *
2358
2442
  * 1. Image subject: the core product area in the image.
2359
2443
  *
2360
2444
  * 2. Image background: the rest of the image other than the product subject.
2361
2445
  *
2362
- * 2. Second, the objects to remove support the following three cases:
2446
+ * 2. Second, the objects to be removed support the following three cases:
2363
2447
  *
2364
- * 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.
2448
+ * 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.
2365
2449
  *
2366
2450
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2367
2451
  *
2368
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2452
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2369
2453
  *
2370
- * 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.
2454
+ * 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.
2371
2455
  * ## Effect comparison
2372
2456
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2373
2457
  * | --- | --- | --- |
@@ -2407,7 +2491,7 @@ class Client extends openapi_core_1.default {
2407
2491
  * * Does not involve the image subject area
2408
2492
  *
2409
2493
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2410
- * | Watermarks | * Involves the image subject area
2494
+ * | Promotional stickers | * Involves the image subject area
2411
2495
  *
2412
2496
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2413
2497
  *
@@ -2420,7 +2504,7 @@ class Client extends openapi_core_1.default {
2420
2504
  *
2421
2505
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2422
2506
  * | 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) |
2423
- * | 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) |
2507
+ * | 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) |
2424
2508
  *
2425
2509
  * @param request - ImageRemoveAsyncRequest
2426
2510
  * @returns ImageRemoveAsyncResponse
@@ -2543,17 +2627,17 @@ class Client extends openapi_core_1.default {
2543
2627
  return await this.imageTranslationPlusWithOptions(request, runtime);
2544
2628
  }
2545
2629
  /**
2546
- * 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.
2630
+ * 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.
2547
2631
  *
2548
2632
  * @remarks
2549
2633
  * ## Scenarios
2550
2634
  * Main images and detail images for cross-border e-commerce.
2551
2635
  * ## Features
2552
- * * **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.
2636
+ * * **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.
2553
2637
  *
2554
- * * **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.
2638
+ * * **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.
2555
2639
  *
2556
- * * **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.
2640
+ * * **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.
2557
2641
  * ## Supported language pairs
2558
2642
  * | **No.** | **Source language** | | **Target language** | |
2559
2643
  * | --- | --- | --- | --- | --- |
@@ -2571,8 +2655,8 @@ class Client extends openapi_core_1.default {
2571
2655
  * | 11 | en | English | de | German |
2572
2656
  * | 12 | en | English | pl | Polish |
2573
2657
  * ## Preparations and call process
2574
- * 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.
2575
- * 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).
2658
+ * 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.
2659
+ * 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).
2576
2660
  *
2577
2661
  * @param request - ImageTranslationPlusAsyncRequest
2578
2662
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2581,6 +2665,9 @@ class Client extends openapi_core_1.default {
2581
2665
  async imageTranslationPlusAsyncWithOptions(request, runtime) {
2582
2666
  request.validate();
2583
2667
  let query = {};
2668
+ if (!$dara.isNull(request.bizId)) {
2669
+ query["BizId"] = request.bizId;
2670
+ }
2584
2671
  if (!$dara.isNull(request.glossary)) {
2585
2672
  query["Glossary"] = request.glossary;
2586
2673
  }
@@ -2619,17 +2706,17 @@ class Client extends openapi_core_1.default {
2619
2706
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusAsyncResponse({}));
2620
2707
  }
2621
2708
  /**
2622
- * 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.
2709
+ * 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.
2623
2710
  *
2624
2711
  * @remarks
2625
2712
  * ## Scenarios
2626
2713
  * Main images and detail images for cross-border e-commerce.
2627
2714
  * ## Features
2628
- * * **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.
2715
+ * * **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.
2629
2716
  *
2630
- * * **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.
2717
+ * * **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.
2631
2718
  *
2632
- * * **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.
2719
+ * * **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.
2633
2720
  * ## Supported language pairs
2634
2721
  * | **No.** | **Source language** | | **Target language** | |
2635
2722
  * | --- | --- | --- | --- | --- |
@@ -2647,8 +2734,8 @@ class Client extends openapi_core_1.default {
2647
2734
  * | 11 | en | English | de | German |
2648
2735
  * | 12 | en | English | pl | Polish |
2649
2736
  * ## Preparations and call process
2650
- * 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.
2651
- * 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).
2737
+ * 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.
2738
+ * 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).
2652
2739
  *
2653
2740
  * @param request - ImageTranslationPlusAsyncRequest
2654
2741
  * @returns ImageTranslationPlusAsyncResponse
@@ -2742,23 +2829,23 @@ class Client extends openapi_core_1.default {
2742
2829
  return await this.imageTranslationProWithOptions(request, runtime);
2743
2830
  }
2744
2831
  /**
2745
- * 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.
2832
+ * 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.
2746
2833
  *
2747
2834
  * @remarks
2748
2835
  * ## Scenarios
2749
2836
  * E-commerce product images, marketing images, and images in various other scenarios.
2750
2837
  * ## Features
2751
- * * 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.
2838
+ * * 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.
2752
2839
  *
2753
- * * 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.
2840
+ * * 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.
2754
2841
  *
2755
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2842
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2756
2843
  *
2757
- * * 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.
2844
+ * * 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.
2758
2845
  * ## Preparations and call process
2759
- * 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).
2760
- * 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.
2761
- * 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).
2846
+ * 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).
2847
+ * 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.
2848
+ * 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).
2762
2849
  *
2763
2850
  * @param request - ImageTranslationProAsyncRequest
2764
2851
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2767,6 +2854,9 @@ class Client extends openapi_core_1.default {
2767
2854
  async imageTranslationProAsyncWithOptions(request, runtime) {
2768
2855
  request.validate();
2769
2856
  let query = {};
2857
+ if (!$dara.isNull(request.bizId)) {
2858
+ query["BizId"] = request.bizId;
2859
+ }
2770
2860
  if (!$dara.isNull(request.glossary)) {
2771
2861
  query["Glossary"] = request.glossary;
2772
2862
  }
@@ -2805,23 +2895,23 @@ class Client extends openapi_core_1.default {
2805
2895
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProAsyncResponse({}));
2806
2896
  }
2807
2897
  /**
2808
- * 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.
2898
+ * 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.
2809
2899
  *
2810
2900
  * @remarks
2811
2901
  * ## Scenarios
2812
2902
  * E-commerce product images, marketing images, and images in various other scenarios.
2813
2903
  * ## Features
2814
- * * 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.
2904
+ * * 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.
2815
2905
  *
2816
- * * 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.
2906
+ * * 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.
2817
2907
  *
2818
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2908
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2819
2909
  *
2820
- * * 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.
2910
+ * * 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.
2821
2911
  * ## Preparations and call process
2822
- * 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).
2823
- * 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.
2824
- * 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).
2912
+ * 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).
2913
+ * 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.
2914
+ * 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).
2825
2915
  *
2826
2916
  * @param request - ImageTranslationProAsyncRequest
2827
2917
  * @returns ImageTranslationProAsyncResponse
@@ -2918,23 +3008,23 @@ class Client extends openapi_core_1.default {
2918
3008
  return await this.imageTranslationStandardWithOptions(request, runtime);
2919
3009
  }
2920
3010
  /**
2921
- * 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.
3011
+ * 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.
2922
3012
  *
2923
3013
  * @remarks
2924
3014
  * ## Scenarios
2925
3015
  * E-commerce product images, marketing images, and images for various other scenarios.
2926
3016
  * ## Features
2927
- * * **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.
3017
+ * * **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.
2928
3018
  *
2929
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3019
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2930
3020
  *
2931
- * * **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.
3021
+ * * **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.
2932
3022
  *
2933
- * * **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.
3023
+ * * **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.
2934
3024
  * ## Preparations and call process
2935
- * * 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).
2936
- * * 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.
2937
- * * 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).
3025
+ * * 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).
3026
+ * * 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.
3027
+ * * 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).
2938
3028
  *
2939
3029
  * @param request - ImageTranslationStandardAsyncRequest
2940
3030
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2943,6 +3033,9 @@ class Client extends openapi_core_1.default {
2943
3033
  async imageTranslationStandardAsyncWithOptions(request, runtime) {
2944
3034
  request.validate();
2945
3035
  let query = {};
3036
+ if (!$dara.isNull(request.bizId)) {
3037
+ query["BizId"] = request.bizId;
3038
+ }
2946
3039
  if (!$dara.isNull(request.glossary)) {
2947
3040
  query["Glossary"] = request.glossary;
2948
3041
  }
@@ -2981,23 +3074,23 @@ class Client extends openapi_core_1.default {
2981
3074
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardAsyncResponse({}));
2982
3075
  }
2983
3076
  /**
2984
- * 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.
3077
+ * 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.
2985
3078
  *
2986
3079
  * @remarks
2987
3080
  * ## Scenarios
2988
3081
  * E-commerce product images, marketing images, and images for various other scenarios.
2989
3082
  * ## Features
2990
- * * **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.
3083
+ * * **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.
2991
3084
  *
2992
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3085
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2993
3086
  *
2994
- * * **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.
3087
+ * * **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.
2995
3088
  *
2996
- * * **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.
3089
+ * * **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.
2997
3090
  * ## Preparations and call process
2998
- * * 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).
2999
- * * 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.
3000
- * * 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).
3091
+ * * 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).
3092
+ * * 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.
3093
+ * * 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).
3001
3094
  *
3002
3095
  * @param request - ImageTranslationStandardAsyncRequest
3003
3096
  * @returns ImageTranslationStandardAsyncResponse
@@ -3909,10 +4002,10 @@ class Client extends openapi_core_1.default {
3909
4002
  return await this.productHotspotDetectionWithOptions(request, runtime);
3910
4003
  }
3911
4004
  /**
3912
- * API name on the POP gateway: QueryAsyncTaskResult.
4005
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3913
4006
  *
3914
4007
  * @remarks
3915
- * API name on the POP gateway: QueryAsyncTaskResult.
4008
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3916
4009
  *
3917
4010
  * @param request - QueryAsyncTaskResultRequest
3918
4011
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3941,10 +4034,10 @@ class Client extends openapi_core_1.default {
3941
4034
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAsyncTaskResultResponse({}));
3942
4035
  }
3943
4036
  /**
3944
- * API name on the POP gateway: QueryAsyncTaskResult.
4037
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3945
4038
  *
3946
4039
  * @remarks
3947
- * API name on the POP gateway: QueryAsyncTaskResult.
4040
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3948
4041
  *
3949
4042
  * @param request - QueryAsyncTaskResultRequest
3950
4043
  * @returns QueryAsyncTaskResultResponse
@@ -4373,105 +4466,105 @@ class Client extends openapi_core_1.default {
4373
4466
  return await this.sizeChartExtractWithOptions(request, runtime);
4374
4467
  }
4375
4468
  /**
4376
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4469
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4377
4470
  *
4378
4471
  * @remarks
4379
4472
  * ## Scenarios
4380
- * Size charts: Extracts size charts for apparel categories into text.
4381
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4473
+ * Size charts: extracts size charts of apparel categories into text.
4474
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4382
4475
  * ## Feature description
4383
- * 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.
4384
- * 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.
4385
- * ## Example results
4476
+ * 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.
4477
+ * 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.
4478
+ * ## Comparison
4386
4479
  * | Input image | Output result |
4387
4480
  * | --- | --- |
4388
4481
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4389
4482
  * "SizeChart": [
4390
4483
  * {
4391
- * "尺码": {
4484
+ * "Size": {
4392
4485
  * "value": "S"
4393
4486
  * },
4394
- * "腰围": {
4487
+ * "Waist": {
4395
4488
  * "unit": "CM",
4396
4489
  * "value": 58
4397
4490
  * },
4398
- * "裙长": {
4491
+ * "Skirt length": {
4399
4492
  * "unit": "CM",
4400
4493
  * "value": 81
4401
4494
  * },
4402
- * "体重建议": {
4495
+ * "Weight recommendation": {
4403
4496
  * "unit": "kg",
4404
4497
  * "lower_value": 40,
4405
4498
  * "upper_value": 47.5
4406
4499
  * }
4407
4500
  * },
4408
4501
  * {
4409
- * "尺码": {
4502
+ * "Size": {
4410
4503
  * "value": "M"
4411
4504
  * },
4412
- * "腰围": {
4505
+ * "Waist": {
4413
4506
  * "unit": "CM",
4414
4507
  * "value": 59
4415
4508
  * },
4416
- * "裙长": {
4509
+ * "Skirt length": {
4417
4510
  * "unit": "CM",
4418
4511
  * "value": 82
4419
4512
  * },
4420
- * "体重建议": {
4513
+ * "Weight recommendation": {
4421
4514
  * "unit": "kg",
4422
4515
  * "lower_value": 45,
4423
4516
  * "upper_value": 52.5
4424
4517
  * }
4425
4518
  * },
4426
4519
  * {
4427
- * "尺码": {
4520
+ * "Size": {
4428
4521
  * "value": "L"
4429
4522
  * },
4430
- * "腰围": {
4523
+ * "Waist": {
4431
4524
  * "unit": "CM",
4432
4525
  * "value": 60
4433
4526
  * },
4434
- * "裙长": {
4527
+ * "Skirt length": {
4435
4528
  * "unit": "CM",
4436
4529
  * "value": 83
4437
4530
  * },
4438
- * "体重建议": {
4531
+ * "Weight recommendation": {
4439
4532
  * "unit": "kg",
4440
4533
  * "lower_value": 50,
4441
4534
  * "upper_value": 57.5
4442
4535
  * }
4443
4536
  * },
4444
4537
  * {
4445
- * "尺码": {
4538
+ * "Size": {
4446
4539
  * "value": "XL"
4447
4540
  * },
4448
- * "腰围": {
4541
+ * "Waist": {
4449
4542
  * "unit": "CM",
4450
4543
  * "value": 61
4451
4544
  * },
4452
- * "裙长": {
4545
+ * "Skirt length": {
4453
4546
  * "unit": "CM",
4454
4547
  * "value": 84
4455
4548
  * },
4456
- * "体重建议": {
4549
+ * "Weight recommendation": {
4457
4550
  * "unit": "kg",
4458
4551
  * "lower_value": 55,
4459
4552
  * "upper_value": 62.5
4460
4553
  * }
4461
4554
  * },
4462
4555
  * {
4463
- * "尺码": {
4556
+ * "Size": {
4464
4557
  * "value": "2XL"
4465
4558
  * },
4466
- * "腰围": {
4559
+ * "Waist": {
4467
4560
  * "unit": "CM",
4468
4561
  * "value": 62
4469
4562
  * },
4470
- * "裙长": {
4563
+ * "Skirt length": {
4471
4564
  * "unit": "CM",
4472
4565
  * "value": 85
4473
4566
  * },
4474
- * "体重建议": {
4567
+ * "Weight recommendation": {
4475
4568
  * "unit": "kg",
4476
4569
  * "lower_value": 60,
4477
4570
  * "upper_value": 67.5
@@ -4504,6 +4597,9 @@ class Client extends openapi_core_1.default {
4504
4597
  request.columnNameListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.columnNameList, "ColumnNameList", "json");
4505
4598
  }
4506
4599
  let query = {};
4600
+ if (!$dara.isNull(request.bizId)) {
4601
+ query["BizId"] = request.bizId;
4602
+ }
4507
4603
  if (!$dara.isNull(request.columnNameListShrink)) {
4508
4604
  query["ColumnNameList"] = request.columnNameListShrink;
4509
4605
  }
@@ -4530,105 +4626,105 @@ class Client extends openapi_core_1.default {
4530
4626
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartExtractAsyncResponse({}));
4531
4627
  }
4532
4628
  /**
4533
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4629
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4534
4630
  *
4535
4631
  * @remarks
4536
4632
  * ## Scenarios
4537
- * Size charts: Extracts size charts for apparel categories into text.
4538
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4633
+ * Size charts: extracts size charts of apparel categories into text.
4634
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4539
4635
  * ## Feature description
4540
- * 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.
4541
- * 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.
4542
- * ## Example results
4636
+ * 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.
4637
+ * 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.
4638
+ * ## Comparison
4543
4639
  * | Input image | Output result |
4544
4640
  * | --- | --- |
4545
4641
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4546
4642
  * "SizeChart": [
4547
4643
  * {
4548
- * "尺码": {
4644
+ * "Size": {
4549
4645
  * "value": "S"
4550
4646
  * },
4551
- * "腰围": {
4647
+ * "Waist": {
4552
4648
  * "unit": "CM",
4553
4649
  * "value": 58
4554
4650
  * },
4555
- * "裙长": {
4651
+ * "Skirt length": {
4556
4652
  * "unit": "CM",
4557
4653
  * "value": 81
4558
4654
  * },
4559
- * "体重建议": {
4655
+ * "Weight recommendation": {
4560
4656
  * "unit": "kg",
4561
4657
  * "lower_value": 40,
4562
4658
  * "upper_value": 47.5
4563
4659
  * }
4564
4660
  * },
4565
4661
  * {
4566
- * "尺码": {
4662
+ * "Size": {
4567
4663
  * "value": "M"
4568
4664
  * },
4569
- * "腰围": {
4665
+ * "Waist": {
4570
4666
  * "unit": "CM",
4571
4667
  * "value": 59
4572
4668
  * },
4573
- * "裙长": {
4669
+ * "Skirt length": {
4574
4670
  * "unit": "CM",
4575
4671
  * "value": 82
4576
4672
  * },
4577
- * "体重建议": {
4673
+ * "Weight recommendation": {
4578
4674
  * "unit": "kg",
4579
4675
  * "lower_value": 45,
4580
4676
  * "upper_value": 52.5
4581
4677
  * }
4582
4678
  * },
4583
4679
  * {
4584
- * "尺码": {
4680
+ * "Size": {
4585
4681
  * "value": "L"
4586
4682
  * },
4587
- * "腰围": {
4683
+ * "Waist": {
4588
4684
  * "unit": "CM",
4589
4685
  * "value": 60
4590
4686
  * },
4591
- * "裙长": {
4687
+ * "Skirt length": {
4592
4688
  * "unit": "CM",
4593
4689
  * "value": 83
4594
4690
  * },
4595
- * "体重建议": {
4691
+ * "Weight recommendation": {
4596
4692
  * "unit": "kg",
4597
4693
  * "lower_value": 50,
4598
4694
  * "upper_value": 57.5
4599
4695
  * }
4600
4696
  * },
4601
4697
  * {
4602
- * "尺码": {
4698
+ * "Size": {
4603
4699
  * "value": "XL"
4604
4700
  * },
4605
- * "腰围": {
4701
+ * "Waist": {
4606
4702
  * "unit": "CM",
4607
4703
  * "value": 61
4608
4704
  * },
4609
- * "裙长": {
4705
+ * "Skirt length": {
4610
4706
  * "unit": "CM",
4611
4707
  * "value": 84
4612
4708
  * },
4613
- * "体重建议": {
4709
+ * "Weight recommendation": {
4614
4710
  * "unit": "kg",
4615
4711
  * "lower_value": 55,
4616
4712
  * "upper_value": 62.5
4617
4713
  * }
4618
4714
  * },
4619
4715
  * {
4620
- * "尺码": {
4716
+ * "Size": {
4621
4717
  * "value": "2XL"
4622
4718
  * },
4623
- * "腰围": {
4719
+ * "Waist": {
4624
4720
  * "unit": "CM",
4625
4721
  * "value": 62
4626
4722
  * },
4627
- * "裙长": {
4723
+ * "Skirt length": {
4628
4724
  * "unit": "CM",
4629
4725
  * "value": 85
4630
4726
  * },
4631
- * "体重建议": {
4727
+ * "Weight recommendation": {
4632
4728
  * "unit": "kg",
4633
4729
  * "lower_value": 60,
4634
4730
  * "upper_value": 67.5
@@ -5235,28 +5331,28 @@ class Client extends openapi_core_1.default {
5235
5331
  return await this.videoGenerationWithOptions(request, runtime);
5236
5332
  }
5237
5333
  /**
5238
- * 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.
5334
+ * 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.
5239
5335
  *
5240
5336
  * @remarks
5241
5337
  * ## Product introduction
5242
5338
  * 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.
5243
- * 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.
5339
+ * 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.
5244
5340
  * ## Scenarios
5245
- * * **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.
5341
+ * * **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.
5246
5342
  *
5247
- * * **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.
5343
+ * * **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.
5248
5344
  *
5249
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5345
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5250
5346
  *
5251
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5347
+ * * **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.
5252
5348
  * ## Features
5253
5349
  * | Feature | Identifier | Description |
5254
5350
  * | --- | --- | --- |
5255
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5256
- * | 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. |
5257
- * 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.
5258
- * 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.
5259
- * 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.
5351
+ * | 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. |
5352
+ * | 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. |
5353
+ * 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.
5354
+ * 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.
5355
+ * 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.
5260
5356
  *
5261
5357
  * @param tmpReq - VideoTranslationRequest
5262
5358
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5313,28 +5409,28 @@ class Client extends openapi_core_1.default {
5313
5409
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoTranslationResponse({}));
5314
5410
  }
5315
5411
  /**
5316
- * 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.
5412
+ * 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.
5317
5413
  *
5318
5414
  * @remarks
5319
5415
  * ## Product introduction
5320
5416
  * 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.
5321
- * 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.
5417
+ * 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.
5322
5418
  * ## Scenarios
5323
- * * **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.
5419
+ * * **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.
5324
5420
  *
5325
- * * **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.
5421
+ * * **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.
5326
5422
  *
5327
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5423
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5328
5424
  *
5329
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5425
+ * * **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.
5330
5426
  * ## Features
5331
5427
  * | Feature | Identifier | Description |
5332
5428
  * | --- | --- | --- |
5333
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5334
- * | 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. |
5335
- * 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.
5336
- * 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.
5337
- * 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.
5429
+ * | 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. |
5430
+ * | 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. |
5431
+ * 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.
5432
+ * 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.
5433
+ * 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.
5338
5434
  *
5339
5435
  * @param request - VideoTranslationRequest
5340
5436
  * @returns VideoTranslationResponse