@alicloud/aidge20260428 5.9.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 (160) hide show
  1. package/dist/client.d.ts +324 -264
  2. package/dist/client.js +488 -264
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
  5. package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
  6. package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
  7. package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
  8. package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
  9. package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
  10. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
  11. package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
  12. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
  13. package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
  14. package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
  15. package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
  16. package/dist/models/AiTryOnRequest.d.ts +4 -4
  17. package/dist/models/AiTryOnResponseBody.d.ts +10 -10
  18. package/dist/models/AiTryOnResponseBody.js +0 -2
  19. package/dist/models/AiTryOnResponseBody.js.map +1 -1
  20. package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
  21. package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
  22. package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
  23. package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
  24. package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
  25. package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
  26. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
  27. package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
  28. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
  29. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
  30. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
  31. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
  32. package/dist/models/ImageMattingAsyncRequest.d.ts +9 -1
  33. package/dist/models/ImageMattingAsyncRequest.js +2 -0
  34. package/dist/models/ImageMattingAsyncRequest.js.map +1 -1
  35. package/dist/models/ImageMattingAsyncResponseBody.d.ts +5 -5
  36. package/dist/models/ImageRecognitionAsyncRequest.d.ts +33 -25
  37. package/dist/models/ImageRecognitionAsyncRequest.js +2 -0
  38. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  39. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +6 -6
  40. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +33 -25
  41. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +2 -0
  42. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  43. package/dist/models/ImageRemovalProAsyncRequest.d.ts +10 -1
  44. package/dist/models/ImageRemovalProAsyncRequest.js +2 -0
  45. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  46. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +7 -5
  47. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  48. package/dist/models/ImageRemoveAsyncRequest.d.ts +25 -6
  49. package/dist/models/ImageRemoveAsyncRequest.js +2 -0
  50. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  51. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +6 -4
  52. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  53. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +25 -6
  54. package/dist/models/ImageRemoveAsyncShrinkRequest.js +2 -0
  55. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  56. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +17 -9
  57. package/dist/models/ImageTranslationPlusAsyncRequest.js +2 -0
  58. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -1
  59. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +5 -5
  60. package/dist/models/ImageTranslationProAsyncRequest.d.ts +15 -7
  61. package/dist/models/ImageTranslationProAsyncRequest.js +2 -0
  62. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -1
  63. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +4 -4
  64. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +10 -2
  65. package/dist/models/ImageTranslationStandardAsyncRequest.js +2 -0
  66. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -1
  67. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +4 -4
  68. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +13 -7
  69. package/dist/models/QueryAsyncTaskResultResponseBody.js +2 -0
  70. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  71. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
  72. package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
  73. package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
  74. package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
  75. package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
  76. package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
  77. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
  78. package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
  79. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
  80. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
  81. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
  82. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
  83. package/dist/models/SizeChartExtractAsyncRequest.d.ts +9 -1
  84. package/dist/models/SizeChartExtractAsyncRequest.js +2 -0
  85. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -1
  86. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +5 -5
  87. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +9 -1
  88. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +2 -0
  89. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -1
  90. package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
  91. package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
  92. package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
  93. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
  94. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
  95. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
  96. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
  97. package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
  98. package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
  99. package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
  100. package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
  101. package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
  102. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
  103. package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
  104. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
  105. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
  106. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
  107. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
  108. package/dist/models/VideoTranslationRequest.d.ts +12 -12
  109. package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
  110. package/dist/models/VideoTranslationShrinkRequest.d.ts +12 -12
  111. package/dist/models/model.d.ts +26 -0
  112. package/dist/models/model.js +59 -6
  113. package/dist/models/model.js.map +1 -1
  114. package/package.json +1 -1
  115. package/src/client.ts +524 -268
  116. package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
  117. package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
  118. package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
  119. package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
  120. package/src/models/AiTryOnRequest.ts +4 -4
  121. package/src/models/AiTryOnResponseBody.ts +10 -10
  122. package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
  123. package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
  124. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
  125. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
  126. package/src/models/ImageMattingAsyncRequest.ts +11 -1
  127. package/src/models/ImageMattingAsyncResponseBody.ts +5 -5
  128. package/src/models/ImageRecognitionAsyncRequest.ts +35 -25
  129. package/src/models/ImageRecognitionAsyncResponseBody.ts +6 -6
  130. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +35 -25
  131. package/src/models/ImageRemovalProAsyncRequest.ts +12 -1
  132. package/src/models/ImageRemovalProAsyncResponseBody.ts +7 -5
  133. package/src/models/ImageRemoveAsyncRequest.ts +27 -6
  134. package/src/models/ImageRemoveAsyncResponseBody.ts +6 -4
  135. package/src/models/ImageRemoveAsyncShrinkRequest.ts +27 -6
  136. package/src/models/ImageTranslationPlusAsyncRequest.ts +19 -9
  137. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +5 -5
  138. package/src/models/ImageTranslationProAsyncRequest.ts +17 -7
  139. package/src/models/ImageTranslationProAsyncResponseBody.ts +4 -4
  140. package/src/models/ImageTranslationStandardAsyncRequest.ts +12 -2
  141. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +4 -4
  142. package/src/models/QueryAsyncTaskResultResponseBody.ts +15 -7
  143. package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
  144. package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
  145. package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
  146. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
  147. package/src/models/SizeChartExtractAsyncRequest.ts +11 -1
  148. package/src/models/SizeChartExtractAsyncResponseBody.ts +5 -5
  149. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +11 -1
  150. package/src/models/TextTranslateAsyncRequest.ts +28 -0
  151. package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
  152. package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
  153. package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
  154. package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
  155. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
  156. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
  157. package/src/models/VideoTranslationRequest.ts +12 -12
  158. package/src/models/VideoTranslationResponseBody.ts +1 -1
  159. package/src/models/VideoTranslationShrinkRequest.ts +12 -12
  160. package/src/models/model.ts +26 -0
package/dist/client.js CHANGED
@@ -62,31 +62,78 @@ class Client extends openapi_core_1.default {
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
64
  /**
65
- * Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
65
+ * Synchronously adds content to a display knowledge base in batches.
66
+ *
67
+ * @param tmpReq - AddDisplayKnowledgeRequest
68
+ * @param runtime - runtime options for this request RuntimeOptions
69
+ * @returns AddDisplayKnowledgeResponse
70
+ */
71
+ async addDisplayKnowledgeWithOptions(tmpReq, runtime) {
72
+ tmpReq.validate();
73
+ let request = new $_model.AddDisplayKnowledgeShrinkRequest({});
74
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
75
+ if (!$dara.isNull(tmpReq.records)) {
76
+ request.recordsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.records, "Records", "json");
77
+ }
78
+ let query = {};
79
+ if (!$dara.isNull(request.ragId)) {
80
+ query["RagId"] = request.ragId;
81
+ }
82
+ if (!$dara.isNull(request.recordsShrink)) {
83
+ query["Records"] = request.recordsShrink;
84
+ }
85
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
86
+ query: openapi_core_2.OpenApiUtil.query(query),
87
+ });
88
+ let params = new openapi_core_2.$OpenApiUtil.Params({
89
+ action: "AddDisplayKnowledge",
90
+ version: "2026-04-28",
91
+ protocol: "HTTPS",
92
+ pathname: "/",
93
+ method: "POST",
94
+ authType: "AK",
95
+ style: "RPC",
96
+ reqBodyType: "formData",
97
+ bodyType: "json",
98
+ });
99
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddDisplayKnowledgeResponse({}));
100
+ }
101
+ /**
102
+ * Synchronously adds content to a display knowledge base in batches.
103
+ *
104
+ * @param request - AddDisplayKnowledgeRequest
105
+ * @returns AddDisplayKnowledgeResponse
106
+ */
107
+ async addDisplayKnowledge(request) {
108
+ let runtime = new $dara.RuntimeOptions({});
109
+ return await this.addDisplayKnowledgeWithOptions(request, runtime);
110
+ }
111
+ /**
112
+ * Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
66
113
  *
67
114
  * @remarks
68
115
  * ## Scenarios
69
- * - **Virtual try-on for clothing products:**
70
- * Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
116
+ * - **Virtual try-on for clothing:**
117
+ * Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
71
118
  * - **Virtual try-on for shoes and hats:**
72
- * Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
119
+ * Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
73
120
  * - **E-commerce product display and marketing:**
74
- * Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
121
+ * Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
75
122
  * - **Online shopping experience optimization:**
76
- * Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
123
+ * Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
77
124
  * ## Features
78
- * - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
79
- * - a. Model image: The person image on which the virtual try-on is performed.
80
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
81
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
82
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
83
- * - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
84
- * - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
85
- * - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
86
- * - b. Maintain scene consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
87
- * - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
88
- * ## Sample results
89
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
125
+ * - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
126
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
127
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
128
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
129
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
130
+ * - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
131
+ * - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
132
+ * - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
133
+ * - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
134
+ * - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
135
+ * ## Examples
136
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
90
137
  * | --- | --- | --- | --- |
91
138
  * | Tops | ![lQLPJv-OKUNDSxvNBojNA62wAMWEBuiTUuMKXnNidWFWAA_941_1672.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/e4273b03-0d3b-4e98-b8f3-8713fccee303.png) | ![男模特衬衫正面-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/d9ab77f7-8791-4fa5-8d76-4fda3e2e1310.png) | ![7c1c0c04-9828-940f-b86d-c08f7ec8fb97_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/42982786-73ee-4d23-a8d0-551f7a18be22.png) |
92
139
  * | Bottoms | ![lQDPJwcNMfxtoRvNBQDNAtCwhseujKzDt_QKXnNSTPaeAA_720_1280.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/64147be2-0c95-431a-8c04-f756fac96db2.jpeg) | ![微喇牛仔裤-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/f79a31cb-08bd-4b59-be9d-9b9aa3f60230.png) | ![adbb8e02-9738-991a-9699-f46bc5c089a9_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/297f29eb-7bc9-49a5-b4f7-114375a0f312.png) |
@@ -131,31 +178,31 @@ class Client extends openapi_core_1.default {
131
178
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AiTryOnResponse({}));
132
179
  }
133
180
  /**
134
- * Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
181
+ * Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
135
182
  *
136
183
  * @remarks
137
184
  * ## Scenarios
138
- * - **Virtual try-on for clothing products:**
139
- * Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
185
+ * - **Virtual try-on for clothing:**
186
+ * Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
140
187
  * - **Virtual try-on for shoes and hats:**
141
- * Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
188
+ * Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
142
189
  * - **E-commerce product display and marketing:**
143
- * Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
190
+ * Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
144
191
  * - **Online shopping experience optimization:**
145
- * Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
192
+ * Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
146
193
  * ## Features
147
- * - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
148
- * - a. Model image: The person image on which the virtual try-on is performed.
149
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
150
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
151
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
152
- * - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
153
- * - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
154
- * - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
155
- * - b. Maintain scene consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
156
- * - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
157
- * ## Sample results
158
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
194
+ * - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
195
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
196
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
197
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
198
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
199
+ * - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
200
+ * - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
201
+ * - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
202
+ * - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
203
+ * - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
204
+ * ## Examples
205
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
159
206
  * | --- | --- | --- | --- |
160
207
  * | Tops | ![lQLPJv-OKUNDSxvNBojNA62wAMWEBuiTUuMKXnNidWFWAA_941_1672.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/e4273b03-0d3b-4e98-b8f3-8713fccee303.png) | ![男模特衬衫正面-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/d9ab77f7-8791-4fa5-8d76-4fda3e2e1310.png) | ![7c1c0c04-9828-940f-b86d-c08f7ec8fb97_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/42982786-73ee-4d23-a8d0-551f7a18be22.png) |
161
208
  * | Bottoms | ![lQDPJwcNMfxtoRvNBQDNAtCwhseujKzDt_QKXnNSTPaeAA_720_1280.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/64147be2-0c95-431a-8c04-f756fac96db2.jpeg) | ![微喇牛仔裤-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/f79a31cb-08bd-4b59-be9d-9b9aa3f60230.png) | ![adbb8e02-9738-991a-9699-f46bc5c089a9_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/297f29eb-7bc9-49a5-b4f7-114375a0f312.png) |
@@ -607,6 +654,53 @@ class Client extends openapi_core_1.default {
607
654
  let runtime = new $dara.RuntimeOptions({});
608
655
  return await this.categoryMatchWithOptions(request, runtime);
609
656
  }
657
+ /**
658
+ * Deletes display knowledge base content in batches synchronously.
659
+ *
660
+ * @param tmpReq - DeleteDisplayKnowledgeRequest
661
+ * @param runtime - runtime options for this request RuntimeOptions
662
+ * @returns DeleteDisplayKnowledgeResponse
663
+ */
664
+ async deleteDisplayKnowledgeWithOptions(tmpReq, runtime) {
665
+ tmpReq.validate();
666
+ let request = new $_model.DeleteDisplayKnowledgeShrinkRequest({});
667
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
668
+ if (!$dara.isNull(tmpReq.recordIds)) {
669
+ request.recordIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recordIds, "RecordIds", "json");
670
+ }
671
+ let query = {};
672
+ if (!$dara.isNull(request.ragId)) {
673
+ query["RagId"] = request.ragId;
674
+ }
675
+ if (!$dara.isNull(request.recordIdsShrink)) {
676
+ query["RecordIds"] = request.recordIdsShrink;
677
+ }
678
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
679
+ query: openapi_core_2.OpenApiUtil.query(query),
680
+ });
681
+ let params = new openapi_core_2.$OpenApiUtil.Params({
682
+ action: "DeleteDisplayKnowledge",
683
+ version: "2026-04-28",
684
+ protocol: "HTTPS",
685
+ pathname: "/",
686
+ method: "POST",
687
+ authType: "AK",
688
+ style: "RPC",
689
+ reqBodyType: "formData",
690
+ bodyType: "json",
691
+ });
692
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDisplayKnowledgeResponse({}));
693
+ }
694
+ /**
695
+ * Deletes display knowledge base content in batches synchronously.
696
+ *
697
+ * @param request - DeleteDisplayKnowledgeRequest
698
+ * @returns DeleteDisplayKnowledgeResponse
699
+ */
700
+ async deleteDisplayKnowledge(request) {
701
+ let runtime = new $dara.RuntimeOptions({});
702
+ return await this.deleteDisplayKnowledgeWithOptions(request, runtime);
703
+ }
610
704
  /**
611
705
  * Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
612
706
  *
@@ -1196,13 +1290,13 @@ class Client extends openapi_core_1.default {
1196
1290
  return await this.imageMattingWithOptions(request, runtime);
1197
1291
  }
1198
1292
  /**
1199
- * 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.
1200
1294
  *
1201
1295
  * @remarks
1202
1296
  * # Scenarios
1203
- * * 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.
1204
1298
  *
1205
- * * 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.
1206
1300
  * # Features.
1207
1301
  * #### 1. One-click precise subject recognition
1208
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.
@@ -1211,9 +1305,9 @@ class Client extends openapi_core_1.default {
1211
1305
  * #### 2. Intelligent edge optimization
1212
1306
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1213
1307
  * #### 3. Multi-format output and background operations
1214
- * * **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.
1215
1309
  *
1216
- * * **Supports custom background colors**
1310
+ * * **Custom background color support**
1217
1311
  * # Effect comparison
1218
1312
  * | **Original image (input)** | **Result image (output)** |
1219
1313
  * | --- | --- |
@@ -1234,6 +1328,9 @@ class Client extends openapi_core_1.default {
1234
1328
  if (!$dara.isNull(request.bgColor)) {
1235
1329
  query["BgColor"] = request.bgColor;
1236
1330
  }
1331
+ if (!$dara.isNull(request.bizId)) {
1332
+ query["BizId"] = request.bizId;
1333
+ }
1237
1334
  if (!$dara.isNull(request.imageUrl)) {
1238
1335
  query["ImageUrl"] = request.imageUrl;
1239
1336
  }
@@ -1260,13 +1357,13 @@ class Client extends openapi_core_1.default {
1260
1357
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageMattingAsyncResponse({}));
1261
1358
  }
1262
1359
  /**
1263
- * 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.
1264
1361
  *
1265
1362
  * @remarks
1266
1363
  * # Scenarios
1267
- * * 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.
1268
1365
  *
1269
- * * 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.
1270
1367
  * # Features.
1271
1368
  * #### 1. One-click precise subject recognition
1272
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.
@@ -1275,9 +1372,9 @@ class Client extends openapi_core_1.default {
1275
1372
  * #### 2. Intelligent edge optimization
1276
1373
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1277
1374
  * #### 3. Multi-format output and background operations
1278
- * * **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.
1279
1376
  *
1280
- * * **Supports custom background colors**
1377
+ * * **Custom background color support**
1281
1378
  * # Effect comparison
1282
1379
  * | **Original image (input)** | **Result image (output)** |
1283
1380
  * | --- | --- |
@@ -1497,12 +1594,12 @@ class Client extends openapi_core_1.default {
1497
1594
  return await this.imageRecognitionWithOptions(request, runtime);
1498
1595
  }
1499
1596
  /**
1500
- * 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.
1501
1598
  *
1502
1599
  * @remarks
1503
1600
  * # Scenarios
1504
1601
  * 1. Intelligent image filtering and optimization:
1505
- * 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.
1506
1603
  * 2. Automated image processing and efficiency improvement:
1507
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.
1508
1605
  * # Features
@@ -1515,14 +1612,14 @@ class Client extends openapi_core_1.default {
1515
1612
  *
1516
1613
  * * Logo: A logo or trademark.
1517
1614
  *
1518
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1615
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1519
1616
  *
1520
1617
  * * Text-containing color block: A color block containing text outside the subject.
1521
1618
  *
1522
- * **2. The main features of the intelligent element recognition API include:**
1619
+ * **2. The intelligent element recognition API provides the following features:**
1523
1620
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1524
1621
  *
1525
- * * 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.
1526
1623
  *
1527
1624
  * **3. Technical advantages:**
1528
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.
@@ -1581,6 +1678,9 @@ class Client extends openapi_core_1.default {
1581
1678
  request.objectDetectElementsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectDetectElements, "ObjectDetectElements", "json");
1582
1679
  }
1583
1680
  let query = {};
1681
+ if (!$dara.isNull(request.bizId)) {
1682
+ query["BizId"] = request.bizId;
1683
+ }
1584
1684
  if (!$dara.isNull(request.imageUrl)) {
1585
1685
  query["ImageUrl"] = request.imageUrl;
1586
1686
  }
@@ -1622,12 +1722,12 @@ class Client extends openapi_core_1.default {
1622
1722
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRecognitionAsyncResponse({}));
1623
1723
  }
1624
1724
  /**
1625
- * 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.
1626
1726
  *
1627
1727
  * @remarks
1628
1728
  * # Scenarios
1629
1729
  * 1. Intelligent image filtering and optimization:
1630
- * 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.
1631
1731
  * 2. Automated image processing and efficiency improvement:
1632
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.
1633
1733
  * # Features
@@ -1640,14 +1740,14 @@ class Client extends openapi_core_1.default {
1640
1740
  *
1641
1741
  * * Logo: A logo or trademark.
1642
1742
  *
1643
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1743
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1644
1744
  *
1645
1745
  * * Text-containing color block: A color block containing text outside the subject.
1646
1746
  *
1647
- * **2. The main features of the intelligent element recognition API include:**
1747
+ * **2. The intelligent element recognition API provides the following features:**
1648
1748
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1649
1749
  *
1650
- * * 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.
1651
1751
  *
1652
1752
  * **3. Technical advantages:**
1653
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.
@@ -1789,27 +1889,27 @@ class Client extends openapi_core_1.default {
1789
1889
  return await this.imageRemovalProWithOptions(request, runtime);
1790
1890
  }
1791
1891
  /**
1792
- * 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.
1793
1893
  *
1794
1894
  * @remarks
1795
1895
  * ## Scenarios
1796
- * * **Efficient e-commerce image processing:**
1896
+ * * **Efficient processing of e-commerce images:**
1797
1897
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1798
- * * **Multi-platform product information synchronization:**
1799
- * 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.
1800
1900
  * ## Features
1801
- * 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.
1802
1902
  *
1803
1903
  * 1. Image subject: the core product area in the image.
1804
1904
  *
1805
- * 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.
1806
1906
  *
1807
- * 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:
1808
- * ## Before and after
1809
- * | **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** |
1810
1910
  * | --- | --- |
1811
- * | ![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) |
1812
- * | ![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) |
1813
1913
  *
1814
1914
  * @param request - ImageRemovalProAsyncRequest
1815
1915
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1818,6 +1918,9 @@ class Client extends openapi_core_1.default {
1818
1918
  async imageRemovalProAsyncWithOptions(request, runtime) {
1819
1919
  request.validate();
1820
1920
  let query = {};
1921
+ if (!$dara.isNull(request.bizId)) {
1922
+ query["BizId"] = request.bizId;
1923
+ }
1821
1924
  if (!$dara.isNull(request.imageUrl)) {
1822
1925
  query["ImageUrl"] = request.imageUrl;
1823
1926
  }
@@ -1838,27 +1941,27 @@ class Client extends openapi_core_1.default {
1838
1941
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemovalProAsyncResponse({}));
1839
1942
  }
1840
1943
  /**
1841
- * 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.
1842
1945
  *
1843
1946
  * @remarks
1844
1947
  * ## Scenarios
1845
- * * **Efficient e-commerce image processing:**
1948
+ * * **Efficient processing of e-commerce images:**
1846
1949
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1847
- * * **Multi-platform product information synchronization:**
1848
- * 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.
1849
1952
  * ## Features
1850
- * 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.
1851
1954
  *
1852
1955
  * 1. Image subject: the core product area in the image.
1853
1956
  *
1854
- * 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.
1855
1958
  *
1856
- * 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:
1857
- * ## Before and after
1858
- * | **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** |
1859
1962
  * | --- | --- |
1860
- * | ![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) |
1861
- * | ![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) |
1862
1965
  *
1863
1966
  * @param request - ImageRemovalProAsyncRequest
1864
1967
  * @returns ImageRemovalProAsyncResponse
@@ -2107,33 +2210,33 @@ class Client extends openapi_core_1.default {
2107
2210
  return await this.imageRemoveWithOptions(request, runtime);
2108
2211
  }
2109
2212
  /**
2110
- * 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.
2111
2214
  *
2112
2215
  * @remarks
2113
2216
  * ## Scenarios
2114
- * * **Efficient processing of e-commerce images:**
2217
+ * * **Efficient e-commerce image processing:**
2115
2218
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2116
2219
  * * **Multi-platform product information synchronization:**
2117
- * 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.
2118
2221
  * * **Marketing material preparation:**
2119
2222
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2120
- * > 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".
2121
2224
  * ## Features
2122
- * 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.
2123
2226
  *
2124
2227
  * 1. Image subject: the core product area in the image.
2125
2228
  *
2126
2229
  * 2. Image background: the rest of the image other than the product subject.
2127
2230
  *
2128
- * 2. Second, the objects to remove support the following three cases:
2231
+ * 2. Second, the objects to be removed support the following three cases:
2129
2232
  *
2130
- * 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.
2131
2234
  *
2132
2235
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2133
2236
  *
2134
- * 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.
2135
2238
  *
2136
- * 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.
2137
2240
  * ## Effect comparison
2138
2241
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2139
2242
  * | --- | --- | --- |
@@ -2173,7 +2276,7 @@ class Client extends openapi_core_1.default {
2173
2276
  * * Does not involve the image subject area
2174
2277
  *
2175
2278
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2176
- * | Watermarks | * Involves the image subject area
2279
+ * | Promotional stickers | * Involves the image subject area
2177
2280
  *
2178
2281
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2179
2282
  *
@@ -2186,7 +2289,7 @@ class Client extends openapi_core_1.default {
2186
2289
  *
2187
2290
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2188
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) |
2189
- * | 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) |
2190
2293
  *
2191
2294
  * @param tmpReq - ImageRemoveAsyncRequest
2192
2295
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2209,6 +2312,9 @@ class Client extends openapi_core_1.default {
2209
2312
  request.userTextShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userText, "UserText", "json");
2210
2313
  }
2211
2314
  let query = {};
2315
+ if (!$dara.isNull(request.bizId)) {
2316
+ query["BizId"] = request.bizId;
2317
+ }
2212
2318
  if (!$dara.isNull(request.imageUrl)) {
2213
2319
  query["ImageUrl"] = request.imageUrl;
2214
2320
  }
@@ -2247,33 +2353,33 @@ class Client extends openapi_core_1.default {
2247
2353
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageRemoveAsyncResponse({}));
2248
2354
  }
2249
2355
  /**
2250
- * 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.
2251
2357
  *
2252
2358
  * @remarks
2253
2359
  * ## Scenarios
2254
- * * **Efficient processing of e-commerce images:**
2360
+ * * **Efficient e-commerce image processing:**
2255
2361
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2256
2362
  * * **Multi-platform product information synchronization:**
2257
- * 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.
2258
2364
  * * **Marketing material preparation:**
2259
2365
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2260
- * > 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".
2261
2367
  * ## Features
2262
- * 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.
2263
2369
  *
2264
2370
  * 1. Image subject: the core product area in the image.
2265
2371
  *
2266
2372
  * 2. Image background: the rest of the image other than the product subject.
2267
2373
  *
2268
- * 2. Second, the objects to remove support the following three cases:
2374
+ * 2. Second, the objects to be removed support the following three cases:
2269
2375
  *
2270
- * 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.
2271
2377
  *
2272
2378
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2273
2379
  *
2274
- * 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.
2275
2381
  *
2276
- * 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.
2277
2383
  * ## Effect comparison
2278
2384
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2279
2385
  * | --- | --- | --- |
@@ -2313,7 +2419,7 @@ class Client extends openapi_core_1.default {
2313
2419
  * * Does not involve the image subject area
2314
2420
  *
2315
2421
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2316
- * | Watermarks | * Involves the image subject area
2422
+ * | Promotional stickers | * Involves the image subject area
2317
2423
  *
2318
2424
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2319
2425
  *
@@ -2326,7 +2432,7 @@ class Client extends openapi_core_1.default {
2326
2432
  *
2327
2433
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2328
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) |
2329
- * | 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) |
2330
2436
  *
2331
2437
  * @param request - ImageRemoveAsyncRequest
2332
2438
  * @returns ImageRemoveAsyncResponse
@@ -2449,17 +2555,17 @@ class Client extends openapi_core_1.default {
2449
2555
  return await this.imageTranslationPlusWithOptions(request, runtime);
2450
2556
  }
2451
2557
  /**
2452
- * 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.
2453
2559
  *
2454
2560
  * @remarks
2455
2561
  * ## Scenarios
2456
2562
  * Main images and detail images for cross-border e-commerce.
2457
2563
  * ## Features
2458
- * * **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.
2459
2565
  *
2460
- * * **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.
2461
2567
  *
2462
- * * **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.
2463
2569
  * ## Supported language pairs
2464
2570
  * | **No.** | **Source language** | | **Target language** | |
2465
2571
  * | --- | --- | --- | --- | --- |
@@ -2477,8 +2583,8 @@ class Client extends openapi_core_1.default {
2477
2583
  * | 11 | en | English | de | German |
2478
2584
  * | 12 | en | English | pl | Polish |
2479
2585
  * ## Preparations and call process
2480
- * 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.
2481
- * 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).
2482
2588
  *
2483
2589
  * @param request - ImageTranslationPlusAsyncRequest
2484
2590
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2487,6 +2593,9 @@ class Client extends openapi_core_1.default {
2487
2593
  async imageTranslationPlusAsyncWithOptions(request, runtime) {
2488
2594
  request.validate();
2489
2595
  let query = {};
2596
+ if (!$dara.isNull(request.bizId)) {
2597
+ query["BizId"] = request.bizId;
2598
+ }
2490
2599
  if (!$dara.isNull(request.glossary)) {
2491
2600
  query["Glossary"] = request.glossary;
2492
2601
  }
@@ -2525,17 +2634,17 @@ class Client extends openapi_core_1.default {
2525
2634
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusAsyncResponse({}));
2526
2635
  }
2527
2636
  /**
2528
- * 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.
2529
2638
  *
2530
2639
  * @remarks
2531
2640
  * ## Scenarios
2532
2641
  * Main images and detail images for cross-border e-commerce.
2533
2642
  * ## Features
2534
- * * **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.
2535
2644
  *
2536
- * * **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.
2537
2646
  *
2538
- * * **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.
2539
2648
  * ## Supported language pairs
2540
2649
  * | **No.** | **Source language** | | **Target language** | |
2541
2650
  * | --- | --- | --- | --- | --- |
@@ -2553,8 +2662,8 @@ class Client extends openapi_core_1.default {
2553
2662
  * | 11 | en | English | de | German |
2554
2663
  * | 12 | en | English | pl | Polish |
2555
2664
  * ## Preparations and call process
2556
- * 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.
2557
- * 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).
2558
2667
  *
2559
2668
  * @param request - ImageTranslationPlusAsyncRequest
2560
2669
  * @returns ImageTranslationPlusAsyncResponse
@@ -2648,23 +2757,23 @@ class Client extends openapi_core_1.default {
2648
2757
  return await this.imageTranslationProWithOptions(request, runtime);
2649
2758
  }
2650
2759
  /**
2651
- * 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.
2652
2761
  *
2653
2762
  * @remarks
2654
2763
  * ## Scenarios
2655
2764
  * E-commerce product images, marketing images, and images in various other scenarios.
2656
2765
  * ## Features
2657
- * * 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.
2658
2767
  *
2659
- * * 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.
2660
2769
  *
2661
- * * 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.
2662
2771
  *
2663
- * * 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.
2664
2773
  * ## Preparations and call process
2665
- * 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).
2666
- * 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.
2667
- * 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).
2668
2777
  *
2669
2778
  * @param request - ImageTranslationProAsyncRequest
2670
2779
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2673,6 +2782,9 @@ class Client extends openapi_core_1.default {
2673
2782
  async imageTranslationProAsyncWithOptions(request, runtime) {
2674
2783
  request.validate();
2675
2784
  let query = {};
2785
+ if (!$dara.isNull(request.bizId)) {
2786
+ query["BizId"] = request.bizId;
2787
+ }
2676
2788
  if (!$dara.isNull(request.glossary)) {
2677
2789
  query["Glossary"] = request.glossary;
2678
2790
  }
@@ -2711,23 +2823,23 @@ class Client extends openapi_core_1.default {
2711
2823
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationProAsyncResponse({}));
2712
2824
  }
2713
2825
  /**
2714
- * 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.
2715
2827
  *
2716
2828
  * @remarks
2717
2829
  * ## Scenarios
2718
2830
  * E-commerce product images, marketing images, and images in various other scenarios.
2719
2831
  * ## Features
2720
- * * 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.
2721
2833
  *
2722
- * * 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.
2723
2835
  *
2724
- * * 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.
2725
2837
  *
2726
- * * 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.
2727
2839
  * ## Preparations and call process
2728
- * 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).
2729
- * 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.
2730
- * 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).
2731
2843
  *
2732
2844
  * @param request - ImageTranslationProAsyncRequest
2733
2845
  * @returns ImageTranslationProAsyncResponse
@@ -2824,23 +2936,23 @@ class Client extends openapi_core_1.default {
2824
2936
  return await this.imageTranslationStandardWithOptions(request, runtime);
2825
2937
  }
2826
2938
  /**
2827
- * 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.
2828
2940
  *
2829
2941
  * @remarks
2830
2942
  * ## Scenarios
2831
2943
  * E-commerce product images, marketing images, and images for various other scenarios.
2832
2944
  * ## Features
2833
- * * **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.
2834
2946
  *
2835
- * * **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.
2836
2948
  *
2837
- * * **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.
2838
2950
  *
2839
- * * **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.
2840
2952
  * ## Preparations and call process
2841
- * * 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).
2842
- * * 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.
2843
- * * 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).
2844
2956
  *
2845
2957
  * @param request - ImageTranslationStandardAsyncRequest
2846
2958
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2849,6 +2961,9 @@ class Client extends openapi_core_1.default {
2849
2961
  async imageTranslationStandardAsyncWithOptions(request, runtime) {
2850
2962
  request.validate();
2851
2963
  let query = {};
2964
+ if (!$dara.isNull(request.bizId)) {
2965
+ query["BizId"] = request.bizId;
2966
+ }
2852
2967
  if (!$dara.isNull(request.glossary)) {
2853
2968
  query["Glossary"] = request.glossary;
2854
2969
  }
@@ -2887,23 +3002,23 @@ class Client extends openapi_core_1.default {
2887
3002
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardAsyncResponse({}));
2888
3003
  }
2889
3004
  /**
2890
- * 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.
2891
3006
  *
2892
3007
  * @remarks
2893
3008
  * ## Scenarios
2894
3009
  * E-commerce product images, marketing images, and images for various other scenarios.
2895
3010
  * ## Features
2896
- * * **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.
2897
3012
  *
2898
- * * **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.
2899
3014
  *
2900
- * * **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.
2901
3016
  *
2902
- * * **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.
2903
3018
  * ## Preparations and call process
2904
- * * 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).
2905
- * * 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.
2906
- * * 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).
2907
3022
  *
2908
3023
  * @param request - ImageTranslationStandardAsyncRequest
2909
3024
  * @returns ImageTranslationStandardAsyncResponse
@@ -3815,10 +3930,10 @@ class Client extends openapi_core_1.default {
3815
3930
  return await this.productHotspotDetectionWithOptions(request, runtime);
3816
3931
  }
3817
3932
  /**
3818
- * API name on the POP gateway: QueryAsyncTaskResult.
3933
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3819
3934
  *
3820
3935
  * @remarks
3821
- * API name on the POP gateway: QueryAsyncTaskResult.
3936
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3822
3937
  *
3823
3938
  * @param request - QueryAsyncTaskResultRequest
3824
3939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3847,10 +3962,10 @@ class Client extends openapi_core_1.default {
3847
3962
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAsyncTaskResultResponse({}));
3848
3963
  }
3849
3964
  /**
3850
- * API name on the POP gateway: QueryAsyncTaskResult.
3965
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
3851
3966
  *
3852
3967
  * @remarks
3853
- * API name on the POP gateway: QueryAsyncTaskResult.
3968
+ * The API name in the POP gateway is QueryAsyncTaskResult.
3854
3969
  *
3855
3970
  * @param request - QueryAsyncTaskResultRequest
3856
3971
  * @returns QueryAsyncTaskResultResponse
@@ -3859,6 +3974,65 @@ class Client extends openapi_core_1.default {
3859
3974
  let runtime = new $dara.RuntimeOptions({});
3860
3975
  return await this.queryAsyncTaskResultWithOptions(request, runtime);
3861
3976
  }
3977
+ /**
3978
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
3979
+ *
3980
+ * @param tmpReq - QueryDisplayKnowledgeRequest
3981
+ * @param runtime - runtime options for this request RuntimeOptions
3982
+ * @returns QueryDisplayKnowledgeResponse
3983
+ */
3984
+ async queryDisplayKnowledgeWithOptions(tmpReq, runtime) {
3985
+ tmpReq.validate();
3986
+ let request = new $_model.QueryDisplayKnowledgeShrinkRequest({});
3987
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
3988
+ if (!$dara.isNull(tmpReq.statuses)) {
3989
+ request.statusesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.statuses, "Statuses", "json");
3990
+ }
3991
+ let query = {};
3992
+ if (!$dara.isNull(request.pageNum)) {
3993
+ query["PageNum"] = request.pageNum;
3994
+ }
3995
+ if (!$dara.isNull(request.pageSize)) {
3996
+ query["PageSize"] = request.pageSize;
3997
+ }
3998
+ if (!$dara.isNull(request.ragId)) {
3999
+ query["RagId"] = request.ragId;
4000
+ }
4001
+ if (!$dara.isNull(request.skuId)) {
4002
+ query["SkuId"] = request.skuId;
4003
+ }
4004
+ if (!$dara.isNull(request.skuName)) {
4005
+ query["SkuName"] = request.skuName;
4006
+ }
4007
+ if (!$dara.isNull(request.statusesShrink)) {
4008
+ query["Statuses"] = request.statusesShrink;
4009
+ }
4010
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4011
+ query: openapi_core_2.OpenApiUtil.query(query),
4012
+ });
4013
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4014
+ action: "QueryDisplayKnowledge",
4015
+ version: "2026-04-28",
4016
+ protocol: "HTTPS",
4017
+ pathname: "/",
4018
+ method: "POST",
4019
+ authType: "AK",
4020
+ style: "RPC",
4021
+ reqBodyType: "formData",
4022
+ bodyType: "json",
4023
+ });
4024
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryDisplayKnowledgeResponse({}));
4025
+ }
4026
+ /**
4027
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
4028
+ *
4029
+ * @param request - QueryDisplayKnowledgeRequest
4030
+ * @returns QueryDisplayKnowledgeResponse
4031
+ */
4032
+ async queryDisplayKnowledge(request) {
4033
+ let runtime = new $dara.RuntimeOptions({});
4034
+ return await this.queryDisplayKnowledgeWithOptions(request, runtime);
4035
+ }
3862
4036
  /**
3863
4037
  * Detects whether an image contains a size chart. (Synchronous)
3864
4038
  *
@@ -4220,105 +4394,105 @@ class Client extends openapi_core_1.default {
4220
4394
  return await this.sizeChartExtractWithOptions(request, runtime);
4221
4395
  }
4222
4396
  /**
4223
- * 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.
4224
4398
  *
4225
4399
  * @remarks
4226
4400
  * ## Scenarios
4227
- * Size charts: Extracts size charts for apparel categories into text.
4228
- * 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.
4229
4403
  * ## Feature description
4230
- * 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.
4231
- * 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.
4232
- * ## 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
4233
4407
  * | Input image | Output result |
4234
4408
  * | --- | --- |
4235
4409
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4236
4410
  * "SizeChart": [
4237
4411
  * {
4238
- * "尺码": {
4412
+ * "Size": {
4239
4413
  * "value": "S"
4240
4414
  * },
4241
- * "腰围": {
4415
+ * "Waist": {
4242
4416
  * "unit": "CM",
4243
4417
  * "value": 58
4244
4418
  * },
4245
- * "裙长": {
4419
+ * "Skirt length": {
4246
4420
  * "unit": "CM",
4247
4421
  * "value": 81
4248
4422
  * },
4249
- * "体重建议": {
4423
+ * "Weight recommendation": {
4250
4424
  * "unit": "kg",
4251
4425
  * "lower_value": 40,
4252
4426
  * "upper_value": 47.5
4253
4427
  * }
4254
4428
  * },
4255
4429
  * {
4256
- * "尺码": {
4430
+ * "Size": {
4257
4431
  * "value": "M"
4258
4432
  * },
4259
- * "腰围": {
4433
+ * "Waist": {
4260
4434
  * "unit": "CM",
4261
4435
  * "value": 59
4262
4436
  * },
4263
- * "裙长": {
4437
+ * "Skirt length": {
4264
4438
  * "unit": "CM",
4265
4439
  * "value": 82
4266
4440
  * },
4267
- * "体重建议": {
4441
+ * "Weight recommendation": {
4268
4442
  * "unit": "kg",
4269
4443
  * "lower_value": 45,
4270
4444
  * "upper_value": 52.5
4271
4445
  * }
4272
4446
  * },
4273
4447
  * {
4274
- * "尺码": {
4448
+ * "Size": {
4275
4449
  * "value": "L"
4276
4450
  * },
4277
- * "腰围": {
4451
+ * "Waist": {
4278
4452
  * "unit": "CM",
4279
4453
  * "value": 60
4280
4454
  * },
4281
- * "裙长": {
4455
+ * "Skirt length": {
4282
4456
  * "unit": "CM",
4283
4457
  * "value": 83
4284
4458
  * },
4285
- * "体重建议": {
4459
+ * "Weight recommendation": {
4286
4460
  * "unit": "kg",
4287
4461
  * "lower_value": 50,
4288
4462
  * "upper_value": 57.5
4289
4463
  * }
4290
4464
  * },
4291
4465
  * {
4292
- * "尺码": {
4466
+ * "Size": {
4293
4467
  * "value": "XL"
4294
4468
  * },
4295
- * "腰围": {
4469
+ * "Waist": {
4296
4470
  * "unit": "CM",
4297
4471
  * "value": 61
4298
4472
  * },
4299
- * "裙长": {
4473
+ * "Skirt length": {
4300
4474
  * "unit": "CM",
4301
4475
  * "value": 84
4302
4476
  * },
4303
- * "体重建议": {
4477
+ * "Weight recommendation": {
4304
4478
  * "unit": "kg",
4305
4479
  * "lower_value": 55,
4306
4480
  * "upper_value": 62.5
4307
4481
  * }
4308
4482
  * },
4309
4483
  * {
4310
- * "尺码": {
4484
+ * "Size": {
4311
4485
  * "value": "2XL"
4312
4486
  * },
4313
- * "腰围": {
4487
+ * "Waist": {
4314
4488
  * "unit": "CM",
4315
4489
  * "value": 62
4316
4490
  * },
4317
- * "裙长": {
4491
+ * "Skirt length": {
4318
4492
  * "unit": "CM",
4319
4493
  * "value": 85
4320
4494
  * },
4321
- * "体重建议": {
4495
+ * "Weight recommendation": {
4322
4496
  * "unit": "kg",
4323
4497
  * "lower_value": 60,
4324
4498
  * "upper_value": 67.5
@@ -4351,6 +4525,9 @@ class Client extends openapi_core_1.default {
4351
4525
  request.columnNameListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.columnNameList, "ColumnNameList", "json");
4352
4526
  }
4353
4527
  let query = {};
4528
+ if (!$dara.isNull(request.bizId)) {
4529
+ query["BizId"] = request.bizId;
4530
+ }
4354
4531
  if (!$dara.isNull(request.columnNameListShrink)) {
4355
4532
  query["ColumnNameList"] = request.columnNameListShrink;
4356
4533
  }
@@ -4377,105 +4554,105 @@ class Client extends openapi_core_1.default {
4377
4554
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SizeChartExtractAsyncResponse({}));
4378
4555
  }
4379
4556
  /**
4380
- * 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.
4381
4558
  *
4382
4559
  * @remarks
4383
4560
  * ## Scenarios
4384
- * Size charts: Extracts size charts for apparel categories into text.
4385
- * 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.
4386
4563
  * ## Feature description
4387
- * 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.
4388
- * 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.
4389
- * ## 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
4390
4567
  * | Input image | Output result |
4391
4568
  * | --- | --- |
4392
4569
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4393
4570
  * "SizeChart": [
4394
4571
  * {
4395
- * "尺码": {
4572
+ * "Size": {
4396
4573
  * "value": "S"
4397
4574
  * },
4398
- * "腰围": {
4575
+ * "Waist": {
4399
4576
  * "unit": "CM",
4400
4577
  * "value": 58
4401
4578
  * },
4402
- * "裙长": {
4579
+ * "Skirt length": {
4403
4580
  * "unit": "CM",
4404
4581
  * "value": 81
4405
4582
  * },
4406
- * "体重建议": {
4583
+ * "Weight recommendation": {
4407
4584
  * "unit": "kg",
4408
4585
  * "lower_value": 40,
4409
4586
  * "upper_value": 47.5
4410
4587
  * }
4411
4588
  * },
4412
4589
  * {
4413
- * "尺码": {
4590
+ * "Size": {
4414
4591
  * "value": "M"
4415
4592
  * },
4416
- * "腰围": {
4593
+ * "Waist": {
4417
4594
  * "unit": "CM",
4418
4595
  * "value": 59
4419
4596
  * },
4420
- * "裙长": {
4597
+ * "Skirt length": {
4421
4598
  * "unit": "CM",
4422
4599
  * "value": 82
4423
4600
  * },
4424
- * "体重建议": {
4601
+ * "Weight recommendation": {
4425
4602
  * "unit": "kg",
4426
4603
  * "lower_value": 45,
4427
4604
  * "upper_value": 52.5
4428
4605
  * }
4429
4606
  * },
4430
4607
  * {
4431
- * "尺码": {
4608
+ * "Size": {
4432
4609
  * "value": "L"
4433
4610
  * },
4434
- * "腰围": {
4611
+ * "Waist": {
4435
4612
  * "unit": "CM",
4436
4613
  * "value": 60
4437
4614
  * },
4438
- * "裙长": {
4615
+ * "Skirt length": {
4439
4616
  * "unit": "CM",
4440
4617
  * "value": 83
4441
4618
  * },
4442
- * "体重建议": {
4619
+ * "Weight recommendation": {
4443
4620
  * "unit": "kg",
4444
4621
  * "lower_value": 50,
4445
4622
  * "upper_value": 57.5
4446
4623
  * }
4447
4624
  * },
4448
4625
  * {
4449
- * "尺码": {
4626
+ * "Size": {
4450
4627
  * "value": "XL"
4451
4628
  * },
4452
- * "腰围": {
4629
+ * "Waist": {
4453
4630
  * "unit": "CM",
4454
4631
  * "value": 61
4455
4632
  * },
4456
- * "裙长": {
4633
+ * "Skirt length": {
4457
4634
  * "unit": "CM",
4458
4635
  * "value": 84
4459
4636
  * },
4460
- * "体重建议": {
4637
+ * "Weight recommendation": {
4461
4638
  * "unit": "kg",
4462
4639
  * "lower_value": 55,
4463
4640
  * "upper_value": 62.5
4464
4641
  * }
4465
4642
  * },
4466
4643
  * {
4467
- * "尺码": {
4644
+ * "Size": {
4468
4645
  * "value": "2XL"
4469
4646
  * },
4470
- * "腰围": {
4647
+ * "Waist": {
4471
4648
  * "unit": "CM",
4472
4649
  * "value": 62
4473
4650
  * },
4474
- * "裙长": {
4651
+ * "Skirt length": {
4475
4652
  * "unit": "CM",
4476
4653
  * "value": 85
4477
4654
  * },
4478
- * "体重建议": {
4655
+ * "Weight recommendation": {
4479
4656
  * "unit": "kg",
4480
4657
  * "lower_value": 60,
4481
4658
  * "upper_value": 67.5
@@ -4820,36 +4997,36 @@ class Client extends openapi_core_1.default {
4820
4997
  return await this.textTranslateWithOptions(request, runtime);
4821
4998
  }
4822
4999
  /**
4823
- * 文本翻译异步
5000
+ * Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
4824
5001
  *
4825
5002
  * @remarks
4826
- * ## 适用场景
4827
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5003
+ * ## Scenarios
5004
+ * * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
4828
5005
  *
4829
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5006
+ * * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
4830
5007
  *
4831
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5008
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
4832
5009
  *
4833
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5010
+ * * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
4834
5011
  *
4835
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
4836
- * ## 功能介绍
4837
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5012
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
5013
+ * ## Features
5014
+ * * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
4838
5015
  *
4839
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5016
+ * * **Supported text formats** The model supports text and HTML formats.
4840
5017
  *
4841
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5018
+ * * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This 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.
4842
5019
  *
4843
- * * **翻译效果对比**
4844
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5020
+ * * **Translation quality comparison**
5021
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
4845
5022
  * | --- | --- | --- | --- | --- |
4846
- * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | 商品主体更清晰 |
4847
- * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | 句式更完整,表述更清晰,断句更合理 |
4848
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
4849
- * ## 接入准备与调用流程
4850
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
4851
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
4852
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
5023
+ * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
5024
+ * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable punctuation |
5025
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
5026
+ * ## Preparations and invocation flow
5027
+ * Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
5028
+ * The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
5029
+ * For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
4853
5030
  *
4854
5031
  * @param tmpReq - TextTranslateAsyncRequest
4855
5032
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4904,36 +5081,36 @@ class Client extends openapi_core_1.default {
4904
5081
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.TextTranslateAsyncResponse({}));
4905
5082
  }
4906
5083
  /**
4907
- * 文本翻译异步
5084
+ * Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
4908
5085
  *
4909
5086
  * @remarks
4910
- * ## 适用场景
4911
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5087
+ * ## Scenarios
5088
+ * * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
4912
5089
  *
4913
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5090
+ * * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
4914
5091
  *
4915
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5092
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
4916
5093
  *
4917
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5094
+ * * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
4918
5095
  *
4919
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
4920
- * ## 功能介绍
4921
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5096
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
5097
+ * ## Features
5098
+ * * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
4922
5099
  *
4923
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5100
+ * * **Supported text formats** The model supports text and HTML formats.
4924
5101
  *
4925
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5102
+ * * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This 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.
4926
5103
  *
4927
- * * **翻译效果对比**
4928
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5104
+ * * **Translation quality comparison**
5105
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
4929
5106
  * | --- | --- | --- | --- | --- |
4930
- * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | 商品主体更清晰 |
4931
- * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | 句式更完整,表述更清晰,断句更合理 |
4932
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
4933
- * ## 接入准备与调用流程
4934
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
4935
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
4936
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
5107
+ * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
5108
+ * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable punctuation |
5109
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
5110
+ * ## Preparations and invocation flow
5111
+ * Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
5112
+ * The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
5113
+ * For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
4937
5114
  *
4938
5115
  * @param request - TextTranslateAsyncRequest
4939
5116
  * @returns TextTranslateAsyncResponse
@@ -4942,6 +5119,53 @@ class Client extends openapi_core_1.default {
4942
5119
  let runtime = new $dara.RuntimeOptions({});
4943
5120
  return await this.textTranslateAsyncWithOptions(request, runtime);
4944
5121
  }
5122
+ /**
5123
+ * Synchronously updates the content of a display knowledge base in batches.
5124
+ *
5125
+ * @param tmpReq - UpdateDisplayKnowledgeRequest
5126
+ * @param runtime - runtime options for this request RuntimeOptions
5127
+ * @returns UpdateDisplayKnowledgeResponse
5128
+ */
5129
+ async updateDisplayKnowledgeWithOptions(tmpReq, runtime) {
5130
+ tmpReq.validate();
5131
+ let request = new $_model.UpdateDisplayKnowledgeShrinkRequest({});
5132
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
5133
+ if (!$dara.isNull(tmpReq.records)) {
5134
+ request.recordsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.records, "Records", "json");
5135
+ }
5136
+ let query = {};
5137
+ if (!$dara.isNull(request.ragId)) {
5138
+ query["RagId"] = request.ragId;
5139
+ }
5140
+ if (!$dara.isNull(request.recordsShrink)) {
5141
+ query["Records"] = request.recordsShrink;
5142
+ }
5143
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5144
+ query: openapi_core_2.OpenApiUtil.query(query),
5145
+ });
5146
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5147
+ action: "UpdateDisplayKnowledge",
5148
+ version: "2026-04-28",
5149
+ protocol: "HTTPS",
5150
+ pathname: "/",
5151
+ method: "POST",
5152
+ authType: "AK",
5153
+ style: "RPC",
5154
+ reqBodyType: "formData",
5155
+ bodyType: "json",
5156
+ });
5157
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDisplayKnowledgeResponse({}));
5158
+ }
5159
+ /**
5160
+ * Synchronously updates the content of a display knowledge base in batches.
5161
+ *
5162
+ * @param request - UpdateDisplayKnowledgeRequest
5163
+ * @returns UpdateDisplayKnowledgeResponse
5164
+ */
5165
+ async updateDisplayKnowledge(request) {
5166
+ let runtime = new $dara.RuntimeOptions({});
5167
+ return await this.updateDisplayKnowledgeWithOptions(request, runtime);
5168
+ }
4945
5169
  /**
4946
5170
  * The e-commerce AI video generation agent is designed for e-commerce merchants and platforms. Based on product main images, titles, and selling points, it automatically generates 5- to 30-second product showcase short videos to help customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P. You can invoke single products quickly and generate multiple products in batches, meeting the needs of daily operations and large-scale product content production. It currently overwrites all clothing categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to core e-commerce categories such as skincare, cosmetics, food and beverages, and home appliances.
4947
5171
  *
@@ -5035,28 +5259,28 @@ class Client extends openapi_core_1.default {
5035
5259
  return await this.videoGenerationWithOptions(request, runtime);
5036
5260
  }
5037
5261
  /**
5038
- * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
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.
5039
5263
  *
5040
5264
  * @remarks
5041
5265
  * ## Product introduction
5042
- * The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
5043
- * This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
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.
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.
5044
5268
  * ## Scenarios
5045
- * * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products 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.
5046
5270
  *
5047
- * * **International social media marketing**: Localizes 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.
5048
5272
  *
5049
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery 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.
5050
5274
  *
5051
- * * **Training and product instructions**: Translates 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.
5052
5276
  * ## Features
5053
5277
  * | Feature | Identifier | Description |
5054
5278
  * | --- | --- | --- |
5055
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
5056
- * | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
5057
- * Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
5058
- * On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
5059
- * When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover 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 the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change 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.
5060
5284
  *
5061
5285
  * @param tmpReq - VideoTranslationRequest
5062
5286
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5113,28 +5337,28 @@ class Client extends openapi_core_1.default {
5113
5337
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoTranslationResponse({}));
5114
5338
  }
5115
5339
  /**
5116
- * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
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.
5117
5341
  *
5118
5342
  * @remarks
5119
5343
  * ## Product introduction
5120
- * The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
5121
- * This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
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.
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.
5122
5346
  * ## Scenarios
5123
- * * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products 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.
5124
5348
  *
5125
- * * **International social media marketing**: Localizes 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.
5126
5350
  *
5127
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery 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.
5128
5352
  *
5129
- * * **Training and product instructions**: Translates 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.
5130
5354
  * ## Features
5131
5355
  * | Feature | Identifier | Description |
5132
5356
  * | --- | --- | --- |
5133
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
5134
- * | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
5135
- * Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
5136
- * On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
5137
- * When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover 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 the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change 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.
5138
5362
  *
5139
5363
  * @param request - VideoTranslationRequest
5140
5364
  * @returns VideoTranslationResponse