@alicloud/aidge20260428 5.10.0 → 5.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/client.d.ts +186 -186
  2. package/dist/client.js +210 -186
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
  5. package/dist/models/ImageMattingAsyncRequest.js +2 -0
  6. package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
  7. package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
  8. package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
  9. package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
  10. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  11. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
  12. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
  13. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
  14. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  15. package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
  16. package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
  17. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  18. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
  19. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  20. package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
  21. package/dist/models/ImageRemoveAsyncRequest.js +2 -0
  22. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  23. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
  24. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  25. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
  26. package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
  27. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  28. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
  29. package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
  30. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
  31. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
  32. package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
  33. package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
  34. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
  35. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
  36. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
  37. package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
  38. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
  39. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
  40. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
  41. package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
  42. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  43. package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
  44. package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
  45. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
  46. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
  47. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
  48. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
  49. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
  50. package/dist/models/VideoTranslationRequest.d.ts +12 -12
  51. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  52. package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
  53. package/package.json +1 -1
  54. package/src/client.ts +222 -190
  55. package/src/models/ImageMattingAsyncRequest.ts +11 -1
  56. package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
  57. package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
  58. package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
  59. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
  60. package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
  61. package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
  62. package/src/models/ImageRemoveAsyncRequest.ts +27 -6
  63. package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
  64. package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
  65. package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
  66. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
  67. package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
  68. package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
  69. package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
  70. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
  71. package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
  72. package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
  73. package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
  74. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
  75. package/src/models/VideoTranslationRequest.ts +12 -12
  76. package/src/models/VideoTranslationResponseBody.ts +4 -4
  77. package/src/models/VideoTranslationShrinkRequest.ts +12 -12
package/dist/client.js CHANGED
@@ -1290,13 +1290,13 @@ class Client extends openapi_core_1.default {
1290
1290
  return await this.imageMattingWithOptions(request, runtime);
1291
1291
  }
1292
1292
  /**
1293
- * Extracts the salient subject from an image, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
1293
+ * Extracts the salient subject from an image by separating it from the background and returns the subject image with the background removed. It also provides multiple background options and custom size options to optimize product display.
1294
1294
  *
1295
1295
  * @remarks
1296
1296
  * # Scenarios
1297
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1297
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1298
1298
  *
1299
- * * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, which improves the production efficiency of advertising images and marketing posters.
1299
+ * * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, thereby improving the production efficiency of advertising images and marketing posters.
1300
1300
  * # Features.
1301
1301
  * #### 1. One-click precise subject recognition
1302
1302
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1305,9 +1305,9 @@ class Client extends openapi_core_1.default {
1305
1305
  * #### 2. Intelligent edge optimization
1306
1306
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1307
1307
  * #### 3. Multi-format output and background operations
1308
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1308
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1309
1309
  *
1310
- * * **Supports custom background colors**
1310
+ * * **Custom background color support**
1311
1311
  * # Effect comparison
1312
1312
  * | **Original image (input)** | **Result image (output)** |
1313
1313
  * | --- | --- |
@@ -1328,6 +1328,9 @@ class Client extends openapi_core_1.default {
1328
1328
  if (!$dara.isNull(request.bgColor)) {
1329
1329
  query["BgColor"] = request.bgColor;
1330
1330
  }
1331
+ if (!$dara.isNull(request.bizId)) {
1332
+ query["BizId"] = request.bizId;
1333
+ }
1331
1334
  if (!$dara.isNull(request.imageUrl)) {
1332
1335
  query["ImageUrl"] = request.imageUrl;
1333
1336
  }
@@ -1354,13 +1357,13 @@ class Client extends openapi_core_1.default {
1354
1357
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageMattingAsyncResponse({}));
1355
1358
  }
1356
1359
  /**
1357
- * Extracts the salient subject from an image, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
1360
+ * Extracts the salient subject from an image by separating it from the background and returns the subject image with the background removed. It also provides multiple background options and custom size options to optimize product display.
1358
1361
  *
1359
1362
  * @remarks
1360
1363
  * # Scenarios
1361
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1364
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1362
1365
  *
1363
- * * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, which improves the production efficiency of advertising images and marketing posters.
1366
+ * * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, thereby improving the production efficiency of advertising images and marketing posters.
1364
1367
  * # Features.
1365
1368
  * #### 1. One-click precise subject recognition
1366
1369
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1369,9 +1372,9 @@ class Client extends openapi_core_1.default {
1369
1372
  * #### 2. Intelligent edge optimization
1370
1373
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1371
1374
  * #### 3. Multi-format output and background operations
1372
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1375
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1373
1376
  *
1374
- * * **Supports custom background colors**
1377
+ * * **Custom background color support**
1375
1378
  * # Effect comparison
1376
1379
  * | **Original image (input)** | **Result image (output)** |
1377
1380
  * | --- | --- |
@@ -1591,12 +1594,12 @@ class Client extends openapi_core_1.default {
1591
1594
  return await this.imageRecognitionWithOptions(request, runtime);
1592
1595
  }
1593
1596
  /**
1594
- * Identifies specific elements in e-commerce images. It analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
1597
+ * Identifies specific elements in e-commerce images. It extracts image details to help users quickly identify text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
1595
1598
  *
1596
1599
  * @remarks
1597
1600
  * # Scenarios
1598
1601
  * 1. Intelligent image filtering and optimization:
1599
- * Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
1602
+ * Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
1600
1603
  * 2. Automated image processing and efficiency improvement:
1601
1604
  * Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
1602
1605
  * # Features
@@ -1609,14 +1612,14 @@ class Client extends openapi_core_1.default {
1609
1612
  *
1610
1613
  * * Logo: A logo or trademark.
1611
1614
  *
1612
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1615
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1613
1616
  *
1614
1617
  * * Text-containing color block: A color block containing text outside the subject.
1615
1618
  *
1616
- * **2. The main features of the intelligent element recognition API include:**
1619
+ * **2. The intelligent element recognition API provides the following features:**
1617
1620
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1618
1621
  *
1619
- * * Workflow collaboration: Used in combination with the intelligent elimination API. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
1622
+ * * Workflow collaboration: Used in combination with the intelligent elimination API. First, the intelligent element recognition API identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
1620
1623
  *
1621
1624
  * **3. Technical advantages:**
1622
1625
  * * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
@@ -1675,6 +1678,9 @@ class Client extends openapi_core_1.default {
1675
1678
  request.objectDetectElementsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectDetectElements, "ObjectDetectElements", "json");
1676
1679
  }
1677
1680
  let query = {};
1681
+ if (!$dara.isNull(request.bizId)) {
1682
+ query["BizId"] = request.bizId;
1683
+ }
1678
1684
  if (!$dara.isNull(request.imageUrl)) {
1679
1685
  query["ImageUrl"] = request.imageUrl;
1680
1686
  }
@@ -1716,12 +1722,12 @@ class Client extends openapi_core_1.default {
1716
1722
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionAsyncResponse({}));
1717
1723
  }
1718
1724
  /**
1719
- * Identifies specific elements in e-commerce images. It analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
1725
+ * Identifies specific elements in e-commerce images. It extracts image details to help users quickly identify text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
1720
1726
  *
1721
1727
  * @remarks
1722
1728
  * # Scenarios
1723
1729
  * 1. Intelligent image filtering and optimization:
1724
- * Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
1730
+ * Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
1725
1731
  * 2. Automated image processing and efficiency improvement:
1726
1732
  * Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
1727
1733
  * # Features
@@ -1734,14 +1740,14 @@ class Client extends openapi_core_1.default {
1734
1740
  *
1735
1741
  * * Logo: A logo or trademark.
1736
1742
  *
1737
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1743
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1738
1744
  *
1739
1745
  * * Text-containing color block: A color block containing text outside the subject.
1740
1746
  *
1741
- * **2. The main features of the intelligent element recognition API include:**
1747
+ * **2. The intelligent element recognition API provides the following features:**
1742
1748
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1743
1749
  *
1744
- * * Workflow collaboration: Used in combination with the intelligent elimination API. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
1750
+ * * Workflow collaboration: Used in combination with the intelligent elimination API. First, the intelligent element recognition API identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
1745
1751
  *
1746
1752
  * **3. Technical advantages:**
1747
1753
  * * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
@@ -1883,27 +1889,27 @@ class Client extends openapi_core_1.default {
1883
1889
  return await this.imageRemovalProWithOptions(request, runtime);
1884
1890
  }
1885
1891
  /**
1886
- * Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
1892
+ * Removes objects from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and watermarks. Allows you to specify objects to remove as needed, enabling efficient and accurate processing of large batches of images and simplifying image editing.
1887
1893
  *
1888
1894
  * @remarks
1889
1895
  * ## Scenarios
1890
- * * **Efficient e-commerce image processing:**
1896
+ * * **Efficient processing of e-commerce images:**
1891
1897
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1892
- * * **Multi-platform product information synchronization:**
1893
- * When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
1898
+ * * **Product information synchronization across multiple platforms:**
1899
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1894
1900
  * ## Features
1895
- * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
1901
+ * 1. First, understand the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose to remove objects from the image subject or the image background. Both API and editor integration methods are supported to meet different requirements.
1896
1902
  *
1897
1903
  * 1. Image subject: the core product area in the image.
1898
1904
  *
1899
- * 2. Image background: the rest of the image other than the product subject.
1905
+ * 2. Image background: the rest of the image except the product subject.
1900
1906
  *
1901
- * 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
1902
- * ## Before and after
1903
- * | **Original image** | **Erased image** |
1907
+ * 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:
1908
+ * ## Effect comparison
1909
+ * | **Original image** | **Processed image** |
1904
1910
  * | --- | --- |
1905
- * | ![Main image 1 - Leopard print large capacity crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1906
- * | ![Main image 1 - Short half-cover round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1911
+ * | ![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) |
1912
+ * | ![Main image 1 - Handled ultra-short half-cover round head French false nails.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1907
1913
  *
1908
1914
  * @param request - ImageRemovalProAsyncRequest
1909
1915
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1912,6 +1918,9 @@ class Client extends openapi_core_1.default {
1912
1918
  async imageRemovalProAsyncWithOptions(request, runtime) {
1913
1919
  request.validate();
1914
1920
  let query = {};
1921
+ if (!$dara.isNull(request.bizId)) {
1922
+ query["BizId"] = request.bizId;
1923
+ }
1915
1924
  if (!$dara.isNull(request.imageUrl)) {
1916
1925
  query["ImageUrl"] = request.imageUrl;
1917
1926
  }
@@ -1932,27 +1941,27 @@ class Client extends openapi_core_1.default {
1932
1941
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemovalProAsyncResponse({}));
1933
1942
  }
1934
1943
  /**
1935
- * Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
1944
+ * Removes objects from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and watermarks. Allows you to specify objects to remove as needed, enabling efficient and accurate processing of large batches of images and simplifying image editing.
1936
1945
  *
1937
1946
  * @remarks
1938
1947
  * ## Scenarios
1939
- * * **Efficient e-commerce image processing:**
1948
+ * * **Efficient processing of e-commerce images:**
1940
1949
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1941
- * * **Multi-platform product information synchronization:**
1942
- * When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
1950
+ * * **Product information synchronization across multiple platforms:**
1951
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1943
1952
  * ## Features
1944
- * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
1953
+ * 1. First, understand the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose to remove objects from the image subject or the image background. Both API and editor integration methods are supported to meet different requirements.
1945
1954
  *
1946
1955
  * 1. Image subject: the core product area in the image.
1947
1956
  *
1948
- * 2. Image background: the rest of the image other than the product subject.
1957
+ * 2. Image background: the rest of the image except the product subject.
1949
1958
  *
1950
- * 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
1951
- * ## Before and after
1952
- * | **Original image** | **Erased image** |
1959
+ * 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:
1960
+ * ## Effect comparison
1961
+ * | **Original image** | **Processed image** |
1953
1962
  * | --- | --- |
1954
- * | ![Main image 1 - Leopard print large capacity crossbody canvas bag.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/AJdl65AyryVZyOke/img/4bd2c812-ed3c-45da-8a86-ebd29102f4b1.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/eff0eb1b-36df-431d-a010-3bb3b7348ff9.png) |
1955
- * | ![Main image 1 - Short half-cover round-tip French false nails with handle.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1963
+ * | ![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) |
1964
+ * | ![Main image 1 - Handled ultra-short half-cover round head French false nails.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/c44ac17b-3fa4-4a6f-b411-90f1062b183b.jpeg) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/5VLqXLbGJZd3VqX1/img/af779684-4aa5-49b0-8668-34ab8bd4bcc1.png) |
1956
1965
  *
1957
1966
  * @param request - ImageRemovalProAsyncRequest
1958
1967
  * @returns ImageRemovalProAsyncResponse
@@ -2201,33 +2210,33 @@ class Client extends openapi_core_1.default {
2201
2210
  return await this.imageRemoveWithOptions(request, runtime);
2202
2211
  }
2203
2212
  /**
2204
- * Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
2213
+ * Intelligently removes unwanted elements from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and promotional stickers. Supports specifying target objects for removal to enable efficient and accurate batch processing and simplify image editing.
2205
2214
  *
2206
2215
  * @remarks
2207
2216
  * ## Scenarios
2208
- * * **Efficient processing of e-commerce images:**
2217
+ * * **Efficient e-commerce image processing:**
2209
2218
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2210
2219
  * * **Multi-platform product information synchronization:**
2211
- * When merchants synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
2220
+ * When merchants list products on different e-commerce platforms simultaneously, they can quickly remove specific text and promotional stickers to comply with the image specifications of different platforms.
2212
2221
  * * **Marketing material preparation:**
2213
2222
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2214
- * > Note: Merchants or platforms can batch remove unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
2223
+ * > Note: Merchants or platforms can batch remove impurities in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter images containing text, specific names, transparent text blocks, and promotional stickers, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
2215
2224
  * ## Features
2216
- * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of needs.
2225
+ * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
2217
2226
  *
2218
2227
  * 1. Image subject: the core product area in the image.
2219
2228
  *
2220
2229
  * 2. Image background: the rest of the image other than the product subject.
2221
2230
  *
2222
- * 2. Second, the objects to remove support the following three cases:
2231
+ * 2. Second, the objects to be removed support the following three cases:
2223
2232
  *
2224
- * 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
2233
+ * 1. The user only selects the type. Supported types include text, specific names, transparent text blocks, and promotional stickers. You can clarify the usage requirements through the following examples for targeted operations.
2225
2234
  *
2226
2235
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2227
2236
  *
2228
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2237
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2229
2238
  *
2230
- * Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
2239
+ * Processing flow: The user passes in the original image URL → OCR and VLM models detect the text or image position → Determine the coordinates of the area to be repaired → AI repairs and generates a clean image → Returns the result image URL.
2231
2240
  * ## Effect comparison
2232
2241
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2233
2242
  * | --- | --- | --- |
@@ -2267,7 +2276,7 @@ class Client extends openapi_core_1.default {
2267
2276
  * * Does not involve the image subject area
2268
2277
  *
2269
2278
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2270
- * | Watermarks | * Involves the image subject area
2279
+ * | Promotional stickers | * Involves the image subject area
2271
2280
  *
2272
2281
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2273
2282
  *
@@ -2280,7 +2289,7 @@ class Client extends openapi_core_1.default {
2280
2289
  *
2281
2290
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2282
2291
  * | Specified image element erasure (supports multiple image links) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/9297951f-53c1-4476-8c69-5c31df3fce21.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ef3f35aa-609f-454c-bba0-dd1710c83945.png) |
2283
- * | Specified text erasure (supports multiple texts) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
2292
+ * | Specified text erasure (supports multiple text strings) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
2284
2293
  *
2285
2294
  * @param tmpReq - ImageRemoveAsyncRequest
2286
2295
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2303,6 +2312,9 @@ class Client extends openapi_core_1.default {
2303
2312
  request.userTextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userText, "UserText", "json");
2304
2313
  }
2305
2314
  let query = {};
2315
+ if (!$dara.isNull(request.bizId)) {
2316
+ query["BizId"] = request.bizId;
2317
+ }
2306
2318
  if (!$dara.isNull(request.imageUrl)) {
2307
2319
  query["ImageUrl"] = request.imageUrl;
2308
2320
  }
@@ -2341,33 +2353,33 @@ class Client extends openapi_core_1.default {
2341
2353
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveAsyncResponse({}));
2342
2354
  }
2343
2355
  /**
2344
- * Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
2356
+ * Intelligently removes unwanted elements from e-commerce images by automatically identifying and erasing text, specific names, transparent text blocks, and promotional stickers. Supports specifying target objects for removal to enable efficient and accurate batch processing and simplify image editing.
2345
2357
  *
2346
2358
  * @remarks
2347
2359
  * ## Scenarios
2348
- * * **Efficient processing of e-commerce images:**
2360
+ * * **Efficient e-commerce image processing:**
2349
2361
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2350
2362
  * * **Multi-platform product information synchronization:**
2351
- * When merchants synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
2363
+ * When merchants list products on different e-commerce platforms simultaneously, they can quickly remove specific text and promotional stickers to comply with the image specifications of different platforms.
2352
2364
  * * **Marketing material preparation:**
2353
2365
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2354
- * > Note: Merchants or platforms can batch remove unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
2366
+ * > Note: Merchants or platforms can batch remove impurities in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter images containing text, specific names, transparent text blocks, and promotional stickers, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
2355
2367
  * ## Features
2356
- * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of needs.
2368
+ * 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
2357
2369
  *
2358
2370
  * 1. Image subject: the core product area in the image.
2359
2371
  *
2360
2372
  * 2. Image background: the rest of the image other than the product subject.
2361
2373
  *
2362
- * 2. Second, the objects to remove support the following three cases:
2374
+ * 2. Second, the objects to be removed support the following three cases:
2363
2375
  *
2364
- * 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
2376
+ * 1. The user only selects the type. Supported types include text, specific names, transparent text blocks, and promotional stickers. You can clarify the usage requirements through the following examples for targeted operations.
2365
2377
  *
2366
2378
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2367
2379
  *
2368
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2380
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2369
2381
  *
2370
- * Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
2382
+ * Processing flow: The user passes in the original image URL → OCR and VLM models detect the text or image position → Determine the coordinates of the area to be repaired → AI repairs and generates a clean image → Returns the result image URL.
2371
2383
  * ## Effect comparison
2372
2384
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2373
2385
  * | --- | --- | --- |
@@ -2407,7 +2419,7 @@ class Client extends openapi_core_1.default {
2407
2419
  * * Does not involve the image subject area
2408
2420
  *
2409
2421
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2410
- * | Watermarks | * Involves the image subject area
2422
+ * | Promotional stickers | * Involves the image subject area
2411
2423
  *
2412
2424
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2413
2425
  *
@@ -2420,7 +2432,7 @@ class Client extends openapi_core_1.default {
2420
2432
  *
2421
2433
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2422
2434
  * | Specified image element erasure (supports multiple image links) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/9297951f-53c1-4476-8c69-5c31df3fce21.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ef3f35aa-609f-454c-bba0-dd1710c83945.png) |
2423
- * | Specified text erasure (supports multiple texts) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
2435
+ * | Specified text erasure (supports multiple text strings) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c784d8be-4b4d-4972-8b99-828c742b8f03.png) | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/805423ca-bd0d-4d44-a18e-a7d7bfe88587.png) |
2424
2436
  *
2425
2437
  * @param request - ImageRemoveAsyncRequest
2426
2438
  * @returns ImageRemoveAsyncResponse
@@ -2543,17 +2555,17 @@ class Client extends openapi_core_1.default {
2543
2555
  return await this.imageTranslationPlusWithOptions(request, runtime);
2544
2556
  }
2545
2557
  /**
2546
- * Translates e-commerce images by using the Mixture of Experts (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
2558
+ * Translates e-commerce images by using the Mixture of Experts (MoE) architecture. Compared with the Lite and Pro editions, the Plus edition provides higher translation accuracy for multiple minor languages.
2547
2559
  *
2548
2560
  * @remarks
2549
2561
  * ## Scenarios
2550
2562
  * Main images and detail images for cross-border e-commerce.
2551
2563
  * ## Features
2552
- * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product names, from being translated.
2564
+ * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
2553
2565
  *
2554
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2566
+ * * **Brand name protection**: Allows you to specify whether to translate the brand name in the image. This helps you protect the brand name from being translated.
2555
2567
  *
2556
- * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention words. If you need more, contact the platform for processing.
2568
+ * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2557
2569
  * ## Supported language pairs
2558
2570
  * | **No.** | **Source language** | | **Target language** | |
2559
2571
  * | --- | --- | --- | --- | --- |
@@ -2571,8 +2583,8 @@ class Client extends openapi_core_1.default {
2571
2583
  * | 11 | en | English | de | German |
2572
2584
  * | 12 | en | English | pl | Polish |
2573
2585
  * ## Preparations and call process
2574
- * The asynchronous API for Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
2575
- * For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2586
+ * 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.
2587
+ * For the integration process of asynchronous calls, subscription rules, message formats and encryption protocols, and detailed integration solutions, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2576
2588
  *
2577
2589
  * @param request - ImageTranslationPlusAsyncRequest
2578
2590
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2581,6 +2593,9 @@ class Client extends openapi_core_1.default {
2581
2593
  async imageTranslationPlusAsyncWithOptions(request, runtime) {
2582
2594
  request.validate();
2583
2595
  let query = {};
2596
+ if (!$dara.isNull(request.bizId)) {
2597
+ query["BizId"] = request.bizId;
2598
+ }
2584
2599
  if (!$dara.isNull(request.glossary)) {
2585
2600
  query["Glossary"] = request.glossary;
2586
2601
  }
@@ -2619,17 +2634,17 @@ class Client extends openapi_core_1.default {
2619
2634
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusAsyncResponse({}));
2620
2635
  }
2621
2636
  /**
2622
- * Translates e-commerce images by using the Mixture of Experts (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
2637
+ * Translates e-commerce images by using the Mixture of Experts (MoE) architecture. Compared with the Lite and Pro editions, the Plus edition provides higher translation accuracy for multiple minor languages.
2623
2638
  *
2624
2639
  * @remarks
2625
2640
  * ## Scenarios
2626
2641
  * Main images and detail images for cross-border e-commerce.
2627
2642
  * ## Features
2628
- * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product names, from being translated.
2643
+ * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
2629
2644
  *
2630
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2645
+ * * **Brand name protection**: Allows you to specify whether to translate the brand name in the image. This helps you protect the brand name from being translated.
2631
2646
  *
2632
- * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention words. If you need more, contact the platform for processing.
2647
+ * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2633
2648
  * ## Supported language pairs
2634
2649
  * | **No.** | **Source language** | | **Target language** | |
2635
2650
  * | --- | --- | --- | --- | --- |
@@ -2647,8 +2662,8 @@ class Client extends openapi_core_1.default {
2647
2662
  * | 11 | en | English | de | German |
2648
2663
  * | 12 | en | English | pl | Polish |
2649
2664
  * ## Preparations and call process
2650
- * The asynchronous API for Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
2651
- * For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2665
+ * 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.
2666
+ * For the integration process of asynchronous calls, subscription rules, message formats and encryption protocols, and detailed integration solutions, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2652
2667
  *
2653
2668
  * @param request - ImageTranslationPlusAsyncRequest
2654
2669
  * @returns ImageTranslationPlusAsyncResponse
@@ -2742,23 +2757,23 @@ class Client extends openapi_core_1.default {
2742
2757
  return await this.imageTranslationProWithOptions(request, runtime);
2743
2758
  }
2744
2759
  /**
2745
- * Translates images by using Image Translation Pro. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
2760
+ * Translates images asynchronously by using Image Translation Pro. Designed for e-commerce images, this service integrates multimodal large language models to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language pairs, including bridged language pairs.
2746
2761
  *
2747
2762
  * @remarks
2748
2763
  * ## Scenarios
2749
2764
  * E-commerce product images, marketing images, and images in various other scenarios.
2750
2765
  * ## Features
2751
- * * Product subject information protection: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
2766
+ * * Product subject information protection: You can specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
2752
2767
  *
2753
- * * Post-translation editing: Allows you to specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
2768
+ * * Secondary editing after translation: You can specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when you integrate an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
2754
2769
  *
2755
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2770
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2756
2771
  *
2757
- * * Translation intervention: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2772
+ * * Translation intervention: You can customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
2758
2773
  * ## Preparations and call process
2759
- * Image Translation Pro supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
2760
- * The asynchronous APIs for text translation and other capabilities share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
2761
- * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2774
+ * 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).
2775
+ * 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.
2776
+ * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, see [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2762
2777
  *
2763
2778
  * @param request - ImageTranslationProAsyncRequest
2764
2779
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2767,6 +2782,9 @@ class Client extends openapi_core_1.default {
2767
2782
  async imageTranslationProAsyncWithOptions(request, runtime) {
2768
2783
  request.validate();
2769
2784
  let query = {};
2785
+ if (!$dara.isNull(request.bizId)) {
2786
+ query["BizId"] = request.bizId;
2787
+ }
2770
2788
  if (!$dara.isNull(request.glossary)) {
2771
2789
  query["Glossary"] = request.glossary;
2772
2790
  }
@@ -2805,23 +2823,23 @@ class Client extends openapi_core_1.default {
2805
2823
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProAsyncResponse({}));
2806
2824
  }
2807
2825
  /**
2808
- * Translates images by using Image Translation Pro. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
2826
+ * Translates images asynchronously by using Image Translation Pro. Designed for e-commerce images, this service integrates multimodal large language models to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language pairs, including bridged language pairs.
2809
2827
  *
2810
2828
  * @remarks
2811
2829
  * ## Scenarios
2812
2830
  * E-commerce product images, marketing images, and images in various other scenarios.
2813
2831
  * ## Features
2814
- * * Product subject information protection: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
2832
+ * * Product subject information protection: You can specify whether to translate the text on the product subject. This helps you protect the subject information, such as the embedded product name, from being translated.
2815
2833
  *
2816
- * * Post-translation editing: Allows you to specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
2834
+ * * Secondary editing after translation: You can specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when you integrate an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
2817
2835
  *
2818
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2836
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2819
2837
  *
2820
- * * Translation intervention: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2838
+ * * Translation intervention: You can customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
2821
2839
  * ## Preparations and call process
2822
- * Image Translation Pro supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
2823
- * The asynchronous APIs for text translation and other capabilities share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
2824
- * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2840
+ * 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).
2841
+ * 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.
2842
+ * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, see [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2825
2843
  *
2826
2844
  * @param request - ImageTranslationProAsyncRequest
2827
2845
  * @returns ImageTranslationProAsyncResponse
@@ -2918,23 +2936,23 @@ class Client extends openapi_core_1.default {
2918
2936
  return await this.imageTranslationStandardWithOptions(request, runtime);
2919
2937
  }
2920
2938
  /**
2921
- * Translates e-commerce images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
2939
+ * Translates images specifically designed for e-commerce, supporting over 400 language pairs, including bridged pairs. It accurately processes complex text layouts within images and ensures that the translated content matches the image context. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. Additionally, the service returns layer information such as the position, font, and color of text in the image, which facilitates secondary editing of translation results by using image editors.
2922
2940
  *
2923
2941
  * @remarks
2924
2942
  * ## Scenarios
2925
2943
  * E-commerce product images, marketing images, and images for various other scenarios.
2926
2944
  * ## Features
2927
- * * **Product subject information protection**: Allows you to specify whether to translate text on the product subject, protecting the subject information and preventing the translation of embedded information such as product names.
2945
+ * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information from being translated and prevents the translation of embedded information such as product names.
2928
2946
  *
2929
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
2947
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2930
2948
  *
2931
- * * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
2949
+ * * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as the position, font, and color of the text. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, refer to platform notifications.
2932
2950
  *
2933
- * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
2951
+ * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
2934
2952
  * ## Preparations and call process
2935
- * * Image Translation Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
2936
- * * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
2937
- * * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2953
+ * * 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).
2954
+ * * 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.
2955
+ * * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
2938
2956
  *
2939
2957
  * @param request - ImageTranslationStandardAsyncRequest
2940
2958
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2943,6 +2961,9 @@ class Client extends openapi_core_1.default {
2943
2961
  async imageTranslationStandardAsyncWithOptions(request, runtime) {
2944
2962
  request.validate();
2945
2963
  let query = {};
2964
+ if (!$dara.isNull(request.bizId)) {
2965
+ query["BizId"] = request.bizId;
2966
+ }
2946
2967
  if (!$dara.isNull(request.glossary)) {
2947
2968
  query["Glossary"] = request.glossary;
2948
2969
  }
@@ -2981,23 +3002,23 @@ class Client extends openapi_core_1.default {
2981
3002
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardAsyncResponse({}));
2982
3003
  }
2983
3004
  /**
2984
- * Translates e-commerce images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
3005
+ * Translates images specifically designed for e-commerce, supporting over 400 language pairs, including bridged pairs. It accurately processes complex text layouts within images and ensures that the translated content matches the image context. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. Additionally, the service returns layer information such as the position, font, and color of text in the image, which facilitates secondary editing of translation results by using image editors.
2985
3006
  *
2986
3007
  * @remarks
2987
3008
  * ## Scenarios
2988
3009
  * E-commerce product images, marketing images, and images for various other scenarios.
2989
3010
  * ## Features
2990
- * * **Product subject information protection**: Allows you to specify whether to translate text on the product subject, protecting the subject information and preventing the translation of embedded information such as product names.
3011
+ * * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information from being translated and prevents the translation of embedded information such as product names.
2991
3012
  *
2992
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3013
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2993
3014
  *
2994
- * * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
3015
+ * * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as the position, font, and color of the text. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, refer to platform notifications.
2995
3016
  *
2996
- * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
3017
+ * * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API operation to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention entries. If you need more, contact the platform for assistance.
2997
3018
  * ## Preparations and call process
2998
- * * Image Translation Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
2999
- * * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
3000
- * * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
3019
+ * * 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).
3020
+ * * 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.
3021
+ * * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API operation call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
3001
3022
  *
3002
3023
  * @param request - ImageTranslationStandardAsyncRequest
3003
3024
  * @returns ImageTranslationStandardAsyncResponse
@@ -3909,10 +3930,10 @@ class Client extends openapi_core_1.default {
3909
3930
  return await this.productHotspotDetectionWithOptions(request, runtime);
3910
3931
  }
3911
3932
  /**
3912
- * API name on the POP gateway: QueryAsyncTaskResult.
3933
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3913
3934
  *
3914
3935
  * @remarks
3915
- * API name on the POP gateway: QueryAsyncTaskResult.
3936
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3916
3937
  *
3917
3938
  * @param request - QueryAsyncTaskResultRequest
3918
3939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3941,10 +3962,10 @@ class Client extends openapi_core_1.default {
3941
3962
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAsyncTaskResultResponse({}));
3942
3963
  }
3943
3964
  /**
3944
- * API name on the POP gateway: QueryAsyncTaskResult.
3965
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3945
3966
  *
3946
3967
  * @remarks
3947
- * API name on the POP gateway: QueryAsyncTaskResult.
3968
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3948
3969
  *
3949
3970
  * @param request - QueryAsyncTaskResultRequest
3950
3971
  * @returns QueryAsyncTaskResultResponse
@@ -4373,105 +4394,105 @@ class Client extends openapi_core_1.default {
4373
4394
  return await this.sizeChartExtractWithOptions(request, runtime);
4374
4395
  }
4375
4396
  /**
4376
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4397
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4377
4398
  *
4378
4399
  * @remarks
4379
4400
  * ## Scenarios
4380
- * Size charts: Extracts size charts for apparel categories into text.
4381
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4401
+ * Size charts: extracts size charts of apparel categories into text.
4402
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4382
4403
  * ## Feature description
4383
- * The size chart extraction service is based on multimodal foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. Provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList for precise targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
4384
- * Core capabilities: Input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling large-scale calls.
4385
- * ## Example results
4404
+ * 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.
4405
+ * 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.
4406
+ * ## Comparison
4386
4407
  * | Input image | Output result |
4387
4408
  * | --- | --- |
4388
4409
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4389
4410
  * "SizeChart": [
4390
4411
  * {
4391
- * "尺码": {
4412
+ * "Size": {
4392
4413
  * "value": "S"
4393
4414
  * },
4394
- * "腰围": {
4415
+ * "Waist": {
4395
4416
  * "unit": "CM",
4396
4417
  * "value": 58
4397
4418
  * },
4398
- * "裙长": {
4419
+ * "Skirt length": {
4399
4420
  * "unit": "CM",
4400
4421
  * "value": 81
4401
4422
  * },
4402
- * "体重建议": {
4423
+ * "Weight recommendation": {
4403
4424
  * "unit": "kg",
4404
4425
  * "lower_value": 40,
4405
4426
  * "upper_value": 47.5
4406
4427
  * }
4407
4428
  * },
4408
4429
  * {
4409
- * "尺码": {
4430
+ * "Size": {
4410
4431
  * "value": "M"
4411
4432
  * },
4412
- * "腰围": {
4433
+ * "Waist": {
4413
4434
  * "unit": "CM",
4414
4435
  * "value": 59
4415
4436
  * },
4416
- * "裙长": {
4437
+ * "Skirt length": {
4417
4438
  * "unit": "CM",
4418
4439
  * "value": 82
4419
4440
  * },
4420
- * "体重建议": {
4441
+ * "Weight recommendation": {
4421
4442
  * "unit": "kg",
4422
4443
  * "lower_value": 45,
4423
4444
  * "upper_value": 52.5
4424
4445
  * }
4425
4446
  * },
4426
4447
  * {
4427
- * "尺码": {
4448
+ * "Size": {
4428
4449
  * "value": "L"
4429
4450
  * },
4430
- * "腰围": {
4451
+ * "Waist": {
4431
4452
  * "unit": "CM",
4432
4453
  * "value": 60
4433
4454
  * },
4434
- * "裙长": {
4455
+ * "Skirt length": {
4435
4456
  * "unit": "CM",
4436
4457
  * "value": 83
4437
4458
  * },
4438
- * "体重建议": {
4459
+ * "Weight recommendation": {
4439
4460
  * "unit": "kg",
4440
4461
  * "lower_value": 50,
4441
4462
  * "upper_value": 57.5
4442
4463
  * }
4443
4464
  * },
4444
4465
  * {
4445
- * "尺码": {
4466
+ * "Size": {
4446
4467
  * "value": "XL"
4447
4468
  * },
4448
- * "腰围": {
4469
+ * "Waist": {
4449
4470
  * "unit": "CM",
4450
4471
  * "value": 61
4451
4472
  * },
4452
- * "裙长": {
4473
+ * "Skirt length": {
4453
4474
  * "unit": "CM",
4454
4475
  * "value": 84
4455
4476
  * },
4456
- * "体重建议": {
4477
+ * "Weight recommendation": {
4457
4478
  * "unit": "kg",
4458
4479
  * "lower_value": 55,
4459
4480
  * "upper_value": 62.5
4460
4481
  * }
4461
4482
  * },
4462
4483
  * {
4463
- * "尺码": {
4484
+ * "Size": {
4464
4485
  * "value": "2XL"
4465
4486
  * },
4466
- * "腰围": {
4487
+ * "Waist": {
4467
4488
  * "unit": "CM",
4468
4489
  * "value": 62
4469
4490
  * },
4470
- * "裙长": {
4491
+ * "Skirt length": {
4471
4492
  * "unit": "CM",
4472
4493
  * "value": 85
4473
4494
  * },
4474
- * "体重建议": {
4495
+ * "Weight recommendation": {
4475
4496
  * "unit": "kg",
4476
4497
  * "lower_value": 60,
4477
4498
  * "upper_value": 67.5
@@ -4504,6 +4525,9 @@ class Client extends openapi_core_1.default {
4504
4525
  request.columnNameListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.columnNameList, "ColumnNameList", "json");
4505
4526
  }
4506
4527
  let query = {};
4528
+ if (!$dara.isNull(request.bizId)) {
4529
+ query["BizId"] = request.bizId;
4530
+ }
4507
4531
  if (!$dara.isNull(request.columnNameListShrink)) {
4508
4532
  query["ColumnNameList"] = request.columnNameListShrink;
4509
4533
  }
@@ -4530,105 +4554,105 @@ class Client extends openapi_core_1.default {
4530
4554
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartExtractAsyncResponse({}));
4531
4555
  }
4532
4556
  /**
4533
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4557
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4534
4558
  *
4535
4559
  * @remarks
4536
4560
  * ## Scenarios
4537
- * Size charts: Extracts size charts for apparel categories into text.
4538
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4561
+ * Size charts: extracts size charts of apparel categories into text.
4562
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4539
4563
  * ## Feature description
4540
- * The size chart extraction service is based on multimodal foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. Provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList for precise targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
4541
- * Core capabilities: Input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling large-scale calls.
4542
- * ## Example results
4564
+ * 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.
4565
+ * 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.
4566
+ * ## Comparison
4543
4567
  * | Input image | Output result |
4544
4568
  * | --- | --- |
4545
4569
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4546
4570
  * "SizeChart": [
4547
4571
  * {
4548
- * "尺码": {
4572
+ * "Size": {
4549
4573
  * "value": "S"
4550
4574
  * },
4551
- * "腰围": {
4575
+ * "Waist": {
4552
4576
  * "unit": "CM",
4553
4577
  * "value": 58
4554
4578
  * },
4555
- * "裙长": {
4579
+ * "Skirt length": {
4556
4580
  * "unit": "CM",
4557
4581
  * "value": 81
4558
4582
  * },
4559
- * "体重建议": {
4583
+ * "Weight recommendation": {
4560
4584
  * "unit": "kg",
4561
4585
  * "lower_value": 40,
4562
4586
  * "upper_value": 47.5
4563
4587
  * }
4564
4588
  * },
4565
4589
  * {
4566
- * "尺码": {
4590
+ * "Size": {
4567
4591
  * "value": "M"
4568
4592
  * },
4569
- * "腰围": {
4593
+ * "Waist": {
4570
4594
  * "unit": "CM",
4571
4595
  * "value": 59
4572
4596
  * },
4573
- * "裙长": {
4597
+ * "Skirt length": {
4574
4598
  * "unit": "CM",
4575
4599
  * "value": 82
4576
4600
  * },
4577
- * "体重建议": {
4601
+ * "Weight recommendation": {
4578
4602
  * "unit": "kg",
4579
4603
  * "lower_value": 45,
4580
4604
  * "upper_value": 52.5
4581
4605
  * }
4582
4606
  * },
4583
4607
  * {
4584
- * "尺码": {
4608
+ * "Size": {
4585
4609
  * "value": "L"
4586
4610
  * },
4587
- * "腰围": {
4611
+ * "Waist": {
4588
4612
  * "unit": "CM",
4589
4613
  * "value": 60
4590
4614
  * },
4591
- * "裙长": {
4615
+ * "Skirt length": {
4592
4616
  * "unit": "CM",
4593
4617
  * "value": 83
4594
4618
  * },
4595
- * "体重建议": {
4619
+ * "Weight recommendation": {
4596
4620
  * "unit": "kg",
4597
4621
  * "lower_value": 50,
4598
4622
  * "upper_value": 57.5
4599
4623
  * }
4600
4624
  * },
4601
4625
  * {
4602
- * "尺码": {
4626
+ * "Size": {
4603
4627
  * "value": "XL"
4604
4628
  * },
4605
- * "腰围": {
4629
+ * "Waist": {
4606
4630
  * "unit": "CM",
4607
4631
  * "value": 61
4608
4632
  * },
4609
- * "裙长": {
4633
+ * "Skirt length": {
4610
4634
  * "unit": "CM",
4611
4635
  * "value": 84
4612
4636
  * },
4613
- * "体重建议": {
4637
+ * "Weight recommendation": {
4614
4638
  * "unit": "kg",
4615
4639
  * "lower_value": 55,
4616
4640
  * "upper_value": 62.5
4617
4641
  * }
4618
4642
  * },
4619
4643
  * {
4620
- * "尺码": {
4644
+ * "Size": {
4621
4645
  * "value": "2XL"
4622
4646
  * },
4623
- * "腰围": {
4647
+ * "Waist": {
4624
4648
  * "unit": "CM",
4625
4649
  * "value": 62
4626
4650
  * },
4627
- * "裙长": {
4651
+ * "Skirt length": {
4628
4652
  * "unit": "CM",
4629
4653
  * "value": 85
4630
4654
  * },
4631
- * "体重建议": {
4655
+ * "Weight recommendation": {
4632
4656
  * "unit": "kg",
4633
4657
  * "lower_value": 60,
4634
4658
  * "upper_value": 67.5
@@ -5235,28 +5259,28 @@ class Client extends openapi_core_1.default {
5235
5259
  return await this.videoGenerationWithOptions(request, runtime);
5236
5260
  }
5237
5261
  /**
5238
- * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
5262
+ * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
5239
5263
  *
5240
5264
  * @remarks
5241
5265
  * ## Product introduction
5242
5266
  * The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
5243
- * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
5267
+ * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
5244
5268
  * ## Scenarios
5245
- * * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
5269
+ * * **Cross-border e-commerce video localization**: Translates the speech subtitles and selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
5246
5270
  *
5247
- * * **International social media marketing**: Localizes the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
5271
+ * * **International social media marketing**: Localizes speech subtitles and on-screen text for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
5248
5272
  *
5249
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5273
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5250
5274
  *
5251
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5275
+ * * **Training and product instructions**: Translates the speech subtitles and on-screen text in training courses or product demo videos into multiple languages for global teams.
5252
5276
  * ## Features
5253
5277
  * | Feature | Identifier | Description |
5254
5278
  * | --- | --- | --- |
5255
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5256
- * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
5257
- * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
5258
- * On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
5259
- * When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
5279
+ * | 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. |
5280
+ * | 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. |
5281
+ * 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.
5282
+ * 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.
5283
+ * When both speech and visual are selected, the speech subtitle translation is completed and the video is synthesized first, and then the on-screen text processing is performed on this video. The translated dubbing is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are erased or added during the speech subtitle phase, and subsequent on-screen text processing may still change the original subtitles. Subtitles that have been replaced with translated subtitles are retained during subsequent on-screen text processing.
5260
5284
  *
5261
5285
  * @param tmpReq - VideoTranslationRequest
5262
5286
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5313,28 +5337,28 @@ class Client extends openapi_core_1.default {
5313
5337
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoTranslationResponse({}));
5314
5338
  }
5315
5339
  /**
5316
- * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
5340
+ * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
5317
5341
  *
5318
5342
  * @remarks
5319
5343
  * ## Product introduction
5320
5344
  * The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
5321
- * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
5345
+ * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the TaskId and poll the task status by calling the query API until the task is completed and the result is returned.
5322
5346
  * ## Scenarios
5323
- * * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
5347
+ * * **Cross-border e-commerce video localization**: Translates the speech subtitles and selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
5324
5348
  *
5325
- * * **International social media marketing**: Localizes the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
5349
+ * * **International social media marketing**: Localizes speech subtitles and on-screen text for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
5326
5350
  *
5327
- * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
5351
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5328
5352
  *
5329
- * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
5353
+ * * **Training and product instructions**: Translates the speech subtitles and on-screen text in training courses or product demo videos into multiple languages for global teams.
5330
5354
  * ## Features
5331
5355
  * | Feature | Identifier | Description |
5332
5356
  * | --- | --- | --- |
5333
- * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
5334
- * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
5335
- * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
5336
- * On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
5337
- * When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
5357
+ * | 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. |
5358
+ * | 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. |
5359
+ * 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.
5360
+ * 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.
5361
+ * When both speech and visual are selected, the speech subtitle translation is completed and the video is synthesized first, and then the on-screen text processing is performed on this video. The translated dubbing is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are erased or added during the speech subtitle phase, and subsequent on-screen text processing may still change the original subtitles. Subtitles that have been replaced with translated subtitles are retained during subsequent on-screen text processing.
5338
5362
  *
5339
5363
  * @param request - VideoTranslationRequest
5340
5364
  * @returns VideoTranslationResponse