@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/src/client.ts CHANGED
@@ -1163,6 +1163,92 @@ export default class Client extends OpenApi {
1163
1163
  return await this.generalRephotographyDetectionWithOptions(request, runtime);
1164
1164
  }
1165
1165
 
1166
+ /**
1167
+ * 商品文案生成改写
1168
+ *
1169
+ * @param request - GenerateProductContentRequest
1170
+ * @param runtime - runtime options for this request RuntimeOptions
1171
+ * @returns GenerateProductContentResponse
1172
+ */
1173
+ async generateProductContentWithOptions(request: $_model.GenerateProductContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateProductContentResponse> {
1174
+ request.validate();
1175
+ let query = { };
1176
+ if (!$dara.isNull(request.bulletPointCount)) {
1177
+ query["BulletPointCount"] = request.bulletPointCount;
1178
+ }
1179
+
1180
+ if (!$dara.isNull(request.contentType)) {
1181
+ query["ContentType"] = request.contentType;
1182
+ }
1183
+
1184
+ if (!$dara.isNull(request.enableTranslation)) {
1185
+ query["EnableTranslation"] = request.enableTranslation;
1186
+ }
1187
+
1188
+ if (!$dara.isNull(request.maxLength)) {
1189
+ query["MaxLength"] = request.maxLength;
1190
+ }
1191
+
1192
+ if (!$dara.isNull(request.minLength)) {
1193
+ query["MinLength"] = request.minLength;
1194
+ }
1195
+
1196
+ if (!$dara.isNull(request.operation)) {
1197
+ query["Operation"] = request.operation;
1198
+ }
1199
+
1200
+ if (!$dara.isNull(request.platform)) {
1201
+ query["Platform"] = request.platform;
1202
+ }
1203
+
1204
+ if (!$dara.isNull(request.productAttributes)) {
1205
+ query["ProductAttributes"] = request.productAttributes;
1206
+ }
1207
+
1208
+ if (!$dara.isNull(request.productCategory)) {
1209
+ query["ProductCategory"] = request.productCategory;
1210
+ }
1211
+
1212
+ if (!$dara.isNull(request.sourceLanguage)) {
1213
+ query["SourceLanguage"] = request.sourceLanguage;
1214
+ }
1215
+
1216
+ if (!$dara.isNull(request.sourceText)) {
1217
+ query["SourceText"] = request.sourceText;
1218
+ }
1219
+
1220
+ if (!$dara.isNull(request.targetLanguage)) {
1221
+ query["TargetLanguage"] = request.targetLanguage;
1222
+ }
1223
+
1224
+ let req = new $OpenApiUtil.OpenApiRequest({
1225
+ query: OpenApiUtil.query(query),
1226
+ });
1227
+ let params = new $OpenApiUtil.Params({
1228
+ action: "GenerateProductContent",
1229
+ version: "2026-04-28",
1230
+ protocol: "HTTPS",
1231
+ pathname: "/",
1232
+ method: "POST",
1233
+ authType: "AK",
1234
+ style: "RPC",
1235
+ reqBodyType: "formData",
1236
+ bodyType: "json",
1237
+ });
1238
+ return $dara.cast<$_model.GenerateProductContentResponse>(await this.callApi(params, req, runtime), new $_model.GenerateProductContentResponse({}));
1239
+ }
1240
+
1241
+ /**
1242
+ * 商品文案生成改写
1243
+ *
1244
+ * @param request - GenerateProductContentRequest
1245
+ * @returns GenerateProductContentResponse
1246
+ */
1247
+ async generateProductContent(request: $_model.GenerateProductContentRequest): Promise<$_model.GenerateProductContentResponse> {
1248
+ let runtime = new $dara.RuntimeOptions({ });
1249
+ return await this.generateProductContentWithOptions(request, runtime);
1250
+ }
1251
+
1166
1252
  /**
1167
1253
  * 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)
1168
1254
  *
@@ -1358,13 +1444,13 @@ export default class Client extends OpenApi {
1358
1444
  }
1359
1445
 
1360
1446
  /**
1361
- * 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.
1447
+ * 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.
1362
1448
  *
1363
1449
  * @remarks
1364
1450
  * # Scenarios
1365
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1451
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1366
1452
  *
1367
- * * 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.
1453
+ * * 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.
1368
1454
  * # Features.
1369
1455
  * #### 1. One-click precise subject recognition
1370
1456
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1373,9 +1459,9 @@ export default class Client extends OpenApi {
1373
1459
  * #### 2. Intelligent edge optimization
1374
1460
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1375
1461
  * #### 3. Multi-format output and background operations
1376
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1462
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1377
1463
  *
1378
- * * **Supports custom background colors**
1464
+ * * **Custom background color support**
1379
1465
  * # Effect comparison
1380
1466
  * | **Original image (input)** | **Result image (output)** |
1381
1467
  * | --- | --- |
@@ -1398,6 +1484,10 @@ export default class Client extends OpenApi {
1398
1484
  query["BgColor"] = request.bgColor;
1399
1485
  }
1400
1486
 
1487
+ if (!$dara.isNull(request.bizId)) {
1488
+ query["BizId"] = request.bizId;
1489
+ }
1490
+
1401
1491
  if (!$dara.isNull(request.imageUrl)) {
1402
1492
  query["ImageUrl"] = request.imageUrl;
1403
1493
  }
@@ -1428,13 +1518,13 @@ export default class Client extends OpenApi {
1428
1518
  }
1429
1519
 
1430
1520
  /**
1431
- * 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.
1521
+ * 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.
1432
1522
  *
1433
1523
  * @remarks
1434
1524
  * # Scenarios
1435
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1525
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1436
1526
  *
1437
- * * 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.
1527
+ * * 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.
1438
1528
  * # Features.
1439
1529
  * #### 1. One-click precise subject recognition
1440
1530
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1443,9 +1533,9 @@ export default class Client extends OpenApi {
1443
1533
  * #### 2. Intelligent edge optimization
1444
1534
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1445
1535
  * #### 3. Multi-format output and background operations
1446
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1536
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1447
1537
  *
1448
- * * **Supports custom background colors**
1538
+ * * **Custom background color support**
1449
1539
  * # Effect comparison
1450
1540
  * | **Original image (input)** | **Result image (output)** |
1451
1541
  * | --- | --- |
@@ -1678,12 +1768,12 @@ export default class Client extends OpenApi {
1678
1768
  }
1679
1769
 
1680
1770
  /**
1681
- * 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.
1771
+ * 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.
1682
1772
  *
1683
1773
  * @remarks
1684
1774
  * # Scenarios
1685
1775
  * 1. Intelligent image filtering and optimization:
1686
- * 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.
1776
+ * 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.
1687
1777
  * 2. Automated image processing and efficiency improvement:
1688
1778
  * 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.
1689
1779
  * # Features
@@ -1696,14 +1786,14 @@ export default class Client extends OpenApi {
1696
1786
  *
1697
1787
  * * Logo: A logo or trademark.
1698
1788
  *
1699
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1789
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1700
1790
  *
1701
1791
  * * Text-containing color block: A color block containing text outside the subject.
1702
1792
  *
1703
- * **2. The main features of the intelligent element recognition API include:**
1793
+ * **2. The intelligent element recognition API provides the following features:**
1704
1794
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1705
1795
  *
1706
- * * 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.
1796
+ * * 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.
1707
1797
  *
1708
1798
  * **3. Technical advantages:**
1709
1799
  * * 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.
@@ -1764,6 +1854,10 @@ export default class Client extends OpenApi {
1764
1854
  }
1765
1855
 
1766
1856
  let query = { };
1857
+ if (!$dara.isNull(request.bizId)) {
1858
+ query["BizId"] = request.bizId;
1859
+ }
1860
+
1767
1861
  if (!$dara.isNull(request.imageUrl)) {
1768
1862
  query["ImageUrl"] = request.imageUrl;
1769
1863
  }
@@ -1814,12 +1908,12 @@ export default class Client extends OpenApi {
1814
1908
  }
1815
1909
 
1816
1910
  /**
1817
- * 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.
1911
+ * 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.
1818
1912
  *
1819
1913
  * @remarks
1820
1914
  * # Scenarios
1821
1915
  * 1. Intelligent image filtering and optimization:
1822
- * 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.
1916
+ * 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.
1823
1917
  * 2. Automated image processing and efficiency improvement:
1824
1918
  * 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.
1825
1919
  * # Features
@@ -1832,14 +1926,14 @@ export default class Client extends OpenApi {
1832
1926
  *
1833
1927
  * * Logo: A logo or trademark.
1834
1928
  *
1835
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1929
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1836
1930
  *
1837
1931
  * * Text-containing color block: A color block containing text outside the subject.
1838
1932
  *
1839
- * **2. The main features of the intelligent element recognition API include:**
1933
+ * **2. The intelligent element recognition API provides the following features:**
1840
1934
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1841
1935
  *
1842
- * * 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.
1936
+ * * 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.
1843
1937
  *
1844
1938
  * **3. Technical advantages:**
1845
1939
  * * 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.
@@ -1986,27 +2080,27 @@ export default class Client extends OpenApi {
1986
2080
  }
1987
2081
 
1988
2082
  /**
1989
- * 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.
2083
+ * 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.
1990
2084
  *
1991
2085
  * @remarks
1992
2086
  * ## Scenarios
1993
- * * **Efficient e-commerce image processing:**
2087
+ * * **Efficient processing of e-commerce images:**
1994
2088
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1995
- * * **Multi-platform product information synchronization:**
1996
- * 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.
2089
+ * * **Product information synchronization across multiple platforms:**
2090
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1997
2091
  * ## Features
1998
- * 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.
2092
+ * 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.
1999
2093
  *
2000
2094
  * 1. Image subject: the core product area in the image.
2001
2095
  *
2002
- * 2. Image background: the rest of the image other than the product subject.
2096
+ * 2. Image background: the rest of the image except the product subject.
2003
2097
  *
2004
- * 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:
2005
- * ## Before and after
2006
- * | **Original image** | **Erased image** |
2098
+ * 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:
2099
+ * ## Effect comparison
2100
+ * | **Original image** | **Processed image** |
2007
2101
  * | --- | --- |
2008
- * | ![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) |
2009
- * | ![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) |
2102
+ * | ![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) |
2103
+ * | ![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) |
2010
2104
  *
2011
2105
  * @param request - ImageRemovalProAsyncRequest
2012
2106
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2015,6 +2109,10 @@ export default class Client extends OpenApi {
2015
2109
  async imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse> {
2016
2110
  request.validate();
2017
2111
  let query = { };
2112
+ if (!$dara.isNull(request.bizId)) {
2113
+ query["BizId"] = request.bizId;
2114
+ }
2115
+
2018
2116
  if (!$dara.isNull(request.imageUrl)) {
2019
2117
  query["ImageUrl"] = request.imageUrl;
2020
2118
  }
@@ -2037,27 +2135,27 @@ export default class Client extends OpenApi {
2037
2135
  }
2038
2136
 
2039
2137
  /**
2040
- * 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.
2138
+ * 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.
2041
2139
  *
2042
2140
  * @remarks
2043
2141
  * ## Scenarios
2044
- * * **Efficient e-commerce image processing:**
2142
+ * * **Efficient processing of e-commerce images:**
2045
2143
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2046
- * * **Multi-platform product information synchronization:**
2047
- * 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.
2144
+ * * **Product information synchronization across multiple platforms:**
2145
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
2048
2146
  * ## Features
2049
- * 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.
2147
+ * 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.
2050
2148
  *
2051
2149
  * 1. Image subject: the core product area in the image.
2052
2150
  *
2053
- * 2. Image background: the rest of the image other than the product subject.
2151
+ * 2. Image background: the rest of the image except the product subject.
2054
2152
  *
2055
- * 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:
2056
- * ## Before and after
2057
- * | **Original image** | **Erased image** |
2153
+ * 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:
2154
+ * ## Effect comparison
2155
+ * | **Original image** | **Processed image** |
2058
2156
  * | --- | --- |
2059
- * | ![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) |
2060
- * | ![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) |
2157
+ * | ![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) |
2158
+ * | ![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) |
2061
2159
  *
2062
2160
  * @param request - ImageRemovalProAsyncRequest
2063
2161
  * @returns ImageRemovalProAsyncResponse
@@ -2320,33 +2418,33 @@ export default class Client extends OpenApi {
2320
2418
  }
2321
2419
 
2322
2420
  /**
2323
- * 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.
2421
+ * 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.
2324
2422
  *
2325
2423
  * @remarks
2326
2424
  * ## Scenarios
2327
- * * **Efficient processing of e-commerce images:**
2425
+ * * **Efficient e-commerce image processing:**
2328
2426
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2329
- * * **Multi-platform product information synchronization:**
2330
- * 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.
2331
- * * **Marketing material preparation:**
2427
+ * * **Multi-platform product information synchronization:**
2428
+ * 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.
2429
+ * * **Marketing material preparation:**
2332
2430
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2333
- * > 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".
2431
+ * > 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".
2334
2432
  * ## Features
2335
- * 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.
2433
+ * 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.
2336
2434
  *
2337
2435
  * 1. Image subject: the core product area in the image.
2338
2436
  *
2339
2437
  * 2. Image background: the rest of the image other than the product subject.
2340
2438
  *
2341
- * 2. Second, the objects to remove support the following three cases:
2439
+ * 2. Second, the objects to be removed support the following three cases:
2342
2440
  *
2343
- * 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.
2441
+ * 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.
2344
2442
  *
2345
2443
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2346
2444
  *
2347
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2445
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2348
2446
  *
2349
- * 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.
2447
+ * 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.
2350
2448
  * ## Effect comparison
2351
2449
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2352
2450
  * | --- | --- | --- |
@@ -2386,7 +2484,7 @@ export default class Client extends OpenApi {
2386
2484
  * * Does not involve the image subject area
2387
2485
  *
2388
2486
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2389
- * | Watermarks | * Involves the image subject area
2487
+ * | Promotional stickers | * Involves the image subject area
2390
2488
  *
2391
2489
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2392
2490
  *
@@ -2399,7 +2497,7 @@ export default class Client extends OpenApi {
2399
2497
  *
2400
2498
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2401
2499
  * | 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) |
2402
- * | 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) |
2500
+ * | 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) |
2403
2501
  *
2404
2502
  * @param tmpReq - ImageRemoveAsyncRequest
2405
2503
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2426,6 +2524,10 @@ export default class Client extends OpenApi {
2426
2524
  }
2427
2525
 
2428
2526
  let query = { };
2527
+ if (!$dara.isNull(request.bizId)) {
2528
+ query["BizId"] = request.bizId;
2529
+ }
2530
+
2429
2531
  if (!$dara.isNull(request.imageUrl)) {
2430
2532
  query["ImageUrl"] = request.imageUrl;
2431
2533
  }
@@ -2472,33 +2574,33 @@ export default class Client extends OpenApi {
2472
2574
  }
2473
2575
 
2474
2576
  /**
2475
- * 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.
2577
+ * 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.
2476
2578
  *
2477
2579
  * @remarks
2478
2580
  * ## Scenarios
2479
- * * **Efficient processing of e-commerce images:**
2581
+ * * **Efficient e-commerce image processing:**
2480
2582
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2481
- * * **Multi-platform product information synchronization:**
2482
- * 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.
2483
- * * **Marketing material preparation:**
2583
+ * * **Multi-platform product information synchronization:**
2584
+ * 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.
2585
+ * * **Marketing material preparation:**
2484
2586
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2485
- * > 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".
2587
+ * > 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".
2486
2588
  * ## Features
2487
- * 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.
2589
+ * 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.
2488
2590
  *
2489
2591
  * 1. Image subject: the core product area in the image.
2490
2592
  *
2491
2593
  * 2. Image background: the rest of the image other than the product subject.
2492
2594
  *
2493
- * 2. Second, the objects to remove support the following three cases:
2595
+ * 2. Second, the objects to be removed support the following three cases:
2494
2596
  *
2495
- * 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.
2597
+ * 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.
2496
2598
  *
2497
2599
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2498
2600
  *
2499
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2601
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2500
2602
  *
2501
- * 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.
2603
+ * 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.
2502
2604
  * ## Effect comparison
2503
2605
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2504
2606
  * | --- | --- | --- |
@@ -2538,7 +2640,7 @@ export default class Client extends OpenApi {
2538
2640
  * * Does not involve the image subject area
2539
2641
  *
2540
2642
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2541
- * | Watermarks | * Involves the image subject area
2643
+ * | Promotional stickers | * Involves the image subject area
2542
2644
  *
2543
2645
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2544
2646
  *
@@ -2551,7 +2653,7 @@ export default class Client extends OpenApi {
2551
2653
  *
2552
2654
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2553
2655
  * | 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) |
2554
- * | 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) |
2656
+ * | 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) |
2555
2657
  *
2556
2658
  * @param request - ImageRemoveAsyncRequest
2557
2659
  * @returns ImageRemoveAsyncResponse
@@ -2684,17 +2786,17 @@ export default class Client extends OpenApi {
2684
2786
  }
2685
2787
 
2686
2788
  /**
2687
- * 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.
2789
+ * 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.
2688
2790
  *
2689
2791
  * @remarks
2690
2792
  * ## Scenarios
2691
2793
  * Main images and detail images for cross-border e-commerce.
2692
2794
  * ## Features
2693
- * * **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.
2795
+ * * **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.
2694
2796
  *
2695
- * * **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.
2797
+ * * **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.
2696
2798
  *
2697
- * * **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.
2799
+ * * **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.
2698
2800
  * ## Supported language pairs
2699
2801
  * | **No.** | **Source language** | | **Target language** | |
2700
2802
  * | --- | --- | --- | --- | --- |
@@ -2712,8 +2814,8 @@ export default class Client extends OpenApi {
2712
2814
  * | 11 | en | English | de | German |
2713
2815
  * | 12 | en | English | pl | Polish |
2714
2816
  * ## Preparations and call process
2715
- * 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.
2716
- * 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).
2817
+ * 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.
2818
+ * 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).
2717
2819
  *
2718
2820
  * @param request - ImageTranslationPlusAsyncRequest
2719
2821
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2722,6 +2824,10 @@ export default class Client extends OpenApi {
2722
2824
  async imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse> {
2723
2825
  request.validate();
2724
2826
  let query = { };
2827
+ if (!$dara.isNull(request.bizId)) {
2828
+ query["BizId"] = request.bizId;
2829
+ }
2830
+
2725
2831
  if (!$dara.isNull(request.glossary)) {
2726
2832
  query["Glossary"] = request.glossary;
2727
2833
  }
@@ -2768,17 +2874,17 @@ export default class Client extends OpenApi {
2768
2874
  }
2769
2875
 
2770
2876
  /**
2771
- * 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.
2877
+ * 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.
2772
2878
  *
2773
2879
  * @remarks
2774
2880
  * ## Scenarios
2775
2881
  * Main images and detail images for cross-border e-commerce.
2776
2882
  * ## Features
2777
- * * **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.
2883
+ * * **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.
2778
2884
  *
2779
- * * **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.
2885
+ * * **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.
2780
2886
  *
2781
- * * **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.
2887
+ * * **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.
2782
2888
  * ## Supported language pairs
2783
2889
  * | **No.** | **Source language** | | **Target language** | |
2784
2890
  * | --- | --- | --- | --- | --- |
@@ -2796,8 +2902,8 @@ export default class Client extends OpenApi {
2796
2902
  * | 11 | en | English | de | German |
2797
2903
  * | 12 | en | English | pl | Polish |
2798
2904
  * ## Preparations and call process
2799
- * 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.
2800
- * 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).
2905
+ * 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.
2906
+ * 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).
2801
2907
  *
2802
2908
  * @param request - ImageTranslationPlusAsyncRequest
2803
2909
  * @returns ImageTranslationPlusAsyncResponse
@@ -2902,23 +3008,23 @@ export default class Client extends OpenApi {
2902
3008
  }
2903
3009
 
2904
3010
  /**
2905
- * 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.
3011
+ * 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.
2906
3012
  *
2907
3013
  * @remarks
2908
3014
  * ## Scenarios
2909
3015
  * E-commerce product images, marketing images, and images in various other scenarios.
2910
3016
  * ## Features
2911
- * * 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.
3017
+ * * 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.
2912
3018
  *
2913
- * * 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.
3019
+ * * 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.
2914
3020
  *
2915
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3021
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2916
3022
  *
2917
- * * 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.
3023
+ * * 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.
2918
3024
  * ## Preparations and call process
2919
- * 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).
2920
- * 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.
2921
- * 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
+ * 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).
3026
+ * 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.
3027
+ * 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).
2922
3028
  *
2923
3029
  * @param request - ImageTranslationProAsyncRequest
2924
3030
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2927,6 +3033,10 @@ export default class Client extends OpenApi {
2927
3033
  async imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse> {
2928
3034
  request.validate();
2929
3035
  let query = { };
3036
+ if (!$dara.isNull(request.bizId)) {
3037
+ query["BizId"] = request.bizId;
3038
+ }
3039
+
2930
3040
  if (!$dara.isNull(request.glossary)) {
2931
3041
  query["Glossary"] = request.glossary;
2932
3042
  }
@@ -2973,23 +3083,23 @@ export default class Client extends OpenApi {
2973
3083
  }
2974
3084
 
2975
3085
  /**
2976
- * 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.
3086
+ * 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.
2977
3087
  *
2978
3088
  * @remarks
2979
3089
  * ## Scenarios
2980
3090
  * E-commerce product images, marketing images, and images in various other scenarios.
2981
3091
  * ## Features
2982
- * * 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.
3092
+ * * 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.
2983
3093
  *
2984
- * * 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.
3094
+ * * 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.
2985
3095
  *
2986
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3096
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2987
3097
  *
2988
- * * 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.
3098
+ * * 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.
2989
3099
  * ## Preparations and call process
2990
- * 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).
2991
- * 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.
2992
- * 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).
3100
+ * 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).
3101
+ * 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.
3102
+ * 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).
2993
3103
  *
2994
3104
  * @param request - ImageTranslationProAsyncRequest
2995
3105
  * @returns ImageTranslationProAsyncResponse
@@ -3096,23 +3206,23 @@ export default class Client extends OpenApi {
3096
3206
  }
3097
3207
 
3098
3208
  /**
3099
- * 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.
3209
+ * 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.
3100
3210
  *
3101
3211
  * @remarks
3102
3212
  * ## Scenarios
3103
3213
  * E-commerce product images, marketing images, and images for various other scenarios.
3104
3214
  * ## Features
3105
- * * **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.
3215
+ * * **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.
3106
3216
  *
3107
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3217
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3108
3218
  *
3109
- * * **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.
3219
+ * * **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.
3110
3220
  *
3111
- * * **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.
3221
+ * * **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.
3112
3222
  * ## Preparations and call process
3113
- * * 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).
3114
- * * 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.
3115
- * * 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).
3223
+ * * 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).
3224
+ * * 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.
3225
+ * * 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).
3116
3226
  *
3117
3227
  * @param request - ImageTranslationStandardAsyncRequest
3118
3228
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3121,6 +3231,10 @@ export default class Client extends OpenApi {
3121
3231
  async imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse> {
3122
3232
  request.validate();
3123
3233
  let query = { };
3234
+ if (!$dara.isNull(request.bizId)) {
3235
+ query["BizId"] = request.bizId;
3236
+ }
3237
+
3124
3238
  if (!$dara.isNull(request.glossary)) {
3125
3239
  query["Glossary"] = request.glossary;
3126
3240
  }
@@ -3167,23 +3281,23 @@ export default class Client extends OpenApi {
3167
3281
  }
3168
3282
 
3169
3283
  /**
3170
- * 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.
3284
+ * 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.
3171
3285
  *
3172
3286
  * @remarks
3173
3287
  * ## Scenarios
3174
3288
  * E-commerce product images, marketing images, and images for various other scenarios.
3175
3289
  * ## Features
3176
- * * **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.
3290
+ * * **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.
3177
3291
  *
3178
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3292
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3179
3293
  *
3180
- * * **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.
3294
+ * * **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.
3181
3295
  *
3182
- * * **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.
3296
+ * * **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.
3183
3297
  * ## Preparations and call process
3184
- * * 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).
3185
- * * 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.
3186
- * * 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).
3298
+ * * 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).
3299
+ * * 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.
3300
+ * * 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).
3187
3301
  *
3188
3302
  * @param request - ImageTranslationStandardAsyncRequest
3189
3303
  * @returns ImageTranslationStandardAsyncResponse
@@ -4160,10 +4274,10 @@ export default class Client extends OpenApi {
4160
4274
  }
4161
4275
 
4162
4276
  /**
4163
- * API name on the POP gateway: QueryAsyncTaskResult.
4277
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
4164
4278
  *
4165
4279
  * @remarks
4166
- * API name on the POP gateway: QueryAsyncTaskResult.
4280
+ * The API name in the POP gateway is QueryAsyncTaskResult.
4167
4281
  *
4168
4282
  * @param request - QueryAsyncTaskResultRequest
4169
4283
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4194,10 +4308,10 @@ export default class Client extends OpenApi {
4194
4308
  }
4195
4309
 
4196
4310
  /**
4197
- * API name on the POP gateway: QueryAsyncTaskResult.
4311
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
4198
4312
  *
4199
4313
  * @remarks
4200
- * API name on the POP gateway: QueryAsyncTaskResult.
4314
+ * The API name in the POP gateway is QueryAsyncTaskResult.
4201
4315
  *
4202
4316
  * @param request - QueryAsyncTaskResultRequest
4203
4317
  * @returns QueryAsyncTaskResultResponse
@@ -4646,105 +4760,105 @@ export default class Client extends OpenApi {
4646
4760
  }
4647
4761
 
4648
4762
  /**
4649
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4763
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4650
4764
  *
4651
4765
  * @remarks
4652
4766
  * ## Scenarios
4653
- * Size charts: Extracts size charts for apparel categories into text.
4654
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4767
+ * Size charts: extracts size charts of apparel categories into text.
4768
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4655
4769
  * ## Feature description
4656
- * 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.
4657
- * 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.
4658
- * ## Example results
4770
+ * 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.
4771
+ * 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.
4772
+ * ## Comparison
4659
4773
  * | Input image | Output result |
4660
4774
  * | --- | --- |
4661
4775
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4662
4776
  * "SizeChart": [
4663
4777
  * {
4664
- * "尺码": {
4778
+ * "Size": {
4665
4779
  * "value": "S"
4666
4780
  * },
4667
- * "腰围": {
4781
+ * "Waist": {
4668
4782
  * "unit": "CM",
4669
4783
  * "value": 58
4670
4784
  * },
4671
- * "裙长": {
4785
+ * "Skirt length": {
4672
4786
  * "unit": "CM",
4673
4787
  * "value": 81
4674
4788
  * },
4675
- * "体重建议": {
4789
+ * "Weight recommendation": {
4676
4790
  * "unit": "kg",
4677
4791
  * "lower_value": 40,
4678
4792
  * "upper_value": 47.5
4679
4793
  * }
4680
4794
  * },
4681
4795
  * {
4682
- * "尺码": {
4796
+ * "Size": {
4683
4797
  * "value": "M"
4684
4798
  * },
4685
- * "腰围": {
4799
+ * "Waist": {
4686
4800
  * "unit": "CM",
4687
4801
  * "value": 59
4688
4802
  * },
4689
- * "裙长": {
4803
+ * "Skirt length": {
4690
4804
  * "unit": "CM",
4691
4805
  * "value": 82
4692
4806
  * },
4693
- * "体重建议": {
4807
+ * "Weight recommendation": {
4694
4808
  * "unit": "kg",
4695
4809
  * "lower_value": 45,
4696
4810
  * "upper_value": 52.5
4697
4811
  * }
4698
4812
  * },
4699
4813
  * {
4700
- * "尺码": {
4814
+ * "Size": {
4701
4815
  * "value": "L"
4702
4816
  * },
4703
- * "腰围": {
4817
+ * "Waist": {
4704
4818
  * "unit": "CM",
4705
4819
  * "value": 60
4706
4820
  * },
4707
- * "裙长": {
4821
+ * "Skirt length": {
4708
4822
  * "unit": "CM",
4709
4823
  * "value": 83
4710
4824
  * },
4711
- * "体重建议": {
4825
+ * "Weight recommendation": {
4712
4826
  * "unit": "kg",
4713
4827
  * "lower_value": 50,
4714
4828
  * "upper_value": 57.5
4715
4829
  * }
4716
4830
  * },
4717
4831
  * {
4718
- * "尺码": {
4832
+ * "Size": {
4719
4833
  * "value": "XL"
4720
4834
  * },
4721
- * "腰围": {
4835
+ * "Waist": {
4722
4836
  * "unit": "CM",
4723
4837
  * "value": 61
4724
4838
  * },
4725
- * "裙长": {
4839
+ * "Skirt length": {
4726
4840
  * "unit": "CM",
4727
4841
  * "value": 84
4728
4842
  * },
4729
- * "体重建议": {
4843
+ * "Weight recommendation": {
4730
4844
  * "unit": "kg",
4731
4845
  * "lower_value": 55,
4732
4846
  * "upper_value": 62.5
4733
4847
  * }
4734
4848
  * },
4735
4849
  * {
4736
- * "尺码": {
4850
+ * "Size": {
4737
4851
  * "value": "2XL"
4738
4852
  * },
4739
- * "腰围": {
4853
+ * "Waist": {
4740
4854
  * "unit": "CM",
4741
4855
  * "value": 62
4742
4856
  * },
4743
- * "裙长": {
4857
+ * "Skirt length": {
4744
4858
  * "unit": "CM",
4745
4859
  * "value": 85
4746
4860
  * },
4747
- * "体重建议": {
4861
+ * "Weight recommendation": {
4748
4862
  * "unit": "kg",
4749
4863
  * "lower_value": 60,
4750
4864
  * "upper_value": 67.5
@@ -4778,6 +4892,10 @@ export default class Client extends OpenApi {
4778
4892
  }
4779
4893
 
4780
4894
  let query = { };
4895
+ if (!$dara.isNull(request.bizId)) {
4896
+ query["BizId"] = request.bizId;
4897
+ }
4898
+
4781
4899
  if (!$dara.isNull(request.columnNameListShrink)) {
4782
4900
  query["ColumnNameList"] = request.columnNameListShrink;
4783
4901
  }
@@ -4808,105 +4926,105 @@ export default class Client extends OpenApi {
4808
4926
  }
4809
4927
 
4810
4928
  /**
4811
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4929
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4812
4930
  *
4813
4931
  * @remarks
4814
4932
  * ## Scenarios
4815
- * Size charts: Extracts size charts for apparel categories into text.
4816
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4933
+ * Size charts: extracts size charts of apparel categories into text.
4934
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4817
4935
  * ## Feature description
4818
- * 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.
4819
- * 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.
4820
- * ## Example results
4936
+ * 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.
4937
+ * 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.
4938
+ * ## Comparison
4821
4939
  * | Input image | Output result |
4822
4940
  * | --- | --- |
4823
4941
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4824
4942
  * "SizeChart": [
4825
4943
  * {
4826
- * "尺码": {
4944
+ * "Size": {
4827
4945
  * "value": "S"
4828
4946
  * },
4829
- * "腰围": {
4947
+ * "Waist": {
4830
4948
  * "unit": "CM",
4831
4949
  * "value": 58
4832
4950
  * },
4833
- * "裙长": {
4951
+ * "Skirt length": {
4834
4952
  * "unit": "CM",
4835
4953
  * "value": 81
4836
4954
  * },
4837
- * "体重建议": {
4955
+ * "Weight recommendation": {
4838
4956
  * "unit": "kg",
4839
4957
  * "lower_value": 40,
4840
4958
  * "upper_value": 47.5
4841
4959
  * }
4842
4960
  * },
4843
4961
  * {
4844
- * "尺码": {
4962
+ * "Size": {
4845
4963
  * "value": "M"
4846
4964
  * },
4847
- * "腰围": {
4965
+ * "Waist": {
4848
4966
  * "unit": "CM",
4849
4967
  * "value": 59
4850
4968
  * },
4851
- * "裙长": {
4969
+ * "Skirt length": {
4852
4970
  * "unit": "CM",
4853
4971
  * "value": 82
4854
4972
  * },
4855
- * "体重建议": {
4973
+ * "Weight recommendation": {
4856
4974
  * "unit": "kg",
4857
4975
  * "lower_value": 45,
4858
4976
  * "upper_value": 52.5
4859
4977
  * }
4860
4978
  * },
4861
4979
  * {
4862
- * "尺码": {
4980
+ * "Size": {
4863
4981
  * "value": "L"
4864
4982
  * },
4865
- * "腰围": {
4983
+ * "Waist": {
4866
4984
  * "unit": "CM",
4867
4985
  * "value": 60
4868
4986
  * },
4869
- * "裙长": {
4987
+ * "Skirt length": {
4870
4988
  * "unit": "CM",
4871
4989
  * "value": 83
4872
4990
  * },
4873
- * "体重建议": {
4991
+ * "Weight recommendation": {
4874
4992
  * "unit": "kg",
4875
4993
  * "lower_value": 50,
4876
4994
  * "upper_value": 57.5
4877
4995
  * }
4878
4996
  * },
4879
4997
  * {
4880
- * "尺码": {
4998
+ * "Size": {
4881
4999
  * "value": "XL"
4882
5000
  * },
4883
- * "腰围": {
5001
+ * "Waist": {
4884
5002
  * "unit": "CM",
4885
5003
  * "value": 61
4886
5004
  * },
4887
- * "裙长": {
5005
+ * "Skirt length": {
4888
5006
  * "unit": "CM",
4889
5007
  * "value": 84
4890
5008
  * },
4891
- * "体重建议": {
5009
+ * "Weight recommendation": {
4892
5010
  * "unit": "kg",
4893
5011
  * "lower_value": 55,
4894
5012
  * "upper_value": 62.5
4895
5013
  * }
4896
5014
  * },
4897
5015
  * {
4898
- * "尺码": {
5016
+ * "Size": {
4899
5017
  * "value": "2XL"
4900
5018
  * },
4901
- * "腰围": {
5019
+ * "Waist": {
4902
5020
  * "unit": "CM",
4903
5021
  * "value": 62
4904
5022
  * },
4905
- * "裙长": {
5023
+ * "Skirt length": {
4906
5024
  * "unit": "CM",
4907
5025
  * "value": 85
4908
5026
  * },
4909
- * "体重建议": {
5027
+ * "Weight recommendation": {
4910
5028
  * "unit": "kg",
4911
5029
  * "lower_value": 60,
4912
5030
  * "upper_value": 67.5
@@ -5564,28 +5682,28 @@ export default class Client extends OpenApi {
5564
5682
  }
5565
5683
 
5566
5684
  /**
5567
- * 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.
5685
+ * 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.
5568
5686
  *
5569
5687
  * @remarks
5570
5688
  * ## Product introduction
5571
5689
  * 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.
5572
- * 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.
5690
+ * 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.
5573
5691
  * ## Scenarios
5574
- * * **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.
5692
+ * * **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.
5575
5693
  *
5576
- * * **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.
5694
+ * * **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.
5577
5695
  *
5578
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5696
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5579
5697
  *
5580
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5698
+ * * **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.
5581
5699
  * ## Features
5582
5700
  * | Feature | Identifier | Description |
5583
5701
  * | --- | --- | --- |
5584
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5585
- * | 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. |
5586
- * 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.
5587
- * 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.
5588
- * 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.
5702
+ * | 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. |
5703
+ * | 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. |
5704
+ * 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.
5705
+ * 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.
5706
+ * 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.
5589
5707
  *
5590
5708
  * @param tmpReq - VideoTranslationRequest
5591
5709
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5652,28 +5770,28 @@ export default class Client extends OpenApi {
5652
5770
  }
5653
5771
 
5654
5772
  /**
5655
- * 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.
5773
+ * 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.
5656
5774
  *
5657
5775
  * @remarks
5658
5776
  * ## Product introduction
5659
5777
  * 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.
5660
- * 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.
5778
+ * 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.
5661
5779
  * ## Scenarios
5662
- * * **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.
5780
+ * * **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.
5663
5781
  *
5664
- * * **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.
5782
+ * * **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.
5665
5783
  *
5666
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5784
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5667
5785
  *
5668
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5786
+ * * **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.
5669
5787
  * ## Features
5670
5788
  * | Feature | Identifier | Description |
5671
5789
  * | --- | --- | --- |
5672
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5673
- * | 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. |
5674
- * 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.
5675
- * 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.
5676
- * 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.
5790
+ * | 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. |
5791
+ * | 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. |
5792
+ * 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.
5793
+ * 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.
5794
+ * 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.
5677
5795
  *
5678
5796
  * @param request - VideoTranslationRequest
5679
5797
  * @returns VideoTranslationResponse