@alicloud/aidge20260428 5.9.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 (94) hide show
  1. package/dist/client.d.ts +160 -100
  2. package/dist/client.js +300 -100
  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/QueryDisplayKnowledgeRequest.d.ts +60 -0
  33. package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
  34. package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
  35. package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
  36. package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
  37. package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
  38. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
  39. package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
  40. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
  41. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
  42. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
  43. package/dist/models/QueryDisplayKnowledgeShrinkRequest.js.map +1 -0
  44. package/dist/models/TextTranslateAsyncRequest.d.ts +28 -0
  45. package/dist/models/TextTranslateAsyncRequest.js.map +1 -1
  46. package/dist/models/TextTranslateAsyncResponseBody.d.ts +19 -0
  47. package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -1
  48. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +28 -0
  49. package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -1
  50. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
  51. package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
  52. package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
  53. package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
  54. package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
  55. package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
  56. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
  57. package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
  58. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
  59. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
  60. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
  61. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
  62. package/dist/models/VideoTranslationRequest.d.ts +6 -6
  63. package/dist/models/VideoTranslationResponseBody.d.ts +4 -4
  64. package/dist/models/VideoTranslationShrinkRequest.d.ts +6 -6
  65. package/dist/models/model.d.ts +26 -0
  66. package/dist/models/model.js +59 -6
  67. package/dist/models/model.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/client.ts +324 -100
  70. package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
  71. package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
  72. package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
  73. package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
  74. package/src/models/AiTryOnRequest.ts +4 -4
  75. package/src/models/AiTryOnResponseBody.ts +10 -10
  76. package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
  77. package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
  78. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
  79. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -0
  80. package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
  81. package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
  82. package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
  83. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -0
  84. package/src/models/TextTranslateAsyncRequest.ts +28 -0
  85. package/src/models/TextTranslateAsyncResponseBody.ts +19 -0
  86. package/src/models/TextTranslateAsyncShrinkRequest.ts +28 -0
  87. package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
  88. package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
  89. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
  90. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
  91. package/src/models/VideoTranslationRequest.ts +6 -6
  92. package/src/models/VideoTranslationResponseBody.ts +4 -4
  93. package/src/models/VideoTranslationShrinkRequest.ts +6 -6
  94. package/src/models/model.ts +26 -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
  *
@@ -2371,6 +2401,21 @@ export default class Client extends OpenApi {
2371
2401
  * @returns QueryAsyncTaskResultResponse
2372
2402
  */
2373
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>;
2374
2419
  /**
2375
2420
  * Detects whether an image contains a size chart. (Synchronous)
2376
2421
  *
@@ -3095,36 +3140,36 @@ export default class Client extends OpenApi {
3095
3140
  */
3096
3141
  textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
3097
3142
  /**
3098
- * 文本翻译异步
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.
3099
3144
  *
3100
3145
  * @remarks
3101
- * ## 适用场景
3102
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
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.
3103
3148
  *
3104
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
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.
3105
3150
  *
3106
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
3151
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
3107
3152
  *
3108
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
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.
3109
3154
  *
3110
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
3111
- * ## 功能介绍
3112
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
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.
3113
3158
  *
3114
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
3159
+ * * **Supported text formats** The model supports text and HTML formats.
3115
3160
  *
3116
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
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.
3117
3162
  *
3118
- * * **翻译效果对比**
3119
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
3163
+ * * **Translation quality comparison**
3164
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3120
3165
  * | --- | --- | --- | --- | --- |
3121
- * | 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 | 商品主体更清晰 |
3122
- * | 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 | 句式更完整,表述更清晰,断句更合理 |
3123
- * | 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 | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
3124
- * ## 接入准备与调用流程
3125
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
3126
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
3127
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
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).
3128
3173
  *
3129
3174
  * @param tmpReq - TextTranslateAsyncRequest
3130
3175
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3132,41 +3177,56 @@ export default class Client extends OpenApi {
3132
3177
  */
3133
3178
  textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse>;
3134
3179
  /**
3135
- * 文本翻译异步
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.
3136
3181
  *
3137
3182
  * @remarks
3138
- * ## 适用场景
3139
- * * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
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.
3140
3185
  *
3141
- * * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
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.
3142
3187
  *
3143
- * * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
3188
+ * * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
3144
3189
  *
3145
- * * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
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.
3146
3191
  *
3147
- *       同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
3148
- * ## 功能介绍
3149
- * * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
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.
3150
3195
  *
3151
- * * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
3196
+ * * **Supported text formats** The model supports text and HTML formats.
3152
3197
  *
3153
- * * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
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.
3154
3199
  *
3155
- * * **翻译效果对比**
3156
- * | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
3200
+ * * **Translation quality comparison**
3201
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
3157
3202
  * | --- | --- | --- | --- | --- |
3158
- * | 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 | 商品主体更清晰 |
3159
- * | 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 | 句式更完整,表述更清晰,断句更合理 |
3160
- * | 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 | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
3161
- * ## 接入准备与调用流程
3162
- * 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
3163
- * 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
3164
- * 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
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).
3165
3210
  *
3166
3211
  * @param request - TextTranslateAsyncRequest
3167
3212
  * @returns TextTranslateAsyncResponse
3168
3213
  */
3169
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>;
3170
3230
  /**
3171
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.
3172
3232
  *
@@ -3219,28 +3279,28 @@ export default class Client extends OpenApi {
3219
3279
  */
3220
3280
  videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
3221
3281
  /**
3222
- * Translates embedded text, such as subtitles and selling points, 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.
3223
3283
  *
3224
3284
  * @remarks
3225
3285
  * ## Product introduction
3226
- * The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
3227
- * This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
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.
3228
3288
  * ## Scenarios
3229
- * * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
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.
3230
3290
  *
3231
- * * **International social media marketing**: Localizes on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
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.
3232
3292
  *
3233
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions 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.
3234
3294
  *
3235
- * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
3295
+ * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
3236
3296
  * ## Features
3237
3297
  * | Feature | Identifier | Description |
3238
3298
  * | --- | --- | --- |
3239
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
3240
- * | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3241
- * Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3242
- * On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
3243
- * When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change the original subtitles.
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.
3244
3304
  *
3245
3305
  * @param tmpReq - VideoTranslationRequest
3246
3306
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3248,28 +3308,28 @@ export default class Client extends OpenApi {
3248
3308
  */
3249
3309
  videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
3250
3310
  /**
3251
- * Translates embedded text, such as subtitles and selling points, 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.
3252
3312
  *
3253
3313
  * @remarks
3254
3314
  * ## Product introduction
3255
- * The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
3256
- * This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
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.
3257
3317
  * ## Scenarios
3258
- * * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
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.
3259
3319
  *
3260
- * * **International social media marketing**: Localizes on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
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.
3261
3321
  *
3262
- * * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions 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.
3263
3323
  *
3264
- * * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
3324
+ * * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
3265
3325
  * ## Features
3266
3326
  * | Feature | Identifier | Description |
3267
3327
  * | --- | --- | --- |
3268
- * | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
3269
- * | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
3270
- * Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
3271
- * On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
3272
- * When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change the original subtitles.
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.
3273
3333
  *
3274
3334
  * @param request - VideoTranslationRequest
3275
3335
  * @returns VideoTranslationResponse