@alicloud/aidge20260428 5.8.0 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/dist/client.d.ts +1458 -297
  2. package/dist/client.js +2004 -305
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DocumentTranslateRequest.d.ts +4 -4
  5. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  6. package/dist/models/EcomVideoRecreationRequest.d.ts +24 -16
  7. package/dist/models/EcomVideoRecreationRequest.js +2 -0
  8. package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
  9. package/dist/models/EcomVideoRecreationResponseBody.d.ts +5 -5
  10. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  11. package/dist/models/ImageMattingAsyncRequest.d.ts +59 -0
  12. package/dist/models/ImageMattingAsyncRequest.js +66 -0
  13. package/dist/models/ImageMattingAsyncRequest.js.map +1 -0
  14. package/dist/models/ImageMattingAsyncResponse.d.ts +19 -0
  15. package/dist/models/ImageMattingAsyncResponse.js +69 -0
  16. package/dist/models/ImageMattingAsyncResponse.js.map +1 -0
  17. package/dist/models/ImageMattingAsyncResponseBody.d.ts +72 -0
  18. package/dist/models/ImageMattingAsyncResponseBody.js +88 -0
  19. package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -0
  20. package/dist/models/ImageRecognitionAsyncRequest.d.ts +101 -0
  21. package/dist/models/ImageRecognitionAsyncRequest.js +78 -0
  22. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -0
  23. package/dist/models/ImageRecognitionAsyncResponse.d.ts +19 -0
  24. package/dist/models/ImageRecognitionAsyncResponse.js +69 -0
  25. package/dist/models/ImageRecognitionAsyncResponse.js.map +1 -0
  26. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +72 -0
  27. package/dist/models/ImageRecognitionAsyncResponseBody.js +88 -0
  28. package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -0
  29. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +101 -0
  30. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +72 -0
  31. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -0
  32. package/dist/models/ImageRemovalProAsyncRequest.d.ts +23 -0
  33. package/dist/models/ImageRemovalProAsyncRequest.js +58 -0
  34. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -0
  35. package/dist/models/ImageRemovalProAsyncResponse.d.ts +19 -0
  36. package/dist/models/ImageRemovalProAsyncResponse.js +69 -0
  37. package/dist/models/ImageRemovalProAsyncResponse.js.map +1 -0
  38. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +70 -0
  39. package/dist/models/ImageRemovalProAsyncResponseBody.js +88 -0
  40. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -0
  41. package/dist/models/ImageRemoveAsyncRequest.d.ts +59 -0
  42. package/dist/models/ImageRemoveAsyncRequest.js +82 -0
  43. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -0
  44. package/dist/models/ImageRemoveAsyncResponse.d.ts +19 -0
  45. package/dist/models/ImageRemoveAsyncResponse.js +69 -0
  46. package/dist/models/ImageRemoveAsyncResponse.js.map +1 -0
  47. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +70 -0
  48. package/dist/models/ImageRemoveAsyncResponseBody.js +88 -0
  49. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -0
  50. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +59 -0
  51. package/dist/models/ImageRemoveAsyncShrinkRequest.js +70 -0
  52. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -0
  53. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +78 -0
  54. package/dist/models/ImageTranslationPlusAsyncRequest.js +70 -0
  55. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -0
  56. package/dist/models/ImageTranslationPlusAsyncResponse.d.ts +19 -0
  57. package/dist/models/ImageTranslationPlusAsyncResponse.js +69 -0
  58. package/dist/models/ImageTranslationPlusAsyncResponse.js.map +1 -0
  59. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +70 -0
  60. package/dist/models/ImageTranslationPlusAsyncResponseBody.js +88 -0
  61. package/dist/models/ImageTranslationPlusAsyncResponseBody.js.map +1 -0
  62. package/dist/models/ImageTranslationProAsyncRequest.d.ts +78 -0
  63. package/dist/models/ImageTranslationProAsyncRequest.js +70 -0
  64. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -0
  65. package/dist/models/ImageTranslationProAsyncResponse.d.ts +19 -0
  66. package/dist/models/ImageTranslationProAsyncResponse.js +69 -0
  67. package/dist/models/ImageTranslationProAsyncResponse.js.map +1 -0
  68. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +70 -0
  69. package/dist/models/ImageTranslationProAsyncResponseBody.js +88 -0
  70. package/dist/models/ImageTranslationProAsyncResponseBody.js.map +1 -0
  71. package/dist/models/ImageTranslationProRequest.d.ts +12 -8
  72. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  73. package/dist/models/ImageTranslationProResponseBody.d.ts +4 -2
  74. package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
  75. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +75 -0
  76. package/dist/models/ImageTranslationStandardAsyncRequest.js +70 -0
  77. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -0
  78. package/dist/models/ImageTranslationStandardAsyncResponse.d.ts +19 -0
  79. package/dist/models/ImageTranslationStandardAsyncResponse.js +69 -0
  80. package/dist/models/ImageTranslationStandardAsyncResponse.js.map +1 -0
  81. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +70 -0
  82. package/dist/models/ImageTranslationStandardAsyncResponseBody.js +88 -0
  83. package/dist/models/ImageTranslationStandardAsyncResponseBody.js.map +1 -0
  84. package/dist/models/ImageTranslationStandardRequest.d.ts +11 -7
  85. package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
  86. package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
  87. package/dist/models/MerchandisePlacementDetectionLiteRequest.d.ts +23 -0
  88. package/dist/models/MerchandisePlacementDetectionLiteRequest.js +58 -0
  89. package/dist/models/MerchandisePlacementDetectionLiteRequest.js.map +1 -0
  90. package/dist/models/MerchandisePlacementDetectionLiteResponse.d.ts +19 -0
  91. package/dist/models/MerchandisePlacementDetectionLiteResponse.js +69 -0
  92. package/dist/models/MerchandisePlacementDetectionLiteResponse.js.map +1 -0
  93. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +239 -0
  94. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js +229 -0
  95. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -0
  96. package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +23 -0
  97. package/dist/models/MerchandisePriceTagDetectionRequest.js +58 -0
  98. package/dist/models/MerchandisePriceTagDetectionRequest.js.map +1 -0
  99. package/dist/models/MerchandisePriceTagDetectionResponse.d.ts +19 -0
  100. package/dist/models/MerchandisePriceTagDetectionResponse.js +69 -0
  101. package/dist/models/MerchandisePriceTagDetectionResponse.js.map +1 -0
  102. package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +258 -0
  103. package/dist/models/MerchandisePriceTagDetectionResponseBody.js +230 -0
  104. package/dist/models/MerchandisePriceTagDetectionResponseBody.js.map +1 -0
  105. package/dist/models/MerchandiseSceneDetectionRequest.d.ts +23 -0
  106. package/dist/models/MerchandiseSceneDetectionRequest.js +58 -0
  107. package/dist/models/MerchandiseSceneDetectionRequest.js.map +1 -0
  108. package/dist/models/MerchandiseSceneDetectionResponse.d.ts +19 -0
  109. package/dist/models/MerchandiseSceneDetectionResponse.js +69 -0
  110. package/dist/models/MerchandiseSceneDetectionResponse.js.map +1 -0
  111. package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +263 -0
  112. package/dist/models/MerchandiseSceneDetectionResponseBody.js +235 -0
  113. package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -0
  114. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.d.ts +23 -0
  115. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js +58 -0
  116. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js.map +1 -0
  117. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.d.ts +19 -0
  118. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js +69 -0
  119. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js.map +1 -0
  120. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +170 -0
  121. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js +172 -0
  122. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js.map +1 -0
  123. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.d.ts +23 -0
  124. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js +58 -0
  125. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js.map +1 -0
  126. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.d.ts +19 -0
  127. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js +69 -0
  128. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js.map +1 -0
  129. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +197 -0
  130. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js +178 -0
  131. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -0
  132. package/dist/models/PetHealthAnalysisRequest.d.ts +2 -10
  133. package/dist/models/PetHealthAnalysisRequest.js.map +1 -1
  134. package/dist/models/PetHealthAnalysisResponseBody.d.ts +0 -19
  135. package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -1
  136. package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +2 -10
  137. package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -1
  138. package/dist/models/SizeChartExtractAsyncRequest.d.ts +36 -0
  139. package/dist/models/SizeChartExtractAsyncRequest.js +65 -0
  140. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -0
  141. package/dist/models/SizeChartExtractAsyncResponse.d.ts +19 -0
  142. package/dist/models/SizeChartExtractAsyncResponse.js +69 -0
  143. package/dist/models/SizeChartExtractAsyncResponse.js.map +1 -0
  144. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +70 -0
  145. package/dist/models/SizeChartExtractAsyncResponseBody.js +88 -0
  146. package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -0
  147. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +36 -0
  148. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +62 -0
  149. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -0
  150. package/dist/models/StorefrontSceneRecognitionRequest.d.ts +23 -0
  151. package/dist/models/StorefrontSceneRecognitionRequest.js +58 -0
  152. package/dist/models/StorefrontSceneRecognitionRequest.js.map +1 -0
  153. package/dist/models/StorefrontSceneRecognitionResponse.d.ts +19 -0
  154. package/dist/models/StorefrontSceneRecognitionResponse.js +69 -0
  155. package/dist/models/StorefrontSceneRecognitionResponse.js.map +1 -0
  156. package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +190 -0
  157. package/dist/models/StorefrontSceneRecognitionResponseBody.js +199 -0
  158. package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -0
  159. package/dist/models/TextTranslateAsyncRequest.d.ts +56 -0
  160. package/dist/models/TextTranslateAsyncRequest.js +75 -0
  161. package/dist/models/TextTranslateAsyncRequest.js.map +1 -0
  162. package/dist/models/TextTranslateAsyncResponse.d.ts +19 -0
  163. package/dist/models/TextTranslateAsyncResponse.js +69 -0
  164. package/dist/models/TextTranslateAsyncResponse.js.map +1 -0
  165. package/dist/models/TextTranslateAsyncResponseBody.d.ts +51 -0
  166. package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
  167. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
  168. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +56 -0
  169. package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
  170. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
  171. package/dist/models/TextTranslateRequest.d.ts +10 -10
  172. package/dist/models/TextTranslateResponseBody.d.ts +1 -1
  173. package/dist/models/TextTranslateShrinkRequest.d.ts +10 -10
  174. package/dist/models/VideoGenerationRequest.d.ts +21 -12
  175. package/dist/models/VideoGenerationRequest.js.map +1 -1
  176. package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
  177. package/dist/models/VideoTranslationRequest.d.ts +36 -6
  178. package/dist/models/VideoTranslationRequest.js +8 -0
  179. package/dist/models/VideoTranslationRequest.js.map +1 -1
  180. package/dist/models/VideoTranslationResponseBody.d.ts +5 -5
  181. package/dist/models/VideoTranslationShrinkRequest.d.ts +36 -6
  182. package/dist/models/VideoTranslationShrinkRequest.js +8 -0
  183. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  184. package/dist/models/model.d.ts +89 -0
  185. package/dist/models/model.js +184 -4
  186. package/dist/models/model.js.map +1 -1
  187. package/package.json +1 -1
  188. package/src/client.ts +2207 -407
  189. package/src/models/DocumentTranslateRequest.ts +4 -4
  190. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  191. package/src/models/EcomVideoRecreationRequest.ts +26 -16
  192. package/src/models/EcomVideoRecreationResponseBody.ts +5 -5
  193. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  194. package/src/models/ImageMattingAsyncRequest.ts +80 -0
  195. package/src/models/ImageMattingAsyncResponse.ts +40 -0
  196. package/src/models/ImageMattingAsyncResponseBody.ts +106 -0
  197. package/src/models/ImageRecognitionAsyncRequest.ts +134 -0
  198. package/src/models/ImageRecognitionAsyncResponse.ts +40 -0
  199. package/src/models/ImageRecognitionAsyncResponseBody.ts +106 -0
  200. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +128 -0
  201. package/src/models/ImageRemovalProAsyncRequest.ts +36 -0
  202. package/src/models/ImageRemovalProAsyncResponse.ts +40 -0
  203. package/src/models/ImageRemovalProAsyncResponseBody.ts +104 -0
  204. package/src/models/ImageRemoveAsyncRequest.ts +96 -0
  205. package/src/models/ImageRemoveAsyncResponse.ts +40 -0
  206. package/src/models/ImageRemoveAsyncResponseBody.ts +104 -0
  207. package/src/models/ImageRemoveAsyncShrinkRequest.ts +84 -0
  208. package/src/models/ImageTranslationPlusAsyncRequest.ts +103 -0
  209. package/src/models/ImageTranslationPlusAsyncResponse.ts +40 -0
  210. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +104 -0
  211. package/src/models/ImageTranslationProAsyncRequest.ts +103 -0
  212. package/src/models/ImageTranslationProAsyncResponse.ts +40 -0
  213. package/src/models/ImageTranslationProAsyncResponseBody.ts +104 -0
  214. package/src/models/ImageTranslationProRequest.ts +12 -8
  215. package/src/models/ImageTranslationProResponseBody.ts +4 -2
  216. package/src/models/ImageTranslationStandardAsyncRequest.ts +100 -0
  217. package/src/models/ImageTranslationStandardAsyncResponse.ts +40 -0
  218. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +104 -0
  219. package/src/models/ImageTranslationStandardRequest.ts +11 -7
  220. package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
  221. package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
  222. package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
  223. package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
  224. package/src/models/MerchandisePriceTagDetectionRequest.ts +36 -0
  225. package/src/models/MerchandisePriceTagDetectionResponse.ts +40 -0
  226. package/src/models/MerchandisePriceTagDetectionResponseBody.ts +387 -0
  227. package/src/models/MerchandiseSceneDetectionRequest.ts +36 -0
  228. package/src/models/MerchandiseSceneDetectionResponse.ts +40 -0
  229. package/src/models/MerchandiseSceneDetectionResponseBody.ts +397 -0
  230. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.ts +36 -0
  231. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.ts +40 -0
  232. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +259 -0
  233. package/src/models/MilkPowderCartonCodeRephotographyDetectionRequest.ts +36 -0
  234. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponse.ts +40 -0
  235. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +292 -0
  236. package/src/models/PetHealthAnalysisRequest.ts +2 -10
  237. package/src/models/PetHealthAnalysisResponseBody.ts +0 -19
  238. package/src/models/PetHealthAnalysisShrinkRequest.ts +2 -10
  239. package/src/models/SizeChartExtractAsyncRequest.ts +56 -0
  240. package/src/models/SizeChartExtractAsyncResponse.ts +40 -0
  241. package/src/models/SizeChartExtractAsyncResponseBody.ts +104 -0
  242. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +53 -0
  243. package/src/models/StorefrontSceneRecognitionRequest.ts +36 -0
  244. package/src/models/StorefrontSceneRecognitionResponse.ts +40 -0
  245. package/src/models/StorefrontSceneRecognitionResponseBody.ts +297 -0
  246. package/src/models/TextTranslateAsyncRequest.ts +86 -0
  247. package/src/models/TextTranslateAsyncResponse.ts +40 -0
  248. package/src/models/TextTranslateAsyncResponseBody.ts +85 -0
  249. package/src/models/TextTranslateAsyncShrinkRequest.ts +83 -0
  250. package/src/models/TextTranslateRequest.ts +10 -10
  251. package/src/models/TextTranslateResponseBody.ts +1 -1
  252. package/src/models/TextTranslateShrinkRequest.ts +10 -10
  253. package/src/models/VideoGenerationRequest.ts +21 -12
  254. package/src/models/VideoGenerationResponseBody.ts +5 -5
  255. package/src/models/VideoTranslationRequest.ts +44 -6
  256. package/src/models/VideoTranslationResponseBody.ts +5 -5
  257. package/src/models/VideoTranslationShrinkRequest.ts +44 -6
  258. package/src/models/model.ts +89 -0
package/src/client.ts CHANGED
@@ -776,8 +776,7 @@ export default class Client extends OpenApi {
776
776
  }
777
777
 
778
778
  /**
779
- * Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
780
- * Excels in the following areas:
779
+ * Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
781
780
  * - Content accuracy: translation accuracy, parameter and unit accuracy.
782
781
  * - Structural integrity: overall layout continuity, page margin and layout restoration.
783
782
  *
@@ -788,13 +787,13 @@ export default class Client extends OpenApi {
788
787
  * - Content accuracy: translation accuracy, parameter and unit accuracy
789
788
  * - Structural integrity: overall layout continuity, page margin and layout restoration
790
789
  * ## Common scenarios
791
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
790
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
792
791
  * ## Functions and features
793
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
794
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
792
+ * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
793
+ * - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
795
794
  * - Supports high-fidelity layout restoration after translation.
796
795
  * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
797
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
796
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
798
797
  *
799
798
  * @param request - DocumentTranslateRequest
800
799
  * @param runtime - runtime options for this request RuntimeOptions
@@ -837,8 +836,7 @@ export default class Client extends OpenApi {
837
836
  }
838
837
 
839
838
  /**
840
- * Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
841
- * Excels in the following areas:
839
+ * Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
842
840
  * - Content accuracy: translation accuracy, parameter and unit accuracy.
843
841
  * - Structural integrity: overall layout continuity, page margin and layout restoration.
844
842
  *
@@ -849,13 +847,13 @@ export default class Client extends OpenApi {
849
847
  * - Content accuracy: translation accuracy, parameter and unit accuracy
850
848
  * - Structural integrity: overall layout continuity, page margin and layout restoration
851
849
  * ## Common scenarios
852
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
850
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
853
851
  * ## Functions and features
854
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
855
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
852
+ * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
853
+ * - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
856
854
  * - Supports high-fidelity layout restoration after translation.
857
855
  * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
858
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
856
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
859
857
  *
860
858
  * @param request - DocumentTranslateRequest
861
859
  * @returns DocumentTranslateResponse
@@ -866,30 +864,45 @@ export default class Client extends OpenApi {
866
864
  }
867
865
 
868
866
  /**
869
- * E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
867
+ * Creates an asynchronous task for e-commerce video variation generation, an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
870
868
  *
871
869
  * @remarks
872
- * ## **Product Introduction**
873
- * E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
870
+ * ## **Product introduction**
871
+ * E-commerce video variation generation is an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
874
872
  * ## **Scenarios**
875
- * - **Video asset multiplication:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is applicable to multi-SKU, multi-model, multi-region, and multi-version asset production.
876
- * - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate new product video assets to help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
877
- * - **Product presentation and selling point expression:** Applicable to apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, small appliances, and other products. Based on the selling point planning, presentation actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
878
- * - **Multi-selling-point and multi-version testing:** Quickly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support merchants in content testing and ad creative iteration.
879
- * ## **Product Capabilities**
880
- * ### **Core capabilities**
881
- * Two replacement modes are supported:
882
- * - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
883
- * - **Person replacement (person_replacement):** Retains the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
884
- * - **Fully automated end-to-end generation with zero prompt threshold:** Simply provide a reference video and target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
885
- * - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
886
- * - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
887
- * - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
888
- * - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
889
- * - **Strength category — Apparel:** Faithfully restores apparel details, focusing on silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories to reduce clipping, deformation, texture loss, and detail anomalies.
890
- * - **Selling point script and storyboard replication:** Replicates the selling point planning, video structure, shot sequence, presentation actions, voiceover content, and closing style of the original video.
891
- * - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
892
- * - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
873
+ * - **Video asset variation generation:** Uses an existing e-commerce video as a template and replaces only specified products or persons in the video, preserving the original camera angles, rhythms, and marketing expressions as much as possible. This is suitable for producing assets with multiple SKUs, models, regions, and versions.
874
+ * - **Quick asset generation for new products:** For newly launched products, this reduces the need for live-action shooting, studio setup, post-production editing, and repetitive production. It quickly deploys video assets for new products, helping merchants shorten the launch cycle from spotting a popular video to breaking down the script and shooting new content.
875
+ * - **Product explanation and selling point expression:** Suitable for products such as apparel, beauty and personal care, food and beverage, home and daily necessities, 3C digital products, and small home appliances. It can replicate the explanation structure, display actions, and camera rhythms based on the selling points of the original video to generate explanation videos tailored for the conversion of new products.
876
+ * - **Multi-selling point and multi-version testing:** Quickly generates multiple versions based on different product selling points, target audiences, scripts, camera angles, and visual styles. This supports merchants in conducting content testing and iterating on delivered assets.
877
+ * ## **Feature overview**
878
+ * ### **Core features**
879
+ * * **Supports two replacement modes:**
880
+ *
881
+ * * **Product replacement (**`product_replacement`**)**: Retains the original video host\\"s identity, actions, scene, and sales structure, and replaces the original product with the target product.
882
+ *
883
+ * * **Person replacement (**`person_replacement`**)**: Retains the original product, actions, scene, and sales structure, and replaces the person on camera with the target person from a reference image or description.
884
+ *
885
+ * * **Supports two generation modes:**
886
+ *
887
+ * * **Reference generation (**`reference`**)**: 1:1 replication. Uses the original video as a complete reference to automatically generate a new video with the same duration as the original video. It retains the original script, storyboard, actions, scene, and rhythm, and only performs targeted replacement of specified content such as persons or products.
888
+ *
889
+ * * **Rebuild generation (**`rebuild`**)**: Breaks down the script, storyboard, and key elements of the original video, retains only core content such as specified persons or products, and then redesigns and generates a new video. It is not limited by the duration of the original video and supports inputting a target duration.
890
+ *
891
+ * * **Fully automated end-to-end generation with zero prompt engineering required**: Only requires the reference video and target product or person images. The system automatically completes the entire process of video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
892
+ *
893
+ * * **Product understanding and information structuring**: Identifies product categories, appearance, materials, colors, structures, and key components, and combines them with the titles, attributes, and selling points provided by the merchant to generate usable video expression information.
894
+ *
895
+ * * **Template video element replacement**: Supports replacing products or persons within the authorized scope, and defines the replacement scope and protection scope to minimize changes in non-target areas.
896
+ *
897
+ * * **Product subject consistency**: Maintains the stability of the product\\"s shape, color, texture, pattern, packaging, and logo as much as possible across different camera angles, perspectives, actions, and scenes.
898
+ *
899
+ * * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
900
+ *
901
+ * * **Selling point script and storyboard replication**: Replicates the selling point planning, video structure, camera sequence, display actions, voiceover content, and ending style based on the original video.
902
+ *
903
+ * * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
904
+ *
905
+ * * **Quality verification and result feedback**: Performs multi-dimensional checks on the product subject, person, clothing, text, image integrity, audio, and overall usability, and outputs result information for manual review.
893
906
  *
894
907
  * @param tmpReq - EcomVideoRecreationRequest
895
908
  * @param runtime - runtime options for this request RuntimeOptions
@@ -934,30 +947,45 @@ export default class Client extends OpenApi {
934
947
  }
935
948
 
936
949
  /**
937
- * E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
950
+ * Creates an asynchronous task for e-commerce video variation generation, an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
938
951
  *
939
952
  * @remarks
940
- * ## **Product Introduction**
941
- * E-commerce Video Multiplication is an AI video service designed for product content production, covering video understanding, element replacement, quality verification, and result delivery. The product focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to quickly generate multi-version content and reduce shooting, editing, and adaptation costs.
953
+ * ## **Product introduction**
954
+ * E-commerce video variation generation is an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
942
955
  * ## **Scenarios**
943
- * - **Video asset multiplication:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is applicable to multi-SKU, multi-model, multi-region, and multi-version asset production.
944
- * - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate new product video assets to help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
945
- * - **Product presentation and selling point expression:** Applicable to apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, small appliances, and other products. Based on the selling point planning, presentation actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
946
- * - **Multi-selling-point and multi-version testing:** Quickly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support merchants in content testing and ad creative iteration.
947
- * ## **Product Capabilities**
948
- * ### **Core capabilities**
949
- * Two replacement modes are supported:
950
- * - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
951
- * - **Person replacement (person_replacement):** Retains the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
952
- * - **Fully automated end-to-end generation with zero prompt threshold:** Simply provide a reference video and target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
953
- * - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
954
- * - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
955
- * - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
956
- * - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
957
- * - **Strength category — Apparel:** Faithfully restores apparel details, focusing on silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories to reduce clipping, deformation, texture loss, and detail anomalies.
958
- * - **Selling point script and storyboard replication:** Replicates the selling point planning, video structure, shot sequence, presentation actions, voiceover content, and closing style of the original video.
959
- * - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
960
- * - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
956
+ * - **Video asset variation generation:** Uses an existing e-commerce video as a template and replaces only specified products or persons in the video, preserving the original camera angles, rhythms, and marketing expressions as much as possible. This is suitable for producing assets with multiple SKUs, models, regions, and versions.
957
+ * - **Quick asset generation for new products:** For newly launched products, this reduces the need for live-action shooting, studio setup, post-production editing, and repetitive production. It quickly deploys video assets for new products, helping merchants shorten the launch cycle from spotting a popular video to breaking down the script and shooting new content.
958
+ * - **Product explanation and selling point expression:** Suitable for products such as apparel, beauty and personal care, food and beverage, home and daily necessities, 3C digital products, and small home appliances. It can replicate the explanation structure, display actions, and camera rhythms based on the selling points of the original video to generate explanation videos tailored for the conversion of new products.
959
+ * - **Multi-selling point and multi-version testing:** Quickly generates multiple versions based on different product selling points, target audiences, scripts, camera angles, and visual styles. This supports merchants in conducting content testing and iterating on delivered assets.
960
+ * ## **Feature overview**
961
+ * ### **Core features**
962
+ * * **Supports two replacement modes:**
963
+ *
964
+ * * **Product replacement (**`product_replacement`**)**: Retains the original video host\\"s identity, actions, scene, and sales structure, and replaces the original product with the target product.
965
+ *
966
+ * * **Person replacement (**`person_replacement`**)**: Retains the original product, actions, scene, and sales structure, and replaces the person on camera with the target person from a reference image or description.
967
+ *
968
+ * * **Supports two generation modes:**
969
+ *
970
+ * * **Reference generation (**`reference`**)**: 1:1 replication. Uses the original video as a complete reference to automatically generate a new video with the same duration as the original video. It retains the original script, storyboard, actions, scene, and rhythm, and only performs targeted replacement of specified content such as persons or products.
971
+ *
972
+ * * **Rebuild generation (**`rebuild`**)**: Breaks down the script, storyboard, and key elements of the original video, retains only core content such as specified persons or products, and then redesigns and generates a new video. It is not limited by the duration of the original video and supports inputting a target duration.
973
+ *
974
+ * * **Fully automated end-to-end generation with zero prompt engineering required**: Only requires the reference video and target product or person images. The system automatically completes the entire process of video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
975
+ *
976
+ * * **Product understanding and information structuring**: Identifies product categories, appearance, materials, colors, structures, and key components, and combines them with the titles, attributes, and selling points provided by the merchant to generate usable video expression information.
977
+ *
978
+ * * **Template video element replacement**: Supports replacing products or persons within the authorized scope, and defines the replacement scope and protection scope to minimize changes in non-target areas.
979
+ *
980
+ * * **Product subject consistency**: Maintains the stability of the product\\"s shape, color, texture, pattern, packaging, and logo as much as possible across different camera angles, perspectives, actions, and scenes.
981
+ *
982
+ * * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
983
+ *
984
+ * * **Selling point script and storyboard replication**: Replicates the selling point planning, video structure, camera sequence, display actions, voiceover content, and ending style based on the original video.
985
+ *
986
+ * * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
987
+ *
988
+ * * **Quality verification and result feedback**: Performs multi-dimensional checks on the product subject, person, clothing, text, image integrity, audio, and overall usability, and outputs result information for manual review.
961
989
  *
962
990
  * @param request - EcomVideoRecreationRequest
963
991
  * @returns EcomVideoRecreationResponse
@@ -1225,6 +1253,110 @@ export default class Client extends OpenApi {
1225
1253
  return await this.imageMattingWithOptions(request, runtime);
1226
1254
  }
1227
1255
 
1256
+ /**
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.
1258
+ *
1259
+ * @remarks
1260
+ * # Scenarios
1261
+ * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1262
+ *
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.
1264
+ * # Features.
1265
+ * #### 1. One-click precise subject recognition
1266
+ * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
1267
+ *
1268
+ * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
1269
+ * #### 2. Intelligent edge optimization
1270
+ * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1271
+ * #### 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.
1273
+ *
1274
+ * * **Supports custom background colors**
1275
+ * # Effect comparison
1276
+ * | **Original image (input)** | **Result image (output)** |
1277
+ * | --- | --- |
1278
+ * | ![Main image 3.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/62b39e16-5b30-469f-88cd-7f31ba790008.jpeg) | ![ae4cd8ce912c4d9fa171dc5217be576d_202605251928_0.5899999737739563.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/bfad041f-a8e0-4d6f-a2bf-999292ea9ebc.jpeg) |
1279
+ * | ![Main image 2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/b201b356-24b8-4f98-babc-c7fe918bdc37.jpeg) | ![52033655bd054737960a87518655d935_202605251926_5.959999978542328.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/8b266603-e80a-42dd-9d3d-6fa9f0948e52.jpeg) |
1280
+ * | ![Main image 6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |
1281
+ *
1282
+ * @param request - ImageMattingAsyncRequest
1283
+ * @param runtime - runtime options for this request RuntimeOptions
1284
+ * @returns ImageMattingAsyncResponse
1285
+ */
1286
+ async imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse> {
1287
+ request.validate();
1288
+ let query = { };
1289
+ if (!$dara.isNull(request.backGroundType)) {
1290
+ query["BackGroundType"] = request.backGroundType;
1291
+ }
1292
+
1293
+ if (!$dara.isNull(request.bgColor)) {
1294
+ query["BgColor"] = request.bgColor;
1295
+ }
1296
+
1297
+ if (!$dara.isNull(request.imageUrl)) {
1298
+ query["ImageUrl"] = request.imageUrl;
1299
+ }
1300
+
1301
+ if (!$dara.isNull(request.targetHeight)) {
1302
+ query["TargetHeight"] = request.targetHeight;
1303
+ }
1304
+
1305
+ if (!$dara.isNull(request.targetWidth)) {
1306
+ query["TargetWidth"] = request.targetWidth;
1307
+ }
1308
+
1309
+ let req = new $OpenApiUtil.OpenApiRequest({
1310
+ query: OpenApiUtil.query(query),
1311
+ });
1312
+ let params = new $OpenApiUtil.Params({
1313
+ action: "ImageMattingAsync",
1314
+ version: "2026-04-28",
1315
+ protocol: "HTTPS",
1316
+ pathname: "/",
1317
+ method: "POST",
1318
+ authType: "AK",
1319
+ style: "RPC",
1320
+ reqBodyType: "formData",
1321
+ bodyType: "json",
1322
+ });
1323
+ return $dara.cast<$_model.ImageMattingAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageMattingAsyncResponse({}));
1324
+ }
1325
+
1326
+ /**
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.
1328
+ *
1329
+ * @remarks
1330
+ * # Scenarios
1331
+ * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
1332
+ *
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.
1334
+ * # Features.
1335
+ * #### 1. One-click precise subject recognition
1336
+ * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
1337
+ *
1338
+ * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
1339
+ * #### 2. Intelligent edge optimization
1340
+ * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
1341
+ * #### 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.
1343
+ *
1344
+ * * **Supports custom background colors**
1345
+ * # Effect comparison
1346
+ * | **Original image (input)** | **Result image (output)** |
1347
+ * | --- | --- |
1348
+ * | ![Main image 3.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/62b39e16-5b30-469f-88cd-7f31ba790008.jpeg) | ![ae4cd8ce912c4d9fa171dc5217be576d_202605251928_0.5899999737739563.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/bfad041f-a8e0-4d6f-a2bf-999292ea9ebc.jpeg) |
1349
+ * | ![Main image 2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/b201b356-24b8-4f98-babc-c7fe918bdc37.jpeg) | ![52033655bd054737960a87518655d935_202605251926_5.959999978542328.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/8b266603-e80a-42dd-9d3d-6fa9f0948e52.jpeg) |
1350
+ * | ![Main image 6.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/d3c0d876-42a0-4294-8ce5-2a20df2deab9.jpeg) | ![abdecd31cc45450f83b33f9baf4499c6_202605251930_7.9700000286102295.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/a2QnV4jwexAy7O4X/img/5677f55e-4fe3-4978-a676-1ce71ad604b0.jpeg) |
1351
+ *
1352
+ * @param request - ImageMattingAsyncRequest
1353
+ * @returns ImageMattingAsyncResponse
1354
+ */
1355
+ async imageMattingAsync(request: $_model.ImageMattingAsyncRequest): Promise<$_model.ImageMattingAsyncResponse> {
1356
+ let runtime = new $dara.RuntimeOptions({ });
1357
+ return await this.imageMattingAsyncWithOptions(request, runtime);
1358
+ }
1359
+
1228
1360
  /**
1229
1361
  * Intelligent element recognition.
1230
1362
  *
@@ -1442,52 +1574,129 @@ export default class Client extends OpenApi {
1442
1574
  }
1443
1575
 
1444
1576
  /**
1445
- * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
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.
1446
1578
  *
1447
1579
  * @remarks
1448
- * ## Product Introduction
1449
- * The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
1450
- * ## Common scenarios
1451
- * * **Efficient e-commerce image processing:**
1580
+ * # Scenarios
1581
+ * 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.
1583
+ * 2. Automated image processing and efficiency improvement:
1584
+ * 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
+ * # Features
1586
+ * **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the relevant examples in the elimination documentation (reserved text link).**
1587
+ * * Image subject: The core product area in the image.
1452
1588
  *
1453
- * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1454
- * * **Multi-platform product information synchronization:**
1589
+ * * Image background: The rest of the image other than the product subject.
1455
1590
  *
1456
- * When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
1457
- * ## Functions and features
1458
- * 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1591
+ * * Text: Horizontal, vertical, or diagonal English or Chinese text.
1459
1592
  *
1460
- * 1. Image subject: the core product area in the image.
1461
- *
1462
- * 2. Image background: the remaining part of the image other than the product subject.
1463
- *
1464
- * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1465
- * ## Effect comparison
1466
- * | **Original image** | **Image after erasure** |
1593
+ * * Logo: A logo or trademark.
1594
+ *
1595
+ * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1596
+ *
1597
+ * * Text-containing color block: A color block containing text outside the subject.
1598
+ *
1599
+ * **2. The main features of the intelligent element recognition API include:**
1600
+ * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1601
+ *
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.
1603
+ *
1604
+ * **3. Technical advantages:**
1605
+ * * 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.
1606
+ *
1607
+ * * Flexibility: Users can select the types of elements to be recognized as needed, including elements in the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
1608
+ * # Effect comparison
1609
+ * | **Original image** | **Recognition result** |
1467
1610
  * | --- | --- |
1468
- * | ![主图1-豹纹大容量千禧单肩斜跨帆布包.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) |
1469
- * | ![主图1-带柄超短半贴圆头法式假指甲.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) |
1611
+ * | ![done-image-30091469-e1be-4d31-85de-18983a358a61.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/bbd3dbca-9f91-4b57-a382-2701e90c0d46.png) | [Subject]
1612
+ * * Watermark: false
1613
+ *
1614
+ * * Logo: false
1615
+ *
1616
+ * * Text: false
1617
+ *
1618
+ * * Text-containing color block: false
1619
+ *
1620
+ * [Non-subject]
1621
+ * * Watermark: false
1622
+ *
1623
+ * * Logo: true
1624
+ *
1625
+ * * Text: true
1626
+ *
1627
+ * * Text-containing color block: false |
1628
+ * | ![image-1781169602620.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/6bcbd976-0de1-4b5e-855b-56e20a9c675c.png) | [Subject]
1629
+ * * Watermark: false
1630
+ *
1631
+ * * Logo: false
1632
+ *
1633
+ * * Text: false
1634
+ *
1635
+ * * Text-containing color block: false
1636
+ *
1637
+ * [Non-subject]
1638
+ * * Watermark: true
1639
+ *
1640
+ * * Logo: false
1641
+ *
1642
+ * * Text: true
1643
+ *
1644
+ * * Text-containing color block: true |
1470
1645
  *
1471
- * @param request - ImageRemovalProRequest
1646
+ * @param tmpReq - ImageRecognitionAsyncRequest
1472
1647
  * @param runtime - runtime options for this request RuntimeOptions
1473
- * @returns ImageRemovalProResponse
1648
+ * @returns ImageRecognitionAsyncResponse
1474
1649
  */
1475
- async imageRemovalProWithOptions(request: $_model.ImageRemovalProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProResponse> {
1476
- request.validate();
1477
- let query = { };
1478
- if (!$dara.isNull(request.async)) {
1479
- query["Async"] = request.async;
1650
+ async imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse> {
1651
+ tmpReq.validate();
1652
+ let request = new $_model.ImageRecognitionAsyncShrinkRequest({ });
1653
+ OpenApiUtil.convert(tmpReq, request);
1654
+ if (!$dara.isNull(tmpReq.nonObjectDetectElements)) {
1655
+ request.nonObjectDetectElementsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nonObjectDetectElements, "NonObjectDetectElements", "json");
1656
+ }
1657
+
1658
+ if (!$dara.isNull(tmpReq.objectDetectElements)) {
1659
+ request.objectDetectElementsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectDetectElements, "ObjectDetectElements", "json");
1480
1660
  }
1481
1661
 
1662
+ let query = { };
1482
1663
  if (!$dara.isNull(request.imageUrl)) {
1483
1664
  query["ImageUrl"] = request.imageUrl;
1484
1665
  }
1485
1666
 
1667
+ if (!$dara.isNull(request.nonObjectDetectElementsShrink)) {
1668
+ query["NonObjectDetectElements"] = request.nonObjectDetectElementsShrink;
1669
+ }
1670
+
1671
+ if (!$dara.isNull(request.objectDetectElementsShrink)) {
1672
+ query["ObjectDetectElements"] = request.objectDetectElementsShrink;
1673
+ }
1674
+
1675
+ if (!$dara.isNull(request.returnBorderPixel)) {
1676
+ query["ReturnBorderPixel"] = request.returnBorderPixel;
1677
+ }
1678
+
1679
+ if (!$dara.isNull(request.returnCharacter)) {
1680
+ query["ReturnCharacter"] = request.returnCharacter;
1681
+ }
1682
+
1683
+ if (!$dara.isNull(request.returnCharacterProp)) {
1684
+ query["ReturnCharacterProp"] = request.returnCharacterProp;
1685
+ }
1686
+
1687
+ if (!$dara.isNull(request.returnProductNum)) {
1688
+ query["ReturnProductNum"] = request.returnProductNum;
1689
+ }
1690
+
1691
+ if (!$dara.isNull(request.returnProductProp)) {
1692
+ query["ReturnProductProp"] = request.returnProductProp;
1693
+ }
1694
+
1486
1695
  let req = new $OpenApiUtil.OpenApiRequest({
1487
1696
  query: OpenApiUtil.query(query),
1488
1697
  });
1489
1698
  let params = new $OpenApiUtil.Params({
1490
- action: "ImageRemovalPro",
1699
+ action: "ImageRecognitionAsync",
1491
1700
  version: "2026-04-28",
1492
1701
  protocol: "HTTPS",
1493
1702
  pathname: "/",
@@ -1497,60 +1706,279 @@ export default class Client extends OpenApi {
1497
1706
  reqBodyType: "formData",
1498
1707
  bodyType: "json",
1499
1708
  });
1500
- return $dara.cast<$_model.ImageRemovalProResponse>(await this.callApi(params, req, runtime), new $_model.ImageRemovalProResponse({}));
1709
+ return $dara.cast<$_model.ImageRecognitionAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageRecognitionAsyncResponse({}));
1501
1710
  }
1502
1711
 
1503
1712
  /**
1504
- * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
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.
1505
1714
  *
1506
1715
  * @remarks
1507
- * ## Product Introduction
1508
- * The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
1509
- * ## Common scenarios
1510
- * * **Efficient e-commerce image processing:**
1716
+ * # Scenarios
1717
+ * 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.
1719
+ * 2. Automated image processing and efficiency improvement:
1720
+ * 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
+ * # Features
1722
+ * **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the relevant examples in the elimination documentation (reserved text link).**
1723
+ * * Image subject: The core product area in the image.
1511
1724
  *
1512
- * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1513
- * * **Multi-platform product information synchronization:**
1725
+ * * Image background: The rest of the image other than the product subject.
1514
1726
  *
1515
- * When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
1516
- * ## Functions and features
1517
- * 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1727
+ * * Text: Horizontal, vertical, or diagonal English or Chinese text.
1518
1728
  *
1519
- * 1. Image subject: the core product area in the image.
1520
- *
1521
- * 2. Image background: the remaining part of the image other than the product subject.
1522
- *
1523
- * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1524
- * ## Effect comparison
1525
- * | **Original image** | **Image after erasure** |
1526
- * | --- | --- |
1527
- * | ![主图1-豹纹大容量千禧单肩斜跨帆布包.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) |
1528
- * | ![主图1-带柄超短半贴圆头法式假指甲.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) |
1529
- *
1530
- * @param request - ImageRemovalProRequest
1531
- * @returns ImageRemovalProResponse
1532
- */
1533
- async imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse> {
1534
- let runtime = new $dara.RuntimeOptions({ });
1535
- return await this.imageRemovalProWithOptions(request, runtime);
1536
- }
1537
-
1538
- /**
1539
- * Intelligently removes unwanted elements from e-commerce images. This product automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
1540
- *
1541
- * @remarks
1542
- * # Product Introduction
1543
- * The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
1544
- * # Common scenarios
1545
- * * **Efficient e-commerce image processing:**
1729
+ * * Logo: A logo or trademark.
1546
1730
  *
1547
- * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1548
- * * **Multi-platform product information synchronization:**
1731
+ * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1549
1732
  *
1550
- * When listing products across different e-commerce platforms, quickly remove specific text and image blemishes to comply with the image standards of each platform.
1551
- * * **Marketing material preparation:**
1733
+ * * Text-containing color block: A color block containing text outside the subject.
1552
1734
  *
1553
- * Easily remove existing promotional information and quickly update images with the latest campaign details.
1735
+ * **2. The main features of the intelligent element recognition API include:**
1736
+ * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1737
+ *
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.
1739
+ *
1740
+ * **3. Technical advantages:**
1741
+ * * 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.
1742
+ *
1743
+ * * Flexibility: Users can select the types of elements to be recognized as needed, including elements in the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
1744
+ * # Effect comparison
1745
+ * | **Original image** | **Recognition result** |
1746
+ * | --- | --- |
1747
+ * | ![done-image-30091469-e1be-4d31-85de-18983a358a61.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/bbd3dbca-9f91-4b57-a382-2701e90c0d46.png) | [Subject]
1748
+ * * Watermark: false
1749
+ *
1750
+ * * Logo: false
1751
+ *
1752
+ * * Text: false
1753
+ *
1754
+ * * Text-containing color block: false
1755
+ *
1756
+ * [Non-subject]
1757
+ * * Watermark: false
1758
+ *
1759
+ * * Logo: true
1760
+ *
1761
+ * * Text: true
1762
+ *
1763
+ * * Text-containing color block: false |
1764
+ * | ![image-1781169602620.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/6bcbd976-0de1-4b5e-855b-56e20a9c675c.png) | [Subject]
1765
+ * * Watermark: false
1766
+ *
1767
+ * * Logo: false
1768
+ *
1769
+ * * Text: false
1770
+ *
1771
+ * * Text-containing color block: false
1772
+ *
1773
+ * [Non-subject]
1774
+ * * Watermark: true
1775
+ *
1776
+ * * Logo: false
1777
+ *
1778
+ * * Text: true
1779
+ *
1780
+ * * Text-containing color block: true |
1781
+ *
1782
+ * @param request - ImageRecognitionAsyncRequest
1783
+ * @returns ImageRecognitionAsyncResponse
1784
+ */
1785
+ async imageRecognitionAsync(request: $_model.ImageRecognitionAsyncRequest): Promise<$_model.ImageRecognitionAsyncResponse> {
1786
+ let runtime = new $dara.RuntimeOptions({ });
1787
+ return await this.imageRecognitionAsyncWithOptions(request, runtime);
1788
+ }
1789
+
1790
+ /**
1791
+ * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
1792
+ *
1793
+ * @remarks
1794
+ * ## Product Introduction
1795
+ * The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
1796
+ * ## Common scenarios
1797
+ * * **Efficient e-commerce image processing:**
1798
+ *
1799
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1800
+ * * **Multi-platform product information synchronization:**
1801
+ *
1802
+ * When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
1803
+ * ## Functions and features
1804
+ * 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1805
+ *
1806
+ * 1. Image subject: the core product area in the image.
1807
+ *
1808
+ * 2. Image background: the remaining part of the image other than the product subject.
1809
+ *
1810
+ * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1811
+ * ## Effect comparison
1812
+ * | **Original image** | **Image after erasure** |
1813
+ * | --- | --- |
1814
+ * | ![主图1-豹纹大容量千禧单肩斜跨帆布包.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) |
1815
+ * | ![主图1-带柄超短半贴圆头法式假指甲.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) |
1816
+ *
1817
+ * @param request - ImageRemovalProRequest
1818
+ * @param runtime - runtime options for this request RuntimeOptions
1819
+ * @returns ImageRemovalProResponse
1820
+ */
1821
+ async imageRemovalProWithOptions(request: $_model.ImageRemovalProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProResponse> {
1822
+ request.validate();
1823
+ let query = { };
1824
+ if (!$dara.isNull(request.async)) {
1825
+ query["Async"] = request.async;
1826
+ }
1827
+
1828
+ if (!$dara.isNull(request.imageUrl)) {
1829
+ query["ImageUrl"] = request.imageUrl;
1830
+ }
1831
+
1832
+ let req = new $OpenApiUtil.OpenApiRequest({
1833
+ query: OpenApiUtil.query(query),
1834
+ });
1835
+ let params = new $OpenApiUtil.Params({
1836
+ action: "ImageRemovalPro",
1837
+ version: "2026-04-28",
1838
+ protocol: "HTTPS",
1839
+ pathname: "/",
1840
+ method: "POST",
1841
+ authType: "AK",
1842
+ style: "RPC",
1843
+ reqBodyType: "formData",
1844
+ bodyType: "json",
1845
+ });
1846
+ return $dara.cast<$_model.ImageRemovalProResponse>(await this.callApi(params, req, runtime), new $_model.ImageRemovalProResponse({}));
1847
+ }
1848
+
1849
+ /**
1850
+ * Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
1851
+ *
1852
+ * @remarks
1853
+ * ## Product Introduction
1854
+ * The Intelligent Image Eraser product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows. (Synchronous/Asynchronous)
1855
+ * ## Common scenarios
1856
+ * * **Efficient e-commerce image processing:**
1857
+ *
1858
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1859
+ * * **Multi-platform product information synchronization:**
1860
+ *
1861
+ * When listing products across different e-commerce platforms, quickly remove specific text and watermarks to comply with image specifications of different platforms.
1862
+ * ## Functions and features
1863
+ * 1. First, understand the definitions of image subject and image background. When specifying objects to erase, you can choose whether the erasure scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
1864
+ *
1865
+ * 1. Image subject: the core product area in the image.
1866
+ *
1867
+ * 2. Image background: the remaining part of the image other than the product subject.
1868
+ *
1869
+ * 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
1870
+ * ## Effect comparison
1871
+ * | **Original image** | **Image after erasure** |
1872
+ * | --- | --- |
1873
+ * | ![主图1-豹纹大容量千禧单肩斜跨帆布包.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) |
1874
+ * | ![主图1-带柄超短半贴圆头法式假指甲.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) |
1875
+ *
1876
+ * @param request - ImageRemovalProRequest
1877
+ * @returns ImageRemovalProResponse
1878
+ */
1879
+ async imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse> {
1880
+ let runtime = new $dara.RuntimeOptions({ });
1881
+ return await this.imageRemovalProWithOptions(request, runtime);
1882
+ }
1883
+
1884
+ /**
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.
1886
+ *
1887
+ * @remarks
1888
+ * ## Scenarios
1889
+ * * **Efficient e-commerce image processing:**
1890
+ * 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.
1893
+ * ## 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.
1895
+ *
1896
+ * 1. Image subject: the core product area in the image.
1897
+ *
1898
+ * 2. Image background: the rest of the image other than the product subject.
1899
+ *
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** |
1903
+ * | --- | --- |
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) |
1906
+ *
1907
+ * @param request - ImageRemovalProAsyncRequest
1908
+ * @param runtime - runtime options for this request RuntimeOptions
1909
+ * @returns ImageRemovalProAsyncResponse
1910
+ */
1911
+ async imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse> {
1912
+ request.validate();
1913
+ let query = { };
1914
+ if (!$dara.isNull(request.imageUrl)) {
1915
+ query["ImageUrl"] = request.imageUrl;
1916
+ }
1917
+
1918
+ let req = new $OpenApiUtil.OpenApiRequest({
1919
+ query: OpenApiUtil.query(query),
1920
+ });
1921
+ let params = new $OpenApiUtil.Params({
1922
+ action: "ImageRemovalProAsync",
1923
+ version: "2026-04-28",
1924
+ protocol: "HTTPS",
1925
+ pathname: "/",
1926
+ method: "POST",
1927
+ authType: "AK",
1928
+ style: "RPC",
1929
+ reqBodyType: "formData",
1930
+ bodyType: "json",
1931
+ });
1932
+ return $dara.cast<$_model.ImageRemovalProAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageRemovalProAsyncResponse({}));
1933
+ }
1934
+
1935
+ /**
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.
1937
+ *
1938
+ * @remarks
1939
+ * ## Scenarios
1940
+ * * **Efficient e-commerce image processing:**
1941
+ * 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.
1944
+ * ## 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.
1946
+ *
1947
+ * 1. Image subject: the core product area in the image.
1948
+ *
1949
+ * 2. Image background: the rest of the image other than the product subject.
1950
+ *
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** |
1954
+ * | --- | --- |
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) |
1957
+ *
1958
+ * @param request - ImageRemovalProAsyncRequest
1959
+ * @returns ImageRemovalProAsyncResponse
1960
+ */
1961
+ async imageRemovalProAsync(request: $_model.ImageRemovalProAsyncRequest): Promise<$_model.ImageRemovalProAsyncResponse> {
1962
+ let runtime = new $dara.RuntimeOptions({ });
1963
+ return await this.imageRemovalProAsyncWithOptions(request, runtime);
1964
+ }
1965
+
1966
+ /**
1967
+ * Intelligently removes unwanted elements from e-commerce images. This product automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
1968
+ *
1969
+ * @remarks
1970
+ * # Product Introduction
1971
+ * The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
1972
+ * # Common scenarios
1973
+ * * **Efficient e-commerce image processing:**
1974
+ *
1975
+ * Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
1976
+ * * **Multi-platform product information synchronization:**
1977
+ *
1978
+ * When listing products across different e-commerce platforms, quickly remove specific text and image blemishes to comply with the image standards of each platform.
1979
+ * * **Marketing material preparation:**
1980
+ *
1981
+ * Easily remove existing promotional information and quickly update images with the latest campaign details.
1554
1982
  * > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this product together with the Intelligent Recognition API (coming soon). First, filter out images that contain text, specific names, transparent text blocks, and image blemishes, and then use the Intelligent Removal API for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Removal API focuses on "removal". By calling them in sequence, you can maximize removal effectiveness and reduce false removals and false identifications.
1555
1983
  * # Features
1556
1984
  * 1. First, understand the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
@@ -1788,58 +2216,300 @@ export default class Client extends OpenApi {
1788
2216
  }
1789
2217
 
1790
2218
  /**
1791
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
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.
1792
2220
  *
1793
2221
  * @remarks
1794
- * ## Product Introduction
1795
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
1796
- * Supported language pairs:
1797
- * | **No.** | **Source language** | | **Target language** | |
1798
- * | --- | --- | --- | --- | --- |
1799
- * | | Language code | Language name | Language code | Language name |
1800
- * | 1 | en | English | ar | Arabic |
1801
- * | 2 | en | English | id | Indonesian |
1802
- * | 3 | en | English | th | Thai |
1803
- * | 4 | en | English | ko | Korean |
1804
- * | 5 | en | English | ja | Japanese |
1805
- * | 6 | en | English | vi | Vietnamese |
1806
- * | 7 | en | English | ru | Russian |
1807
- * | 8 | en | English | tl | Filipino |
1808
- * | 9 | en | English | es | Spanish |
1809
- * | 10 | en | English | fr | French |
1810
- * | 11 | en | English | de | German |
1811
- * | 12 | en | English | pl | Polish |
1812
2222
  * ## Scenarios
1813
- * Main product images and detail images for cross-border e-commerce.
2223
+ * * **Efficient processing of e-commerce images:**
2224
+ * 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:**
2228
+ * 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".
1814
2230
  * ## Features
1815
- * * **Product body information protection**: Allows you to choose whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
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.
1816
2232
  *
1817
- * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
2233
+ * 1. Image subject: the core product area in the image.
2234
+ *
2235
+ * 2. Image background: the rest of the image other than the product subject.
2236
+ *
2237
+ * 2. Second, the objects to remove support the following three cases:
1818
2238
  *
1819
- * * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1820
- *
1821
- * @param request - ImageTranslationPlusRequest
1822
- * @param runtime - runtime options for this request RuntimeOptions
1823
- * @returns ImageTranslationPlusResponse
1824
- */
1825
- async imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse> {
1826
- request.validate();
1827
- let body : {[key: string ]: any} = { };
1828
- if (!$dara.isNull(request.glossary)) {
1829
- body["Glossary"] = request.glossary;
1830
- }
1831
-
1832
- if (!$dara.isNull(request.imageUrl)) {
1833
- body["ImageUrl"] = request.imageUrl;
1834
- }
1835
-
1836
- if (!$dara.isNull(request.includingProductArea)) {
1837
- body["IncludingProductArea"] = request.includingProductArea;
1838
- }
1839
-
1840
- if (!$dara.isNull(request.sourceLanguage)) {
1841
- body["SourceLanguage"] = request.sourceLanguage;
1842
- }
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.
2240
+ *
2241
+ * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2242
+ *
2243
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2244
+ *
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.
2246
+ * ## Effect comparison
2247
+ * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2248
+ * | --- | --- | --- |
2249
+ * | Text | * Involves the image subject area
2250
+ *
2251
+ * ![done-image-4a2a96c2-9ac6-4b35-b76b-a6eac303740f (1).png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d72a7982-e761-4b45-af1e-f8f90b3f1fc3.png)
2252
+ *
2253
+ * * Does not involve the image subject area
2254
+ *
2255
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
2256
+ *
2257
+ * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
2258
+ * * Does not involve the image subject area
2259
+ *
2260
+ * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
2261
+ * | Specific names | * Involves the image subject area
2262
+ *
2263
+ * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
2264
+ *
2265
+ * * Does not involve the image subject area
2266
+ *
2267
+ * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involves the image subject area
2268
+ *
2269
+ * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
2270
+ * * Does not involve the image subject area
2271
+ *
2272
+ * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
2273
+ * | Transparent text blocks | * Involves the image subject area
2274
+ *
2275
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
2276
+ *
2277
+ * * Does not involve the image subject area
2278
+ *
2279
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
2280
+ *
2281
+ * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
2282
+ * * Does not involve the image subject area
2283
+ *
2284
+ * ![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
2286
+ *
2287
+ * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2288
+ *
2289
+ * * Does not involve the image subject area
2290
+ *
2291
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
2292
+ *
2293
+ * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
2294
+ * * Does not involve the image subject area
2295
+ *
2296
+ * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2297
+ * | 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) |
2299
+ *
2300
+ * @param tmpReq - ImageRemoveAsyncRequest
2301
+ * @param runtime - runtime options for this request RuntimeOptions
2302
+ * @returns ImageRemoveAsyncResponse
2303
+ */
2304
+ async imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse> {
2305
+ tmpReq.validate();
2306
+ let request = new $_model.ImageRemoveAsyncShrinkRequest({ });
2307
+ OpenApiUtil.convert(tmpReq, request);
2308
+ if (!$dara.isNull(tmpReq.nonObjectRemoveElements)) {
2309
+ request.nonObjectRemoveElementsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nonObjectRemoveElements, "NonObjectRemoveElements", "json");
2310
+ }
2311
+
2312
+ if (!$dara.isNull(tmpReq.objectRemoveElements)) {
2313
+ request.objectRemoveElementsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectRemoveElements, "ObjectRemoveElements", "json");
2314
+ }
2315
+
2316
+ if (!$dara.isNull(tmpReq.userImage)) {
2317
+ request.userImageShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userImage, "UserImage", "json");
2318
+ }
2319
+
2320
+ if (!$dara.isNull(tmpReq.userText)) {
2321
+ request.userTextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userText, "UserText", "json");
2322
+ }
2323
+
2324
+ let query = { };
2325
+ if (!$dara.isNull(request.imageUrl)) {
2326
+ query["ImageUrl"] = request.imageUrl;
2327
+ }
2328
+
2329
+ if (!$dara.isNull(request.mask)) {
2330
+ query["Mask"] = request.mask;
2331
+ }
2332
+
2333
+ if (!$dara.isNull(request.nonObjectRemoveElementsShrink)) {
2334
+ query["NonObjectRemoveElements"] = request.nonObjectRemoveElementsShrink;
2335
+ }
2336
+
2337
+ if (!$dara.isNull(request.objectRemoveElementsShrink)) {
2338
+ query["ObjectRemoveElements"] = request.objectRemoveElementsShrink;
2339
+ }
2340
+
2341
+ if (!$dara.isNull(request.position)) {
2342
+ query["Position"] = request.position;
2343
+ }
2344
+
2345
+ if (!$dara.isNull(request.userImageShrink)) {
2346
+ query["UserImage"] = request.userImageShrink;
2347
+ }
2348
+
2349
+ if (!$dara.isNull(request.userTextShrink)) {
2350
+ query["UserText"] = request.userTextShrink;
2351
+ }
2352
+
2353
+ let req = new $OpenApiUtil.OpenApiRequest({
2354
+ query: OpenApiUtil.query(query),
2355
+ });
2356
+ let params = new $OpenApiUtil.Params({
2357
+ action: "ImageRemoveAsync",
2358
+ version: "2026-04-28",
2359
+ protocol: "HTTPS",
2360
+ pathname: "/",
2361
+ method: "POST",
2362
+ authType: "AK",
2363
+ style: "RPC",
2364
+ reqBodyType: "formData",
2365
+ bodyType: "json",
2366
+ });
2367
+ return $dara.cast<$_model.ImageRemoveAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageRemoveAsyncResponse({}));
2368
+ }
2369
+
2370
+ /**
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.
2372
+ *
2373
+ * @remarks
2374
+ * ## Scenarios
2375
+ * * **Efficient processing of e-commerce images:**
2376
+ * 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:**
2380
+ * 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".
2382
+ * ## 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.
2384
+ *
2385
+ * 1. Image subject: the core product area in the image.
2386
+ *
2387
+ * 2. Image background: the rest of the image other than the product subject.
2388
+ *
2389
+ * 2. Second, the objects to remove support the following three cases:
2390
+ *
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.
2392
+ *
2393
+ * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
2394
+ *
2395
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
2396
+ *
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.
2398
+ * ## Effect comparison
2399
+ * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
2400
+ * | --- | --- | --- |
2401
+ * | Text | * Involves the image subject area
2402
+ *
2403
+ * ![done-image-4a2a96c2-9ac6-4b35-b76b-a6eac303740f (1).png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d72a7982-e761-4b45-af1e-f8f90b3f1fc3.png)
2404
+ *
2405
+ * * Does not involve the image subject area
2406
+ *
2407
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
2408
+ *
2409
+ * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
2410
+ * * Does not involve the image subject area
2411
+ *
2412
+ * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
2413
+ * | Specific names | * Involves the image subject area
2414
+ *
2415
+ * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
2416
+ *
2417
+ * * Does not involve the image subject area
2418
+ *
2419
+ * ![done-image-29a89f03-964a-455e-968c-7c8d5282ebbb.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/2db445c8-6bdd-424e-b6a7-2ddb46e6786d.png) | * Involves the image subject area
2420
+ *
2421
+ * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
2422
+ * * Does not involve the image subject area
2423
+ *
2424
+ * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
2425
+ * | Transparent text blocks | * Involves the image subject area
2426
+ *
2427
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
2428
+ *
2429
+ * * Does not involve the image subject area
2430
+ *
2431
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
2432
+ *
2433
+ * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
2434
+ * * Does not involve the image subject area
2435
+ *
2436
+ * ![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
2438
+ *
2439
+ * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
2440
+ *
2441
+ * * Does not involve the image subject area
2442
+ *
2443
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
2444
+ *
2445
+ * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
2446
+ * * Does not involve the image subject area
2447
+ *
2448
+ * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
2449
+ * | 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) |
2451
+ *
2452
+ * @param request - ImageRemoveAsyncRequest
2453
+ * @returns ImageRemoveAsyncResponse
2454
+ */
2455
+ async imageRemoveAsync(request: $_model.ImageRemoveAsyncRequest): Promise<$_model.ImageRemoveAsyncResponse> {
2456
+ let runtime = new $dara.RuntimeOptions({ });
2457
+ return await this.imageRemoveAsyncWithOptions(request, runtime);
2458
+ }
2459
+
2460
+ /**
2461
+ * Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
2462
+ *
2463
+ * @remarks
2464
+ * ## Product Introduction
2465
+ * Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. Use it for the following 12 language pairs. More language pairs will be supported in the future.
2466
+ * Supported language pairs:
2467
+ * | **No.** | **Source language** | | **Target language** | |
2468
+ * | --- | --- | --- | --- | --- |
2469
+ * | | Language code | Language name | Language code | Language name |
2470
+ * | 1 | en | English | ar | Arabic |
2471
+ * | 2 | en | English | id | Indonesian |
2472
+ * | 3 | en | English | th | Thai |
2473
+ * | 4 | en | English | ko | Korean |
2474
+ * | 5 | en | English | ja | Japanese |
2475
+ * | 6 | en | English | vi | Vietnamese |
2476
+ * | 7 | en | English | ru | Russian |
2477
+ * | 8 | en | English | tl | Filipino |
2478
+ * | 9 | en | English | es | Spanish |
2479
+ * | 10 | en | English | fr | French |
2480
+ * | 11 | en | English | de | German |
2481
+ * | 12 | en | English | pl | Polish |
2482
+ * ## Scenarios
2483
+ * Main product images and detail images for cross-border e-commerce.
2484
+ * ## Features
2485
+ * * **Product body information protection**: Allows you to choose whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
2486
+ *
2487
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
2488
+ *
2489
+ * * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC→ABC), specifying a translation (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2490
+ *
2491
+ * @param request - ImageTranslationPlusRequest
2492
+ * @param runtime - runtime options for this request RuntimeOptions
2493
+ * @returns ImageTranslationPlusResponse
2494
+ */
2495
+ async imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse> {
2496
+ request.validate();
2497
+ let body : {[key: string ]: any} = { };
2498
+ if (!$dara.isNull(request.glossary)) {
2499
+ body["Glossary"] = request.glossary;
2500
+ }
2501
+
2502
+ if (!$dara.isNull(request.imageUrl)) {
2503
+ body["ImageUrl"] = request.imageUrl;
2504
+ }
2505
+
2506
+ if (!$dara.isNull(request.includingProductArea)) {
2507
+ body["IncludingProductArea"] = request.includingProductArea;
2508
+ }
2509
+
2510
+ if (!$dara.isNull(request.sourceLanguage)) {
2511
+ body["SourceLanguage"] = request.sourceLanguage;
2512
+ }
1843
2513
 
1844
2514
  if (!$dara.isNull(request.targetLanguage)) {
1845
2515
  body["TargetLanguage"] = request.targetLanguage;
@@ -1871,11 +2541,11 @@ export default class Client extends OpenApi {
1871
2541
  }
1872
2542
 
1873
2543
  /**
1874
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
2544
+ * Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
1875
2545
  *
1876
2546
  * @remarks
1877
2547
  * ## Product Introduction
1878
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
2548
+ * Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. Use it for the following 12 language pairs. More language pairs will be supported in the future.
1879
2549
  * Supported language pairs:
1880
2550
  * | **No.** | **Source language** | | **Target language** | |
1881
2551
  * | --- | --- | --- | --- | --- |
@@ -1899,7 +2569,7 @@ export default class Client extends OpenApi {
1899
2569
  *
1900
2570
  * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1901
2571
  *
1902
- * * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2572
+ * * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC→ABC), specifying a translation (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1903
2573
  *
1904
2574
  * @param request - ImageTranslationPlusRequest
1905
2575
  * @returns ImageTranslationPlusResponse
@@ -1910,18 +2580,142 @@ export default class Client extends OpenApi {
1910
2580
  }
1911
2581
 
1912
2582
  /**
1913
- * Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
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.
2584
+ *
2585
+ * @remarks
2586
+ * ## Scenarios
2587
+ * Main images and detail images for cross-border e-commerce.
2588
+ * ## 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.
2590
+ *
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.
2592
+ *
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.
2594
+ * ## Supported language pairs
2595
+ * | **No.** | **Source language** | | **Target language** | |
2596
+ * | --- | --- | --- | --- | --- |
2597
+ * | | Language code | Language name | Language code | Language name |
2598
+ * | 1 | en | English | ar | Arabic |
2599
+ * | 2 | en | English | id | Indonesian |
2600
+ * | 3 | en | English | th | Thai |
2601
+ * | 4 | en | English | ko | Korean |
2602
+ * | 5 | en | English | ja | Japanese |
2603
+ * | 6 | en | English | vi | Vietnamese |
2604
+ * | 7 | en | English | ru | Russian |
2605
+ * | 8 | en | English | tl | Filipino |
2606
+ * | 9 | en | English | es | Spanish |
2607
+ * | 10 | en | English | fr | French |
2608
+ * | 11 | en | English | de | German |
2609
+ * | 12 | en | English | pl | Polish |
2610
+ * ## 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).
2613
+ *
2614
+ * @param request - ImageTranslationPlusAsyncRequest
2615
+ * @param runtime - runtime options for this request RuntimeOptions
2616
+ * @returns ImageTranslationPlusAsyncResponse
2617
+ */
2618
+ async imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse> {
2619
+ request.validate();
2620
+ let query = { };
2621
+ if (!$dara.isNull(request.glossary)) {
2622
+ query["Glossary"] = request.glossary;
2623
+ }
2624
+
2625
+ if (!$dara.isNull(request.imageUrl)) {
2626
+ query["ImageUrl"] = request.imageUrl;
2627
+ }
2628
+
2629
+ if (!$dara.isNull(request.includingProductArea)) {
2630
+ query["IncludingProductArea"] = request.includingProductArea;
2631
+ }
2632
+
2633
+ if (!$dara.isNull(request.sourceLanguage)) {
2634
+ query["SourceLanguage"] = request.sourceLanguage;
2635
+ }
2636
+
2637
+ if (!$dara.isNull(request.targetLanguage)) {
2638
+ query["TargetLanguage"] = request.targetLanguage;
2639
+ }
2640
+
2641
+ if (!$dara.isNull(request.translatingBrandInTheProduct)) {
2642
+ query["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
2643
+ }
2644
+
2645
+ if (!$dara.isNull(request.useImageEditor)) {
2646
+ query["UseImageEditor"] = request.useImageEditor;
2647
+ }
2648
+
2649
+ let req = new $OpenApiUtil.OpenApiRequest({
2650
+ query: OpenApiUtil.query(query),
2651
+ });
2652
+ let params = new $OpenApiUtil.Params({
2653
+ action: "ImageTranslationPlusAsync",
2654
+ version: "2026-04-28",
2655
+ protocol: "HTTPS",
2656
+ pathname: "/",
2657
+ method: "POST",
2658
+ authType: "AK",
2659
+ style: "RPC",
2660
+ reqBodyType: "formData",
2661
+ bodyType: "json",
2662
+ });
2663
+ return $dara.cast<$_model.ImageTranslationPlusAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusAsyncResponse({}));
2664
+ }
2665
+
2666
+ /**
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.
2668
+ *
2669
+ * @remarks
2670
+ * ## Scenarios
2671
+ * Main images and detail images for cross-border e-commerce.
2672
+ * ## 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.
2674
+ *
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.
2676
+ *
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.
2678
+ * ## Supported language pairs
2679
+ * | **No.** | **Source language** | | **Target language** | |
2680
+ * | --- | --- | --- | --- | --- |
2681
+ * | | Language code | Language name | Language code | Language name |
2682
+ * | 1 | en | English | ar | Arabic |
2683
+ * | 2 | en | English | id | Indonesian |
2684
+ * | 3 | en | English | th | Thai |
2685
+ * | 4 | en | English | ko | Korean |
2686
+ * | 5 | en | English | ja | Japanese |
2687
+ * | 6 | en | English | vi | Vietnamese |
2688
+ * | 7 | en | English | ru | Russian |
2689
+ * | 8 | en | English | tl | Filipino |
2690
+ * | 9 | en | English | es | Spanish |
2691
+ * | 10 | en | English | fr | French |
2692
+ * | 11 | en | English | de | German |
2693
+ * | 12 | en | English | pl | Polish |
2694
+ * ## 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).
2697
+ *
2698
+ * @param request - ImageTranslationPlusAsyncRequest
2699
+ * @returns ImageTranslationPlusAsyncResponse
2700
+ */
2701
+ async imageTranslationPlusAsync(request: $_model.ImageTranslationPlusAsyncRequest): Promise<$_model.ImageTranslationPlusAsyncResponse> {
2702
+ let runtime = new $dara.RuntimeOptions({ });
2703
+ return await this.imageTranslationPlusAsyncWithOptions(request, runtime);
2704
+ }
2705
+
2706
+ /**
2707
+ * Translates images using the Pro edition, which is designed for e-commerce images. This edition integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
1914
2708
  *
1915
2709
  * @remarks
1916
2710
  * ## Product Introduction
1917
- * Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
2711
+ * The Image Translation Pro edition is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
1918
2712
  * ## Scenarios
1919
2713
  * E-commerce product images, marketing images, and images for various other scenarios.
1920
- * ## Features
1921
- * - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
1922
- * - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
1923
- * - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
1924
- * - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2714
+ * ## Functions and features
2715
+ * - **Product subject information protection**: You can choose whether to translate text on the product subject, which helps protect subject information such as embedded product names from being translated.
2716
+ * - **Post-translation editing**: You can choose whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
2717
+ * - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
2718
+ * - **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC→ABC), specifying translations (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1925
2719
  * - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1926
2720
  *
1927
2721
  * @param request - ImageTranslationProRequest
@@ -1944,30 +2738,221 @@ export default class Client extends OpenApi {
1944
2738
  }
1945
2739
 
1946
2740
  if (!$dara.isNull(request.includingProductArea)) {
1947
- body["IncludingProductArea"] = request.includingProductArea;
2741
+ body["IncludingProductArea"] = request.includingProductArea;
2742
+ }
2743
+
2744
+ if (!$dara.isNull(request.sourceLanguage)) {
2745
+ body["SourceLanguage"] = request.sourceLanguage;
2746
+ }
2747
+
2748
+ if (!$dara.isNull(request.targetLanguage)) {
2749
+ body["TargetLanguage"] = request.targetLanguage;
2750
+ }
2751
+
2752
+ if (!$dara.isNull(request.translatingBrandInTheProduct)) {
2753
+ body["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
2754
+ }
2755
+
2756
+ if (!$dara.isNull(request.useImageEditor)) {
2757
+ body["UseImageEditor"] = request.useImageEditor;
2758
+ }
2759
+
2760
+ let req = new $OpenApiUtil.OpenApiRequest({
2761
+ body: OpenApiUtil.parseToMap(body),
2762
+ });
2763
+ let params = new $OpenApiUtil.Params({
2764
+ action: "ImageTranslationPro",
2765
+ version: "2026-04-28",
2766
+ protocol: "HTTPS",
2767
+ pathname: "/",
2768
+ method: "POST",
2769
+ authType: "AK",
2770
+ style: "RPC",
2771
+ reqBodyType: "formData",
2772
+ bodyType: "json",
2773
+ });
2774
+ return $dara.cast<$_model.ImageTranslationProResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
2775
+ }
2776
+
2777
+ /**
2778
+ * Translates images using the Pro edition, which is designed for e-commerce images. This edition integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
2779
+ *
2780
+ * @remarks
2781
+ * ## Product Introduction
2782
+ * The Image Translation Pro edition is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
2783
+ * ## Scenarios
2784
+ * E-commerce product images, marketing images, and images for various other scenarios.
2785
+ * ## Functions and features
2786
+ * - **Product subject information protection**: You can choose whether to translate text on the product subject, which helps protect subject information such as embedded product names from being translated.
2787
+ * - **Post-translation editing**: You can choose whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
2788
+ * - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
2789
+ * - **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC→ABC), specifying translations (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2790
+ * - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
2791
+ *
2792
+ * @param request - ImageTranslationProRequest
2793
+ * @returns ImageTranslationProResponse
2794
+ */
2795
+ async imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse> {
2796
+ let runtime = new $dara.RuntimeOptions({ });
2797
+ return await this.imageTranslationProWithOptions(request, runtime);
2798
+ }
2799
+
2800
+ /**
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.
2802
+ *
2803
+ * @remarks
2804
+ * ## Scenarios
2805
+ * E-commerce product images, marketing images, and images in various other scenarios.
2806
+ * ## 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.
2808
+ *
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.
2810
+ *
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.
2812
+ *
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.
2814
+ * ## 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).
2818
+ *
2819
+ * @param request - ImageTranslationProAsyncRequest
2820
+ * @param runtime - runtime options for this request RuntimeOptions
2821
+ * @returns ImageTranslationProAsyncResponse
2822
+ */
2823
+ async imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse> {
2824
+ request.validate();
2825
+ let query = { };
2826
+ if (!$dara.isNull(request.glossary)) {
2827
+ query["Glossary"] = request.glossary;
2828
+ }
2829
+
2830
+ if (!$dara.isNull(request.imageUrl)) {
2831
+ query["ImageUrl"] = request.imageUrl;
2832
+ }
2833
+
2834
+ if (!$dara.isNull(request.includingProductArea)) {
2835
+ query["IncludingProductArea"] = request.includingProductArea;
2836
+ }
2837
+
2838
+ if (!$dara.isNull(request.sourceLanguage)) {
2839
+ query["SourceLanguage"] = request.sourceLanguage;
2840
+ }
2841
+
2842
+ if (!$dara.isNull(request.targetLanguage)) {
2843
+ query["TargetLanguage"] = request.targetLanguage;
2844
+ }
2845
+
2846
+ if (!$dara.isNull(request.translatingBrandInTheProduct)) {
2847
+ query["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
2848
+ }
2849
+
2850
+ if (!$dara.isNull(request.useImageEditor)) {
2851
+ query["UseImageEditor"] = request.useImageEditor;
2852
+ }
2853
+
2854
+ let req = new $OpenApiUtil.OpenApiRequest({
2855
+ query: OpenApiUtil.query(query),
2856
+ });
2857
+ let params = new $OpenApiUtil.Params({
2858
+ action: "ImageTranslationProAsync",
2859
+ version: "2026-04-28",
2860
+ protocol: "HTTPS",
2861
+ pathname: "/",
2862
+ method: "POST",
2863
+ authType: "AK",
2864
+ style: "RPC",
2865
+ reqBodyType: "formData",
2866
+ bodyType: "json",
2867
+ });
2868
+ return $dara.cast<$_model.ImageTranslationProAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationProAsyncResponse({}));
2869
+ }
2870
+
2871
+ /**
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.
2873
+ *
2874
+ * @remarks
2875
+ * ## Scenarios
2876
+ * E-commerce product images, marketing images, and images in various other scenarios.
2877
+ * ## 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.
2879
+ *
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.
2881
+ *
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.
2883
+ *
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.
2885
+ * ## 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).
2889
+ *
2890
+ * @param request - ImageTranslationProAsyncRequest
2891
+ * @returns ImageTranslationProAsyncResponse
2892
+ */
2893
+ async imageTranslationProAsync(request: $_model.ImageTranslationProAsyncRequest): Promise<$_model.ImageTranslationProAsyncResponse> {
2894
+ let runtime = new $dara.RuntimeOptions({ });
2895
+ return await this.imageTranslationProAsyncWithOptions(request, runtime);
2896
+ }
2897
+
2898
+ /**
2899
+ * Translates text in images with support for over 400 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
2900
+ *
2901
+ * @remarks
2902
+ * # 1. Product Introduction
2903
+ * The image translation product is designed specifically for e-commerce images, supporting over 400 language directions (including bridging). It accurately handles 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 rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
2904
+ * # 2. Common scenarios
2905
+ * E-commerce product images, marketing images, and images for various other scenarios.
2906
+ * # 3. Features
2907
+ * * **Product subject information protection**: Allows you to choose whether to translate text on the product subject, helping protect subject information from being translated and avoiding translation of embedded information such as product names.
2908
+ *
2909
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
2910
+ *
2911
+ * * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color, which can be used to connect to an image editor for secondary editing of translation results. Follow platform notifications for updates on the editor SDK package release.
2912
+ *
2913
+ * * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand term protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
2914
+ * <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
2915
+ *
2916
+ * @param request - ImageTranslationStandardRequest
2917
+ * @param runtime - runtime options for this request RuntimeOptions
2918
+ * @returns ImageTranslationStandardResponse
2919
+ */
2920
+ async imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse> {
2921
+ request.validate();
2922
+ let query = { };
2923
+ if (!$dara.isNull(request.glossary)) {
2924
+ query["Glossary"] = request.glossary;
2925
+ }
2926
+
2927
+ if (!$dara.isNull(request.imageUrl)) {
2928
+ query["ImageUrl"] = request.imageUrl;
2929
+ }
2930
+
2931
+ if (!$dara.isNull(request.includingProductArea)) {
2932
+ query["IncludingProductArea"] = request.includingProductArea;
1948
2933
  }
1949
2934
 
1950
2935
  if (!$dara.isNull(request.sourceLanguage)) {
1951
- body["SourceLanguage"] = request.sourceLanguage;
2936
+ query["SourceLanguage"] = request.sourceLanguage;
1952
2937
  }
1953
2938
 
1954
2939
  if (!$dara.isNull(request.targetLanguage)) {
1955
- body["TargetLanguage"] = request.targetLanguage;
2940
+ query["TargetLanguage"] = request.targetLanguage;
1956
2941
  }
1957
2942
 
1958
2943
  if (!$dara.isNull(request.translatingBrandInTheProduct)) {
1959
- body["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
2944
+ query["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
1960
2945
  }
1961
2946
 
1962
2947
  if (!$dara.isNull(request.useImageEditor)) {
1963
- body["UseImageEditor"] = request.useImageEditor;
2948
+ query["UseImageEditor"] = request.useImageEditor;
1964
2949
  }
1965
2950
 
1966
2951
  let req = new $OpenApiUtil.OpenApiRequest({
1967
- body: OpenApiUtil.parseToMap(body),
2952
+ query: OpenApiUtil.query(query),
1968
2953
  });
1969
2954
  let params = new $OpenApiUtil.Params({
1970
- action: "ImageTranslationPro",
2955
+ action: "ImageTranslationStandard",
1971
2956
  version: "2026-04-28",
1972
2957
  protocol: "HTTPS",
1973
2958
  pathname: "/",
@@ -1977,55 +2962,59 @@ export default class Client extends OpenApi {
1977
2962
  reqBodyType: "formData",
1978
2963
  bodyType: "json",
1979
2964
  });
1980
- return $dara.cast<$_model.ImageTranslationProResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationProResponse({}));
2965
+ return $dara.cast<$_model.ImageTranslationStandardResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardResponse({}));
1981
2966
  }
1982
2967
 
1983
2968
  /**
1984
- * Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
2969
+ * Translates text in images with support for over 400 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
1985
2970
  *
1986
2971
  * @remarks
1987
- * ## Product Introduction
1988
- * Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
1989
- * ## Scenarios
2972
+ * # 1. Product Introduction
2973
+ * The image translation product is designed specifically for e-commerce images, supporting over 400 language directions (including bridging). It accurately handles 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 rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
2974
+ * # 2. Common scenarios
1990
2975
  * E-commerce product images, marketing images, and images for various other scenarios.
1991
- * ## Features
1992
- * - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
1993
- * - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
1994
- * - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
1995
- * - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1996
- * - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
2976
+ * # 3. Features
2977
+ * * **Product subject information protection**: Allows you to choose whether to translate text on the product subject, helping protect subject information from being translated and avoiding translation of embedded information such as product names.
2978
+ *
2979
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
2980
+ *
2981
+ * * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color, which can be used to connect to an image editor for secondary editing of translation results. Follow platform notifications for updates on the editor SDK package release.
2982
+ *
2983
+ * * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand term protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
2984
+ * <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1997
2985
  *
1998
- * @param request - ImageTranslationProRequest
1999
- * @returns ImageTranslationProResponse
2986
+ * @param request - ImageTranslationStandardRequest
2987
+ * @returns ImageTranslationStandardResponse
2000
2988
  */
2001
- async imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse> {
2989
+ async imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse> {
2002
2990
  let runtime = new $dara.RuntimeOptions({ });
2003
- return await this.imageTranslationProWithOptions(request, runtime);
2991
+ return await this.imageTranslationStandardWithOptions(request, runtime);
2004
2992
  }
2005
2993
 
2006
2994
  /**
2007
- * Image Translation is designed specifically for e-commerce images. It supports more than 400 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, which facilitates secondary editing of translation results through an image editor.
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.
2008
2996
  *
2009
2997
  * @remarks
2010
- * # 1. Product Introduction
2011
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, which facilitates secondary editing of translation results through an image editor.
2012
- * # 2. Common scenarios
2998
+ * ## Scenarios
2013
2999
  * E-commerce product images, marketing images, and images for various other scenarios.
2014
- * # 3. Features
2015
- * * **Product area protection**: You can choose whether to translate text on the product area of an image. This helps protect product area information from being translated, such as embedded product names.
3000
+ * ## 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.
2016
3002
  *
2017
- * * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
3003
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
2018
3004
  *
2019
- * * **Secondary editing after translation (layer information)**: You can choose whether to return layer information such as text position, font, and color. This information can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
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.
2020
3006
  *
2021
- * * **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2022
- * * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
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.
3008
+ * ## 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).
2023
3012
  *
2024
- * @param request - ImageTranslationStandardRequest
3013
+ * @param request - ImageTranslationStandardAsyncRequest
2025
3014
  * @param runtime - runtime options for this request RuntimeOptions
2026
- * @returns ImageTranslationStandardResponse
3015
+ * @returns ImageTranslationStandardAsyncResponse
2027
3016
  */
2028
- async imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse> {
3017
+ async imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse> {
2029
3018
  request.validate();
2030
3019
  let query = { };
2031
3020
  if (!$dara.isNull(request.glossary)) {
@@ -2060,7 +3049,7 @@ export default class Client extends OpenApi {
2060
3049
  query: OpenApiUtil.query(query),
2061
3050
  });
2062
3051
  let params = new $OpenApiUtil.Params({
2063
- action: "ImageTranslationStandard",
3052
+ action: "ImageTranslationStandardAsync",
2064
3053
  version: "2026-04-28",
2065
3054
  protocol: "HTTPS",
2066
3055
  pathname: "/",
@@ -2070,33 +3059,34 @@ export default class Client extends OpenApi {
2070
3059
  reqBodyType: "formData",
2071
3060
  bodyType: "json",
2072
3061
  });
2073
- return $dara.cast<$_model.ImageTranslationStandardResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardResponse({}));
3062
+ return $dara.cast<$_model.ImageTranslationStandardAsyncResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationStandardAsyncResponse({}));
2074
3063
  }
2075
3064
 
2076
3065
  /**
2077
- * Image Translation is designed specifically for e-commerce images. It supports more than 400 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, which facilitates secondary editing of translation results through an image editor.
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.
2078
3067
  *
2079
3068
  * @remarks
2080
- * # 1. Product Introduction
2081
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, which facilitates secondary editing of translation results through an image editor.
2082
- * # 2. Common scenarios
3069
+ * ## Scenarios
2083
3070
  * E-commerce product images, marketing images, and images for various other scenarios.
2084
- * # 3. Features
2085
- * * **Product area protection**: You can choose whether to translate text on the product area of an image. This helps protect product area information from being translated, such as embedded product names.
3071
+ * ## 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.
2086
3073
  *
2087
- * * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
3074
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
2088
3075
  *
2089
- * * **Secondary editing after translation (layer information)**: You can choose whether to return layer information such as text position, font, and color. This information can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
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.
2090
3077
  *
2091
- * * **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
2092
- * * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
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.
3079
+ * ## 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).
2093
3083
  *
2094
- * @param request - ImageTranslationStandardRequest
2095
- * @returns ImageTranslationStandardResponse
3084
+ * @param request - ImageTranslationStandardAsyncRequest
3085
+ * @returns ImageTranslationStandardAsyncResponse
2096
3086
  */
2097
- async imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse> {
3087
+ async imageTranslationStandardAsync(request: $_model.ImageTranslationStandardAsyncRequest): Promise<$_model.ImageTranslationStandardAsyncResponse> {
2098
3088
  let runtime = new $dara.RuntimeOptions({ });
2099
- return await this.imageTranslationStandardWithOptions(request, runtime);
3089
+ return await this.imageTranslationStandardAsyncWithOptions(request, runtime);
2100
3090
  }
2101
3091
 
2102
3092
  /**
@@ -2349,6 +3339,70 @@ export default class Client extends OpenApi {
2349
3339
  return await this.merchandisePlacementDetectionWithOptions(request, runtime);
2350
3340
  }
2351
3341
 
3342
+ /**
3343
+ * Detects product displays in photos of shelves, endcaps, freezers, display tables, and dump bins by using product SKU recognition and multimodal large model grounding. It aggregates product locations by SKU and supplements the results with visible single-item grounding and short names to facilitate product location display, display inventory, and subsequent distribution verification in business systems.
3344
+ *
3345
+ * @remarks
3346
+ * ## Scenarios
3347
+ * - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
3348
+ * - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
3349
+ * - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
3350
+ * ## Features
3351
+ * - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
3352
+ * - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
3353
+ * - Independent use of two result sets: Products comes from SKU recognition, and grounding comes from supplementary grounding. Grounding does not return SKU codes and does not guarantee item-by-item correspondence with Products.
3354
+ * - Supports single HTTPS image input. Supplementary grounding returns up to 12 targets, each containing a category, a bounding box, and visible text of up to 24 characters. The coverage field indicates whether the grounding is complete.
3355
+ *
3356
+ * @param request - MerchandisePlacementDetectionLiteRequest
3357
+ * @param runtime - runtime options for this request RuntimeOptions
3358
+ * @returns MerchandisePlacementDetectionLiteResponse
3359
+ */
3360
+ async merchandisePlacementDetectionLiteWithOptions(request: $_model.MerchandisePlacementDetectionLiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionLiteResponse> {
3361
+ request.validate();
3362
+ let query = { };
3363
+ if (!$dara.isNull(request.imageUrl)) {
3364
+ query["ImageUrl"] = request.imageUrl;
3365
+ }
3366
+
3367
+ let req = new $OpenApiUtil.OpenApiRequest({
3368
+ query: OpenApiUtil.query(query),
3369
+ });
3370
+ let params = new $OpenApiUtil.Params({
3371
+ action: "MerchandisePlacementDetectionLite",
3372
+ version: "2026-04-28",
3373
+ protocol: "HTTPS",
3374
+ pathname: "/",
3375
+ method: "POST",
3376
+ authType: "AK",
3377
+ style: "RPC",
3378
+ reqBodyType: "formData",
3379
+ bodyType: "json",
3380
+ });
3381
+ return $dara.cast<$_model.MerchandisePlacementDetectionLiteResponse>(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionLiteResponse({}));
3382
+ }
3383
+
3384
+ /**
3385
+ * Detects product displays in photos of shelves, endcaps, freezers, display tables, and dump bins by using product SKU recognition and multimodal large model grounding. It aggregates product locations by SKU and supplements the results with visible single-item grounding and short names to facilitate product location display, display inventory, and subsequent distribution verification in business systems.
3386
+ *
3387
+ * @remarks
3388
+ * ## Scenarios
3389
+ * - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
3390
+ * - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
3391
+ * - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
3392
+ * ## Features
3393
+ * - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
3394
+ * - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
3395
+ * - Independent use of two result sets: Products comes from SKU recognition, and grounding comes from supplementary grounding. Grounding does not return SKU codes and does not guarantee item-by-item correspondence with Products.
3396
+ * - Supports single HTTPS image input. Supplementary grounding returns up to 12 targets, each containing a category, a bounding box, and visible text of up to 24 characters. The coverage field indicates whether the grounding is complete.
3397
+ *
3398
+ * @param request - MerchandisePlacementDetectionLiteRequest
3399
+ * @returns MerchandisePlacementDetectionLiteResponse
3400
+ */
3401
+ async merchandisePlacementDetectionLite(request: $_model.MerchandisePlacementDetectionLiteRequest): Promise<$_model.MerchandisePlacementDetectionLiteResponse> {
3402
+ let runtime = new $dara.RuntimeOptions({ });
3403
+ return await this.merchandisePlacementDetectionLiteWithOptions(request, runtime);
3404
+ }
3405
+
2352
3406
  /**
2353
3407
  * Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
2354
3408
  *
@@ -2396,29 +3450,285 @@ export default class Client extends OpenApi {
2396
3450
  reqBodyType: "formData",
2397
3451
  bodyType: "json",
2398
3452
  });
2399
- return $dara.cast<$_model.MerchandisePlacementDetectionProResponse>(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionProResponse({}));
3453
+ return $dara.cast<$_model.MerchandisePlacementDetectionProResponse>(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionProResponse({}));
3454
+ }
3455
+
3456
+ /**
3457
+ * Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
3458
+ *
3459
+ * @remarks
3460
+ * ## Scenarios
3461
+ * - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
3462
+ * - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
3463
+ * - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
3464
+ * ## Features
3465
+ * - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
3466
+ * - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
3467
+ * - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
3468
+ * - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
3469
+ *
3470
+ * @param request - MerchandisePlacementDetectionProRequest
3471
+ * @returns MerchandisePlacementDetectionProResponse
3472
+ */
3473
+ async merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse> {
3474
+ let runtime = new $dara.RuntimeOptions({ });
3475
+ return await this.merchandisePlacementDetectionProWithOptions(request, runtime);
3476
+ }
3477
+
3478
+ /**
3479
+ * Detects display price tags based on price tag recognition and multimodal large model localization, extracting product information, selling prices, original prices, and locations, while providing visible bounding boxes for paper price tags, electronic price tags, and promotional price signs for store price collection, price tag inspection, and business-side price verification.
3480
+ *
3481
+ * @remarks
3482
+ * ## Scenarios
3483
+ * - Store price collection: Reads the recognized selling prices and available original prices of price tags.
3484
+ * - Price execution verification: Compares the recognized prices with the business-side price list.
3485
+ * - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
3486
+ * ## Features
3487
+ * - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
3488
+ * - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
3489
+ * - Original text and location-assisted review: Prioritizes extracting clear selling prices from located text, leaving it empty if unreadable. Supplementary localization does not infer that a price tag necessarily corresponds to a specific SKU based on its location.
3490
+ * - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text, and indicates whether the localization is complete through coverage.
3491
+ *
3492
+ * @param request - MerchandisePriceTagDetectionRequest
3493
+ * @param runtime - runtime options for this request RuntimeOptions
3494
+ * @returns MerchandisePriceTagDetectionResponse
3495
+ */
3496
+ async merchandisePriceTagDetectionWithOptions(request: $_model.MerchandisePriceTagDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePriceTagDetectionResponse> {
3497
+ request.validate();
3498
+ let query = { };
3499
+ if (!$dara.isNull(request.imageUrl)) {
3500
+ query["ImageUrl"] = request.imageUrl;
3501
+ }
3502
+
3503
+ let req = new $OpenApiUtil.OpenApiRequest({
3504
+ query: OpenApiUtil.query(query),
3505
+ });
3506
+ let params = new $OpenApiUtil.Params({
3507
+ action: "MerchandisePriceTagDetection",
3508
+ version: "2026-04-28",
3509
+ protocol: "HTTPS",
3510
+ pathname: "/",
3511
+ method: "POST",
3512
+ authType: "AK",
3513
+ style: "RPC",
3514
+ reqBodyType: "formData",
3515
+ bodyType: "json",
3516
+ });
3517
+ return $dara.cast<$_model.MerchandisePriceTagDetectionResponse>(await this.callApi(params, req, runtime), new $_model.MerchandisePriceTagDetectionResponse({}));
3518
+ }
3519
+
3520
+ /**
3521
+ * Detects display price tags based on price tag recognition and multimodal large model localization, extracting product information, selling prices, original prices, and locations, while providing visible bounding boxes for paper price tags, electronic price tags, and promotional price signs for store price collection, price tag inspection, and business-side price verification.
3522
+ *
3523
+ * @remarks
3524
+ * ## Scenarios
3525
+ * - Store price collection: Reads the recognized selling prices and available original prices of price tags.
3526
+ * - Price execution verification: Compares the recognized prices with the business-side price list.
3527
+ * - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
3528
+ * ## Features
3529
+ * - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
3530
+ * - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
3531
+ * - Original text and location-assisted review: Prioritizes extracting clear selling prices from located text, leaving it empty if unreadable. Supplementary localization does not infer that a price tag necessarily corresponds to a specific SKU based on its location.
3532
+ * - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text, and indicates whether the localization is complete through coverage.
3533
+ *
3534
+ * @param request - MerchandisePriceTagDetectionRequest
3535
+ * @returns MerchandisePriceTagDetectionResponse
3536
+ */
3537
+ async merchandisePriceTagDetection(request: $_model.MerchandisePriceTagDetectionRequest): Promise<$_model.MerchandisePriceTagDetectionResponse> {
3538
+ let runtime = new $dara.RuntimeOptions({ });
3539
+ return await this.merchandisePriceTagDetectionWithOptions(request, runtime);
3540
+ }
3541
+
3542
+ /**
3543
+ * Detects store displays based on display scene recognition and holistic positioning powered by multimodal large models. This product identifies display areas such as shelves, refrigerators, and floor displays, and outputs available scene names, locations, and display metrics. It also provides overall facility bounding boxes, making it suitable for display facility inspection, area visualization, and display metric verification.
3544
+ *
3545
+ * @remarks
3546
+ * ## Scenarios
3547
+ * - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
3548
+ * - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
3549
+ * - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
3550
+ * ## Features
3551
+ * - Scene structured output: returns scene names, center points, area contours, and active metrics.
3552
+ * - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
3553
+ * - Retains two types of coordinates: the positions in scenes retain the original normalization coordinates of the recognition service, while grounding uses 0–1000 integer bounding boxes.
3554
+ * - Supports a single HTTPS image as input. The supplementary positioning returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text, and uses coverage to indicate whether the positioning is complete.
3555
+ *
3556
+ * @param request - MerchandiseSceneDetectionRequest
3557
+ * @param runtime - runtime options for this request RuntimeOptions
3558
+ * @returns MerchandiseSceneDetectionResponse
3559
+ */
3560
+ async merchandiseSceneDetectionWithOptions(request: $_model.MerchandiseSceneDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandiseSceneDetectionResponse> {
3561
+ request.validate();
3562
+ let query = { };
3563
+ if (!$dara.isNull(request.imageUrl)) {
3564
+ query["ImageUrl"] = request.imageUrl;
3565
+ }
3566
+
3567
+ let req = new $OpenApiUtil.OpenApiRequest({
3568
+ query: OpenApiUtil.query(query),
3569
+ });
3570
+ let params = new $OpenApiUtil.Params({
3571
+ action: "MerchandiseSceneDetection",
3572
+ version: "2026-04-28",
3573
+ protocol: "HTTPS",
3574
+ pathname: "/",
3575
+ method: "POST",
3576
+ authType: "AK",
3577
+ style: "RPC",
3578
+ reqBodyType: "formData",
3579
+ bodyType: "json",
3580
+ });
3581
+ return $dara.cast<$_model.MerchandiseSceneDetectionResponse>(await this.callApi(params, req, runtime), new $_model.MerchandiseSceneDetectionResponse({}));
3582
+ }
3583
+
3584
+ /**
3585
+ * Detects store displays based on display scene recognition and holistic positioning powered by multimodal large models. This product identifies display areas such as shelves, refrigerators, and floor displays, and outputs available scene names, locations, and display metrics. It also provides overall facility bounding boxes, making it suitable for display facility inspection, area visualization, and display metric verification.
3586
+ *
3587
+ * @remarks
3588
+ * ## Scenarios
3589
+ * - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
3590
+ * - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
3591
+ * - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
3592
+ * ## Features
3593
+ * - Scene structured output: returns scene names, center points, area contours, and active metrics.
3594
+ * - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
3595
+ * - Retains two types of coordinates: the positions in scenes retain the original normalization coordinates of the recognition service, while grounding uses 0–1000 integer bounding boxes.
3596
+ * - Supports a single HTTPS image as input. The supplementary positioning returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text, and uses coverage to indicate whether the positioning is complete.
3597
+ *
3598
+ * @param request - MerchandiseSceneDetectionRequest
3599
+ * @returns MerchandiseSceneDetectionResponse
3600
+ */
3601
+ async merchandiseSceneDetection(request: $_model.MerchandiseSceneDetectionRequest): Promise<$_model.MerchandiseSceneDetectionResponse> {
3602
+ let runtime = new $dara.RuntimeOptions({ });
3603
+ return await this.merchandiseSceneDetectionWithOptions(request, runtime);
3604
+ }
3605
+
3606
+ /**
3607
+ * Reviews images of milk powder can bottom codes by using recapture detection and multimodal large model-based element localization. The service determines whether an uploaded photo is recaptured and localizes visible milk powder products, can bottoms, and bottom code areas. It is suitable for milk powder channel inspections, can bottom code photo reviews, and manual verifications.
3608
+ *
3609
+ * @remarks
3610
+ * ## Features
3611
+ * - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
3612
+ * - Milk powder subject and bottom code localization: Prioritizes the localization of the milk powder subject. Adds corresponding bounding boxes when the can bottom, spray code, batch code, or traceability code areas are clear.
3613
+ * - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
3614
+ * - Supports a single HTTPS image input. The supplementary localization returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
3615
+ * ## Scenarios:
3616
+ * - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
3617
+ * - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
3618
+ * - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
3619
+ *
3620
+ * @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
3621
+ * @param runtime - runtime options for this request RuntimeOptions
3622
+ * @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
3623
+ */
3624
+ async milkPowderCanBottomCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse> {
3625
+ request.validate();
3626
+ let query = { };
3627
+ if (!$dara.isNull(request.imageUrl)) {
3628
+ query["ImageUrl"] = request.imageUrl;
3629
+ }
3630
+
3631
+ let req = new $OpenApiUtil.OpenApiRequest({
3632
+ query: OpenApiUtil.query(query),
3633
+ });
3634
+ let params = new $OpenApiUtil.Params({
3635
+ action: "MilkPowderCanBottomCodeRephotographyDetection",
3636
+ version: "2026-04-28",
3637
+ protocol: "HTTPS",
3638
+ pathname: "/",
3639
+ method: "POST",
3640
+ authType: "AK",
3641
+ style: "RPC",
3642
+ reqBodyType: "formData",
3643
+ bodyType: "json",
3644
+ });
3645
+ return $dara.cast<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>(await this.callApi(params, req, runtime), new $_model.MilkPowderCanBottomCodeRephotographyDetectionResponse({}));
3646
+ }
3647
+
3648
+ /**
3649
+ * Reviews images of milk powder can bottom codes by using recapture detection and multimodal large model-based element localization. The service determines whether an uploaded photo is recaptured and localizes visible milk powder products, can bottoms, and bottom code areas. It is suitable for milk powder channel inspections, can bottom code photo reviews, and manual verifications.
3650
+ *
3651
+ * @remarks
3652
+ * ## Features
3653
+ * - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
3654
+ * - Milk powder subject and bottom code localization: Prioritizes the localization of the milk powder subject. Adds corresponding bounding boxes when the can bottom, spray code, batch code, or traceability code areas are clear.
3655
+ * - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
3656
+ * - Supports a single HTTPS image input. The supplementary localization returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
3657
+ * ## Scenarios:
3658
+ * - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
3659
+ * - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
3660
+ * - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
3661
+ *
3662
+ * @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
3663
+ * @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
3664
+ */
3665
+ async milkPowderCanBottomCodeRephotographyDetection(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse> {
3666
+ let runtime = new $dara.RuntimeOptions({ });
3667
+ return await this.milkPowderCanBottomCodeRephotographyDetectionWithOptions(request, runtime);
3668
+ }
3669
+
3670
+ /**
3671
+ * Reviews infant formula carton code images based on recapture detection and element localization using multimodal foundation models. It targets photos of infant formula products, outer cartons, and carton codes captured during channel inspections. It determines whether images are non-recaptured, recaptured, or suspected recaptures, and localizes visible infant formula products, outer cartons, and code regions to provide a structured basis for image review and manual verification.
3672
+ *
3673
+ * @remarks
3674
+ * ## Features
3675
+ * - Three-state recapture detection: When photoStatus is 0, 1, or 2, it indicates non-recapture, recapture, or suspected recapture, respectively. The isFake, isSuspect, and score fields are also returned.
3676
+ * - Subject and code area grounding: Prioritizes the grounding of individual milk powder products and outer boxes, and supplements clear box codes, barcodes, and QR code areas. The milk powder subject can still be grounded even if no box code is present.
3677
+ * - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
3678
+ * - Supports a single HTTPS image as input. The supplementary grounding returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the grounding is complete.
3679
+ * ## Scenarios
3680
+ * - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
3681
+ * - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
3682
+ * - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
3683
+ *
3684
+ * @param request - MilkPowderCartonCodeRephotographyDetectionRequest
3685
+ * @param runtime - runtime options for this request RuntimeOptions
3686
+ * @returns MilkPowderCartonCodeRephotographyDetectionResponse
3687
+ */
3688
+ async milkPowderCartonCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse> {
3689
+ request.validate();
3690
+ let query = { };
3691
+ if (!$dara.isNull(request.imageUrl)) {
3692
+ query["ImageUrl"] = request.imageUrl;
3693
+ }
3694
+
3695
+ let req = new $OpenApiUtil.OpenApiRequest({
3696
+ query: OpenApiUtil.query(query),
3697
+ });
3698
+ let params = new $OpenApiUtil.Params({
3699
+ action: "MilkPowderCartonCodeRephotographyDetection",
3700
+ version: "2026-04-28",
3701
+ protocol: "HTTPS",
3702
+ pathname: "/",
3703
+ method: "POST",
3704
+ authType: "AK",
3705
+ style: "RPC",
3706
+ reqBodyType: "formData",
3707
+ bodyType: "json",
3708
+ });
3709
+ return $dara.cast<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>(await this.callApi(params, req, runtime), new $_model.MilkPowderCartonCodeRephotographyDetectionResponse({}));
2400
3710
  }
2401
3711
 
2402
3712
  /**
2403
- * Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
3713
+ * Reviews infant formula carton code images based on recapture detection and element localization using multimodal foundation models. It targets photos of infant formula products, outer cartons, and carton codes captured during channel inspections. It determines whether images are non-recaptured, recaptured, or suspected recaptures, and localizes visible infant formula products, outer cartons, and code regions to provide a structured basis for image review and manual verification.
2404
3714
  *
2405
3715
  * @remarks
2406
- * ## Scenarios
2407
- * - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
2408
- * - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
2409
- * - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
2410
3716
  * ## Features
2411
- * - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
2412
- * - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
2413
- * - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
2414
- * - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
3717
+ * - Three-state recapture detection: When photoStatus is 0, 1, or 2, it indicates non-recapture, recapture, or suspected recapture, respectively. The isFake, isSuspect, and score fields are also returned.
3718
+ * - Subject and code area grounding: Prioritizes the grounding of individual milk powder products and outer boxes, and supplements clear box codes, barcodes, and QR code areas. The milk powder subject can still be grounded even if no box code is present.
3719
+ * - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
3720
+ * - Supports a single HTTPS image as input. The supplementary grounding returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the grounding is complete.
3721
+ * ## Scenarios
3722
+ * - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
3723
+ * - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
3724
+ * - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
2415
3725
  *
2416
- * @param request - MerchandisePlacementDetectionProRequest
2417
- * @returns MerchandisePlacementDetectionProResponse
3726
+ * @param request - MilkPowderCartonCodeRephotographyDetectionRequest
3727
+ * @returns MilkPowderCartonCodeRephotographyDetectionResponse
2418
3728
  */
2419
- async merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse> {
3729
+ async milkPowderCartonCodeRephotographyDetection(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse> {
2420
3730
  let runtime = new $dara.RuntimeOptions({ });
2421
- return await this.merchandisePlacementDetectionProWithOptions(request, runtime);
3731
+ return await this.milkPowderCartonCodeRephotographyDetectionWithOptions(request, runtime);
2422
3732
  }
2423
3733
 
2424
3734
  /**
@@ -2498,17 +3808,7 @@ export default class Client extends OpenApi {
2498
3808
  }
2499
3809
 
2500
3810
  /**
2501
- * Analyzes pet excrement images using a pet multimodal model building product. Supports uploading pet excrement images, determines by default whether excrement is present in the image, locates and performs categorization on each visible excrement area, and returns model-generated text containing the categorization results. The invoker can also optionally provide a user prompt and a system prompt to customize image analysis requirements and response format.
2502
- * Applicable scenarios:
2503
- * 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
2504
- * 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
2505
- * 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
2506
- *
2507
- * @remarks
2508
- * 1. Multi-image input: image_url is a required array of HTTPS image URLs.
2509
- * 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
2510
- * 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
2511
- * 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
3811
+ * 宠物健康分析
2512
3812
  *
2513
3813
  * @param tmpReq - PetHealthAnalysisRequest
2514
3814
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2553,17 +3853,7 @@ export default class Client extends OpenApi {
2553
3853
  }
2554
3854
 
2555
3855
  /**
2556
- * Analyzes pet excrement images using a pet multimodal model building product. Supports uploading pet excrement images, determines by default whether excrement is present in the image, locates and performs categorization on each visible excrement area, and returns model-generated text containing the categorization results. The invoker can also optionally provide a user prompt and a system prompt to customize image analysis requirements and response format.
2557
- * Applicable scenarios:
2558
- * 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
2559
- * 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
2560
- * 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
2561
- *
2562
- * @remarks
2563
- * 1. Multi-image input: image_url is a required array of HTTPS image URLs.
2564
- * 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
2565
- * 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
2566
- * 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
3856
+ * 宠物健康分析
2567
3857
  *
2568
3858
  * @param request - PetHealthAnalysisRequest
2569
3859
  * @returns PetHealthAnalysisResponse
@@ -2879,29 +4169,322 @@ export default class Client extends OpenApi {
2879
4169
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | 0.4 | true |
2880
4170
  * | ![O1CN01ZjViRX1rdaL6QDFNo_!!6000000005654-0-tps-2048-2048.webp](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/ab29b032-139a-4b22-9371-b387581559b7.webp) | 0.4 | false |
2881
4171
  *
2882
- * @param request - SizeChartDetectRequest
2883
- * @returns SizeChartDetectResponse
4172
+ * @param request - SizeChartDetectRequest
4173
+ * @returns SizeChartDetectResponse
4174
+ */
4175
+ async sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse> {
4176
+ let runtime = new $dara.RuntimeOptions({ });
4177
+ return await this.sizeChartDetectWithOptions(request, runtime);
4178
+ }
4179
+
4180
+ /**
4181
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4182
+ *
4183
+ * @remarks
4184
+ * ## Product Introduction
4185
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4186
+ * ## Common scenarios
4187
+ * * Size chart: Extracts size charts from apparel category images into text.
4188
+ *
4189
+ * * Package weight/dimensions: Extracts package weight and dimension information from images.
4190
+ * ## Functions and features
4191
+ * The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
4192
+ * Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
4193
+ * ## Comparison
4194
+ * | **Input image** | **Output result** |
4195
+ * | --- | --- |
4196
+ * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4197
+ * "SizeChart": [
4198
+ * {
4199
+ * "尺码": {
4200
+ * "value": "S"
4201
+ * },
4202
+ * "腰围": {
4203
+ * "unit": "CM",
4204
+ * "value": 58
4205
+ * },
4206
+ * "裙长": {
4207
+ * "unit": "CM",
4208
+ * "value": 81
4209
+ * },
4210
+ * "体重建议": {
4211
+ * "unit": "kg",
4212
+ * "lower_value": 40,
4213
+ * "upper_value": 47.5
4214
+ * }
4215
+ * },
4216
+ * {
4217
+ * "尺码": {
4218
+ * "value": "M"
4219
+ * },
4220
+ * "腰围": {
4221
+ * "unit": "CM",
4222
+ * "value": 59
4223
+ * },
4224
+ * "裙长": {
4225
+ * "unit": "CM",
4226
+ * "value": 82
4227
+ * },
4228
+ * "体重建议": {
4229
+ * "unit": "kg",
4230
+ * "lower_value": 45,
4231
+ * "upper_value": 52.5
4232
+ * }
4233
+ * },
4234
+ * {
4235
+ * "尺码": {
4236
+ * "value": "L"
4237
+ * },
4238
+ * "腰围": {
4239
+ * "unit": "CM",
4240
+ * "value": 60
4241
+ * },
4242
+ * "裙长": {
4243
+ * "unit": "CM",
4244
+ * "value": 83
4245
+ * },
4246
+ * "体重建议": {
4247
+ * "unit": "kg",
4248
+ * "lower_value": 50,
4249
+ * "upper_value": 57.5
4250
+ * }
4251
+ * },
4252
+ * {
4253
+ * "尺码": {
4254
+ * "value": "XL"
4255
+ * },
4256
+ * "腰围": {
4257
+ * "unit": "CM",
4258
+ * "value": 61
4259
+ * },
4260
+ * "裙长": {
4261
+ * "unit": "CM",
4262
+ * "value": 84
4263
+ * },
4264
+ * "体重建议": {
4265
+ * "unit": "kg",
4266
+ * "lower_value": 55,
4267
+ * "upper_value": 62.5
4268
+ * }
4269
+ * },
4270
+ * {
4271
+ * "尺码": {
4272
+ * "value": "2XL"
4273
+ * },
4274
+ * "腰围": {
4275
+ * "unit": "CM",
4276
+ * "value": 62
4277
+ * },
4278
+ * "裙长": {
4279
+ * "unit": "CM",
4280
+ * "value": 85
4281
+ * },
4282
+ * "体重建议": {
4283
+ * "unit": "kg",
4284
+ * "lower_value": 60,
4285
+ * "upper_value": 67.5
4286
+ * }
4287
+ * }
4288
+ * \\],
4289
+ * "SizeChartAttributes": [
4290
+ * "尺码",
4291
+ * "裙长",
4292
+ * "腰围",
4293
+ * "体重建议"
4294
+ * \\],
4295
+ * "IntersectionAttributes": [
4296
+ * "尺码",
4297
+ * "裙长",
4298
+ * "腰围(拉伸)",
4299
+ * "体重建议"
4300
+ * \\]
4301
+ * } |
4302
+ *
4303
+ * @param tmpReq - SizeChartExtractRequest
4304
+ * @param runtime - runtime options for this request RuntimeOptions
4305
+ * @returns SizeChartExtractResponse
4306
+ */
4307
+ async sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse> {
4308
+ tmpReq.validate();
4309
+ let request = new $_model.SizeChartExtractShrinkRequest({ });
4310
+ OpenApiUtil.convert(tmpReq, request);
4311
+ if (!$dara.isNull(tmpReq.columnNameList)) {
4312
+ request.columnNameListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.columnNameList, "ColumnNameList", "json");
4313
+ }
4314
+
4315
+ let query = { };
4316
+ if (!$dara.isNull(request.columnNameListShrink)) {
4317
+ query["ColumnNameList"] = request.columnNameListShrink;
4318
+ }
4319
+
4320
+ if (!$dara.isNull(request.imageUrl)) {
4321
+ query["ImageUrl"] = request.imageUrl;
4322
+ }
4323
+
4324
+ if (!$dara.isNull(request.languageModel)) {
4325
+ query["LanguageModel"] = request.languageModel;
4326
+ }
4327
+
4328
+ let req = new $OpenApiUtil.OpenApiRequest({
4329
+ query: OpenApiUtil.query(query),
4330
+ });
4331
+ let params = new $OpenApiUtil.Params({
4332
+ action: "SizeChartExtract",
4333
+ version: "2026-04-28",
4334
+ protocol: "HTTPS",
4335
+ pathname: "/",
4336
+ method: "POST",
4337
+ authType: "AK",
4338
+ style: "RPC",
4339
+ reqBodyType: "formData",
4340
+ bodyType: "json",
4341
+ });
4342
+ return $dara.cast<$_model.SizeChartExtractResponse>(await this.callApi(params, req, runtime), new $_model.SizeChartExtractResponse({}));
4343
+ }
4344
+
4345
+ /**
4346
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4347
+ *
4348
+ * @remarks
4349
+ * ## Product Introduction
4350
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4351
+ * ## Common scenarios
4352
+ * * Size chart: Extracts size charts from apparel category images into text.
4353
+ *
4354
+ * * Package weight/dimensions: Extracts package weight and dimension information from images.
4355
+ * ## Functions and features
4356
+ * The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
4357
+ * Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
4358
+ * ## Comparison
4359
+ * | **Input image** | **Output result** |
4360
+ * | --- | --- |
4361
+ * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
4362
+ * "SizeChart": [
4363
+ * {
4364
+ * "尺码": {
4365
+ * "value": "S"
4366
+ * },
4367
+ * "腰围": {
4368
+ * "unit": "CM",
4369
+ * "value": 58
4370
+ * },
4371
+ * "裙长": {
4372
+ * "unit": "CM",
4373
+ * "value": 81
4374
+ * },
4375
+ * "体重建议": {
4376
+ * "unit": "kg",
4377
+ * "lower_value": 40,
4378
+ * "upper_value": 47.5
4379
+ * }
4380
+ * },
4381
+ * {
4382
+ * "尺码": {
4383
+ * "value": "M"
4384
+ * },
4385
+ * "腰围": {
4386
+ * "unit": "CM",
4387
+ * "value": 59
4388
+ * },
4389
+ * "裙长": {
4390
+ * "unit": "CM",
4391
+ * "value": 82
4392
+ * },
4393
+ * "体重建议": {
4394
+ * "unit": "kg",
4395
+ * "lower_value": 45,
4396
+ * "upper_value": 52.5
4397
+ * }
4398
+ * },
4399
+ * {
4400
+ * "尺码": {
4401
+ * "value": "L"
4402
+ * },
4403
+ * "腰围": {
4404
+ * "unit": "CM",
4405
+ * "value": 60
4406
+ * },
4407
+ * "裙长": {
4408
+ * "unit": "CM",
4409
+ * "value": 83
4410
+ * },
4411
+ * "体重建议": {
4412
+ * "unit": "kg",
4413
+ * "lower_value": 50,
4414
+ * "upper_value": 57.5
4415
+ * }
4416
+ * },
4417
+ * {
4418
+ * "尺码": {
4419
+ * "value": "XL"
4420
+ * },
4421
+ * "腰围": {
4422
+ * "unit": "CM",
4423
+ * "value": 61
4424
+ * },
4425
+ * "裙长": {
4426
+ * "unit": "CM",
4427
+ * "value": 84
4428
+ * },
4429
+ * "体重建议": {
4430
+ * "unit": "kg",
4431
+ * "lower_value": 55,
4432
+ * "upper_value": 62.5
4433
+ * }
4434
+ * },
4435
+ * {
4436
+ * "尺码": {
4437
+ * "value": "2XL"
4438
+ * },
4439
+ * "腰围": {
4440
+ * "unit": "CM",
4441
+ * "value": 62
4442
+ * },
4443
+ * "裙长": {
4444
+ * "unit": "CM",
4445
+ * "value": 85
4446
+ * },
4447
+ * "体重建议": {
4448
+ * "unit": "kg",
4449
+ * "lower_value": 60,
4450
+ * "upper_value": 67.5
4451
+ * }
4452
+ * }
4453
+ * \\],
4454
+ * "SizeChartAttributes": [
4455
+ * "尺码",
4456
+ * "裙长",
4457
+ * "腰围",
4458
+ * "体重建议"
4459
+ * \\],
4460
+ * "IntersectionAttributes": [
4461
+ * "尺码",
4462
+ * "裙长",
4463
+ * "腰围(拉伸)",
4464
+ * "体重建议"
4465
+ * \\]
4466
+ * } |
4467
+ *
4468
+ * @param request - SizeChartExtractRequest
4469
+ * @returns SizeChartExtractResponse
2884
4470
  */
2885
- async sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse> {
4471
+ async sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse> {
2886
4472
  let runtime = new $dara.RuntimeOptions({ });
2887
- return await this.sizeChartDetectWithOptions(request, runtime);
4473
+ return await this.sizeChartExtractWithOptions(request, runtime);
2888
4474
  }
2889
4475
 
2890
4476
  /**
2891
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4477
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
2892
4478
  *
2893
4479
  * @remarks
2894
- * ## Product Introduction
2895
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
2896
- * ## Common scenarios
2897
- * * Size chart: Extracts size charts from apparel category images into text.
2898
- *
2899
- * * Package weight/dimensions: Extracts package weight and dimension information from images.
2900
- * ## Functions and features
2901
- * The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
2902
- * Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
2903
- * ## Comparison
2904
- * | **Input image** | **Output result** |
4480
+ * ## 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.
4483
+ * ## 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
4487
+ * | Input image | Output result |
2905
4488
  * | --- | --- |
2906
4489
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
2907
4490
  * "SizeChart": [
@@ -2997,26 +4580,26 @@ export default class Client extends OpenApi {
2997
4580
  * }
2998
4581
  * \\],
2999
4582
  * "SizeChartAttributes": [
3000
- * "尺码",
3001
- * "裙长",
3002
- * "腰围",
3003
- * "体重建议"
4583
+ * "Size",
4584
+ * "Skirt length",
4585
+ * "Waist",
4586
+ * "Weight recommendation"
3004
4587
  * \\],
3005
4588
  * "IntersectionAttributes": [
3006
- * "尺码",
3007
- * "裙长",
3008
- * "腰围(拉伸)",
3009
- * "体重建议"
4589
+ * "Size",
4590
+ * "Skirt length",
4591
+ * "Waist (stretched)",
4592
+ * "Weight recommendation"
3010
4593
  * \\]
3011
4594
  * } |
3012
4595
  *
3013
- * @param tmpReq - SizeChartExtractRequest
4596
+ * @param tmpReq - SizeChartExtractAsyncRequest
3014
4597
  * @param runtime - runtime options for this request RuntimeOptions
3015
- * @returns SizeChartExtractResponse
4598
+ * @returns SizeChartExtractAsyncResponse
3016
4599
  */
3017
- async sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse> {
4600
+ async sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse> {
3018
4601
  tmpReq.validate();
3019
- let request = new $_model.SizeChartExtractShrinkRequest({ });
4602
+ let request = new $_model.SizeChartExtractAsyncShrinkRequest({ });
3020
4603
  OpenApiUtil.convert(tmpReq, request);
3021
4604
  if (!$dara.isNull(tmpReq.columnNameList)) {
3022
4605
  request.columnNameListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.columnNameList, "ColumnNameList", "json");
@@ -3039,7 +4622,7 @@ export default class Client extends OpenApi {
3039
4622
  query: OpenApiUtil.query(query),
3040
4623
  });
3041
4624
  let params = new $OpenApiUtil.Params({
3042
- action: "SizeChartExtract",
4625
+ action: "SizeChartExtractAsync",
3043
4626
  version: "2026-04-28",
3044
4627
  protocol: "HTTPS",
3045
4628
  pathname: "/",
@@ -3049,24 +4632,21 @@ export default class Client extends OpenApi {
3049
4632
  reqBodyType: "formData",
3050
4633
  bodyType: "json",
3051
4634
  });
3052
- return $dara.cast<$_model.SizeChartExtractResponse>(await this.callApi(params, req, runtime), new $_model.SizeChartExtractResponse({}));
4635
+ return $dara.cast<$_model.SizeChartExtractAsyncResponse>(await this.callApi(params, req, runtime), new $_model.SizeChartExtractAsyncResponse({}));
3053
4636
  }
3054
4637
 
3055
4638
  /**
3056
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
4639
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
3057
4640
  *
3058
4641
  * @remarks
3059
- * ## Product Introduction
3060
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
3061
- * ## Common scenarios
3062
- * * Size chart: Extracts size charts from apparel category images into text.
3063
- *
3064
- * * Package weight/dimensions: Extracts package weight and dimension information from images.
3065
- * ## Functions and features
3066
- * The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
3067
- * Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
3068
- * ## Comparison
3069
- * | **Input image** | **Output result** |
4642
+ * ## 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.
4645
+ * ## 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
4649
+ * | Input image | Output result |
3070
4650
  * | --- | --- |
3071
4651
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
3072
4652
  * "SizeChart": [
@@ -3162,25 +4742,89 @@ export default class Client extends OpenApi {
3162
4742
  * }
3163
4743
  * \\],
3164
4744
  * "SizeChartAttributes": [
3165
- * "尺码",
3166
- * "裙长",
3167
- * "腰围",
3168
- * "体重建议"
4745
+ * "Size",
4746
+ * "Skirt length",
4747
+ * "Waist",
4748
+ * "Weight recommendation"
3169
4749
  * \\],
3170
4750
  * "IntersectionAttributes": [
3171
- * "尺码",
3172
- * "裙长",
3173
- * "腰围(拉伸)",
3174
- * "体重建议"
4751
+ * "Size",
4752
+ * "Skirt length",
4753
+ * "Waist (stretched)",
4754
+ * "Weight recommendation"
3175
4755
  * \\]
3176
4756
  * } |
3177
4757
  *
3178
- * @param request - SizeChartExtractRequest
3179
- * @returns SizeChartExtractResponse
4758
+ * @param request - SizeChartExtractAsyncRequest
4759
+ * @returns SizeChartExtractAsyncResponse
3180
4760
  */
3181
- async sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse> {
4761
+ async sizeChartExtractAsync(request: $_model.SizeChartExtractAsyncRequest): Promise<$_model.SizeChartExtractAsyncResponse> {
3182
4762
  let runtime = new $dara.RuntimeOptions({ });
3183
- return await this.sizeChartExtractWithOptions(request, runtime);
4763
+ return await this.sizeChartExtractAsyncWithOptions(request, runtime);
4764
+ }
4765
+
4766
+ /**
4767
+ * Reviews store photos based on storefront scene recognition and multimodal large model element localization. It outputs storefront scene classifications and confidence details, and localizes storefronts, signboards, entrances, and business signs. It is applicable to store data collection, storefront photo classification, and inspection reviews.
4768
+ *
4769
+ * @remarks
4770
+ * ## Common scenarios
4771
+ * - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
4772
+ * - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
4773
+ * - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
4774
+ * ## Features
4775
+ * - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
4776
+ * - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
4777
+ * - Readable text extraction: Extracts only clear short text. It does not infer business status based on whether the door is open or closed, and does not infer addresses or store ownership.
4778
+ * - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
4779
+ *
4780
+ * @param request - StorefrontSceneRecognitionRequest
4781
+ * @param runtime - runtime options for this request RuntimeOptions
4782
+ * @returns StorefrontSceneRecognitionResponse
4783
+ */
4784
+ async storefrontSceneRecognitionWithOptions(request: $_model.StorefrontSceneRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StorefrontSceneRecognitionResponse> {
4785
+ request.validate();
4786
+ let query = { };
4787
+ if (!$dara.isNull(request.imageUrl)) {
4788
+ query["ImageUrl"] = request.imageUrl;
4789
+ }
4790
+
4791
+ let req = new $OpenApiUtil.OpenApiRequest({
4792
+ query: OpenApiUtil.query(query),
4793
+ });
4794
+ let params = new $OpenApiUtil.Params({
4795
+ action: "StorefrontSceneRecognition",
4796
+ version: "2026-04-28",
4797
+ protocol: "HTTPS",
4798
+ pathname: "/",
4799
+ method: "POST",
4800
+ authType: "AK",
4801
+ style: "RPC",
4802
+ reqBodyType: "formData",
4803
+ bodyType: "json",
4804
+ });
4805
+ return $dara.cast<$_model.StorefrontSceneRecognitionResponse>(await this.callApi(params, req, runtime), new $_model.StorefrontSceneRecognitionResponse({}));
4806
+ }
4807
+
4808
+ /**
4809
+ * Reviews store photos based on storefront scene recognition and multimodal large model element localization. It outputs storefront scene classifications and confidence details, and localizes storefronts, signboards, entrances, and business signs. It is applicable to store data collection, storefront photo classification, and inspection reviews.
4810
+ *
4811
+ * @remarks
4812
+ * ## Common scenarios
4813
+ * - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
4814
+ * - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
4815
+ * - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
4816
+ * ## Features
4817
+ * - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
4818
+ * - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
4819
+ * - Readable text extraction: Extracts only clear short text. It does not infer business status based on whether the door is open or closed, and does not infer addresses or store ownership.
4820
+ * - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
4821
+ *
4822
+ * @param request - StorefrontSceneRecognitionRequest
4823
+ * @returns StorefrontSceneRecognitionResponse
4824
+ */
4825
+ async storefrontSceneRecognition(request: $_model.StorefrontSceneRecognitionRequest): Promise<$_model.StorefrontSceneRecognitionResponse> {
4826
+ let runtime = new $dara.RuntimeOptions({ });
4827
+ return await this.storefrontSceneRecognitionWithOptions(request, runtime);
3184
4828
  }
3185
4829
 
3186
4830
  /**
@@ -3336,32 +4980,34 @@ export default class Client extends OpenApi {
3336
4980
  }
3337
4981
 
3338
4982
  /**
3339
- * Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 31 languages in query phrases and 35 languages in general scenarios. If you do not specify a source language, automatic language detection is performed.
4983
+ * Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
3340
4984
  *
3341
4985
  * @remarks
3342
4986
  * ## Product Introduction
3343
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic language detection is performed.
4987
+ * Maas-MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
3344
4988
  * ## Common scenarios
3345
- * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
3346
- * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
3347
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
3348
- * - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
3349
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
4989
+ * - Product titles: Maas-MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
4990
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Maas-MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
4991
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
4992
+ * - Customer service conversations: In customer service scenarios, Maas-MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
4993
+ * Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
3350
4994
  * ## Functions and features
3351
4995
  * - **Supported language directions**
3352
- * Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
4996
+ * Maas-MT large model translation supports mutual translation among more than 400 languages and language detection for query phrases in 31 languages and general scenarios in 35 languages.
4997
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
4998
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
3353
4999
  * - **Ultra-low hallucination rate and high-speed inference**
3354
- * Marco MT large model translation is a large language model with preference alignment 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.
3355
- * - **Supported text format types**
5000
+ * Maas-MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
5001
+ * - **Supported text format types for translation**
3356
5002
  * Currently, text and html text types are supported.
3357
5003
  * - **Translation intervention support**
3358
- * Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
5004
+ * Custom translation results are supported, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
3359
5005
  * ## Translation quality comparison
3360
- * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
5006
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3361
5007
  * |----------|---------------|-----------------------|-----------------------|---------------------|
3362
5008
  * | 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 |
3363
5009
  * | 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 segmentation |
3364
- * | 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 | Clearer and more accurate product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
5010
+ * | 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 | Clearer and more accurate product subject description. The translation correctly identifies the product as a "key bag" rather than a "keychain", avoiding ambiguity present in other translations.
3365
5011
  *
3366
5012
  * @param tmpReq - TextTranslateRequest
3367
5013
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3422,32 +5068,34 @@ export default class Client extends OpenApi {
3422
5068
  }
3423
5069
 
3424
5070
  /**
3425
- * Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 31 languages in query phrases and 35 languages in general scenarios. If you do not specify a source language, automatic language detection is performed.
5071
+ * Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
3426
5072
  *
3427
5073
  * @remarks
3428
5074
  * ## Product Introduction
3429
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic language detection is performed.
5075
+ * Maas-MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
3430
5076
  * ## Common scenarios
3431
- * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
3432
- * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
3433
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
3434
- * - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
3435
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
5077
+ * - Product titles: Maas-MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
5078
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Maas-MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
5079
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
5080
+ * - Customer service conversations: In customer service scenarios, Maas-MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
5081
+ * Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
3436
5082
  * ## Functions and features
3437
5083
  * - **Supported language directions**
3438
- * Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
5084
+ * Maas-MT large model translation supports mutual translation among more than 400 languages and language detection for query phrases in 31 languages and general scenarios in 35 languages.
5085
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
5086
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
3439
5087
  * - **Ultra-low hallucination rate and high-speed inference**
3440
- * Marco MT large model translation is a large language model with preference alignment 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.
3441
- * - **Supported text format types**
5088
+ * Maas-MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
5089
+ * - **Supported text format types for translation**
3442
5090
  * Currently, text and html text types are supported.
3443
5091
  * - **Translation intervention support**
3444
- * Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
5092
+ * Custom translation results are supported, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
3445
5093
  * ## Translation quality comparison
3446
- * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
5094
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3447
5095
  * |----------|---------------|-----------------------|-----------------------|---------------------|
3448
5096
  * | 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 |
3449
5097
  * | 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 segmentation |
3450
- * | 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 | Clearer and more accurate product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
5098
+ * | 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 | Clearer and more accurate product subject description. The translation correctly identifies the product as a "key bag" rather than a "keychain", avoiding ambiguity present in other translations.
3451
5099
  *
3452
5100
  * @param request - TextTranslateRequest
3453
5101
  * @returns TextTranslateResponse
@@ -3458,25 +5106,159 @@ export default class Client extends OpenApi {
3458
5106
  }
3459
5107
 
3460
5108
  /**
3461
- * The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
5109
+ * 文本翻译异步
5110
+ *
5111
+ * @remarks
5112
+ * ## 适用场景
5113
+ * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5114
+ *
5115
+ * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5116
+ *
5117
+ * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5118
+ *
5119
+ * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5120
+ *
5121
+ *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
5122
+ * ## 功能介绍
5123
+ * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5124
+ *
5125
+ * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5126
+ *
5127
+ * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5128
+ *
5129
+ * * **翻译效果对比**
5130
+ * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5131
+ * | --- | --- | --- | --- | --- |
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)。
5139
+ *
5140
+ * @param tmpReq - TextTranslateAsyncRequest
5141
+ * @param runtime - runtime options for this request RuntimeOptions
5142
+ * @returns TextTranslateAsyncResponse
5143
+ */
5144
+ async textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse> {
5145
+ tmpReq.validate();
5146
+ let request = new $_model.TextTranslateAsyncShrinkRequest({ });
5147
+ OpenApiUtil.convert(tmpReq, request);
5148
+ if (!$dara.isNull(tmpReq.sourceTextList)) {
5149
+ request.sourceTextListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceTextList, "SourceTextList", "json");
5150
+ }
5151
+
5152
+ let query = { };
5153
+ if (!$dara.isNull(request.bizId)) {
5154
+ query["BizId"] = request.bizId;
5155
+ }
5156
+
5157
+ if (!$dara.isNull(request.bizName)) {
5158
+ query["BizName"] = request.bizName;
5159
+ }
5160
+
5161
+ if (!$dara.isNull(request.formatType)) {
5162
+ query["FormatType"] = request.formatType;
5163
+ }
5164
+
5165
+ if (!$dara.isNull(request.glossary)) {
5166
+ query["Glossary"] = request.glossary;
5167
+ }
5168
+
5169
+ if (!$dara.isNull(request.sourceLanguage)) {
5170
+ query["SourceLanguage"] = request.sourceLanguage;
5171
+ }
5172
+
5173
+ if (!$dara.isNull(request.sourceTextListShrink)) {
5174
+ query["SourceTextList"] = request.sourceTextListShrink;
5175
+ }
5176
+
5177
+ if (!$dara.isNull(request.targetLanguage)) {
5178
+ query["TargetLanguage"] = request.targetLanguage;
5179
+ }
5180
+
5181
+ if (!$dara.isNull(request.translateScene)) {
5182
+ query["TranslateScene"] = request.translateScene;
5183
+ }
5184
+
5185
+ let req = new $OpenApiUtil.OpenApiRequest({
5186
+ query: OpenApiUtil.query(query),
5187
+ });
5188
+ let params = new $OpenApiUtil.Params({
5189
+ action: "TextTranslateAsync",
5190
+ version: "2026-04-28",
5191
+ protocol: "HTTPS",
5192
+ pathname: "/",
5193
+ method: "POST",
5194
+ authType: "AK",
5195
+ style: "RPC",
5196
+ reqBodyType: "formData",
5197
+ bodyType: "json",
5198
+ });
5199
+ return $dara.cast<$_model.TextTranslateAsyncResponse>(await this.callApi(params, req, runtime), new $_model.TextTranslateAsyncResponse({}));
5200
+ }
5201
+
5202
+ /**
5203
+ * 文本翻译异步
5204
+ *
5205
+ * @remarks
5206
+ * ## 适用场景
5207
+ * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
5208
+ *
5209
+ * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
5210
+ *
5211
+ * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
5212
+ *
5213
+ * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
5214
+ *
5215
+ *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
5216
+ * ## 功能介绍
5217
+ * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
5218
+ *
5219
+ * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
5220
+ *
5221
+ * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
5222
+ *
5223
+ * * **翻译效果对比**
5224
+ * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
5225
+ * | --- | --- | --- | --- | --- |
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)。
5233
+ *
5234
+ * @param request - TextTranslateAsyncRequest
5235
+ * @returns TextTranslateAsyncResponse
5236
+ */
5237
+ async textTranslateAsync(request: $_model.TextTranslateAsyncRequest): Promise<$_model.TextTranslateAsyncResponse> {
5238
+ let runtime = new $dara.RuntimeOptions({ });
5239
+ return await this.textTranslateAsyncWithOptions(request, runtime);
5240
+ }
5241
+
5242
+ /**
5243
+ * 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.
3462
5244
  *
3463
5245
  * @remarks
3464
5246
  * # Scenarios
3465
- * - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
3466
- * - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
3467
- * - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
3468
- * - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
3469
- * - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
3470
- * - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
5247
+ * - Batch generation of product short videos for sellers and platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), adapting to product detail page video slots, product homepage displays, information feed placements, short video promotions, and event venue materials.
5248
+ * - Quick generation of the first batch of video materials for new product launches: When merchants have a large number of new products to launch, they only need to upload basic information such as product images and titles to quickly generate product showcase videos, model wearing videos, and spoken explanation videos, helping merchants quickly complete material deployment during the launch phase.
5249
+ * - High-fidelity clothing display: Generates model display videos that are closer to real commercial shooting effects based on product main images, focusing on optimizing capabilities such as pattern restoration, fabric texture retention, accurate color presentation, and stable and consistent details. It supports common e-commerce display methods such as wearing, turning, walking, close-up shots, and multi-angle switching.
5250
+ * - Generation of high-quality commercial shooting models: Built-in target audience model library, covering plus-size women, plus-size men, swimwear, girl style, light mature commuting, youth casual, business menswear, sports and fitness, and other body types, skin colors, and races. It supports various commercial shooting expressions such as standing display, side display, walking display, and partial close-ups.
5251
+ * - High-frequency e-commerce scenarios such as standard product explanations: Applicable to standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, home cleaning daily necessities, and 3C digital products. It can quickly generate product explanation videos based on product main images, titles, selling point information, and explanation scripts.
5252
+ * - Multi-product and multi-selling point testing to improve delivery efficiency: For information feed advertising, short video delivery, and content promotion scenarios, it can quickly generate multiple versions of video materials, making it easy for enterprises to verify the conversion effects of different selling points and presentation forms at a low cost, and improve delivery ROI.
3471
5253
  * # Features
3472
- * - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
3473
- * - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
3474
- * - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
3475
- * - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
3476
- * - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
3477
- * - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
3478
- * - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
3479
- * - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
5254
+ * - Fully automatic end-to-end batch generation with zero prompt threshold: Callers only need to pass in the product image URL and title, and the system automatically completes the entire process from product understanding, storyboard planning to video generation, without the need to manually write prompts, select templates, or repeatedly adjust parameters. Built-in multiple agents such as product understanding, image quality inspection, script planning, and director camera movement greatly lower the threshold for use.
5255
+ * - Highly stable generation with a low waste rate: Adopts a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, and making the overall production cost more controllable.
5256
+ * - E-commerce exclusive product fidelity capability: Built-in multi-round quality inspection agent locks the product state throughout the video generation process (such as zippers will not be pulled open, sleeves will not be put down, and prints will not disappear), ensuring product consistency through multi-layer defense of script rewriting, explicit constraint injection, and failure-aware retry.
5257
+ * - Reference image first + 6-axis consistency check: Adopts the Reference-Image-First generation paradigm, using the original product image as the only visual source of truth, and automatically performs 6-dimensional VL diagnosis (color drift, pattern missing, contour deviation, structure addition/reduction, model matching, dirt detection) to fundamentally eliminate the problem of generated images not looking like the product.
5258
+ * - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5 to 30 seconds; the agent independently plans independent storyboards to display the product effects in different scenarios; it also supports a fixed scene mode to deeply display the product tonality under a unified visual style.
5259
+ * - Cinematic camera movement capabilities: Built-in advanced camera movement modes such as bullet time, Grammy slow motion, 360° surround rotation, and model full-body rotation display, achieving deterministic output through segmented precise control.
5260
+ * - Model library and customization services: Built-in multi-type model resource library, supporting merchants to specify fixed models, customize exclusive model images, and bind brand visual personas for a long time to ensure brand visual consistency.
5261
+ * - Adapting to high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P, and multiple aspect ratios such as 3:4 and 9:16, adapting to product detail page video slots, product homepage video displays, waterfall/information feed placements, event venue materials, and new product and promotional video generation.
3480
5262
  *
3481
5263
  * @param tmpReq - VideoGenerationRequest
3482
5264
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3529,25 +5311,25 @@ export default class Client extends OpenApi {
3529
5311
  }
3530
5312
 
3531
5313
  /**
3532
- * The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
5314
+ * 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.
3533
5315
  *
3534
5316
  * @remarks
3535
5317
  * # Scenarios
3536
- * - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
3537
- * - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
3538
- * - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
3539
- * - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
3540
- * - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
3541
- * - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
5318
+ * - Batch generation of product short videos for sellers and platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), adapting to product detail page video slots, product homepage displays, information feed placements, short video promotions, and event venue materials.
5319
+ * - Quick generation of the first batch of video materials for new product launches: When merchants have a large number of new products to launch, they only need to upload basic information such as product images and titles to quickly generate product showcase videos, model wearing videos, and spoken explanation videos, helping merchants quickly complete material deployment during the launch phase.
5320
+ * - High-fidelity clothing display: Generates model display videos that are closer to real commercial shooting effects based on product main images, focusing on optimizing capabilities such as pattern restoration, fabric texture retention, accurate color presentation, and stable and consistent details. It supports common e-commerce display methods such as wearing, turning, walking, close-up shots, and multi-angle switching.
5321
+ * - Generation of high-quality commercial shooting models: Built-in target audience model library, covering plus-size women, plus-size men, swimwear, girl style, light mature commuting, youth casual, business menswear, sports and fitness, and other body types, skin colors, and races. It supports various commercial shooting expressions such as standing display, side display, walking display, and partial close-ups.
5322
+ * - High-frequency e-commerce scenarios such as standard product explanations: Applicable to standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, home cleaning daily necessities, and 3C digital products. It can quickly generate product explanation videos based on product main images, titles, selling point information, and explanation scripts.
5323
+ * - Multi-product and multi-selling point testing to improve delivery efficiency: For information feed advertising, short video delivery, and content promotion scenarios, it can quickly generate multiple versions of video materials, making it easy for enterprises to verify the conversion effects of different selling points and presentation forms at a low cost, and improve delivery ROI.
3542
5324
  * # Features
3543
- * - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
3544
- * - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
3545
- * - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
3546
- * - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
3547
- * - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
3548
- * - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
3549
- * - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
3550
- * - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
5325
+ * - Fully automatic end-to-end batch generation with zero prompt threshold: Callers only need to pass in the product image URL and title, and the system automatically completes the entire process from product understanding, storyboard planning to video generation, without the need to manually write prompts, select templates, or repeatedly adjust parameters. Built-in multiple agents such as product understanding, image quality inspection, script planning, and director camera movement greatly lower the threshold for use.
5326
+ * - Highly stable generation with a low waste rate: Adopts a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, and making the overall production cost more controllable.
5327
+ * - E-commerce exclusive product fidelity capability: Built-in multi-round quality inspection agent locks the product state throughout the video generation process (such as zippers will not be pulled open, sleeves will not be put down, and prints will not disappear), ensuring product consistency through multi-layer defense of script rewriting, explicit constraint injection, and failure-aware retry.
5328
+ * - Reference image first + 6-axis consistency check: Adopts the Reference-Image-First generation paradigm, using the original product image as the only visual source of truth, and automatically performs 6-dimensional VL diagnosis (color drift, pattern missing, contour deviation, structure addition/reduction, model matching, dirt detection) to fundamentally eliminate the problem of generated images not looking like the product.
5329
+ * - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5 to 30 seconds; the agent independently plans independent storyboards to display the product effects in different scenarios; it also supports a fixed scene mode to deeply display the product tonality under a unified visual style.
5330
+ * - Cinematic camera movement capabilities: Built-in advanced camera movement modes such as bullet time, Grammy slow motion, 360° surround rotation, and model full-body rotation display, achieving deterministic output through segmented precise control.
5331
+ * - Model library and customization services: Built-in multi-type model resource library, supporting merchants to specify fixed models, customize exclusive model images, and bind brand visual personas for a long time to ensure brand visual consistency.
5332
+ * - Adapting to high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P, and multiple aspect ratios such as 3:4 and 9:16, adapting to product detail page video slots, product homepage video displays, waterfall/information feed placements, event venue materials, and new product and promotional video generation.
3551
5333
  *
3552
5334
  * @param request - VideoGenerationRequest
3553
5335
  * @returns VideoGenerationResponse
@@ -3558,28 +5340,28 @@ export default class Client extends OpenApi {
3558
5340
  }
3559
5341
 
3560
5342
  /**
3561
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
5343
+ * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
3562
5344
  *
3563
5345
  * @remarks
3564
- * ## 1. Product Introduction
3565
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
3566
- * The API uses an asynchronous call mode: after you submit a translation task, you receive a `task_id`. Poll the query endpoint for the task status until the task is complete, and then retrieve the result.
3567
- * ## 2. Scenarios
3568
- * * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the language of the target market to facilitate overseas platform promotion.
5346
+ * ## 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.
5349
+ * ## 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.
3569
5351
  *
3570
- * * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube to improve comprehension and conversion rates among overseas users.
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.
3571
5353
  *
3572
- * * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
5354
+ * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
3573
5355
  *
3574
- * * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
3575
- * ## 3. Features
5356
+ * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
5357
+ * ## Features
3576
5358
  * | Feature | Identifier | Description |
3577
5359
  * | --- | --- | --- |
3578
- * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
3579
- * ## 4. Developer guide.
3580
- * ### 4.1 Submit a translation task.
3581
- * #### Request
3582
- * `POST /api/v1/video/translation`
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.
3583
5365
  *
3584
5366
  * @param tmpReq - VideoTranslationRequest
3585
5367
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3593,11 +5375,28 @@ export default class Client extends OpenApi {
3593
5375
  request.capabilitiesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.capabilities, "Capabilities", "json");
3594
5376
  }
3595
5377
 
5378
+ let query = { };
5379
+ if (!$dara.isNull(request.eraseOnly)) {
5380
+ query["EraseOnly"] = request.eraseOnly;
5381
+ }
5382
+
5383
+ if (!$dara.isNull(request.removeLogo)) {
5384
+ query["RemoveLogo"] = request.removeLogo;
5385
+ }
5386
+
5387
+ if (!$dara.isNull(request.subtitleMode)) {
5388
+ query["SubtitleMode"] = request.subtitleMode;
5389
+ }
5390
+
3596
5391
  let body : {[key: string ]: any} = { };
3597
5392
  if (!$dara.isNull(request.capabilitiesShrink)) {
3598
5393
  body["Capabilities"] = request.capabilitiesShrink;
3599
5394
  }
3600
5395
 
5396
+ if (!$dara.isNull(request.enableQualityCheck)) {
5397
+ body["EnableQualityCheck"] = request.enableQualityCheck;
5398
+ }
5399
+
3601
5400
  if (!$dara.isNull(request.sourceLanguage)) {
3602
5401
  body["SourceLanguage"] = request.sourceLanguage;
3603
5402
  }
@@ -3611,6 +5410,7 @@ export default class Client extends OpenApi {
3611
5410
  }
3612
5411
 
3613
5412
  let req = new $OpenApiUtil.OpenApiRequest({
5413
+ query: OpenApiUtil.query(query),
3614
5414
  body: OpenApiUtil.parseToMap(body),
3615
5415
  });
3616
5416
  let params = new $OpenApiUtil.Params({
@@ -3628,28 +5428,28 @@ export default class Client extends OpenApi {
3628
5428
  }
3629
5429
 
3630
5430
  /**
3631
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
5431
+ * Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
3632
5432
  *
3633
5433
  * @remarks
3634
- * ## 1. Product Introduction
3635
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
3636
- * The API uses an asynchronous call mode: after you submit a translation task, you receive a `task_id`. Poll the query endpoint for the task status until the task is complete, and then retrieve the result.
3637
- * ## 2. Scenarios
3638
- * * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the language of the target market to facilitate overseas platform promotion.
5434
+ * ## 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.
5437
+ * ## 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.
3639
5439
  *
3640
- * * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube to improve comprehension and conversion rates among overseas users.
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.
3641
5441
  *
3642
- * * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
5442
+ * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
3643
5443
  *
3644
- * * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
3645
- * ## 3. Features
5444
+ * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
5445
+ * ## Features
3646
5446
  * | Feature | Identifier | Description |
3647
5447
  * | --- | --- | --- |
3648
- * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
3649
- * ## 4. Developer guide.
3650
- * ### 4.1 Submit a translation task.
3651
- * #### Request
3652
- * `POST /api/v1/video/translation`
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.
3653
5453
  *
3654
5454
  * @param request - VideoTranslationRequest
3655
5455
  * @returns VideoTranslationResponse