@alicloud/aidge20260428 5.8.0 → 5.10.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 (328) hide show
  1. package/dist/client.d.ts +1534 -313
  2. package/dist/client.js +2648 -749
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
  5. package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
  6. package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
  7. package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
  8. package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
  9. package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
  10. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
  11. package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
  12. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
  13. package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
  14. package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
  15. package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
  16. package/dist/models/AiTryOnRequest.d.ts +4 -4
  17. package/dist/models/AiTryOnResponseBody.d.ts +10 -10
  18. package/dist/models/AiTryOnResponseBody.js +0 -2
  19. package/dist/models/AiTryOnResponseBody.js.map +1 -1
  20. package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
  21. package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
  22. package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
  23. package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
  24. package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
  25. package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
  26. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
  27. package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
  28. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
  29. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
  30. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
  31. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js.map +1 -0
  32. package/dist/models/DocumentTranslateRequest.d.ts +4 -4
  33. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  34. package/dist/models/EcomVideoRecreationRequest.d.ts +24 -16
  35. package/dist/models/EcomVideoRecreationRequest.js +2 -0
  36. package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
  37. package/dist/models/EcomVideoRecreationResponseBody.d.ts +5 -5
  38. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  39. package/dist/models/ImageMattingAsyncRequest.d.ts +59 -0
  40. package/dist/models/ImageMattingAsyncRequest.js +66 -0
  41. package/dist/models/ImageMattingAsyncRequest.js.map +1 -0
  42. package/dist/models/ImageMattingAsyncResponse.d.ts +19 -0
  43. package/dist/models/ImageMattingAsyncResponse.js +69 -0
  44. package/dist/models/ImageMattingAsyncResponse.js.map +1 -0
  45. package/dist/models/ImageMattingAsyncResponseBody.d.ts +72 -0
  46. package/dist/models/ImageMattingAsyncResponseBody.js +88 -0
  47. package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -0
  48. package/dist/models/ImageRecognitionAsyncRequest.d.ts +101 -0
  49. package/dist/models/ImageRecognitionAsyncRequest.js +78 -0
  50. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -0
  51. package/dist/models/ImageRecognitionAsyncResponse.d.ts +19 -0
  52. package/dist/models/ImageRecognitionAsyncResponse.js +69 -0
  53. package/dist/models/ImageRecognitionAsyncResponse.js.map +1 -0
  54. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +72 -0
  55. package/dist/models/ImageRecognitionAsyncResponseBody.js +88 -0
  56. package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -0
  57. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +101 -0
  58. package/dist/models/ImageRecognitionAsyncShrinkRequest.js +72 -0
  59. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -0
  60. package/dist/models/ImageRemovalProAsyncRequest.d.ts +23 -0
  61. package/dist/models/ImageRemovalProAsyncRequest.js +58 -0
  62. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -0
  63. package/dist/models/ImageRemovalProAsyncResponse.d.ts +19 -0
  64. package/dist/models/ImageRemovalProAsyncResponse.js +69 -0
  65. package/dist/models/ImageRemovalProAsyncResponse.js.map +1 -0
  66. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +70 -0
  67. package/dist/models/ImageRemovalProAsyncResponseBody.js +88 -0
  68. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -0
  69. package/dist/models/ImageRemoveAsyncRequest.d.ts +59 -0
  70. package/dist/models/ImageRemoveAsyncRequest.js +82 -0
  71. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -0
  72. package/dist/models/ImageRemoveAsyncResponse.d.ts +19 -0
  73. package/dist/models/ImageRemoveAsyncResponse.js +69 -0
  74. package/dist/models/ImageRemoveAsyncResponse.js.map +1 -0
  75. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +70 -0
  76. package/dist/models/ImageRemoveAsyncResponseBody.js +88 -0
  77. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -0
  78. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +59 -0
  79. package/dist/models/ImageRemoveAsyncShrinkRequest.js +70 -0
  80. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -0
  81. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +78 -0
  82. package/dist/models/ImageTranslationPlusAsyncRequest.js +70 -0
  83. package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -0
  84. package/dist/models/ImageTranslationPlusAsyncResponse.d.ts +19 -0
  85. package/dist/models/ImageTranslationPlusAsyncResponse.js +69 -0
  86. package/dist/models/ImageTranslationPlusAsyncResponse.js.map +1 -0
  87. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +70 -0
  88. package/dist/models/ImageTranslationPlusAsyncResponseBody.js +88 -0
  89. package/dist/models/ImageTranslationPlusAsyncResponseBody.js.map +1 -0
  90. package/dist/models/ImageTranslationProAsyncRequest.d.ts +78 -0
  91. package/dist/models/ImageTranslationProAsyncRequest.js +70 -0
  92. package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -0
  93. package/dist/models/ImageTranslationProAsyncResponse.d.ts +19 -0
  94. package/dist/models/ImageTranslationProAsyncResponse.js +69 -0
  95. package/dist/models/ImageTranslationProAsyncResponse.js.map +1 -0
  96. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +70 -0
  97. package/dist/models/ImageTranslationProAsyncResponseBody.js +88 -0
  98. package/dist/models/ImageTranslationProAsyncResponseBody.js.map +1 -0
  99. package/dist/models/ImageTranslationProRequest.d.ts +12 -8
  100. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  101. package/dist/models/ImageTranslationProResponseBody.d.ts +4 -2
  102. package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
  103. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +75 -0
  104. package/dist/models/ImageTranslationStandardAsyncRequest.js +70 -0
  105. package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -0
  106. package/dist/models/ImageTranslationStandardAsyncResponse.d.ts +19 -0
  107. package/dist/models/ImageTranslationStandardAsyncResponse.js +69 -0
  108. package/dist/models/ImageTranslationStandardAsyncResponse.js.map +1 -0
  109. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +70 -0
  110. package/dist/models/ImageTranslationStandardAsyncResponseBody.js +88 -0
  111. package/dist/models/ImageTranslationStandardAsyncResponseBody.js.map +1 -0
  112. package/dist/models/ImageTranslationStandardRequest.d.ts +11 -7
  113. package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
  114. package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
  115. package/dist/models/MerchandisePlacementDetectionLiteRequest.d.ts +23 -0
  116. package/dist/models/MerchandisePlacementDetectionLiteRequest.js +58 -0
  117. package/dist/models/MerchandisePlacementDetectionLiteRequest.js.map +1 -0
  118. package/dist/models/MerchandisePlacementDetectionLiteResponse.d.ts +19 -0
  119. package/dist/models/MerchandisePlacementDetectionLiteResponse.js +69 -0
  120. package/dist/models/MerchandisePlacementDetectionLiteResponse.js.map +1 -0
  121. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +239 -0
  122. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js +229 -0
  123. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -0
  124. package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +23 -0
  125. package/dist/models/MerchandisePriceTagDetectionRequest.js +58 -0
  126. package/dist/models/MerchandisePriceTagDetectionRequest.js.map +1 -0
  127. package/dist/models/MerchandisePriceTagDetectionResponse.d.ts +19 -0
  128. package/dist/models/MerchandisePriceTagDetectionResponse.js +69 -0
  129. package/dist/models/MerchandisePriceTagDetectionResponse.js.map +1 -0
  130. package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +258 -0
  131. package/dist/models/MerchandisePriceTagDetectionResponseBody.js +230 -0
  132. package/dist/models/MerchandisePriceTagDetectionResponseBody.js.map +1 -0
  133. package/dist/models/MerchandiseSceneDetectionRequest.d.ts +23 -0
  134. package/dist/models/MerchandiseSceneDetectionRequest.js +58 -0
  135. package/dist/models/MerchandiseSceneDetectionRequest.js.map +1 -0
  136. package/dist/models/MerchandiseSceneDetectionResponse.d.ts +19 -0
  137. package/dist/models/MerchandiseSceneDetectionResponse.js +69 -0
  138. package/dist/models/MerchandiseSceneDetectionResponse.js.map +1 -0
  139. package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +263 -0
  140. package/dist/models/MerchandiseSceneDetectionResponseBody.js +235 -0
  141. package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -0
  142. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.d.ts +23 -0
  143. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js +58 -0
  144. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js.map +1 -0
  145. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.d.ts +19 -0
  146. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js +69 -0
  147. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js.map +1 -0
  148. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +170 -0
  149. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js +172 -0
  150. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js.map +1 -0
  151. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.d.ts +23 -0
  152. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js +58 -0
  153. package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js.map +1 -0
  154. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.d.ts +19 -0
  155. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js +69 -0
  156. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js.map +1 -0
  157. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +197 -0
  158. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js +178 -0
  159. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -0
  160. package/dist/models/PetHealthAnalysisRequest.d.ts +2 -10
  161. package/dist/models/PetHealthAnalysisRequest.js.map +1 -1
  162. package/dist/models/PetHealthAnalysisResponseBody.d.ts +0 -19
  163. package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -1
  164. package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +2 -10
  165. package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -1
  166. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
  167. package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
  168. package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
  169. package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
  170. package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
  171. package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
  172. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
  173. package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
  174. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
  175. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
  176. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
  177. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
  178. package/dist/models/SizeChartExtractAsyncRequest.d.ts +36 -0
  179. package/dist/models/SizeChartExtractAsyncRequest.js +65 -0
  180. package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -0
  181. package/dist/models/SizeChartExtractAsyncResponse.d.ts +19 -0
  182. package/dist/models/SizeChartExtractAsyncResponse.js +69 -0
  183. package/dist/models/SizeChartExtractAsyncResponse.js.map +1 -0
  184. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +70 -0
  185. package/dist/models/SizeChartExtractAsyncResponseBody.js +88 -0
  186. package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -0
  187. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +36 -0
  188. package/dist/models/SizeChartExtractAsyncShrinkRequest.js +62 -0
  189. package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -0
  190. package/dist/models/StorefrontSceneRecognitionRequest.d.ts +23 -0
  191. package/dist/models/StorefrontSceneRecognitionRequest.js +58 -0
  192. package/dist/models/StorefrontSceneRecognitionRequest.js.map +1 -0
  193. package/dist/models/StorefrontSceneRecognitionResponse.d.ts +19 -0
  194. package/dist/models/StorefrontSceneRecognitionResponse.js +69 -0
  195. package/dist/models/StorefrontSceneRecognitionResponse.js.map +1 -0
  196. package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +190 -0
  197. package/dist/models/StorefrontSceneRecognitionResponseBody.js +199 -0
  198. package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -0
  199. package/dist/models/TextTranslateAsyncRequest.d.ts +84 -0
  200. package/dist/models/TextTranslateAsyncRequest.js +75 -0
  201. package/dist/models/TextTranslateAsyncRequest.js.map +1 -0
  202. package/dist/models/TextTranslateAsyncResponse.d.ts +19 -0
  203. package/dist/models/TextTranslateAsyncResponse.js +69 -0
  204. package/dist/models/TextTranslateAsyncResponse.js.map +1 -0
  205. package/dist/models/TextTranslateAsyncResponseBody.d.ts +70 -0
  206. package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
  207. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
  208. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +84 -0
  209. package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
  210. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
  211. package/dist/models/TextTranslateRequest.d.ts +10 -10
  212. package/dist/models/TextTranslateResponseBody.d.ts +1 -1
  213. package/dist/models/TextTranslateShrinkRequest.d.ts +10 -10
  214. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
  215. package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
  216. package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
  217. package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
  218. package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
  219. package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
  220. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
  221. package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
  222. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
  223. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
  224. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
  225. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
  226. package/dist/models/VideoGenerationRequest.d.ts +21 -12
  227. package/dist/models/VideoGenerationRequest.js.map +1 -1
  228. package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
  229. package/dist/models/VideoTranslationRequest.d.ts +36 -6
  230. package/dist/models/VideoTranslationRequest.js +8 -0
  231. package/dist/models/VideoTranslationRequest.js.map +1 -1
  232. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  233. package/dist/models/VideoTranslationShrinkRequest.d.ts +36 -6
  234. package/dist/models/VideoTranslationShrinkRequest.js +8 -0
  235. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  236. package/dist/models/model.d.ts +115 -0
  237. package/dist/models/model.js +237 -4
  238. package/dist/models/model.js.map +1 -1
  239. package/package.json +1 -1
  240. package/src/client.ts +2810 -786
  241. package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
  242. package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
  243. package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
  244. package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
  245. package/src/models/AiTryOnRequest.ts +4 -4
  246. package/src/models/AiTryOnResponseBody.ts +10 -10
  247. package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
  248. package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
  249. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
  250. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
  251. package/src/models/DocumentTranslateRequest.ts +4 -4
  252. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  253. package/src/models/EcomVideoRecreationRequest.ts +26 -16
  254. package/src/models/EcomVideoRecreationResponseBody.ts +5 -5
  255. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  256. package/src/models/ImageMattingAsyncRequest.ts +80 -0
  257. package/src/models/ImageMattingAsyncResponse.ts +40 -0
  258. package/src/models/ImageMattingAsyncResponseBody.ts +106 -0
  259. package/src/models/ImageRecognitionAsyncRequest.ts +134 -0
  260. package/src/models/ImageRecognitionAsyncResponse.ts +40 -0
  261. package/src/models/ImageRecognitionAsyncResponseBody.ts +106 -0
  262. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +128 -0
  263. package/src/models/ImageRemovalProAsyncRequest.ts +36 -0
  264. package/src/models/ImageRemovalProAsyncResponse.ts +40 -0
  265. package/src/models/ImageRemovalProAsyncResponseBody.ts +104 -0
  266. package/src/models/ImageRemoveAsyncRequest.ts +96 -0
  267. package/src/models/ImageRemoveAsyncResponse.ts +40 -0
  268. package/src/models/ImageRemoveAsyncResponseBody.ts +104 -0
  269. package/src/models/ImageRemoveAsyncShrinkRequest.ts +84 -0
  270. package/src/models/ImageTranslationPlusAsyncRequest.ts +103 -0
  271. package/src/models/ImageTranslationPlusAsyncResponse.ts +40 -0
  272. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +104 -0
  273. package/src/models/ImageTranslationProAsyncRequest.ts +103 -0
  274. package/src/models/ImageTranslationProAsyncResponse.ts +40 -0
  275. package/src/models/ImageTranslationProAsyncResponseBody.ts +104 -0
  276. package/src/models/ImageTranslationProRequest.ts +12 -8
  277. package/src/models/ImageTranslationProResponseBody.ts +4 -2
  278. package/src/models/ImageTranslationStandardAsyncRequest.ts +100 -0
  279. package/src/models/ImageTranslationStandardAsyncResponse.ts +40 -0
  280. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +104 -0
  281. package/src/models/ImageTranslationStandardRequest.ts +11 -7
  282. package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
  283. package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
  284. package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
  285. package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
  286. package/src/models/MerchandisePriceTagDetectionRequest.ts +36 -0
  287. package/src/models/MerchandisePriceTagDetectionResponse.ts +40 -0
  288. package/src/models/MerchandisePriceTagDetectionResponseBody.ts +387 -0
  289. package/src/models/MerchandiseSceneDetectionRequest.ts +36 -0
  290. package/src/models/MerchandiseSceneDetectionResponse.ts +40 -0
  291. package/src/models/MerchandiseSceneDetectionResponseBody.ts +397 -0
  292. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.ts +36 -0
  293. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.ts +40 -0
  294. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +259 -0
  295. package/src/models/MilkPowderCartonCodeRephotographyDetectionRequest.ts +36 -0
  296. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponse.ts +40 -0
  297. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +292 -0
  298. package/src/models/PetHealthAnalysisRequest.ts +2 -10
  299. package/src/models/PetHealthAnalysisResponseBody.ts +0 -19
  300. package/src/models/PetHealthAnalysisShrinkRequest.ts +2 -10
  301. package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
  302. package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
  303. package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
  304. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
  305. package/src/models/SizeChartExtractAsyncRequest.ts +56 -0
  306. package/src/models/SizeChartExtractAsyncResponse.ts +40 -0
  307. package/src/models/SizeChartExtractAsyncResponseBody.ts +104 -0
  308. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +53 -0
  309. package/src/models/StorefrontSceneRecognitionRequest.ts +36 -0
  310. package/src/models/StorefrontSceneRecognitionResponse.ts +40 -0
  311. package/src/models/StorefrontSceneRecognitionResponseBody.ts +297 -0
  312. package/src/models/TextTranslateAsyncRequest.ts +114 -0
  313. package/src/models/TextTranslateAsyncResponse.ts +40 -0
  314. package/src/models/TextTranslateAsyncResponseBody.ts +104 -0
  315. package/src/models/TextTranslateAsyncShrinkRequest.ts +111 -0
  316. package/src/models/TextTranslateRequest.ts +10 -10
  317. package/src/models/TextTranslateResponseBody.ts +1 -1
  318. package/src/models/TextTranslateShrinkRequest.ts +10 -10
  319. package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
  320. package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
  321. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
  322. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
  323. package/src/models/VideoGenerationRequest.ts +21 -12
  324. package/src/models/VideoGenerationResponseBody.ts +5 -5
  325. package/src/models/VideoTranslationRequest.ts +44 -6
  326. package/src/models/VideoTranslationResponseBody.ts +4 -4
  327. package/src/models/VideoTranslationShrinkRequest.ts +44 -6
  328. package/src/models/model.ts +115 -0
package/dist/client.d.ts CHANGED
@@ -9,31 +9,46 @@ export default class Client extends OpenApi {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
11
  /**
12
- * Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
12
+ * Synchronously adds content to a display knowledge base in batches.
13
+ *
14
+ * @param tmpReq - AddDisplayKnowledgeRequest
15
+ * @param runtime - runtime options for this request RuntimeOptions
16
+ * @returns AddDisplayKnowledgeResponse
17
+ */
18
+ addDisplayKnowledgeWithOptions(tmpReq: $_model.AddDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddDisplayKnowledgeResponse>;
19
+ /**
20
+ * Synchronously adds content to a display knowledge base in batches.
21
+ *
22
+ * @param request - AddDisplayKnowledgeRequest
23
+ * @returns AddDisplayKnowledgeResponse
24
+ */
25
+ addDisplayKnowledge(request: $_model.AddDisplayKnowledgeRequest): Promise<$_model.AddDisplayKnowledgeResponse>;
26
+ /**
27
+ * Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
13
28
  *
14
29
  * @remarks
15
30
  * ## Scenarios
16
- * - **Virtual try-on for clothing products:**
17
- * Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
31
+ * - **Virtual try-on for clothing:**
32
+ * Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
18
33
  * - **Virtual try-on for shoes and hats:**
19
- * Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
34
+ * Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
20
35
  * - **E-commerce product display and marketing:**
21
- * Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
36
+ * Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
22
37
  * - **Online shopping experience optimization:**
23
- * Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
38
+ * Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
24
39
  * ## Features
25
- * - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
26
- * - a. Model image: The person image on which the virtual try-on is performed.
27
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
28
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
29
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
30
- * - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
31
- * - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
32
- * - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
33
- * - b. Maintain scene consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
34
- * - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
35
- * ## Sample results
36
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
40
+ * - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
41
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
42
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
43
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
44
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
45
+ * - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
46
+ * - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
47
+ * - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
48
+ * - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
49
+ * - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
50
+ * ## Examples
51
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
37
52
  * | --- | --- | --- | --- |
38
53
  * | Tops | ![lQLPJv-OKUNDSxvNBojNA62wAMWEBuiTUuMKXnNidWFWAA_941_1672.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/e4273b03-0d3b-4e98-b8f3-8713fccee303.png) | ![男模特衬衫正面-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/d9ab77f7-8791-4fa5-8d76-4fda3e2e1310.png) | ![7c1c0c04-9828-940f-b86d-c08f7ec8fb97_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/42982786-73ee-4d23-a8d0-551f7a18be22.png) |
39
54
  * | Bottoms | ![lQDPJwcNMfxtoRvNBQDNAtCwhseujKzDt_QKXnNSTPaeAA_720_1280.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/64147be2-0c95-431a-8c04-f756fac96db2.jpeg) | ![微喇牛仔裤-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/f79a31cb-08bd-4b59-be9d-9b9aa3f60230.png) | ![adbb8e02-9738-991a-9699-f46bc5c089a9_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/297f29eb-7bc9-49a5-b4f7-114375a0f312.png) |
@@ -48,31 +63,31 @@ export default class Client extends OpenApi {
48
63
  */
49
64
  aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse>;
50
65
  /**
51
- * Virtual Try-On is an AI algorithm-based image generation API service that replaces the clothing on a model with the garment provided by the user based on the input garment image and model image, while preserving the model\\"s other details and scene details without altering the model\\"s pose, facial features, or other attributes, and achieving realistic and well-fitted clothing placement. Users only need to provide the URL of the original product image to obtain a processed clean image.
66
+ * Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
52
67
  *
53
68
  * @remarks
54
69
  * ## Scenarios
55
- * - **Virtual try-on for clothing products:**
56
- * Supports multiple clothing categories including tops, bottoms, jumpsuits, and dresses. After uploading a person image and a product image, the service generates natural and realistic try-on results that intuitively showcase how the clothing looks when worn.
70
+ * - **Virtual try-on for clothing:**
71
+ * Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
57
72
  * - **Virtual try-on for shoes and hats:**
58
- * Supports virtual try-on for shoes, hats, and similar products. The service intelligently matches the product position and proportion based on the person\\"s pose and body parts, producing coordinated and lifelike wearing effects.
73
+ * Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
59
74
  * - **E-commerce product display and marketing:**
60
- * Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
75
+ * Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
61
76
  * - **Online shopping experience optimization:**
62
- * Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the product\\"s style, coordination, and overall appearance, which assists purchase decisions and enhances the shopping experience.
77
+ * Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
63
78
  * ## Features
64
- * - **First, the user needs to provide a model image and a product image. The system uses the model image as the try-on subject and applies the clothing from the product image onto the model:**
65
- * - a. Model image: The person image on which the virtual try-on is performed.
66
- * - b. Product image: The clothing, shoes, or hat image to be applied onto the model.
67
- * - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
68
- * - a. Specify product type: The user can directly specify the product type, and the system processes accordingly.
69
- * - b. Automatic type recognition: If the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
70
- * - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that showcases how the product looks on the model:**
71
- * - a. Preserve model details: The generation process does not alter the person\\"s appearance, hairstyle, pose, body shape, or other details in the original model image.
72
- * - b. Maintain scene consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
73
- * - c. Generate try-on results: The product is naturally applied onto the model, conforming to the person\\"s pose and body structure, producing a coordinated and realistic virtual try-on image.
74
- * ## Sample results
75
- * | **Type** | **Model image** | **Clothing image** | **Try-on result** |
79
+ * - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
80
+ * - a. Model image: The image of the person who will wear the garment in the virtual try-on.
81
+ * - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
82
+ * - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
83
+ * - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
84
+ * - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
85
+ * - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
86
+ * - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
87
+ * - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
88
+ * - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
89
+ * ## Examples
90
+ * | **Type** | **Model image** | **Garment image** | **Try-on result** |
76
91
  * | --- | --- | --- | --- |
77
92
  * | Tops | ![lQLPJv-OKUNDSxvNBojNA62wAMWEBuiTUuMKXnNidWFWAA_941_1672.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/e4273b03-0d3b-4e98-b8f3-8713fccee303.png) | ![男模特衬衫正面-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/d9ab77f7-8791-4fa5-8d76-4fda3e2e1310.png) | ![7c1c0c04-9828-940f-b86d-c08f7ec8fb97_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/42982786-73ee-4d23-a8d0-551f7a18be22.png) |
78
93
  * | Bottoms | ![lQDPJwcNMfxtoRvNBQDNAtCwhseujKzDt_QKXnNSTPaeAA_720_1280.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/64147be2-0c95-431a-8c04-f756fac96db2.jpeg) | ![微喇牛仔裤-aidge.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/f79a31cb-08bd-4b59-be9d-9b9aa3f60230.png) | ![adbb8e02-9738-991a-9699-f46bc5c089a9_qwen_image3_serving_output_0.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4j6OJ5PZM1WeKq3p/img/297f29eb-7bc9-49a5-b4f7-114375a0f312.png) |
@@ -319,6 +334,21 @@ export default class Client extends OpenApi {
319
334
  * @returns CategoryMatchResponse
320
335
  */
321
336
  categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
337
+ /**
338
+ * Deletes display knowledge base content in batches synchronously.
339
+ *
340
+ * @param tmpReq - DeleteDisplayKnowledgeRequest
341
+ * @param runtime - runtime options for this request RuntimeOptions
342
+ * @returns DeleteDisplayKnowledgeResponse
343
+ */
344
+ deleteDisplayKnowledgeWithOptions(tmpReq: $_model.DeleteDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDisplayKnowledgeResponse>;
345
+ /**
346
+ * Deletes display knowledge base content in batches synchronously.
347
+ *
348
+ * @param request - DeleteDisplayKnowledgeRequest
349
+ * @returns DeleteDisplayKnowledgeResponse
350
+ */
351
+ deleteDisplayKnowledge(request: $_model.DeleteDisplayKnowledgeRequest): Promise<$_model.DeleteDisplayKnowledgeResponse>;
322
352
  /**
323
353
  * Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
324
354
  *
@@ -392,8 +422,7 @@ export default class Client extends OpenApi {
392
422
  */
393
423
  diduiAreaDeductionPro(request: $_model.DiduiAreaDeductionProRequest): Promise<$_model.DiduiAreaDeductionProResponse>;
394
424
  /**
395
- * 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.
396
- * Excels in the following areas:
425
+ * 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:
397
426
  * - Content accuracy: translation accuracy, parameter and unit accuracy.
398
427
  * - Structural integrity: overall layout continuity, page margin and layout restoration.
399
428
  *
@@ -404,13 +433,13 @@ export default class Client extends OpenApi {
404
433
  * - Content accuracy: translation accuracy, parameter and unit accuracy
405
434
  * - Structural integrity: overall layout continuity, page margin and layout restoration
406
435
  * ## Common scenarios
407
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
436
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
408
437
  * ## Functions and features
409
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
410
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
438
+ * - 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).
439
+ * - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
411
440
  * - Supports high-fidelity layout restoration after translation.
412
441
  * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
413
- * - 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.
442
+ * - 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.
414
443
  *
415
444
  * @param request - DocumentTranslateRequest
416
445
  * @param runtime - runtime options for this request RuntimeOptions
@@ -418,8 +447,7 @@ export default class Client extends OpenApi {
418
447
  */
419
448
  documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
420
449
  /**
421
- * 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.
422
- * Excels in the following areas:
450
+ * 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:
423
451
  * - Content accuracy: translation accuracy, parameter and unit accuracy.
424
452
  * - Structural integrity: overall layout continuity, page margin and layout restoration.
425
453
  *
@@ -430,43 +458,58 @@ export default class Client extends OpenApi {
430
458
  * - Content accuracy: translation accuracy, parameter and unit accuracy
431
459
  * - Structural integrity: overall layout continuity, page margin and layout restoration
432
460
  * ## Common scenarios
433
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
461
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
434
462
  * ## Functions and features
435
- * - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
436
- * - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
463
+ * - 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).
464
+ * - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
437
465
  * - Supports high-fidelity layout restoration after translation.
438
466
  * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
439
- * - 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.
467
+ * - 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.
440
468
  *
441
469
  * @param request - DocumentTranslateRequest
442
470
  * @returns DocumentTranslateResponse
443
471
  */
444
472
  documentTranslate(request: $_model.DocumentTranslateRequest): Promise<$_model.DocumentTranslateResponse>;
445
473
  /**
446
- * 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.
474
+ * 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.
447
475
  *
448
476
  * @remarks
449
- * ## **Product Introduction**
450
- * 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.
477
+ * ## **Product introduction**
478
+ * 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.
451
479
  * ## **Scenarios**
452
- * - **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.
453
- * - **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.
454
- * - **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.
455
- * - **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.
456
- * ## **Product Capabilities**
457
- * ### **Core capabilities**
458
- * Two replacement modes are supported:
459
- * - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
460
- * - **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.
461
- * - **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.
462
- * - **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.
463
- * - **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.
464
- * - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
465
- * - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
466
- * - **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.
467
- * - **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.
468
- * - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
469
- * - **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.
480
+ * - **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.
481
+ * - **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.
482
+ * - **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.
483
+ * - **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.
484
+ * ## **Feature overview**
485
+ * ### **Core features**
486
+ * * **Supports two replacement modes:**
487
+ *
488
+ * * **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.
489
+ *
490
+ * * **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.
491
+ *
492
+ * * **Supports two generation modes:**
493
+ *
494
+ * * **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.
495
+ *
496
+ * * **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.
497
+ *
498
+ * * **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.
499
+ *
500
+ * * **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.
501
+ *
502
+ * * **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.
503
+ *
504
+ * * **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.
505
+ *
506
+ * * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
507
+ *
508
+ * * **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.
509
+ *
510
+ * * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
511
+ *
512
+ * * **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.
470
513
  *
471
514
  * @param tmpReq - EcomVideoRecreationRequest
472
515
  * @param runtime - runtime options for this request RuntimeOptions
@@ -474,30 +517,45 @@ export default class Client extends OpenApi {
474
517
  */
475
518
  ecomVideoRecreationWithOptions(tmpReq: $_model.EcomVideoRecreationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EcomVideoRecreationResponse>;
476
519
  /**
477
- * 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.
520
+ * 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.
478
521
  *
479
522
  * @remarks
480
- * ## **Product Introduction**
481
- * 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.
523
+ * ## **Product introduction**
524
+ * 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.
482
525
  * ## **Scenarios**
483
- * - **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.
484
- * - **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.
485
- * - **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.
486
- * - **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.
487
- * ## **Product Capabilities**
488
- * ### **Core capabilities**
489
- * Two replacement modes are supported:
490
- * - **Product replacement (product_replacement):** Retains the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
491
- * - **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.
492
- * - **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.
493
- * - **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.
494
- * - **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.
495
- * - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
496
- * - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
497
- * - **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.
498
- * - **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.
499
- * - **Commercial model adaptation:** Supports matching model appearance and presentation style based on product style, silhouette, target audience, and market demand.
500
- * - **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.
526
+ * - **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.
527
+ * - **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.
528
+ * - **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.
529
+ * - **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.
530
+ * ## **Feature overview**
531
+ * ### **Core features**
532
+ * * **Supports two replacement modes:**
533
+ *
534
+ * * **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.
535
+ *
536
+ * * **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.
537
+ *
538
+ * * **Supports two generation modes:**
539
+ *
540
+ * * **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.
541
+ *
542
+ * * **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.
543
+ *
544
+ * * **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.
545
+ *
546
+ * * **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.
547
+ *
548
+ * * **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.
549
+ *
550
+ * * **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.
551
+ *
552
+ * * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
553
+ *
554
+ * * **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.
555
+ *
556
+ * * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
557
+ *
558
+ * * **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.
501
559
  *
502
560
  * @param request - EcomVideoRecreationRequest
503
561
  * @returns EcomVideoRecreationResponse
@@ -656,6 +714,67 @@ export default class Client extends OpenApi {
656
714
  * @returns ImageMattingResponse
657
715
  */
658
716
  imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
717
+ /**
718
+ * 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.
719
+ *
720
+ * @remarks
721
+ * # Scenarios
722
+ * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
723
+ *
724
+ * * 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.
725
+ * # Features.
726
+ * #### 1. One-click precise subject recognition
727
+ * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
728
+ *
729
+ * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
730
+ * #### 2. Intelligent edge optimization
731
+ * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
732
+ * #### 3. Multi-format output and background operations
733
+ * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
734
+ *
735
+ * * **Supports custom background colors**
736
+ * # Effect comparison
737
+ * | **Original image (input)** | **Result image (output)** |
738
+ * | --- | --- |
739
+ * | ![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) |
740
+ * | ![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) |
741
+ * | ![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) |
742
+ *
743
+ * @param request - ImageMattingAsyncRequest
744
+ * @param runtime - runtime options for this request RuntimeOptions
745
+ * @returns ImageMattingAsyncResponse
746
+ */
747
+ imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
748
+ /**
749
+ * 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.
750
+ *
751
+ * @remarks
752
+ * # Scenarios
753
+ * * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
754
+ *
755
+ * * 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.
756
+ * # Features.
757
+ * #### 1. One-click precise subject recognition
758
+ * * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
759
+ *
760
+ * * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
761
+ * #### 2. Intelligent edge optimization
762
+ * * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
763
+ * #### 3. Multi-format output and background operations
764
+ * * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
765
+ *
766
+ * * **Supports custom background colors**
767
+ * # Effect comparison
768
+ * | **Original image (input)** | **Result image (output)** |
769
+ * | --- | --- |
770
+ * | ![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) |
771
+ * | ![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) |
772
+ * | ![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) |
773
+ *
774
+ * @param request - ImageMattingAsyncRequest
775
+ * @returns ImageMattingAsyncResponse
776
+ */
777
+ imageMattingAsync(request: $_model.ImageMattingAsyncRequest): Promise<$_model.ImageMattingAsyncResponse>;
659
778
  /**
660
779
  * Intelligent element recognition.
661
780
  *
@@ -807,6 +926,155 @@ export default class Client extends OpenApi {
807
926
  * @returns ImageRecognitionResponse
808
927
  */
809
928
  imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
929
+ /**
930
+ * 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.
931
+ *
932
+ * @remarks
933
+ * # Scenarios
934
+ * 1. Intelligent image filtering and optimization:
935
+ * 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.
936
+ * 2. Automated image processing and efficiency improvement:
937
+ * 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.
938
+ * # Features
939
+ * **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).**
940
+ * * Image subject: The core product area in the image.
941
+ *
942
+ * * Image background: The rest of the image other than the product subject.
943
+ *
944
+ * * Text: Horizontal, vertical, or diagonal English or Chinese text.
945
+ *
946
+ * * Logo: A logo or trademark.
947
+ *
948
+ * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
949
+ *
950
+ * * Text-containing color block: A color block containing text outside the subject.
951
+ *
952
+ * **2. The main features of the intelligent element recognition API include:**
953
+ * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
954
+ *
955
+ * * 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.
956
+ *
957
+ * **3. Technical advantages:**
958
+ * * 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.
959
+ *
960
+ * * 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.
961
+ * # Effect comparison
962
+ * | **Original image** | **Recognition result** |
963
+ * | --- | --- |
964
+ * | ![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]
965
+ * * Watermark: false
966
+ *
967
+ * * Logo: false
968
+ *
969
+ * * Text: false
970
+ *
971
+ * * Text-containing color block: false
972
+ *
973
+ * [Non-subject]
974
+ * * Watermark: false
975
+ *
976
+ * * Logo: true
977
+ *
978
+ * * Text: true
979
+ *
980
+ * * Text-containing color block: false |
981
+ * | ![image-1781169602620.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/6bcbd976-0de1-4b5e-855b-56e20a9c675c.png) | [Subject]
982
+ * * Watermark: false
983
+ *
984
+ * * Logo: false
985
+ *
986
+ * * Text: false
987
+ *
988
+ * * Text-containing color block: false
989
+ *
990
+ * [Non-subject]
991
+ * * Watermark: true
992
+ *
993
+ * * Logo: false
994
+ *
995
+ * * Text: true
996
+ *
997
+ * * Text-containing color block: true |
998
+ *
999
+ * @param tmpReq - ImageRecognitionAsyncRequest
1000
+ * @param runtime - runtime options for this request RuntimeOptions
1001
+ * @returns ImageRecognitionAsyncResponse
1002
+ */
1003
+ imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
1004
+ /**
1005
+ * 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.
1006
+ *
1007
+ * @remarks
1008
+ * # Scenarios
1009
+ * 1. Intelligent image filtering and optimization:
1010
+ * 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.
1011
+ * 2. Automated image processing and efficiency improvement:
1012
+ * 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.
1013
+ * # Features
1014
+ * **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).**
1015
+ * * Image subject: The core product area in the image.
1016
+ *
1017
+ * * Image background: The rest of the image other than the product subject.
1018
+ *
1019
+ * * Text: Horizontal, vertical, or diagonal English or Chinese text.
1020
+ *
1021
+ * * Logo: A logo or trademark.
1022
+ *
1023
+ * * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
1024
+ *
1025
+ * * Text-containing color block: A color block containing text outside the subject.
1026
+ *
1027
+ * **2. The main features of the intelligent element recognition API include:**
1028
+ * * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
1029
+ *
1030
+ * * 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.
1031
+ *
1032
+ * **3. Technical advantages:**
1033
+ * * 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.
1034
+ *
1035
+ * * 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.
1036
+ * # Effect comparison
1037
+ * | **Original image** | **Recognition result** |
1038
+ * | --- | --- |
1039
+ * | ![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]
1040
+ * * Watermark: false
1041
+ *
1042
+ * * Logo: false
1043
+ *
1044
+ * * Text: false
1045
+ *
1046
+ * * Text-containing color block: false
1047
+ *
1048
+ * [Non-subject]
1049
+ * * Watermark: false
1050
+ *
1051
+ * * Logo: true
1052
+ *
1053
+ * * Text: true
1054
+ *
1055
+ * * Text-containing color block: false |
1056
+ * | ![image-1781169602620.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/vBPlN5j4yM2KVOdG/img/6bcbd976-0de1-4b5e-855b-56e20a9c675c.png) | [Subject]
1057
+ * * Watermark: false
1058
+ *
1059
+ * * Logo: false
1060
+ *
1061
+ * * Text: false
1062
+ *
1063
+ * * Text-containing color block: false
1064
+ *
1065
+ * [Non-subject]
1066
+ * * Watermark: true
1067
+ *
1068
+ * * Logo: false
1069
+ *
1070
+ * * Text: true
1071
+ *
1072
+ * * Text-containing color block: true |
1073
+ *
1074
+ * @param request - ImageRecognitionAsyncRequest
1075
+ * @returns ImageRecognitionAsyncResponse
1076
+ */
1077
+ imageRecognitionAsync(request: $_model.ImageRecognitionAsyncRequest): Promise<$_model.ImageRecognitionAsyncResponse>;
810
1078
  /**
811
1079
  * 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).
812
1080
  *
@@ -870,6 +1138,61 @@ export default class Client extends OpenApi {
870
1138
  * @returns ImageRemovalProResponse
871
1139
  */
872
1140
  imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
1141
+ /**
1142
+ * 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.
1143
+ *
1144
+ * @remarks
1145
+ * ## Scenarios
1146
+ * * **Efficient e-commerce image processing:**
1147
+ * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1148
+ * * **Multi-platform product information synchronization:**
1149
+ * 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.
1150
+ * ## Features
1151
+ * 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.
1152
+ *
1153
+ * 1. Image subject: the core product area in the image.
1154
+ *
1155
+ * 2. Image background: the rest of the image other than the product subject.
1156
+ *
1157
+ * 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:
1158
+ * ## Before and after
1159
+ * | **Original image** | **Erased image** |
1160
+ * | --- | --- |
1161
+ * | ![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) |
1162
+ * | ![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) |
1163
+ *
1164
+ * @param request - ImageRemovalProAsyncRequest
1165
+ * @param runtime - runtime options for this request RuntimeOptions
1166
+ * @returns ImageRemovalProAsyncResponse
1167
+ */
1168
+ imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
1169
+ /**
1170
+ * 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.
1171
+ *
1172
+ * @remarks
1173
+ * ## Scenarios
1174
+ * * **Efficient e-commerce image processing:**
1175
+ * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1176
+ * * **Multi-platform product information synchronization:**
1177
+ * 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.
1178
+ * ## Features
1179
+ * 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.
1180
+ *
1181
+ * 1. Image subject: the core product area in the image.
1182
+ *
1183
+ * 2. Image background: the rest of the image other than the product subject.
1184
+ *
1185
+ * 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:
1186
+ * ## Before and after
1187
+ * | **Original image** | **Erased image** |
1188
+ * | --- | --- |
1189
+ * | ![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) |
1190
+ * | ![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) |
1191
+ *
1192
+ * @param request - ImageRemovalProAsyncRequest
1193
+ * @returns ImageRemovalProAsyncResponse
1194
+ */
1195
+ imageRemovalProAsync(request: $_model.ImageRemovalProAsyncRequest): Promise<$_model.ImageRemovalProAsyncResponse>;
873
1196
  /**
874
1197
  * 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)
875
1198
  *
@@ -1054,51 +1377,224 @@ export default class Client extends OpenApi {
1054
1377
  */
1055
1378
  imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
1056
1379
  /**
1057
- * 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.
1380
+ * 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.
1058
1381
  *
1059
1382
  * @remarks
1060
- * ## Product Introduction
1061
- * 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.
1062
- * Supported language pairs:
1063
- * | **No.** | **Source language** | | **Target language** | |
1064
- * | --- | --- | --- | --- | --- |
1065
- * | | Language code | Language name | Language code | Language name |
1066
- * | 1 | en | English | ar | Arabic |
1067
- * | 2 | en | English | id | Indonesian |
1068
- * | 3 | en | English | th | Thai |
1069
- * | 4 | en | English | ko | Korean |
1070
- * | 5 | en | English | ja | Japanese |
1071
- * | 6 | en | English | vi | Vietnamese |
1072
- * | 7 | en | English | ru | Russian |
1073
- * | 8 | en | English | tl | Filipino |
1074
- * | 9 | en | English | es | Spanish |
1075
- * | 10 | en | English | fr | French |
1076
- * | 11 | en | English | de | German |
1077
- * | 12 | en | English | pl | Polish |
1078
1383
  * ## Scenarios
1079
- * Main product images and detail images for cross-border e-commerce.
1384
+ * * **Efficient processing of e-commerce images:**
1385
+ * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1386
+ * * **Multi-platform product information synchronization:**
1387
+ * 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.
1388
+ * * **Marketing material preparation:**
1389
+ * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
1390
+ * > 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".
1080
1391
  * ## Features
1081
- * * **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.
1392
+ * 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.
1082
1393
  *
1083
- * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1394
+ * 1. Image subject: the core product area in the image.
1084
1395
  *
1085
- * * **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.
1396
+ * 2. Image background: the rest of the image other than the product subject.
1086
1397
  *
1087
- * @param request - ImageTranslationPlusRequest
1088
- * @param runtime - runtime options for this request RuntimeOptions
1089
- * @returns ImageTranslationPlusResponse
1090
- */
1091
- imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
1092
- /**
1093
- * 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.
1398
+ * 2. Second, the objects to remove support the following three cases:
1094
1399
  *
1095
- * @remarks
1096
- * ## Product Introduction
1097
- * 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.
1098
- * Supported language pairs:
1099
- * | **No.** | **Source language** | | **Target language** | |
1100
- * | --- | --- | --- | --- | --- |
1101
- * | | Language code | Language name | Language code | Language name |
1400
+ * 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.
1401
+ *
1402
+ * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
1403
+ *
1404
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
1405
+ *
1406
+ * 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.
1407
+ * ## Effect comparison
1408
+ * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
1409
+ * | --- | --- | --- |
1410
+ * | Text | * Involves the image subject area
1411
+ *
1412
+ * ![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)
1413
+ *
1414
+ * * Does not involve the image subject area
1415
+ *
1416
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1417
+ *
1418
+ * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1419
+ * * Does not involve the image subject area
1420
+ *
1421
+ * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1422
+ * | Specific names | * Involves the image subject area
1423
+ *
1424
+ * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1425
+ *
1426
+ * * Does not involve the image subject area
1427
+ *
1428
+ * ![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
1429
+ *
1430
+ * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1431
+ * * Does not involve the image subject area
1432
+ *
1433
+ * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1434
+ * | Transparent text blocks | * Involves the image subject area
1435
+ *
1436
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1437
+ *
1438
+ * * Does not involve the image subject area
1439
+ *
1440
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1441
+ *
1442
+ * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1443
+ * * Does not involve the image subject area
1444
+ *
1445
+ * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1446
+ * | Watermarks | * Involves the image subject area
1447
+ *
1448
+ * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1449
+ *
1450
+ * * Does not involve the image subject area
1451
+ *
1452
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1453
+ *
1454
+ * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1455
+ * * Does not involve the image subject area
1456
+ *
1457
+ * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1458
+ * | 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) |
1459
+ * | 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) |
1460
+ *
1461
+ * @param tmpReq - ImageRemoveAsyncRequest
1462
+ * @param runtime - runtime options for this request RuntimeOptions
1463
+ * @returns ImageRemoveAsyncResponse
1464
+ */
1465
+ imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
1466
+ /**
1467
+ * 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.
1468
+ *
1469
+ * @remarks
1470
+ * ## Scenarios
1471
+ * * **Efficient processing of e-commerce images:**
1472
+ * Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
1473
+ * * **Multi-platform product information synchronization:**
1474
+ * 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.
1475
+ * * **Marketing material preparation:**
1476
+ * Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
1477
+ * > 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".
1478
+ * ## Features
1479
+ * 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.
1480
+ *
1481
+ * 1. Image subject: the core product area in the image.
1482
+ *
1483
+ * 2. Image background: the rest of the image other than the product subject.
1484
+ *
1485
+ * 2. Second, the objects to remove support the following three cases:
1486
+ *
1487
+ * 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.
1488
+ *
1489
+ * 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
1490
+ *
1491
+ * 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
1492
+ *
1493
+ * 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.
1494
+ * ## Effect comparison
1495
+ * | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
1496
+ * | --- | --- | --- |
1497
+ * | Text | * Involves the image subject area
1498
+ *
1499
+ * ![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)
1500
+ *
1501
+ * * Does not involve the image subject area
1502
+ *
1503
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/47428227-7523-432e-89ce-eba263e5ebda.png) | * Involves the image subject area
1504
+ *
1505
+ * ![359ddfcf-a2b1-4e59-ae54-5e76705d0adf.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/d69e38e4-5657-471d-aff6-1e6a4c269455.png)
1506
+ * * Does not involve the image subject area
1507
+ *
1508
+ * ![c35611f8-dab4-4df2-8942-36d7375ed55f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/365024b4-4863-46d4-9013-bdd9408ea6b9.png) |
1509
+ * | Specific names | * Involves the image subject area
1510
+ *
1511
+ * ![done-image-aca80515-aca6-4f4e-9429-47c5dd6b811f.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/ac35f8bc-d527-49de-8fba-cdeb71e3b058.png)
1512
+ *
1513
+ * * Does not involve the image subject area
1514
+ *
1515
+ * ![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
1516
+ *
1517
+ * ![fd2db0ab-1b89-4085-b91d-99f40a1aea77.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/36ace8aa-3b3b-4b1c-81e6-b691104262f0.png)
1518
+ * * Does not involve the image subject area
1519
+ *
1520
+ * ![8726b148-ab74-4409-a6c1-4c50fcac3887.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/a7653a0c-d14e-4f97-9c2f-83327b43203f.png) |
1521
+ * | Transparent text blocks | * Involves the image subject area
1522
+ *
1523
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0f6068f0-168a-47bd-9fcd-c38b9e520506.png)
1524
+ *
1525
+ * * Does not involve the image subject area
1526
+ *
1527
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/c9ac2a4c-0aa3-40ee-8855-62a262364dbe.png) | * Involves the image subject area
1528
+ *
1529
+ * ![8e84a5d6-da8c-4e3e-a705-71a66d0c78a2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/06ac537f-875a-48e2-8934-a84a79dfd8ff.jpeg)
1530
+ * * Does not involve the image subject area
1531
+ *
1532
+ * ![b05173e7-2ae5-494e-99d2-7111fc966fd5.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/05759aef-1720-41cd-8800-f7d0801e4d95.jpeg) |
1533
+ * | Watermarks | * Involves the image subject area
1534
+ *
1535
+ * ![2.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/bf1442f8-a9fa-40d3-bcb0-7a8a41b49b5d.jpeg)
1536
+ *
1537
+ * * Does not involve the image subject area
1538
+ *
1539
+ * ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/0d68612e-845d-466f-8a4a-b85facea095b.png) | * Involves the image subject area
1540
+ *
1541
+ * ![b6ef803f-743f-4e61-b901-d1f68167186f.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/621daadc-454f-41b4-9ac4-752d457034b6.jpeg)
1542
+ * * Does not involve the image subject area
1543
+ *
1544
+ * ![dee0c7cf-8b0d-4d6d-9677-d5f2e6099834.jpeg](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Mp7ld7bZAb2VAOBQ/img/caa6994b-2f97-484d-a807-671a0dc75947.jpeg) |
1545
+ * | 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) |
1546
+ * | 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) |
1547
+ *
1548
+ * @param request - ImageRemoveAsyncRequest
1549
+ * @returns ImageRemoveAsyncResponse
1550
+ */
1551
+ imageRemoveAsync(request: $_model.ImageRemoveAsyncRequest): Promise<$_model.ImageRemoveAsyncResponse>;
1552
+ /**
1553
+ * 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.
1554
+ *
1555
+ * @remarks
1556
+ * ## Product Introduction
1557
+ * 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.
1558
+ * Supported language pairs:
1559
+ * | **No.** | **Source language** | | **Target language** | |
1560
+ * | --- | --- | --- | --- | --- |
1561
+ * | | Language code | Language name | Language code | Language name |
1562
+ * | 1 | en | English | ar | Arabic |
1563
+ * | 2 | en | English | id | Indonesian |
1564
+ * | 3 | en | English | th | Thai |
1565
+ * | 4 | en | English | ko | Korean |
1566
+ * | 5 | en | English | ja | Japanese |
1567
+ * | 6 | en | English | vi | Vietnamese |
1568
+ * | 7 | en | English | ru | Russian |
1569
+ * | 8 | en | English | tl | Filipino |
1570
+ * | 9 | en | English | es | Spanish |
1571
+ * | 10 | en | English | fr | French |
1572
+ * | 11 | en | English | de | German |
1573
+ * | 12 | en | English | pl | Polish |
1574
+ * ## Scenarios
1575
+ * Main product images and detail images for cross-border e-commerce.
1576
+ * ## Features
1577
+ * * **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.
1578
+ *
1579
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1580
+ *
1581
+ * * **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.
1582
+ *
1583
+ * @param request - ImageTranslationPlusRequest
1584
+ * @param runtime - runtime options for this request RuntimeOptions
1585
+ * @returns ImageTranslationPlusResponse
1586
+ */
1587
+ imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
1588
+ /**
1589
+ * 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.
1590
+ *
1591
+ * @remarks
1592
+ * ## Product Introduction
1593
+ * 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.
1594
+ * Supported language pairs:
1595
+ * | **No.** | **Source language** | | **Target language** | |
1596
+ * | --- | --- | --- | --- | --- |
1597
+ * | | Language code | Language name | Language code | Language name |
1102
1598
  * | 1 | en | English | ar | Arabic |
1103
1599
  * | 2 | en | English | id | Indonesian |
1104
1600
  * | 3 | en | English | th | Thai |
@@ -1118,25 +1614,98 @@ export default class Client extends OpenApi {
1118
1614
  *
1119
1615
  * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1120
1616
  *
1121
- * * **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.
1617
+ * * **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.
1122
1618
  *
1123
1619
  * @param request - ImageTranslationPlusRequest
1124
1620
  * @returns ImageTranslationPlusResponse
1125
1621
  */
1126
1622
  imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
1127
1623
  /**
1128
- * 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).
1624
+ * 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.
1625
+ *
1626
+ * @remarks
1627
+ * ## Scenarios
1628
+ * Main images and detail images for cross-border e-commerce.
1629
+ * ## Features
1630
+ * * **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.
1631
+ *
1632
+ * * **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.
1633
+ *
1634
+ * * **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.
1635
+ * ## Supported language pairs
1636
+ * | **No.** | **Source language** | | **Target language** | |
1637
+ * | --- | --- | --- | --- | --- |
1638
+ * | | Language code | Language name | Language code | Language name |
1639
+ * | 1 | en | English | ar | Arabic |
1640
+ * | 2 | en | English | id | Indonesian |
1641
+ * | 3 | en | English | th | Thai |
1642
+ * | 4 | en | English | ko | Korean |
1643
+ * | 5 | en | English | ja | Japanese |
1644
+ * | 6 | en | English | vi | Vietnamese |
1645
+ * | 7 | en | English | ru | Russian |
1646
+ * | 8 | en | English | tl | Filipino |
1647
+ * | 9 | en | English | es | Spanish |
1648
+ * | 10 | en | English | fr | French |
1649
+ * | 11 | en | English | de | German |
1650
+ * | 12 | en | English | pl | Polish |
1651
+ * ## Preparations and call process
1652
+ * 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.
1653
+ * 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).
1654
+ *
1655
+ * @param request - ImageTranslationPlusAsyncRequest
1656
+ * @param runtime - runtime options for this request RuntimeOptions
1657
+ * @returns ImageTranslationPlusAsyncResponse
1658
+ */
1659
+ imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
1660
+ /**
1661
+ * 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.
1662
+ *
1663
+ * @remarks
1664
+ * ## Scenarios
1665
+ * Main images and detail images for cross-border e-commerce.
1666
+ * ## Features
1667
+ * * **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.
1668
+ *
1669
+ * * **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.
1670
+ *
1671
+ * * **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.
1672
+ * ## Supported language pairs
1673
+ * | **No.** | **Source language** | | **Target language** | |
1674
+ * | --- | --- | --- | --- | --- |
1675
+ * | | Language code | Language name | Language code | Language name |
1676
+ * | 1 | en | English | ar | Arabic |
1677
+ * | 2 | en | English | id | Indonesian |
1678
+ * | 3 | en | English | th | Thai |
1679
+ * | 4 | en | English | ko | Korean |
1680
+ * | 5 | en | English | ja | Japanese |
1681
+ * | 6 | en | English | vi | Vietnamese |
1682
+ * | 7 | en | English | ru | Russian |
1683
+ * | 8 | en | English | tl | Filipino |
1684
+ * | 9 | en | English | es | Spanish |
1685
+ * | 10 | en | English | fr | French |
1686
+ * | 11 | en | English | de | German |
1687
+ * | 12 | en | English | pl | Polish |
1688
+ * ## Preparations and call process
1689
+ * 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.
1690
+ * 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).
1691
+ *
1692
+ * @param request - ImageTranslationPlusAsyncRequest
1693
+ * @returns ImageTranslationPlusAsyncResponse
1694
+ */
1695
+ imageTranslationPlusAsync(request: $_model.ImageTranslationPlusAsyncRequest): Promise<$_model.ImageTranslationPlusAsyncResponse>;
1696
+ /**
1697
+ * 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.
1129
1698
  *
1130
1699
  * @remarks
1131
1700
  * ## Product Introduction
1132
- * 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).
1701
+ * 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.
1133
1702
  * ## Scenarios
1134
1703
  * E-commerce product images, marketing images, and images for various other scenarios.
1135
- * ## Features
1136
- * - **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.
1137
- * - **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.
1138
- * - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
1139
- * - **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.
1704
+ * ## Functions and features
1705
+ * - **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.
1706
+ * - **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.
1707
+ * - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
1708
+ * - **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.
1140
1709
  * - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1141
1710
  *
1142
1711
  * @param request - ImageTranslationProRequest
@@ -1145,18 +1714,18 @@ export default class Client extends OpenApi {
1145
1714
  */
1146
1715
  imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
1147
1716
  /**
1148
- * 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).
1717
+ * 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.
1149
1718
  *
1150
1719
  * @remarks
1151
1720
  * ## Product Introduction
1152
- * 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).
1721
+ * 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.
1153
1722
  * ## Scenarios
1154
1723
  * E-commerce product images, marketing images, and images for various other scenarios.
1155
- * ## Features
1156
- * - **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.
1157
- * - **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.
1158
- * - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
1159
- * - **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.
1724
+ * ## Functions and features
1725
+ * - **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.
1726
+ * - **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.
1727
+ * - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
1728
+ * - **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.
1160
1729
  * - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1161
1730
  *
1162
1731
  * @param request - ImageTranslationProRequest
@@ -1164,22 +1733,69 @@ export default class Client extends OpenApi {
1164
1733
  */
1165
1734
  imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
1166
1735
  /**
1167
- * 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.
1736
+ * 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.
1737
+ *
1738
+ * @remarks
1739
+ * ## Scenarios
1740
+ * E-commerce product images, marketing images, and images in various other scenarios.
1741
+ * ## Features
1742
+ * * 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.
1743
+ *
1744
+ * * 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.
1745
+ *
1746
+ * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
1747
+ *
1748
+ * * 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.
1749
+ * ## Preparations and call process
1750
+ * 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).
1751
+ * 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.
1752
+ * 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).
1753
+ *
1754
+ * @param request - ImageTranslationProAsyncRequest
1755
+ * @param runtime - runtime options for this request RuntimeOptions
1756
+ * @returns ImageTranslationProAsyncResponse
1757
+ */
1758
+ imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
1759
+ /**
1760
+ * 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.
1761
+ *
1762
+ * @remarks
1763
+ * ## Scenarios
1764
+ * E-commerce product images, marketing images, and images in various other scenarios.
1765
+ * ## Features
1766
+ * * 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.
1767
+ *
1768
+ * * 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.
1769
+ *
1770
+ * * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
1771
+ *
1772
+ * * 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.
1773
+ * ## Preparations and call process
1774
+ * 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).
1775
+ * 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.
1776
+ * 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).
1777
+ *
1778
+ * @param request - ImageTranslationProAsyncRequest
1779
+ * @returns ImageTranslationProAsyncResponse
1780
+ */
1781
+ imageTranslationProAsync(request: $_model.ImageTranslationProAsyncRequest): Promise<$_model.ImageTranslationProAsyncResponse>;
1782
+ /**
1783
+ * 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.
1168
1784
  *
1169
1785
  * @remarks
1170
1786
  * # 1. Product Introduction
1171
- * 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.
1787
+ * 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.
1172
1788
  * # 2. Common scenarios
1173
1789
  * E-commerce product images, marketing images, and images for various other scenarios.
1174
1790
  * # 3. Features
1175
- * * **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.
1791
+ * * **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.
1176
1792
  *
1177
- * * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
1793
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
1178
1794
  *
1179
- * * **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.
1795
+ * * **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.
1180
1796
  *
1181
- * * **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.
1182
- * * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1797
+ * * **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.
1798
+ * <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1183
1799
  *
1184
1800
  * @param request - ImageTranslationStandardRequest
1185
1801
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1187,27 +1803,74 @@ export default class Client extends OpenApi {
1187
1803
  */
1188
1804
  imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
1189
1805
  /**
1190
- * 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.
1806
+ * 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.
1191
1807
  *
1192
1808
  * @remarks
1193
1809
  * # 1. Product Introduction
1194
- * 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.
1810
+ * 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.
1195
1811
  * # 2. Common scenarios
1196
1812
  * E-commerce product images, marketing images, and images for various other scenarios.
1197
1813
  * # 3. Features
1198
- * * **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.
1814
+ * * **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.
1199
1815
  *
1200
- * * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
1816
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
1201
1817
  *
1202
- * * **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.
1818
+ * * **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.
1203
1819
  *
1204
- * * **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.
1205
- * * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1820
+ * * **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.
1821
+ * <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
1206
1822
  *
1207
1823
  * @param request - ImageTranslationStandardRequest
1208
1824
  * @returns ImageTranslationStandardResponse
1209
1825
  */
1210
1826
  imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
1827
+ /**
1828
+ * 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.
1829
+ *
1830
+ * @remarks
1831
+ * ## Scenarios
1832
+ * E-commerce product images, marketing images, and images for various other scenarios.
1833
+ * ## Features
1834
+ * * **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.
1835
+ *
1836
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
1837
+ *
1838
+ * * **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.
1839
+ *
1840
+ * * **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.
1841
+ * ## Preparations and call process
1842
+ * * 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).
1843
+ * * 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.
1844
+ * * 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).
1845
+ *
1846
+ * @param request - ImageTranslationStandardAsyncRequest
1847
+ * @param runtime - runtime options for this request RuntimeOptions
1848
+ * @returns ImageTranslationStandardAsyncResponse
1849
+ */
1850
+ imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
1851
+ /**
1852
+ * 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.
1853
+ *
1854
+ * @remarks
1855
+ * ## Scenarios
1856
+ * E-commerce product images, marketing images, and images for various other scenarios.
1857
+ * ## Features
1858
+ * * **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.
1859
+ *
1860
+ * * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
1861
+ *
1862
+ * * **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.
1863
+ *
1864
+ * * **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.
1865
+ * ## Preparations and call process
1866
+ * * 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).
1867
+ * * 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.
1868
+ * * 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).
1869
+ *
1870
+ * @param request - ImageTranslationStandardAsyncRequest
1871
+ * @returns ImageTranslationStandardAsyncResponse
1872
+ */
1873
+ imageTranslationStandardAsync(request: $_model.ImageTranslationStandardAsyncRequest): Promise<$_model.ImageTranslationStandardAsyncResponse>;
1211
1874
  /**
1212
1875
  * Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations.
1213
1876
  *
@@ -1341,6 +2004,43 @@ export default class Client extends OpenApi {
1341
2004
  * @returns MerchandisePlacementDetectionResponse
1342
2005
  */
1343
2006
  merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse>;
2007
+ /**
2008
+ * 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.
2009
+ *
2010
+ * @remarks
2011
+ * ## Scenarios
2012
+ * - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
2013
+ * - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
2014
+ * - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
2015
+ * ## Features
2016
+ * - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
2017
+ * - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
2018
+ * - 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.
2019
+ * - 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.
2020
+ *
2021
+ * @param request - MerchandisePlacementDetectionLiteRequest
2022
+ * @param runtime - runtime options for this request RuntimeOptions
2023
+ * @returns MerchandisePlacementDetectionLiteResponse
2024
+ */
2025
+ merchandisePlacementDetectionLiteWithOptions(request: $_model.MerchandisePlacementDetectionLiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
2026
+ /**
2027
+ * 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.
2028
+ *
2029
+ * @remarks
2030
+ * ## Scenarios
2031
+ * - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
2032
+ * - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
2033
+ * - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
2034
+ * ## Features
2035
+ * - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
2036
+ * - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
2037
+ * - 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.
2038
+ * - 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.
2039
+ *
2040
+ * @param request - MerchandisePlacementDetectionLiteRequest
2041
+ * @returns MerchandisePlacementDetectionLiteResponse
2042
+ */
2043
+ merchandisePlacementDetectionLite(request: $_model.MerchandisePlacementDetectionLiteRequest): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
1344
2044
  /**
1345
2045
  * 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.
1346
2046
  *
@@ -1378,6 +2078,154 @@ export default class Client extends OpenApi {
1378
2078
  * @returns MerchandisePlacementDetectionProResponse
1379
2079
  */
1380
2080
  merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse>;
2081
+ /**
2082
+ * 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.
2083
+ *
2084
+ * @remarks
2085
+ * ## Scenarios
2086
+ * - Store price collection: Reads the recognized selling prices and available original prices of price tags.
2087
+ * - Price execution verification: Compares the recognized prices with the business-side price list.
2088
+ * - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
2089
+ * ## Features
2090
+ * - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
2091
+ * - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
2092
+ * - 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.
2093
+ * - 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.
2094
+ *
2095
+ * @param request - MerchandisePriceTagDetectionRequest
2096
+ * @param runtime - runtime options for this request RuntimeOptions
2097
+ * @returns MerchandisePriceTagDetectionResponse
2098
+ */
2099
+ merchandisePriceTagDetectionWithOptions(request: $_model.MerchandisePriceTagDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePriceTagDetectionResponse>;
2100
+ /**
2101
+ * 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.
2102
+ *
2103
+ * @remarks
2104
+ * ## Scenarios
2105
+ * - Store price collection: Reads the recognized selling prices and available original prices of price tags.
2106
+ * - Price execution verification: Compares the recognized prices with the business-side price list.
2107
+ * - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
2108
+ * ## Features
2109
+ * - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
2110
+ * - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
2111
+ * - 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.
2112
+ * - 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.
2113
+ *
2114
+ * @param request - MerchandisePriceTagDetectionRequest
2115
+ * @returns MerchandisePriceTagDetectionResponse
2116
+ */
2117
+ merchandisePriceTagDetection(request: $_model.MerchandisePriceTagDetectionRequest): Promise<$_model.MerchandisePriceTagDetectionResponse>;
2118
+ /**
2119
+ * 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.
2120
+ *
2121
+ * @remarks
2122
+ * ## Scenarios
2123
+ * - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
2124
+ * - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
2125
+ * - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
2126
+ * ## Features
2127
+ * - Scene structured output: returns scene names, center points, area contours, and active metrics.
2128
+ * - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
2129
+ * - 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.
2130
+ * - 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.
2131
+ *
2132
+ * @param request - MerchandiseSceneDetectionRequest
2133
+ * @param runtime - runtime options for this request RuntimeOptions
2134
+ * @returns MerchandiseSceneDetectionResponse
2135
+ */
2136
+ merchandiseSceneDetectionWithOptions(request: $_model.MerchandiseSceneDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandiseSceneDetectionResponse>;
2137
+ /**
2138
+ * 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.
2139
+ *
2140
+ * @remarks
2141
+ * ## Scenarios
2142
+ * - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
2143
+ * - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
2144
+ * - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
2145
+ * ## Features
2146
+ * - Scene structured output: returns scene names, center points, area contours, and active metrics.
2147
+ * - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
2148
+ * - 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.
2149
+ * - 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.
2150
+ *
2151
+ * @param request - MerchandiseSceneDetectionRequest
2152
+ * @returns MerchandiseSceneDetectionResponse
2153
+ */
2154
+ merchandiseSceneDetection(request: $_model.MerchandiseSceneDetectionRequest): Promise<$_model.MerchandiseSceneDetectionResponse>;
2155
+ /**
2156
+ * 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.
2157
+ *
2158
+ * @remarks
2159
+ * ## Features
2160
+ * - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
2161
+ * - 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.
2162
+ * - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
2163
+ * - 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.
2164
+ * ## Scenarios:
2165
+ * - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
2166
+ * - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
2167
+ * - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
2168
+ *
2169
+ * @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
2170
+ * @param runtime - runtime options for this request RuntimeOptions
2171
+ * @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
2172
+ */
2173
+ milkPowderCanBottomCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
2174
+ /**
2175
+ * 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.
2176
+ *
2177
+ * @remarks
2178
+ * ## Features
2179
+ * - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
2180
+ * - 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.
2181
+ * - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
2182
+ * - 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.
2183
+ * ## Scenarios:
2184
+ * - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
2185
+ * - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
2186
+ * - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
2187
+ *
2188
+ * @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
2189
+ * @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
2190
+ */
2191
+ milkPowderCanBottomCodeRephotographyDetection(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
2192
+ /**
2193
+ * 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.
2194
+ *
2195
+ * @remarks
2196
+ * ## Features
2197
+ * - 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.
2198
+ * - 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.
2199
+ * - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
2200
+ * - 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.
2201
+ * ## Scenarios
2202
+ * - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
2203
+ * - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
2204
+ * - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
2205
+ *
2206
+ * @param request - MilkPowderCartonCodeRephotographyDetectionRequest
2207
+ * @param runtime - runtime options for this request RuntimeOptions
2208
+ * @returns MilkPowderCartonCodeRephotographyDetectionResponse
2209
+ */
2210
+ milkPowderCartonCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
2211
+ /**
2212
+ * 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.
2213
+ *
2214
+ * @remarks
2215
+ * ## Features
2216
+ * - 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.
2217
+ * - 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.
2218
+ * - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
2219
+ * - 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.
2220
+ * ## Scenarios
2221
+ * - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
2222
+ * - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
2223
+ * - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
2224
+ *
2225
+ * @param request - MilkPowderCartonCodeRephotographyDetectionRequest
2226
+ * @returns MilkPowderCartonCodeRephotographyDetectionResponse
2227
+ */
2228
+ milkPowderCartonCodeRephotographyDetection(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
1381
2229
  /**
1382
2230
  * An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including bounding box validity, bounding box fit, and foreign object interference for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
1383
2231
  *
@@ -1424,17 +2272,7 @@ export default class Client extends OpenApi {
1424
2272
  */
1425
2273
  packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
1426
2274
  /**
1427
- * 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.
1428
- * Applicable scenarios:
1429
- * 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
1430
- * 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
1431
- * 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
1432
- *
1433
- * @remarks
1434
- * 1. Multi-image input: image_url is a required array of HTTPS image URLs.
1435
- * 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.
1436
- * 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.
1437
- * 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.
2275
+ * 宠物健康分析
1438
2276
  *
1439
2277
  * @param tmpReq - PetHealthAnalysisRequest
1440
2278
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1442,17 +2280,7 @@ export default class Client extends OpenApi {
1442
2280
  */
1443
2281
  petHealthAnalysisWithOptions(tmpReq: $_model.PetHealthAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PetHealthAnalysisResponse>;
1444
2282
  /**
1445
- * 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.
1446
- * Applicable scenarios:
1447
- * 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
1448
- * 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
1449
- * 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
1450
- *
1451
- * @remarks
1452
- * 1. Multi-image input: image_url is a required array of HTTPS image URLs.
1453
- * 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.
1454
- * 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.
1455
- * 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.
2283
+ * 宠物健康分析
1456
2284
  *
1457
2285
  * @param request - PetHealthAnalysisRequest
1458
2286
  * @returns PetHealthAnalysisResponse
@@ -1573,6 +2401,43 @@ export default class Client extends OpenApi {
1573
2401
  * @returns QueryAsyncTaskResultResponse
1574
2402
  */
1575
2403
  queryAsyncTaskResult(request: $_model.QueryAsyncTaskResultRequest): Promise<$_model.QueryAsyncTaskResultResponse>;
2404
+ /**
2405
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
2406
+ *
2407
+ * @param tmpReq - QueryDisplayKnowledgeRequest
2408
+ * @param runtime - runtime options for this request RuntimeOptions
2409
+ * @returns QueryDisplayKnowledgeResponse
2410
+ */
2411
+ queryDisplayKnowledgeWithOptions(tmpReq: $_model.QueryDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDisplayKnowledgeResponse>;
2412
+ /**
2413
+ * Performs a paged query on the content of a display knowledge base with paging (synchronization).
2414
+ *
2415
+ * @param request - QueryDisplayKnowledgeRequest
2416
+ * @returns QueryDisplayKnowledgeResponse
2417
+ */
2418
+ queryDisplayKnowledge(request: $_model.QueryDisplayKnowledgeRequest): Promise<$_model.QueryDisplayKnowledgeResponse>;
2419
+ /**
2420
+ * Detects whether an image contains a size chart. (Synchronous)
2421
+ *
2422
+ * @remarks
2423
+ * # 1. Product Introduction
2424
+ * Detects whether an image contains a size chart. (Synchronous)
2425
+ * # 2. Common scenarios
2426
+ * **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
2427
+ * # 3. Features
2428
+ * The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
2429
+ * You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
2430
+ * # 4. Effect comparison
2431
+ * | **Input image** | **Confidence** | **Output result** |
2432
+ * | --- | --- | --- |
2433
+ * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | 0.4 | true |
2434
+ * | ![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 |
2435
+ *
2436
+ * @param request - SizeChartDetectRequest
2437
+ * @param runtime - runtime options for this request RuntimeOptions
2438
+ * @returns SizeChartDetectResponse
2439
+ */
2440
+ sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
1576
2441
  /**
1577
2442
  * Detects whether an image contains a size chart. (Synchronous)
1578
2443
  *
@@ -1590,32 +2455,138 @@ export default class Client extends OpenApi {
1590
2455
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | 0.4 | true |
1591
2456
  * | ![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 |
1592
2457
  *
1593
- * @param request - SizeChartDetectRequest
2458
+ * @param request - SizeChartDetectRequest
2459
+ * @returns SizeChartDetectResponse
2460
+ */
2461
+ sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
2462
+ /**
2463
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
2464
+ *
2465
+ * @remarks
2466
+ * ## Product Introduction
2467
+ * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
2468
+ * ## Common scenarios
2469
+ * * Size chart: Extracts size charts from apparel category images into text.
2470
+ *
2471
+ * * Package weight/dimensions: Extracts package weight and dimension information from images.
2472
+ * ## Functions and features
2473
+ * 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.
2474
+ * 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.
2475
+ * ## Comparison
2476
+ * | **Input image** | **Output result** |
2477
+ * | --- | --- |
2478
+ * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
2479
+ * "SizeChart": [
2480
+ * {
2481
+ * "尺码": {
2482
+ * "value": "S"
2483
+ * },
2484
+ * "腰围": {
2485
+ * "unit": "CM",
2486
+ * "value": 58
2487
+ * },
2488
+ * "裙长": {
2489
+ * "unit": "CM",
2490
+ * "value": 81
2491
+ * },
2492
+ * "体重建议": {
2493
+ * "unit": "kg",
2494
+ * "lower_value": 40,
2495
+ * "upper_value": 47.5
2496
+ * }
2497
+ * },
2498
+ * {
2499
+ * "尺码": {
2500
+ * "value": "M"
2501
+ * },
2502
+ * "腰围": {
2503
+ * "unit": "CM",
2504
+ * "value": 59
2505
+ * },
2506
+ * "裙长": {
2507
+ * "unit": "CM",
2508
+ * "value": 82
2509
+ * },
2510
+ * "体重建议": {
2511
+ * "unit": "kg",
2512
+ * "lower_value": 45,
2513
+ * "upper_value": 52.5
2514
+ * }
2515
+ * },
2516
+ * {
2517
+ * "尺码": {
2518
+ * "value": "L"
2519
+ * },
2520
+ * "腰围": {
2521
+ * "unit": "CM",
2522
+ * "value": 60
2523
+ * },
2524
+ * "裙长": {
2525
+ * "unit": "CM",
2526
+ * "value": 83
2527
+ * },
2528
+ * "体重建议": {
2529
+ * "unit": "kg",
2530
+ * "lower_value": 50,
2531
+ * "upper_value": 57.5
2532
+ * }
2533
+ * },
2534
+ * {
2535
+ * "尺码": {
2536
+ * "value": "XL"
2537
+ * },
2538
+ * "腰围": {
2539
+ * "unit": "CM",
2540
+ * "value": 61
2541
+ * },
2542
+ * "裙长": {
2543
+ * "unit": "CM",
2544
+ * "value": 84
2545
+ * },
2546
+ * "体重建议": {
2547
+ * "unit": "kg",
2548
+ * "lower_value": 55,
2549
+ * "upper_value": 62.5
2550
+ * }
2551
+ * },
2552
+ * {
2553
+ * "尺码": {
2554
+ * "value": "2XL"
2555
+ * },
2556
+ * "腰围": {
2557
+ * "unit": "CM",
2558
+ * "value": 62
2559
+ * },
2560
+ * "裙长": {
2561
+ * "unit": "CM",
2562
+ * "value": 85
2563
+ * },
2564
+ * "体重建议": {
2565
+ * "unit": "kg",
2566
+ * "lower_value": 60,
2567
+ * "upper_value": 67.5
2568
+ * }
2569
+ * }
2570
+ * \\],
2571
+ * "SizeChartAttributes": [
2572
+ * "尺码",
2573
+ * "裙长",
2574
+ * "腰围",
2575
+ * "体重建议"
2576
+ * \\],
2577
+ * "IntersectionAttributes": [
2578
+ * "尺码",
2579
+ * "裙长",
2580
+ * "腰围(拉伸)",
2581
+ * "体重建议"
2582
+ * \\]
2583
+ * } |
2584
+ *
2585
+ * @param tmpReq - SizeChartExtractRequest
1594
2586
  * @param runtime - runtime options for this request RuntimeOptions
1595
- * @returns SizeChartDetectResponse
1596
- */
1597
- sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
1598
- /**
1599
- * Detects whether an image contains a size chart. (Synchronous)
1600
- *
1601
- * @remarks
1602
- * # 1. Product Introduction
1603
- * Detects whether an image contains a size chart. (Synchronous)
1604
- * # 2. Common scenarios
1605
- * **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
1606
- * # 3. Features
1607
- * The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
1608
- * You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
1609
- * # 4. Effect comparison
1610
- * | **Input image** | **Confidence** | **Output result** |
1611
- * | --- | --- | --- |
1612
- * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | 0.4 | true |
1613
- * | ![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 |
1614
- *
1615
- * @param request - SizeChartDetectRequest
1616
- * @returns SizeChartDetectResponse
2587
+ * @returns SizeChartExtractResponse
1617
2588
  */
1618
- sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
2589
+ sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
1619
2590
  /**
1620
2591
  * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
1621
2592
  *
@@ -1739,26 +2710,147 @@ export default class Client extends OpenApi {
1739
2710
  * \\]
1740
2711
  * } |
1741
2712
  *
1742
- * @param tmpReq - SizeChartExtractRequest
1743
- * @param runtime - runtime options for this request RuntimeOptions
2713
+ * @param request - SizeChartExtractRequest
1744
2714
  * @returns SizeChartExtractResponse
1745
2715
  */
1746
- sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
2716
+ sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
1747
2717
  /**
1748
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
2718
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
1749
2719
  *
1750
2720
  * @remarks
1751
- * ## Product Introduction
1752
- * Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
1753
- * ## Common scenarios
1754
- * * Size chart: Extracts size charts from apparel category images into text.
2721
+ * ## Scenarios
2722
+ * Size charts: Extracts size charts for apparel categories into text.
2723
+ * Package weight and dimensions: Extracts package weight and dimension information from images.
2724
+ * ## Feature description
2725
+ * 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.
2726
+ * 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.
2727
+ * ## Example results
2728
+ * | Input image | Output result |
2729
+ * | --- | --- |
2730
+ * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
2731
+ * "SizeChart": [
2732
+ * {
2733
+ * "尺码": {
2734
+ * "value": "S"
2735
+ * },
2736
+ * "腰围": {
2737
+ * "unit": "CM",
2738
+ * "value": 58
2739
+ * },
2740
+ * "裙长": {
2741
+ * "unit": "CM",
2742
+ * "value": 81
2743
+ * },
2744
+ * "体重建议": {
2745
+ * "unit": "kg",
2746
+ * "lower_value": 40,
2747
+ * "upper_value": 47.5
2748
+ * }
2749
+ * },
2750
+ * {
2751
+ * "尺码": {
2752
+ * "value": "M"
2753
+ * },
2754
+ * "腰围": {
2755
+ * "unit": "CM",
2756
+ * "value": 59
2757
+ * },
2758
+ * "裙长": {
2759
+ * "unit": "CM",
2760
+ * "value": 82
2761
+ * },
2762
+ * "体重建议": {
2763
+ * "unit": "kg",
2764
+ * "lower_value": 45,
2765
+ * "upper_value": 52.5
2766
+ * }
2767
+ * },
2768
+ * {
2769
+ * "尺码": {
2770
+ * "value": "L"
2771
+ * },
2772
+ * "腰围": {
2773
+ * "unit": "CM",
2774
+ * "value": 60
2775
+ * },
2776
+ * "裙长": {
2777
+ * "unit": "CM",
2778
+ * "value": 83
2779
+ * },
2780
+ * "体重建议": {
2781
+ * "unit": "kg",
2782
+ * "lower_value": 50,
2783
+ * "upper_value": 57.5
2784
+ * }
2785
+ * },
2786
+ * {
2787
+ * "尺码": {
2788
+ * "value": "XL"
2789
+ * },
2790
+ * "腰围": {
2791
+ * "unit": "CM",
2792
+ * "value": 61
2793
+ * },
2794
+ * "裙长": {
2795
+ * "unit": "CM",
2796
+ * "value": 84
2797
+ * },
2798
+ * "体重建议": {
2799
+ * "unit": "kg",
2800
+ * "lower_value": 55,
2801
+ * "upper_value": 62.5
2802
+ * }
2803
+ * },
2804
+ * {
2805
+ * "尺码": {
2806
+ * "value": "2XL"
2807
+ * },
2808
+ * "腰围": {
2809
+ * "unit": "CM",
2810
+ * "value": 62
2811
+ * },
2812
+ * "裙长": {
2813
+ * "unit": "CM",
2814
+ * "value": 85
2815
+ * },
2816
+ * "体重建议": {
2817
+ * "unit": "kg",
2818
+ * "lower_value": 60,
2819
+ * "upper_value": 67.5
2820
+ * }
2821
+ * }
2822
+ * \\],
2823
+ * "SizeChartAttributes": [
2824
+ * "Size",
2825
+ * "Skirt length",
2826
+ * "Waist",
2827
+ * "Weight recommendation"
2828
+ * \\],
2829
+ * "IntersectionAttributes": [
2830
+ * "Size",
2831
+ * "Skirt length",
2832
+ * "Waist (stretched)",
2833
+ * "Weight recommendation"
2834
+ * \\]
2835
+ * } |
1755
2836
  *
1756
- * * Package weight/dimensions: Extracts package weight and dimension information from images.
1757
- * ## Functions and features
1758
- * 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.
1759
- * 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.
1760
- * ## Comparison
1761
- * | **Input image** | **Output result** |
2837
+ * @param tmpReq - SizeChartExtractAsyncRequest
2838
+ * @param runtime - runtime options for this request RuntimeOptions
2839
+ * @returns SizeChartExtractAsyncResponse
2840
+ */
2841
+ sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
2842
+ /**
2843
+ * Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
2844
+ *
2845
+ * @remarks
2846
+ * ## Scenarios
2847
+ * Size charts: Extracts size charts for apparel categories into text.
2848
+ * Package weight and dimensions: Extracts package weight and dimension information from images.
2849
+ * ## Feature description
2850
+ * 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.
2851
+ * 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.
2852
+ * ## Example results
2853
+ * | Input image | Output result |
1762
2854
  * | --- | --- |
1763
2855
  * | ![image.png](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/4jKqm0bAebrKLnw1/img/0a914347-2acb-4b94-bf07-86aab2b31279.png) | {
1764
2856
  * "SizeChart": [
@@ -1854,23 +2946,60 @@ export default class Client extends OpenApi {
1854
2946
  * }
1855
2947
  * \\],
1856
2948
  * "SizeChartAttributes": [
1857
- * "尺码",
1858
- * "裙长",
1859
- * "腰围",
1860
- * "体重建议"
2949
+ * "Size",
2950
+ * "Skirt length",
2951
+ * "Waist",
2952
+ * "Weight recommendation"
1861
2953
  * \\],
1862
2954
  * "IntersectionAttributes": [
1863
- * "尺码",
1864
- * "裙长",
1865
- * "腰围(拉伸)",
1866
- * "体重建议"
2955
+ * "Size",
2956
+ * "Skirt length",
2957
+ * "Waist (stretched)",
2958
+ * "Weight recommendation"
1867
2959
  * \\]
1868
2960
  * } |
1869
2961
  *
1870
- * @param request - SizeChartExtractRequest
1871
- * @returns SizeChartExtractResponse
2962
+ * @param request - SizeChartExtractAsyncRequest
2963
+ * @returns SizeChartExtractAsyncResponse
1872
2964
  */
1873
- sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
2965
+ sizeChartExtractAsync(request: $_model.SizeChartExtractAsyncRequest): Promise<$_model.SizeChartExtractAsyncResponse>;
2966
+ /**
2967
+ * 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.
2968
+ *
2969
+ * @remarks
2970
+ * ## Common scenarios
2971
+ * - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
2972
+ * - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
2973
+ * - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
2974
+ * ## Features
2975
+ * - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
2976
+ * - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
2977
+ * - 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.
2978
+ * - 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.
2979
+ *
2980
+ * @param request - StorefrontSceneRecognitionRequest
2981
+ * @param runtime - runtime options for this request RuntimeOptions
2982
+ * @returns StorefrontSceneRecognitionResponse
2983
+ */
2984
+ storefrontSceneRecognitionWithOptions(request: $_model.StorefrontSceneRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StorefrontSceneRecognitionResponse>;
2985
+ /**
2986
+ * 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.
2987
+ *
2988
+ * @remarks
2989
+ * ## Common scenarios
2990
+ * - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
2991
+ * - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
2992
+ * - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
2993
+ * ## Features
2994
+ * - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
2995
+ * - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
2996
+ * - 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.
2997
+ * - 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.
2998
+ *
2999
+ * @param request - StorefrontSceneRecognitionRequest
3000
+ * @returns StorefrontSceneRecognitionResponse
3001
+ */
3002
+ storefrontSceneRecognition(request: $_model.StorefrontSceneRecognitionRequest): Promise<$_model.StorefrontSceneRecognitionResponse>;
1874
3003
  /**
1875
3004
  * Generates product detail page assets automatically based on a multimodal large language model (MLLM) and structured image-text extraction, designed for product detail page asset completion scenarios on e-commerce platforms and for brand merchants. The caller pushes product information to be queried (product ID, title, brand, main image, and shop name). The service automatically locates matching products and performs consistency verification, then extracts size information and product attributes from the matching product details, and renders them into size charts and attribute charts (SVG) that can be directly used on detail pages. The service also returns structured detail copy classifications and processing notes.
1876
3005
  *
@@ -1942,32 +3071,34 @@ export default class Client extends OpenApi {
1942
3071
  */
1943
3072
  textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
1944
3073
  /**
1945
- * 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.
3074
+ * 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.
1946
3075
  *
1947
3076
  * @remarks
1948
3077
  * ## Product Introduction
1949
- * 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.
3078
+ * 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.
1950
3079
  * ## Common scenarios
1951
- * - 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.
1952
- * - 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.
1953
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
1954
- * - 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.
1955
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
3080
+ * - 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.
3081
+ * - 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.
3082
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
3083
+ * - 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.
3084
+ * Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1956
3085
  * ## Functions and features
1957
3086
  * - **Supported language directions**
1958
- * 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).
3087
+ * 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.
3088
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
3089
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
1959
3090
  * - **Ultra-low hallucination rate and high-speed inference**
1960
- * 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.
1961
- * - **Supported text format types**
3091
+ * 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.
3092
+ * - **Supported text format types for translation**
1962
3093
  * Currently, text and html text types are supported.
1963
3094
  * - **Translation intervention support**
1964
- * 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.
3095
+ * 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.
1965
3096
  * ## Translation quality comparison
1966
- * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
3097
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
1967
3098
  * |----------|---------------|-----------------------|-----------------------|---------------------|
1968
3099
  * | 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 |
1969
3100
  * | 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 |
1970
- * | 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 |
3101
+ * | 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.
1971
3102
  *
1972
3103
  * @param tmpReq - TextTranslateRequest
1973
3104
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1975,57 +3106,147 @@ export default class Client extends OpenApi {
1975
3106
  */
1976
3107
  textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
1977
3108
  /**
1978
- * 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.
3109
+ * 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.
1979
3110
  *
1980
3111
  * @remarks
1981
3112
  * ## Product Introduction
1982
- * 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.
3113
+ * 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.
1983
3114
  * ## Common scenarios
1984
- * - 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.
1985
- * - 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.
1986
- * - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
1987
- * - 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.
1988
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
3115
+ * - 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.
3116
+ * - 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.
3117
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
3118
+ * - 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.
3119
+ * Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1989
3120
  * ## Functions and features
1990
3121
  * - **Supported language directions**
1991
- * 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).
3122
+ * 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.
3123
+ * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
3124
+ * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
1992
3125
  * - **Ultra-low hallucination rate and high-speed inference**
1993
- * 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.
1994
- * - **Supported text format types**
3126
+ * 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.
3127
+ * - **Supported text format types for translation**
1995
3128
  * Currently, text and html text types are supported.
1996
3129
  * - **Translation intervention support**
1997
- * 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.
3130
+ * 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.
1998
3131
  * ## Translation quality comparison
1999
- * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
3132
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
2000
3133
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2001
3134
  * | 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 |
2002
3135
  * | 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 |
2003
- * | 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 |
3136
+ * | 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.
2004
3137
  *
2005
3138
  * @param request - TextTranslateRequest
2006
3139
  * @returns TextTranslateResponse
2007
3140
  */
2008
3141
  textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
2009
3142
  /**
2010
- * 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.
3143
+ * Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
3144
+ *
3145
+ * @remarks
3146
+ * ## Scenarios
3147
+ * * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
3148
+ *
3149
+ * * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
3150
+ *
3151
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
3152
+ *
3153
+ * * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
3154
+ *
3155
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
3156
+ * ## Features
3157
+ * * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
3158
+ *
3159
+ * * **Supported text formats** The model supports text and HTML formats.
3160
+ *
3161
+ * * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
3162
+ *
3163
+ * * **Translation quality comparison**
3164
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3165
+ * | --- | --- | --- | --- | --- |
3166
+ * | 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 |
3167
+ * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable punctuation |
3168
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
3169
+ * ## Preparations and invocation flow
3170
+ * Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
3171
+ * The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
3172
+ * For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
3173
+ *
3174
+ * @param tmpReq - TextTranslateAsyncRequest
3175
+ * @param runtime - runtime options for this request RuntimeOptions
3176
+ * @returns TextTranslateAsyncResponse
3177
+ */
3178
+ textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse>;
3179
+ /**
3180
+ * Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
3181
+ *
3182
+ * @remarks
3183
+ * ## Scenarios
3184
+ * * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
3185
+ *
3186
+ * * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
3187
+ *
3188
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
3189
+ *
3190
+ * * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
3191
+ *
3192
+ * The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
3193
+ * ## Features
3194
+ * * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
3195
+ *
3196
+ * * **Supported text formats** The model supports text and HTML formats.
3197
+ *
3198
+ * * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
3199
+ *
3200
+ * * **Translation quality comparison**
3201
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3202
+ * | --- | --- | --- | --- | --- |
3203
+ * | 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 |
3204
+ * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable punctuation |
3205
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
3206
+ * ## Preparations and invocation flow
3207
+ * Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
3208
+ * The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
3209
+ * For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
3210
+ *
3211
+ * @param request - TextTranslateAsyncRequest
3212
+ * @returns TextTranslateAsyncResponse
3213
+ */
3214
+ textTranslateAsync(request: $_model.TextTranslateAsyncRequest): Promise<$_model.TextTranslateAsyncResponse>;
3215
+ /**
3216
+ * Synchronously updates the content of a display knowledge base in batches.
3217
+ *
3218
+ * @param tmpReq - UpdateDisplayKnowledgeRequest
3219
+ * @param runtime - runtime options for this request RuntimeOptions
3220
+ * @returns UpdateDisplayKnowledgeResponse
3221
+ */
3222
+ updateDisplayKnowledgeWithOptions(tmpReq: $_model.UpdateDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDisplayKnowledgeResponse>;
3223
+ /**
3224
+ * Synchronously updates the content of a display knowledge base in batches.
3225
+ *
3226
+ * @param request - UpdateDisplayKnowledgeRequest
3227
+ * @returns UpdateDisplayKnowledgeResponse
3228
+ */
3229
+ updateDisplayKnowledge(request: $_model.UpdateDisplayKnowledgeRequest): Promise<$_model.UpdateDisplayKnowledgeResponse>;
3230
+ /**
3231
+ * 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.
2011
3232
  *
2012
3233
  * @remarks
2013
3234
  * # Scenarios
2014
- * - 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.
2015
- * - 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.
2016
- * - 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.
2017
- * - 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.
2018
- * - 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.
2019
- * - 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.
3235
+ * - 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.
3236
+ * - 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.
3237
+ * - 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.
3238
+ * - 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.
3239
+ * - 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.
3240
+ * - 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.
2020
3241
  * # Features
2021
- * - 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.
2022
- * - 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.
2023
- * - 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.
2024
- * - 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.
2025
- * - 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.
2026
- * - 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.
2027
- * - 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.
2028
- * - 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.
3242
+ * - 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.
3243
+ * - 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.
3244
+ * - 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.
3245
+ * - 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.
3246
+ * - 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.
3247
+ * - 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.
3248
+ * - 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.
3249
+ * - 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.
2029
3250
  *
2030
3251
  * @param tmpReq - VideoGenerationRequest
2031
3252
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2033,53 +3254,53 @@ export default class Client extends OpenApi {
2033
3254
  */
2034
3255
  videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
2035
3256
  /**
2036
- * 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.
3257
+ * 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.
2037
3258
  *
2038
3259
  * @remarks
2039
3260
  * # Scenarios
2040
- * - 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.
2041
- * - 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.
2042
- * - 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.
2043
- * - 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.
2044
- * - 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.
2045
- * - 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.
3261
+ * - 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.
3262
+ * - 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.
3263
+ * - 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.
3264
+ * - 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.
3265
+ * - 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.
3266
+ * - 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.
2046
3267
  * # Features
2047
- * - 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.
2048
- * - 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.
2049
- * - 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.
2050
- * - 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.
2051
- * - 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.
2052
- * - 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.
2053
- * - 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.
2054
- * - 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.
3268
+ * - 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.
3269
+ * - 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.
3270
+ * - 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.
3271
+ * - 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.
3272
+ * - 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.
3273
+ * - 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.
3274
+ * - 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.
3275
+ * - 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.
2055
3276
  *
2056
3277
  * @param request - VideoGenerationRequest
2057
3278
  * @returns VideoGenerationResponse
2058
3279
  */
2059
3280
  videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
2060
3281
  /**
2061
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
3282
+ * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
2062
3283
  *
2063
3284
  * @remarks
2064
- * ## 1. Product Introduction
2065
- * 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.
2066
- * 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.
2067
- * ## 2. Scenarios
2068
- * * **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.
3285
+ * ## Product introduction
3286
+ * The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
3287
+ * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
3288
+ * ## Scenarios
3289
+ * * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
2069
3290
  *
2070
- * * **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.
3291
+ * * **International social media marketing**: Localizes the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
2071
3292
  *
2072
- * * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
3293
+ * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
2073
3294
  *
2074
- * * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
2075
- * ## 3. Features
3295
+ * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
3296
+ * ## Features
2076
3297
  * | Feature | Identifier | Description |
2077
3298
  * | --- | --- | --- |
2078
- * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
2079
- * ## 4. Developer guide.
2080
- * ### 4.1 Submit a translation task.
2081
- * #### Request
2082
- * `POST /api/v1/video/translation`
3299
+ * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
3300
+ * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3301
+ * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3302
+ * On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
3303
+ * When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
2083
3304
  *
2084
3305
  * @param tmpReq - VideoTranslationRequest
2085
3306
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2087,28 +3308,28 @@ export default class Client extends OpenApi {
2087
3308
  */
2088
3309
  videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
2089
3310
  /**
2090
- * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
3311
+ * Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
2091
3312
  *
2092
3313
  * @remarks
2093
- * ## 1. Product Introduction
2094
- * 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.
2095
- * 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.
2096
- * ## 2. Scenarios
2097
- * * **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.
3314
+ * ## Product introduction
3315
+ * The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
3316
+ * The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
3317
+ * ## Scenarios
3318
+ * * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
2098
3319
  *
2099
- * * **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.
3320
+ * * **International social media marketing**: Localizes the on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
2100
3321
  *
2101
- * * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
3322
+ * * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
2102
3323
  *
2103
- * * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
2104
- * ## 3. Features
3324
+ * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
3325
+ * ## Features
2105
3326
  * | Feature | Identifier | Description |
2106
3327
  * | --- | --- | --- |
2107
- * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
2108
- * ## 4. Developer guide.
2109
- * ### 4.1 Submit a translation task.
2110
- * #### Request
2111
- * `POST /api/v1/video/translation`
3328
+ * | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
3329
+ * | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3330
+ * Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3331
+ * On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
3332
+ * When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
2112
3333
  *
2113
3334
  * @param request - VideoTranslationRequest
2114
3335
  * @returns VideoTranslationResponse