@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/src/client.ts CHANGED
@@ -30,31 +30,83 @@ export default class Client extends OpenApi {
30
30
  }
31
31
 
32
32
  /**
33
- * 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.
33
+ * Synchronously adds content to a display knowledge base in batches.
34
+ *
35
+ * @param tmpReq - AddDisplayKnowledgeRequest
36
+ * @param runtime - runtime options for this request RuntimeOptions
37
+ * @returns AddDisplayKnowledgeResponse
38
+ */
39
+ async addDisplayKnowledgeWithOptions(tmpReq: $_model.AddDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddDisplayKnowledgeResponse> {
40
+ tmpReq.validate();
41
+ let request = new $_model.AddDisplayKnowledgeShrinkRequest({ });
42
+ OpenApiUtil.convert(tmpReq, request);
43
+ if (!$dara.isNull(tmpReq.records)) {
44
+ request.recordsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.records, "Records", "json");
45
+ }
46
+
47
+ let query = { };
48
+ if (!$dara.isNull(request.ragId)) {
49
+ query["RagId"] = request.ragId;
50
+ }
51
+
52
+ if (!$dara.isNull(request.recordsShrink)) {
53
+ query["Records"] = request.recordsShrink;
54
+ }
55
+
56
+ let req = new $OpenApiUtil.OpenApiRequest({
57
+ query: OpenApiUtil.query(query),
58
+ });
59
+ let params = new $OpenApiUtil.Params({
60
+ action: "AddDisplayKnowledge",
61
+ version: "2026-04-28",
62
+ protocol: "HTTPS",
63
+ pathname: "/",
64
+ method: "POST",
65
+ authType: "AK",
66
+ style: "RPC",
67
+ reqBodyType: "formData",
68
+ bodyType: "json",
69
+ });
70
+ return $dara.cast<$_model.AddDisplayKnowledgeResponse>(await this.callApi(params, req, runtime), new $_model.AddDisplayKnowledgeResponse({}));
71
+ }
72
+
73
+ /**
74
+ * Synchronously adds content to a display knowledge base in batches.
75
+ *
76
+ * @param request - AddDisplayKnowledgeRequest
77
+ * @returns AddDisplayKnowledgeResponse
78
+ */
79
+ async addDisplayKnowledge(request: $_model.AddDisplayKnowledgeRequest): Promise<$_model.AddDisplayKnowledgeResponse> {
80
+ let runtime = new $dara.RuntimeOptions({ });
81
+ return await this.addDisplayKnowledgeWithOptions(request, runtime);
82
+ }
83
+
84
+ /**
85
+ * 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.
34
86
  *
35
87
  * @remarks
36
88
  * ## Scenarios
37
- * - **Virtual try-on for clothing products:**
38
- * 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.
89
+ * - **Virtual try-on for clothing:**
90
+ * 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.
39
91
  * - **Virtual try-on for shoes and hats:**
40
- * 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.
92
+ * 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.
41
93
  * - **E-commerce product display and marketing:**
42
- * 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.
94
+ * 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.
43
95
  * - **Online shopping experience optimization:**
44
- * 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.
96
+ * 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.
45
97
  * ## Features
46
- * - **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:**
47
- * - a. Model image: The person image on which the virtual try-on is performed.
48
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
49
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
50
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
51
- * - 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.
52
- * - **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:**
53
- * - 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.
54
- * - 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.
55
- * - 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.
56
- * ## Sample results
57
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
98
+ * - **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:**
99
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
100
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
101
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
102
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
103
+ * - 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.
104
+ * - **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:**
105
+ * - 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.
106
+ * - 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.
107
+ * - 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.
108
+ * ## Examples
109
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
58
110
  * | --- | --- | --- | --- |
59
111
  * | 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) |
60
112
  * | 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) |
@@ -104,31 +156,31 @@ export default class Client extends OpenApi {
104
156
  }
105
157
 
106
158
  /**
107
- * 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.
159
+ * 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.
108
160
  *
109
161
  * @remarks
110
162
  * ## Scenarios
111
- * - **Virtual try-on for clothing products:**
112
- * 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.
163
+ * - **Virtual try-on for clothing:**
164
+ * 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.
113
165
  * - **Virtual try-on for shoes and hats:**
114
- * 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.
166
+ * 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.
115
167
  * - **E-commerce product display and marketing:**
116
- * 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.
168
+ * 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.
117
169
  * - **Online shopping experience optimization:**
118
- * 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.
170
+ * 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.
119
171
  * ## Features
120
- * - **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:**
121
- * - a. Model image: The person image on which the virtual try-on is performed.
122
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
123
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
124
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
125
- * - 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.
126
- * - **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:**
127
- * - 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.
128
- * - 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.
129
- * - 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.
130
- * ## Sample results
131
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
172
+ * - **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:**
173
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
174
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
175
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
176
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
177
+ * - 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.
178
+ * - **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:**
179
+ * - 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.
180
+ * - 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.
181
+ * - 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.
182
+ * ## Examples
183
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
132
184
  * | --- | --- | --- | --- |
133
185
  * | 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) |
134
186
  * | 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) |
@@ -627,6 +679,58 @@ export default class Client extends OpenApi {
627
679
  return await this.categoryMatchWithOptions(request, runtime);
628
680
  }
629
681
 
682
+ /**
683
+ * Deletes display knowledge base content in batches synchronously.
684
+ *
685
+ * @param tmpReq - DeleteDisplayKnowledgeRequest
686
+ * @param runtime - runtime options for this request RuntimeOptions
687
+ * @returns DeleteDisplayKnowledgeResponse
688
+ */
689
+ async deleteDisplayKnowledgeWithOptions(tmpReq: $_model.DeleteDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDisplayKnowledgeResponse> {
690
+ tmpReq.validate();
691
+ let request = new $_model.DeleteDisplayKnowledgeShrinkRequest({ });
692
+ OpenApiUtil.convert(tmpReq, request);
693
+ if (!$dara.isNull(tmpReq.recordIds)) {
694
+ request.recordIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recordIds, "RecordIds", "json");
695
+ }
696
+
697
+ let query = { };
698
+ if (!$dara.isNull(request.ragId)) {
699
+ query["RagId"] = request.ragId;
700
+ }
701
+
702
+ if (!$dara.isNull(request.recordIdsShrink)) {
703
+ query["RecordIds"] = request.recordIdsShrink;
704
+ }
705
+
706
+ let req = new $OpenApiUtil.OpenApiRequest({
707
+ query: OpenApiUtil.query(query),
708
+ });
709
+ let params = new $OpenApiUtil.Params({
710
+ action: "DeleteDisplayKnowledge",
711
+ version: "2026-04-28",
712
+ protocol: "HTTPS",
713
+ pathname: "/",
714
+ method: "POST",
715
+ authType: "AK",
716
+ style: "RPC",
717
+ reqBodyType: "formData",
718
+ bodyType: "json",
719
+ });
720
+ return $dara.cast<$_model.DeleteDisplayKnowledgeResponse>(await this.callApi(params, req, runtime), new $_model.DeleteDisplayKnowledgeResponse({}));
721
+ }
722
+
723
+ /**
724
+ * Deletes display knowledge base content in batches synchronously.
725
+ *
726
+ * @param request - DeleteDisplayKnowledgeRequest
727
+ * @returns DeleteDisplayKnowledgeResponse
728
+ */
729
+ async deleteDisplayKnowledge(request: $_model.DeleteDisplayKnowledgeRequest): Promise<$_model.DeleteDisplayKnowledgeResponse> {
730
+ let runtime = new $dara.RuntimeOptions({ });
731
+ return await this.deleteDisplayKnowledgeWithOptions(request, runtime);
732
+ }
733
+
630
734
  /**
631
735
  * Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
632
736
  *
@@ -1254,13 +1358,13 @@ export default class Client extends OpenApi {
1254
1358
  }
1255
1359
 
1256
1360
  /**
1257
- * 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.
1361
+ * 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.
1258
1362
  *
1259
1363
  * @remarks
1260
1364
  * # Scenarios
1261
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1365
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1262
1366
  *
1263
- * * 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.
1367
+ * * 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.
1264
1368
  * # Features.
1265
1369
  * #### 1. One-click precise subject recognition
1266
1370
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1269,9 +1373,9 @@ export default class Client extends OpenApi {
1269
1373
  * #### 2. Intelligent edge optimization
1270
1374
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1271
1375
  * #### 3. Multi-format output and background operations
1272
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1376
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1273
1377
  *
1274
- * * **Supports custom background colors**
1378
+ * * **Custom background color support**
1275
1379
  * # Effect comparison
1276
1380
  * | **Original image (input)** | **Result image (output)** |
1277
1381
  * | --- | --- |
@@ -1294,6 +1398,10 @@ export default class Client extends OpenApi {
1294
1398
  query["BgColor"] = request.bgColor;
1295
1399
  }
1296
1400
 
1401
+ if (!$dara.isNull(request.bizId)) {
1402
+ query["BizId"] = request.bizId;
1403
+ }
1404
+
1297
1405
  if (!$dara.isNull(request.imageUrl)) {
1298
1406
  query["ImageUrl"] = request.imageUrl;
1299
1407
  }
@@ -1324,13 +1432,13 @@ export default class Client extends OpenApi {
1324
1432
  }
1325
1433
 
1326
1434
  /**
1327
- * 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.
1435
+ * 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.
1328
1436
  *
1329
1437
  * @remarks
1330
1438
  * # Scenarios
1331
- * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1439
+ * * Supports secondary editing of materials: After separating the image subject from the background, you can further edit the image.
1332
1440
  *
1333
- * * 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.
1441
+ * * 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.
1334
1442
  * # Features.
1335
1443
  * #### 1. One-click precise subject recognition
1336
1444
  * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
@@ -1339,9 +1447,9 @@ export default class Client extends OpenApi {
1339
1447
  * #### 2. Intelligent edge optimization
1340
1448
  * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1341
1449
  * #### 3. Multi-format output and background operations
1342
- * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
1450
+ * * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, adapting to e-commerce and design scenarios.
1343
1451
  *
1344
- * * **Supports custom background colors**
1452
+ * * **Custom background color support**
1345
1453
  * # Effect comparison
1346
1454
  * | **Original image (input)** | **Result image (output)** |
1347
1455
  * | --- | --- |
@@ -1574,12 +1682,12 @@ export default class Client extends OpenApi {
1574
1682
  }
1575
1683
 
1576
1684
  /**
1577
- * 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.
1685
+ * 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.
1578
1686
  *
1579
1687
  * @remarks
1580
1688
  * # Scenarios
1581
1689
  * 1. Intelligent image filtering and optimization:
1582
- * 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.
1690
+ * 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.
1583
1691
  * 2. Automated image processing and efficiency improvement:
1584
1692
  * 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.
1585
1693
  * # Features
@@ -1592,14 +1700,14 @@ export default class Client extends OpenApi {
1592
1700
  *
1593
1701
  * * Logo: A logo or trademark.
1594
1702
  *
1595
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1703
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1596
1704
  *
1597
1705
  * * Text-containing color block: A color block containing text outside the subject.
1598
1706
  *
1599
- * **2. The main features of the intelligent element recognition API include:**
1707
+ * **2. The intelligent element recognition API provides the following features:**
1600
1708
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1601
1709
  *
1602
- * * 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.
1710
+ * * 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.
1603
1711
  *
1604
1712
  * **3. Technical advantages:**
1605
1713
  * * 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.
@@ -1660,6 +1768,10 @@ export default class Client extends OpenApi {
1660
1768
  }
1661
1769
 
1662
1770
  let query = { };
1771
+ if (!$dara.isNull(request.bizId)) {
1772
+ query["BizId"] = request.bizId;
1773
+ }
1774
+
1663
1775
  if (!$dara.isNull(request.imageUrl)) {
1664
1776
  query["ImageUrl"] = request.imageUrl;
1665
1777
  }
@@ -1710,12 +1822,12 @@ export default class Client extends OpenApi {
1710
1822
  }
1711
1823
 
1712
1824
  /**
1713
- * 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.
1825
+ * 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.
1714
1826
  *
1715
1827
  * @remarks
1716
1828
  * # Scenarios
1717
1829
  * 1. Intelligent image filtering and optimization:
1718
- * 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.
1830
+ * 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.
1719
1831
  * 2. Automated image processing and efficiency improvement:
1720
1832
  * 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.
1721
1833
  * # Features
@@ -1728,14 +1840,14 @@ export default class Client extends OpenApi {
1728
1840
  *
1729
1841
  * * Logo: A logo or trademark.
1730
1842
  *
1731
- * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1843
+ * * Watermark: Monochrome transparent text, logos, images, URLs, store names, etc.
1732
1844
  *
1733
1845
  * * Text-containing color block: A color block containing text outside the subject.
1734
1846
  *
1735
- * **2. The main features of the intelligent element recognition API include:**
1847
+ * **2. The intelligent element recognition API provides the following features:**
1736
1848
  * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1737
1849
  *
1738
- * * 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.
1850
+ * * 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.
1739
1851
  *
1740
1852
  * **3. Technical advantages:**
1741
1853
  * * 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.
@@ -1882,27 +1994,27 @@ export default class Client extends OpenApi {
1882
1994
  }
1883
1995
 
1884
1996
  /**
1885
- * 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.
1997
+ * 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.
1886
1998
  *
1887
1999
  * @remarks
1888
2000
  * ## Scenarios
1889
- * * **Efficient e-commerce image processing:**
2001
+ * * **Efficient processing of e-commerce images:**
1890
2002
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1891
- * * **Multi-platform product information synchronization:**
1892
- * 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.
2003
+ * * **Product information synchronization across multiple platforms:**
2004
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1893
2005
  * ## Features
1894
- * 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.
2006
+ * 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.
1895
2007
  *
1896
2008
  * 1. Image subject: the core product area in the image.
1897
2009
  *
1898
- * 2. Image background: the rest of the image other than the product subject.
2010
+ * 2. Image background: the rest of the image except the product subject.
1899
2011
  *
1900
- * 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:
1901
- * ## Before and after
1902
- * | **Original image** | **Erased image** |
2012
+ * 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:
2013
+ * ## Effect comparison
2014
+ * | **Original image** | **Processed image** |
1903
2015
  * | --- | --- |
1904
- * | ![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) |
1905
- * | ![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) |
2016
+ * | ![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) |
2017
+ * | ![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) |
1906
2018
  *
1907
2019
  * @param request - ImageRemovalProAsyncRequest
1908
2020
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1911,6 +2023,10 @@ export default class Client extends OpenApi {
1911
2023
  async imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse> {
1912
2024
  request.validate();
1913
2025
  let query = { };
2026
+ if (!$dara.isNull(request.bizId)) {
2027
+ query["BizId"] = request.bizId;
2028
+ }
2029
+
1914
2030
  if (!$dara.isNull(request.imageUrl)) {
1915
2031
  query["ImageUrl"] = request.imageUrl;
1916
2032
  }
@@ -1933,27 +2049,27 @@ export default class Client extends OpenApi {
1933
2049
  }
1934
2050
 
1935
2051
  /**
1936
- * 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.
2052
+ * 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.
1937
2053
  *
1938
2054
  * @remarks
1939
2055
  * ## Scenarios
1940
- * * **Efficient e-commerce image processing:**
2056
+ * * **Efficient processing of e-commerce images:**
1941
2057
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1942
- * * **Multi-platform product information synchronization:**
1943
- * 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.
2058
+ * * **Product information synchronization across multiple platforms:**
2059
+ * Quickly removes specific text and watermarks when merchants list products on different e-commerce platforms to comply with the image specifications of each platform.
1944
2060
  * ## Features
1945
- * 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.
2061
+ * 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.
1946
2062
  *
1947
2063
  * 1. Image subject: the core product area in the image.
1948
2064
  *
1949
- * 2. Image background: the rest of the image other than the product subject.
2065
+ * 2. Image background: the rest of the image except the product subject.
1950
2066
  *
1951
- * 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:
1952
- * ## Before and after
1953
- * | **Original image** | **Erased image** |
2067
+ * 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:
2068
+ * ## Effect comparison
2069
+ * | **Original image** | **Processed image** |
1954
2070
  * | --- | --- |
1955
- * | ![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) |
1956
- * | ![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) |
2071
+ * | ![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) |
2072
+ * | ![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) |
1957
2073
  *
1958
2074
  * @param request - ImageRemovalProAsyncRequest
1959
2075
  * @returns ImageRemovalProAsyncResponse
@@ -2216,33 +2332,33 @@ export default class Client extends OpenApi {
2216
2332
  }
2217
2333
 
2218
2334
  /**
2219
- * 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.
2335
+ * 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.
2220
2336
  *
2221
2337
  * @remarks
2222
2338
  * ## Scenarios
2223
- * * **Efficient processing of e-commerce images:**
2339
+ * * **Efficient e-commerce image processing:**
2224
2340
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2225
- * * **Multi-platform product information synchronization:**
2226
- * 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.
2227
- * * **Marketing material preparation:**
2341
+ * * **Multi-platform product information synchronization:**
2342
+ * 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.
2343
+ * * **Marketing material preparation:**
2228
2344
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2229
- * > 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".
2345
+ * > 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".
2230
2346
  * ## Features
2231
- * 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.
2347
+ * 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.
2232
2348
  *
2233
2349
  * 1. Image subject: the core product area in the image.
2234
2350
  *
2235
2351
  * 2. Image background: the rest of the image other than the product subject.
2236
2352
  *
2237
- * 2. Second, the objects to remove support the following three cases:
2353
+ * 2. Second, the objects to be removed support the following three cases:
2238
2354
  *
2239
- * 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.
2355
+ * 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.
2240
2356
  *
2241
2357
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2242
2358
  *
2243
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2359
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2244
2360
  *
2245
- * 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.
2361
+ * 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.
2246
2362
  * ## Effect comparison
2247
2363
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2248
2364
  * | --- | --- | --- |
@@ -2282,7 +2398,7 @@ export default class Client extends OpenApi {
2282
2398
  * * Does not involve the image subject area
2283
2399
  *
2284
2400
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2285
- * | Watermarks | * Involves the image subject area
2401
+ * | Promotional stickers | * Involves the image subject area
2286
2402
  *
2287
2403
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2288
2404
  *
@@ -2295,7 +2411,7 @@ export default class Client extends OpenApi {
2295
2411
  *
2296
2412
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2297
2413
  * | 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) |
2298
- * | 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) |
2414
+ * | 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) |
2299
2415
  *
2300
2416
  * @param tmpReq - ImageRemoveAsyncRequest
2301
2417
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2322,6 +2438,10 @@ export default class Client extends OpenApi {
2322
2438
  }
2323
2439
 
2324
2440
  let query = { };
2441
+ if (!$dara.isNull(request.bizId)) {
2442
+ query["BizId"] = request.bizId;
2443
+ }
2444
+
2325
2445
  if (!$dara.isNull(request.imageUrl)) {
2326
2446
  query["ImageUrl"] = request.imageUrl;
2327
2447
  }
@@ -2368,33 +2488,33 @@ export default class Client extends OpenApi {
2368
2488
  }
2369
2489
 
2370
2490
  /**
2371
- * 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.
2491
+ * 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.
2372
2492
  *
2373
2493
  * @remarks
2374
2494
  * ## Scenarios
2375
- * * **Efficient processing of e-commerce images:**
2495
+ * * **Efficient e-commerce image processing:**
2376
2496
  * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
2377
- * * **Multi-platform product information synchronization:**
2378
- * 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.
2379
- * * **Marketing material preparation:**
2497
+ * * **Multi-platform product information synchronization:**
2498
+ * 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.
2499
+ * * **Marketing material preparation:**
2380
2500
  * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
2381
- * > 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".
2501
+ * > 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".
2382
2502
  * ## Features
2383
- * 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.
2503
+ * 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.
2384
2504
  *
2385
2505
  * 1. Image subject: the core product area in the image.
2386
2506
  *
2387
2507
  * 2. Image background: the rest of the image other than the product subject.
2388
2508
  *
2389
- * 2. Second, the objects to remove support the following three cases:
2509
+ * 2. Second, the objects to be removed support the following three cases:
2390
2510
  *
2391
- * 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.
2511
+ * 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.
2392
2512
  *
2393
2513
  * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2394
2514
  *
2395
- * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2515
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple text strings at a time.
2396
2516
  *
2397
- * 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.
2517
+ * 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.
2398
2518
  * ## Effect comparison
2399
2519
  * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2400
2520
  * | --- | --- | --- |
@@ -2434,7 +2554,7 @@ export default class Client extends OpenApi {
2434
2554
  * * Does not involve the image subject area
2435
2555
  *
2436
2556
  * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
2437
- * | Watermarks | * Involves the image subject area
2557
+ * | Promotional stickers | * Involves the image subject area
2438
2558
  *
2439
2559
  * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2440
2560
  *
@@ -2447,7 +2567,7 @@ export default class Client extends OpenApi {
2447
2567
  *
2448
2568
  * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2449
2569
  * | 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) |
2450
- * | 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) |
2570
+ * | 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) |
2451
2571
  *
2452
2572
  * @param request - ImageRemoveAsyncRequest
2453
2573
  * @returns ImageRemoveAsyncResponse
@@ -2580,17 +2700,17 @@ export default class Client extends OpenApi {
2580
2700
  }
2581
2701
 
2582
2702
  /**
2583
- * 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.
2703
+ * 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.
2584
2704
  *
2585
2705
  * @remarks
2586
2706
  * ## Scenarios
2587
2707
  * Main images and detail images for cross-border e-commerce.
2588
2708
  * ## Features
2589
- * * **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.
2709
+ * * **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.
2590
2710
  *
2591
- * * **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.
2711
+ * * **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.
2592
2712
  *
2593
- * * **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.
2713
+ * * **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.
2594
2714
  * ## Supported language pairs
2595
2715
  * | **No.** | **Source language** | | **Target language** | |
2596
2716
  * | --- | --- | --- | --- | --- |
@@ -2608,8 +2728,8 @@ export default class Client extends OpenApi {
2608
2728
  * | 11 | en | English | de | German |
2609
2729
  * | 12 | en | English | pl | Polish |
2610
2730
  * ## Preparations and call process
2611
- * 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.
2612
- * 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).
2731
+ * 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.
2732
+ * 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).
2613
2733
  *
2614
2734
  * @param request - ImageTranslationPlusAsyncRequest
2615
2735
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2618,6 +2738,10 @@ export default class Client extends OpenApi {
2618
2738
  async imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse> {
2619
2739
  request.validate();
2620
2740
  let query = { };
2741
+ if (!$dara.isNull(request.bizId)) {
2742
+ query["BizId"] = request.bizId;
2743
+ }
2744
+
2621
2745
  if (!$dara.isNull(request.glossary)) {
2622
2746
  query["Glossary"] = request.glossary;
2623
2747
  }
@@ -2664,17 +2788,17 @@ export default class Client extends OpenApi {
2664
2788
  }
2665
2789
 
2666
2790
  /**
2667
- * 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.
2791
+ * 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.
2668
2792
  *
2669
2793
  * @remarks
2670
2794
  * ## Scenarios
2671
2795
  * Main images and detail images for cross-border e-commerce.
2672
2796
  * ## Features
2673
- * * **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.
2797
+ * * **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.
2674
2798
  *
2675
- * * **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.
2799
+ * * **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.
2676
2800
  *
2677
- * * **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.
2801
+ * * **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.
2678
2802
  * ## Supported language pairs
2679
2803
  * | **No.** | **Source language** | | **Target language** | |
2680
2804
  * | --- | --- | --- | --- | --- |
@@ -2692,8 +2816,8 @@ export default class Client extends OpenApi {
2692
2816
  * | 11 | en | English | de | German |
2693
2817
  * | 12 | en | English | pl | Polish |
2694
2818
  * ## Preparations and call process
2695
- * 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.
2696
- * 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).
2819
+ * 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.
2820
+ * 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).
2697
2821
  *
2698
2822
  * @param request - ImageTranslationPlusAsyncRequest
2699
2823
  * @returns ImageTranslationPlusAsyncResponse
@@ -2798,23 +2922,23 @@ export default class Client extends OpenApi {
2798
2922
  }
2799
2923
 
2800
2924
  /**
2801
- * 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.
2925
+ * 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.
2802
2926
  *
2803
2927
  * @remarks
2804
2928
  * ## Scenarios
2805
2929
  * E-commerce product images, marketing images, and images in various other scenarios.
2806
2930
  * ## Features
2807
- * * 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.
2931
+ * * 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.
2808
2932
  *
2809
- * * 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.
2933
+ * * 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.
2810
2934
  *
2811
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
2935
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2812
2936
  *
2813
- * * 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.
2937
+ * * 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.
2814
2938
  * ## Preparations and call process
2815
- * 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).
2816
- * 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.
2817
- * 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).
2939
+ * 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).
2940
+ * 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.
2941
+ * 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).
2818
2942
  *
2819
2943
  * @param request - ImageTranslationProAsyncRequest
2820
2944
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2823,6 +2947,10 @@ export default class Client extends OpenApi {
2823
2947
  async imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse> {
2824
2948
  request.validate();
2825
2949
  let query = { };
2950
+ if (!$dara.isNull(request.bizId)) {
2951
+ query["BizId"] = request.bizId;
2952
+ }
2953
+
2826
2954
  if (!$dara.isNull(request.glossary)) {
2827
2955
  query["Glossary"] = request.glossary;
2828
2956
  }
@@ -2869,23 +2997,23 @@ export default class Client extends OpenApi {
2869
2997
  }
2870
2998
 
2871
2999
  /**
2872
- * 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.
3000
+ * 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.
2873
3001
  *
2874
3002
  * @remarks
2875
3003
  * ## Scenarios
2876
3004
  * E-commerce product images, marketing images, and images in various other scenarios.
2877
3005
  * ## Features
2878
- * * 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.
3006
+ * * 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.
2879
3007
  *
2880
- * * 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.
3008
+ * * 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.
2881
3009
  *
2882
- * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3010
+ * * Brand name protection: You can specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
2883
3011
  *
2884
- * * 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.
3012
+ * * 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.
2885
3013
  * ## Preparations and call process
2886
- * 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).
2887
- * 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.
2888
- * 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).
3014
+ * 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).
3015
+ * 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.
3016
+ * 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).
2889
3017
  *
2890
3018
  * @param request - ImageTranslationProAsyncRequest
2891
3019
  * @returns ImageTranslationProAsyncResponse
@@ -2992,23 +3120,23 @@ export default class Client extends OpenApi {
2992
3120
  }
2993
3121
 
2994
3122
  /**
2995
- * 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.
3123
+ * 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.
2996
3124
  *
2997
3125
  * @remarks
2998
3126
  * ## Scenarios
2999
3127
  * E-commerce product images, marketing images, and images for various other scenarios.
3000
3128
  * ## Features
3001
- * * **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.
3129
+ * * **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.
3002
3130
  *
3003
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3131
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3004
3132
  *
3005
- * * **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.
3133
+ * * **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.
3006
3134
  *
3007
- * * **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.
3135
+ * * **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.
3008
3136
  * ## Preparations and call process
3009
- * * 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).
3010
- * * 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.
3011
- * * 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).
3137
+ * * 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).
3138
+ * * 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.
3139
+ * * 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).
3012
3140
  *
3013
3141
  * @param request - ImageTranslationStandardAsyncRequest
3014
3142
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3017,6 +3145,10 @@ export default class Client extends OpenApi {
3017
3145
  async imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse> {
3018
3146
  request.validate();
3019
3147
  let query = { };
3148
+ if (!$dara.isNull(request.bizId)) {
3149
+ query["BizId"] = request.bizId;
3150
+ }
3151
+
3020
3152
  if (!$dara.isNull(request.glossary)) {
3021
3153
  query["Glossary"] = request.glossary;
3022
3154
  }
@@ -3063,23 +3195,23 @@ export default class Client extends OpenApi {
3063
3195
  }
3064
3196
 
3065
3197
  /**
3066
- * 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.
3198
+ * 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.
3067
3199
  *
3068
3200
  * @remarks
3069
3201
  * ## Scenarios
3070
3202
  * E-commerce product images, marketing images, and images for various other scenarios.
3071
3203
  * ## Features
3072
- * * **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.
3204
+ * * **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.
3073
3205
  *
3074
- * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
3206
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
3075
3207
  *
3076
- * * **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.
3208
+ * * **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.
3077
3209
  *
3078
- * * **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.
3210
+ * * **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.
3079
3211
  * ## Preparations and call process
3080
- * * 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).
3081
- * * 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.
3082
- * * 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).
3212
+ * * 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).
3213
+ * * 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.
3214
+ * * 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).
3083
3215
  *
3084
3216
  * @param request - ImageTranslationStandardAsyncRequest
3085
3217
  * @returns ImageTranslationStandardAsyncResponse
@@ -4056,10 +4188,10 @@ export default class Client extends OpenApi {
4056
4188
  }
4057
4189
 
4058
4190
  /**
4059
- * API name on the POP gateway: QueryAsyncTaskResult.
4191
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
4060
4192
  *
4061
4193
  * @remarks
4062
- * API name on the POP gateway: QueryAsyncTaskResult.
4194
+ * The API name in the POP gateway is QueryAsyncTaskResult.
4063
4195
  *
4064
4196
  * @param request - QueryAsyncTaskResultRequest
4065
4197
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4090,10 +4222,10 @@ export default class Client extends OpenApi {
4090
4222
  }
4091
4223
 
4092
4224
  /**
4093
- * API name on the POP gateway: QueryAsyncTaskResult.
4225
+ * Queries the result of an asynchronous task. The API name in the POP gateway is QueryAsyncTaskResult.
4094
4226
  *
4095
4227
  * @remarks
4096
- * API name on the POP gateway: QueryAsyncTaskResult.
4228
+ * The API name in the POP gateway is QueryAsyncTaskResult.
4097
4229
  *
4098
4230
  * @param request - QueryAsyncTaskResultRequest
4099
4231
  * @returns QueryAsyncTaskResultResponse
@@ -4103,6 +4235,74 @@ export default class Client extends OpenApi {
4103
4235
  return await this.queryAsyncTaskResultWithOptions(request, runtime);
4104
4236
  }
4105
4237
 
4238
+ /**
4239
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
4240
+ *
4241
+ * @param tmpReq - QueryDisplayKnowledgeRequest
4242
+ * @param runtime - runtime options for this request RuntimeOptions
4243
+ * @returns QueryDisplayKnowledgeResponse
4244
+ */
4245
+ async queryDisplayKnowledgeWithOptions(tmpReq: $_model.QueryDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDisplayKnowledgeResponse> {
4246
+ tmpReq.validate();
4247
+ let request = new $_model.QueryDisplayKnowledgeShrinkRequest({ });
4248
+ OpenApiUtil.convert(tmpReq, request);
4249
+ if (!$dara.isNull(tmpReq.statuses)) {
4250
+ request.statusesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.statuses, "Statuses", "json");
4251
+ }
4252
+
4253
+ let query = { };
4254
+ if (!$dara.isNull(request.pageNum)) {
4255
+ query["PageNum"] = request.pageNum;
4256
+ }
4257
+
4258
+ if (!$dara.isNull(request.pageSize)) {
4259
+ query["PageSize"] = request.pageSize;
4260
+ }
4261
+
4262
+ if (!$dara.isNull(request.ragId)) {
4263
+ query["RagId"] = request.ragId;
4264
+ }
4265
+
4266
+ if (!$dara.isNull(request.skuId)) {
4267
+ query["SkuId"] = request.skuId;
4268
+ }
4269
+
4270
+ if (!$dara.isNull(request.skuName)) {
4271
+ query["SkuName"] = request.skuName;
4272
+ }
4273
+
4274
+ if (!$dara.isNull(request.statusesShrink)) {
4275
+ query["Statuses"] = request.statusesShrink;
4276
+ }
4277
+
4278
+ let req = new $OpenApiUtil.OpenApiRequest({
4279
+ query: OpenApiUtil.query(query),
4280
+ });
4281
+ let params = new $OpenApiUtil.Params({
4282
+ action: "QueryDisplayKnowledge",
4283
+ version: "2026-04-28",
4284
+ protocol: "HTTPS",
4285
+ pathname: "/",
4286
+ method: "POST",
4287
+ authType: "AK",
4288
+ style: "RPC",
4289
+ reqBodyType: "formData",
4290
+ bodyType: "json",
4291
+ });
4292
+ return $dara.cast<$_model.QueryDisplayKnowledgeResponse>(await this.callApi(params, req, runtime), new $_model.QueryDisplayKnowledgeResponse({}));
4293
+ }
4294
+
4295
+ /**
4296
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
4297
+ *
4298
+ * @param request - QueryDisplayKnowledgeRequest
4299
+ * @returns QueryDisplayKnowledgeResponse
4300
+ */
4301
+ async queryDisplayKnowledge(request: $_model.QueryDisplayKnowledgeRequest): Promise<$_model.QueryDisplayKnowledgeResponse> {
4302
+ let runtime = new $dara.RuntimeOptions({ });
4303
+ return await this.queryDisplayKnowledgeWithOptions(request, runtime);
4304
+ }
4305
+
4106
4306
  /**
4107
4307
  * Detects whether an image contains a size chart. (Synchronous)
4108
4308
  *
@@ -4474,105 +4674,105 @@ export default class Client extends OpenApi {
4474
4674
  }
4475
4675
 
4476
4676
  /**
4477
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4677
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4478
4678
  *
4479
4679
  * @remarks
4480
4680
  * ## Scenarios
4481
- * Size charts: Extracts size charts for apparel categories into text.
4482
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4681
+ * Size charts: extracts size charts of apparel categories into text.
4682
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4483
4683
  * ## Feature description
4484
- * 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.
4485
- * 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.
4486
- * ## Example results
4684
+ * 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.
4685
+ * 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.
4686
+ * ## Comparison
4487
4687
  * | Input image | Output result |
4488
4688
  * | --- | --- |
4489
4689
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4490
4690
  * "SizeChart": [
4491
4691
  * {
4492
- * "尺码": {
4692
+ * "Size": {
4493
4693
  * "value": "S"
4494
4694
  * },
4495
- * "腰围": {
4695
+ * "Waist": {
4496
4696
  * "unit": "CM",
4497
4697
  * "value": 58
4498
4698
  * },
4499
- * "裙长": {
4699
+ * "Skirt length": {
4500
4700
  * "unit": "CM",
4501
4701
  * "value": 81
4502
4702
  * },
4503
- * "体重建议": {
4703
+ * "Weight recommendation": {
4504
4704
  * "unit": "kg",
4505
4705
  * "lower_value": 40,
4506
4706
  * "upper_value": 47.5
4507
4707
  * }
4508
4708
  * },
4509
4709
  * {
4510
- * "尺码": {
4710
+ * "Size": {
4511
4711
  * "value": "M"
4512
4712
  * },
4513
- * "腰围": {
4713
+ * "Waist": {
4514
4714
  * "unit": "CM",
4515
4715
  * "value": 59
4516
4716
  * },
4517
- * "裙长": {
4717
+ * "Skirt length": {
4518
4718
  * "unit": "CM",
4519
4719
  * "value": 82
4520
4720
  * },
4521
- * "体重建议": {
4721
+ * "Weight recommendation": {
4522
4722
  * "unit": "kg",
4523
4723
  * "lower_value": 45,
4524
4724
  * "upper_value": 52.5
4525
4725
  * }
4526
4726
  * },
4527
4727
  * {
4528
- * "尺码": {
4728
+ * "Size": {
4529
4729
  * "value": "L"
4530
4730
  * },
4531
- * "腰围": {
4731
+ * "Waist": {
4532
4732
  * "unit": "CM",
4533
4733
  * "value": 60
4534
4734
  * },
4535
- * "裙长": {
4735
+ * "Skirt length": {
4536
4736
  * "unit": "CM",
4537
4737
  * "value": 83
4538
4738
  * },
4539
- * "体重建议": {
4739
+ * "Weight recommendation": {
4540
4740
  * "unit": "kg",
4541
4741
  * "lower_value": 50,
4542
4742
  * "upper_value": 57.5
4543
4743
  * }
4544
4744
  * },
4545
4745
  * {
4546
- * "尺码": {
4746
+ * "Size": {
4547
4747
  * "value": "XL"
4548
4748
  * },
4549
- * "腰围": {
4749
+ * "Waist": {
4550
4750
  * "unit": "CM",
4551
4751
  * "value": 61
4552
4752
  * },
4553
- * "裙长": {
4753
+ * "Skirt length": {
4554
4754
  * "unit": "CM",
4555
4755
  * "value": 84
4556
4756
  * },
4557
- * "体重建议": {
4757
+ * "Weight recommendation": {
4558
4758
  * "unit": "kg",
4559
4759
  * "lower_value": 55,
4560
4760
  * "upper_value": 62.5
4561
4761
  * }
4562
4762
  * },
4563
4763
  * {
4564
- * "尺码": {
4764
+ * "Size": {
4565
4765
  * "value": "2XL"
4566
4766
  * },
4567
- * "腰围": {
4767
+ * "Waist": {
4568
4768
  * "unit": "CM",
4569
4769
  * "value": 62
4570
4770
  * },
4571
- * "裙长": {
4771
+ * "Skirt length": {
4572
4772
  * "unit": "CM",
4573
4773
  * "value": 85
4574
4774
  * },
4575
- * "体重建议": {
4775
+ * "Weight recommendation": {
4576
4776
  * "unit": "kg",
4577
4777
  * "lower_value": 60,
4578
4778
  * "upper_value": 67.5
@@ -4606,6 +4806,10 @@ export default class Client extends OpenApi {
4606
4806
  }
4607
4807
 
4608
4808
  let query = { };
4809
+ if (!$dara.isNull(request.bizId)) {
4810
+ query["BizId"] = request.bizId;
4811
+ }
4812
+
4609
4813
  if (!$dara.isNull(request.columnNameListShrink)) {
4610
4814
  query["ColumnNameList"] = request.columnNameListShrink;
4611
4815
  }
@@ -4636,105 +4840,105 @@ export default class Client extends OpenApi {
4636
4840
  }
4637
4841
 
4638
4842
  /**
4639
- * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
4843
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large language models in asynchronous mode.
4640
4844
  *
4641
4845
  * @remarks
4642
4846
  * ## Scenarios
4643
- * Size charts: Extracts size charts for apparel categories into text.
4644
- * Package weight and dimensions: Extracts package weight and dimension information from images.
4847
+ * Size charts: extracts size charts of apparel categories into text.
4848
+ * Package weight and dimensions: extracts package weight and dimension information from images.
4645
4849
  * ## Feature description
4646
- * 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.
4647
- * 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.
4648
- * ## Example results
4850
+ * 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.
4851
+ * 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.
4852
+ * ## Comparison
4649
4853
  * | Input image | Output result |
4650
4854
  * | --- | --- |
4651
4855
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4652
4856
  * "SizeChart": [
4653
4857
  * {
4654
- * "尺码": {
4858
+ * "Size": {
4655
4859
  * "value": "S"
4656
4860
  * },
4657
- * "腰围": {
4861
+ * "Waist": {
4658
4862
  * "unit": "CM",
4659
4863
  * "value": 58
4660
4864
  * },
4661
- * "裙长": {
4865
+ * "Skirt length": {
4662
4866
  * "unit": "CM",
4663
4867
  * "value": 81
4664
4868
  * },
4665
- * "体重建议": {
4869
+ * "Weight recommendation": {
4666
4870
  * "unit": "kg",
4667
4871
  * "lower_value": 40,
4668
4872
  * "upper_value": 47.5
4669
4873
  * }
4670
4874
  * },
4671
4875
  * {
4672
- * "尺码": {
4876
+ * "Size": {
4673
4877
  * "value": "M"
4674
4878
  * },
4675
- * "腰围": {
4879
+ * "Waist": {
4676
4880
  * "unit": "CM",
4677
4881
  * "value": 59
4678
4882
  * },
4679
- * "裙长": {
4883
+ * "Skirt length": {
4680
4884
  * "unit": "CM",
4681
4885
  * "value": 82
4682
4886
  * },
4683
- * "体重建议": {
4887
+ * "Weight recommendation": {
4684
4888
  * "unit": "kg",
4685
4889
  * "lower_value": 45,
4686
4890
  * "upper_value": 52.5
4687
4891
  * }
4688
4892
  * },
4689
4893
  * {
4690
- * "尺码": {
4894
+ * "Size": {
4691
4895
  * "value": "L"
4692
4896
  * },
4693
- * "腰围": {
4897
+ * "Waist": {
4694
4898
  * "unit": "CM",
4695
4899
  * "value": 60
4696
4900
  * },
4697
- * "裙长": {
4901
+ * "Skirt length": {
4698
4902
  * "unit": "CM",
4699
4903
  * "value": 83
4700
4904
  * },
4701
- * "体重建议": {
4905
+ * "Weight recommendation": {
4702
4906
  * "unit": "kg",
4703
4907
  * "lower_value": 50,
4704
4908
  * "upper_value": 57.5
4705
4909
  * }
4706
4910
  * },
4707
4911
  * {
4708
- * "尺码": {
4912
+ * "Size": {
4709
4913
  * "value": "XL"
4710
4914
  * },
4711
- * "腰围": {
4915
+ * "Waist": {
4712
4916
  * "unit": "CM",
4713
4917
  * "value": 61
4714
4918
  * },
4715
- * "裙长": {
4919
+ * "Skirt length": {
4716
4920
  * "unit": "CM",
4717
4921
  * "value": 84
4718
4922
  * },
4719
- * "体重建议": {
4923
+ * "Weight recommendation": {
4720
4924
  * "unit": "kg",
4721
4925
  * "lower_value": 55,
4722
4926
  * "upper_value": 62.5
4723
4927
  * }
4724
4928
  * },
4725
4929
  * {
4726
- * "尺码": {
4930
+ * "Size": {
4727
4931
  * "value": "2XL"
4728
4932
  * },
4729
- * "腰围": {
4933
+ * "Waist": {
4730
4934
  * "unit": "CM",
4731
4935
  * "value": 62
4732
4936
  * },
4733
- * "裙长": {
4937
+ * "Skirt length": {
4734
4938
  * "unit": "CM",
4735
4939
  * "value": 85
4736
4940
  * },
4737
- * "体重建议": {
4941
+ * "Weight recommendation": {
4738
4942
  * "unit": "kg",
4739
4943
  * "lower_value": 60,
4740
4944
  * "upper_value": 67.5
@@ -5106,36 +5310,36 @@ export default class Client extends OpenApi {
5106
5310
  }
5107
5311
 
5108
5312
  /**
5109
- * 文本翻译异步
5313
+ * 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.
5110
5314
  *
5111
5315
  * @remarks
5112
- * ## 适用场景
5113
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5316
+ * ## Scenarios
5317
+ * * 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.
5114
5318
  *
5115
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5319
+ * * 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.
5116
5320
  *
5117
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5321
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
5118
5322
  *
5119
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5323
+ * * 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.
5120
5324
  *
5121
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
5122
- * ## 功能介绍
5123
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5325
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
5326
+ * ## Features
5327
+ * * **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.
5124
5328
  *
5125
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5329
+ * * **Supported text formats** The model supports text and HTML formats.
5126
5330
  *
5127
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5331
+ * * **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.
5128
5332
  *
5129
- * * **翻译效果对比**
5130
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5333
+ * * **Translation quality comparison**
5334
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
5131
5335
  * | --- | --- | --- | --- | --- |
5132
- * | 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 | 商品主体更清晰 |
5133
- * | 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 | 句式更完整,表述更清晰,断句更合理 |
5134
- * | 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 | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
5135
- * ## 接入准备与调用流程
5136
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
5137
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
5138
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
5336
+ * | 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 |
5337
+ * | 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 |
5338
+ * | 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 |
5339
+ * ## Preparations and invocation flow
5340
+ * 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).
5341
+ * 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.
5342
+ * 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).
5139
5343
  *
5140
5344
  * @param tmpReq - TextTranslateAsyncRequest
5141
5345
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5200,36 +5404,36 @@ export default class Client extends OpenApi {
5200
5404
  }
5201
5405
 
5202
5406
  /**
5203
- * 文本翻译异步
5407
+ * 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.
5204
5408
  *
5205
5409
  * @remarks
5206
- * ## 适用场景
5207
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5410
+ * ## Scenarios
5411
+ * * 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.
5208
5412
  *
5209
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5413
+ * * 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.
5210
5414
  *
5211
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5415
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
5212
5416
  *
5213
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5417
+ * * 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.
5214
5418
  *
5215
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
5216
- * ## 功能介绍
5217
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5419
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
5420
+ * ## Features
5421
+ * * **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.
5218
5422
  *
5219
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5423
+ * * **Supported text formats** The model supports text and HTML formats.
5220
5424
  *
5221
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5425
+ * * **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.
5222
5426
  *
5223
- * * **翻译效果对比**
5224
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5427
+ * * **Translation quality comparison**
5428
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
5225
5429
  * | --- | --- | --- | --- | --- |
5226
- * | 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 | 商品主体更清晰 |
5227
- * | 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 | 句式更完整,表述更清晰,断句更合理 |
5228
- * | 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 | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
5229
- * ## 接入准备与调用流程
5230
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
5231
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
5232
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
5430
+ * | 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 |
5431
+ * | 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 |
5432
+ * | 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 |
5433
+ * ## Preparations and invocation flow
5434
+ * 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).
5435
+ * 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.
5436
+ * 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).
5233
5437
  *
5234
5438
  * @param request - TextTranslateAsyncRequest
5235
5439
  * @returns TextTranslateAsyncResponse
@@ -5239,6 +5443,58 @@ export default class Client extends OpenApi {
5239
5443
  return await this.textTranslateAsyncWithOptions(request, runtime);
5240
5444
  }
5241
5445
 
5446
+ /**
5447
+ * Synchronously updates the content of a display knowledge base in batches.
5448
+ *
5449
+ * @param tmpReq - UpdateDisplayKnowledgeRequest
5450
+ * @param runtime - runtime options for this request RuntimeOptions
5451
+ * @returns UpdateDisplayKnowledgeResponse
5452
+ */
5453
+ async updateDisplayKnowledgeWithOptions(tmpReq: $_model.UpdateDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDisplayKnowledgeResponse> {
5454
+ tmpReq.validate();
5455
+ let request = new $_model.UpdateDisplayKnowledgeShrinkRequest({ });
5456
+ OpenApiUtil.convert(tmpReq, request);
5457
+ if (!$dara.isNull(tmpReq.records)) {
5458
+ request.recordsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.records, "Records", "json");
5459
+ }
5460
+
5461
+ let query = { };
5462
+ if (!$dara.isNull(request.ragId)) {
5463
+ query["RagId"] = request.ragId;
5464
+ }
5465
+
5466
+ if (!$dara.isNull(request.recordsShrink)) {
5467
+ query["Records"] = request.recordsShrink;
5468
+ }
5469
+
5470
+ let req = new $OpenApiUtil.OpenApiRequest({
5471
+ query: OpenApiUtil.query(query),
5472
+ });
5473
+ let params = new $OpenApiUtil.Params({
5474
+ action: "UpdateDisplayKnowledge",
5475
+ version: "2026-04-28",
5476
+ protocol: "HTTPS",
5477
+ pathname: "/",
5478
+ method: "POST",
5479
+ authType: "AK",
5480
+ style: "RPC",
5481
+ reqBodyType: "formData",
5482
+ bodyType: "json",
5483
+ });
5484
+ return $dara.cast<$_model.UpdateDisplayKnowledgeResponse>(await this.callApi(params, req, runtime), new $_model.UpdateDisplayKnowledgeResponse({}));
5485
+ }
5486
+
5487
+ /**
5488
+ * Synchronously updates the content of a display knowledge base in batches.
5489
+ *
5490
+ * @param request - UpdateDisplayKnowledgeRequest
5491
+ * @returns UpdateDisplayKnowledgeResponse
5492
+ */
5493
+ async updateDisplayKnowledge(request: $_model.UpdateDisplayKnowledgeRequest): Promise<$_model.UpdateDisplayKnowledgeResponse> {
5494
+ let runtime = new $dara.RuntimeOptions({ });
5495
+ return await this.updateDisplayKnowledgeWithOptions(request, runtime);
5496
+ }
5497
+
5242
5498
  /**
5243
5499
  * 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.
5244
5500
  *
@@ -5340,28 +5596,28 @@ export default class Client extends OpenApi {
5340
5596
  }
5341
5597
 
5342
5598
  /**
5343
- * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
5599
+ * 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.
5344
5600
  *
5345
5601
  * @remarks
5346
5602
  * ## Product introduction
5347
- * 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.
5348
- * 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.
5603
+ * 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.
5604
+ * 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.
5349
5605
  * ## Scenarios
5350
- * * **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.
5606
+ * * **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.
5351
5607
  *
5352
- * * **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.
5608
+ * * **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.
5353
5609
  *
5354
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
5610
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5355
5611
  *
5356
- * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
5612
+ * * **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.
5357
5613
  * ## Features
5358
5614
  * | Feature | Identifier | Description |
5359
5615
  * | --- | --- | --- |
5360
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
5361
- * | 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. |
5362
- * 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.
5363
- * 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.
5364
- * 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.
5616
+ * | 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. |
5617
+ * | 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. |
5618
+ * 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.
5619
+ * 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.
5620
+ * 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.
5365
5621
  *
5366
5622
  * @param tmpReq - VideoTranslationRequest
5367
5623
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5428,28 +5684,28 @@ export default class Client extends OpenApi {
5428
5684
  }
5429
5685
 
5430
5686
  /**
5431
- * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
5687
+ * 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.
5432
5688
  *
5433
5689
  * @remarks
5434
5690
  * ## Product introduction
5435
- * 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.
5436
- * 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.
5691
+ * 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.
5692
+ * 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.
5437
5693
  * ## Scenarios
5438
- * * **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.
5694
+ * * **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.
5439
5695
  *
5440
- * * **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.
5696
+ * * **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.
5441
5697
  *
5442
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
5698
+ * * **Global brand advertising**: Automatically generates video versions in the corresponding languages based on the delivery regions to reduce manual production costs.
5443
5699
  *
5444
- * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
5700
+ * * **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.
5445
5701
  * ## Features
5446
5702
  * | Feature | Identifier | Description |
5447
5703
  * | --- | --- | --- |
5448
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
5449
- * | 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. |
5450
- * 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.
5451
- * 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.
5452
- * 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.
5704
+ * | 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. |
5705
+ * | 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. |
5706
+ * 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.
5707
+ * 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.
5708
+ * 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.
5453
5709
  *
5454
5710
  * @param request - VideoTranslationRequest
5455
5711
  * @returns VideoTranslationResponse