@alicloud/aidge20260428 5.1.0 → 5.3.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 (70) hide show
  1. package/dist/client.d.ts +183 -54
  2. package/dist/client.js +303 -54
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DiduiAreaDeductionRequest.d.ts +105 -0
  5. package/dist/models/DiduiAreaDeductionRequest.js +116 -0
  6. package/dist/models/DiduiAreaDeductionRequest.js.map +1 -0
  7. package/dist/models/DiduiAreaDeductionResponse.d.ts +19 -0
  8. package/dist/models/DiduiAreaDeductionResponse.js +69 -0
  9. package/dist/models/DiduiAreaDeductionResponse.js.map +1 -0
  10. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +139 -0
  11. package/dist/models/DiduiAreaDeductionResponseBody.js +159 -0
  12. package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -0
  13. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +36 -0
  14. package/dist/models/DiduiAreaDeductionShrinkRequest.js +64 -0
  15. package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -0
  16. package/dist/models/ImageTranslationPlusResponseBody.d.ts +4 -6
  17. package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
  18. package/dist/models/PrepaidTextTranslateRequest.d.ts +73 -0
  19. package/dist/models/PrepaidTextTranslateRequest.js +73 -0
  20. package/dist/models/PrepaidTextTranslateRequest.js.map +1 -0
  21. package/dist/models/PrepaidTextTranslateResponse.d.ts +19 -0
  22. package/dist/models/PrepaidTextTranslateResponse.js +69 -0
  23. package/dist/models/PrepaidTextTranslateResponse.js.map +1 -0
  24. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +110 -0
  25. package/dist/models/PrepaidTextTranslateResponseBody.js +119 -0
  26. package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -0
  27. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +73 -0
  28. package/dist/models/PrepaidTextTranslateShrinkRequest.js +70 -0
  29. package/dist/models/PrepaidTextTranslateShrinkRequest.js.map +1 -0
  30. package/dist/models/ProductHotspotDetectionRequest.d.ts +38 -0
  31. package/dist/models/ProductHotspotDetectionRequest.js +65 -0
  32. package/dist/models/ProductHotspotDetectionRequest.js.map +1 -0
  33. package/dist/models/ProductHotspotDetectionResponse.d.ts +19 -0
  34. package/dist/models/ProductHotspotDetectionResponse.js +69 -0
  35. package/dist/models/ProductHotspotDetectionResponse.js.map +1 -0
  36. package/dist/models/ProductHotspotDetectionResponseBody.d.ts +154 -0
  37. package/dist/models/ProductHotspotDetectionResponseBody.js +147 -0
  38. package/dist/models/ProductHotspotDetectionResponseBody.js.map +1 -0
  39. package/dist/models/ProductHotspotDetectionShrinkRequest.d.ts +38 -0
  40. package/dist/models/ProductHotspotDetectionShrinkRequest.js +62 -0
  41. package/dist/models/ProductHotspotDetectionShrinkRequest.js.map +1 -0
  42. package/dist/models/VideoGenerationRequest.d.ts +71 -0
  43. package/dist/models/VideoGenerationRequest.js +31 -1
  44. package/dist/models/VideoGenerationRequest.js.map +1 -1
  45. package/dist/models/VideoGenerationResponseBody.d.ts +23 -0
  46. package/dist/models/VideoGenerationResponseBody.js.map +1 -1
  47. package/dist/models/VideoGenerationShrinkRequest.d.ts +8 -0
  48. package/dist/models/VideoGenerationShrinkRequest.js.map +1 -1
  49. package/dist/models/model.d.ts +23 -0
  50. package/dist/models/model.js +55 -8
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +326 -54
  54. package/src/models/DiduiAreaDeductionRequest.ts +158 -0
  55. package/src/models/DiduiAreaDeductionResponse.ts +40 -0
  56. package/src/models/DiduiAreaDeductionResponseBody.ts +224 -0
  57. package/src/models/DiduiAreaDeductionShrinkRequest.ts +55 -0
  58. package/src/models/ImageTranslationPlusResponseBody.ts +4 -6
  59. package/src/models/PrepaidTextTranslateRequest.ts +101 -0
  60. package/src/models/PrepaidTextTranslateResponse.ts +40 -0
  61. package/src/models/PrepaidTextTranslateResponseBody.ts +164 -0
  62. package/src/models/PrepaidTextTranslateShrinkRequest.ts +98 -0
  63. package/src/models/ProductHotspotDetectionRequest.ts +58 -0
  64. package/src/models/ProductHotspotDetectionResponse.ts +40 -0
  65. package/src/models/ProductHotspotDetectionResponseBody.ts +227 -0
  66. package/src/models/ProductHotspotDetectionShrinkRequest.ts +55 -0
  67. package/src/models/VideoGenerationRequest.ts +92 -0
  68. package/src/models/VideoGenerationResponseBody.ts +23 -0
  69. package/src/models/VideoGenerationShrinkRequest.ts +8 -0
  70. package/src/models/model.ts +23 -0
package/dist/client.d.ts CHANGED
@@ -242,6 +242,41 @@ export default class Client extends OpenApi {
242
242
  * @returns CategoryMatchResponse
243
243
  */
244
244
  categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
245
+ /**
246
+ * 地堆面积推理
247
+ *
248
+ * @remarks
249
+ * ## 请求说明
250
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
251
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
252
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
253
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
254
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
255
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
256
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
257
+ *
258
+ * @param tmpReq - DiduiAreaDeductionRequest
259
+ * @param runtime - runtime options for this request RuntimeOptions
260
+ * @returns DiduiAreaDeductionResponse
261
+ */
262
+ diduiAreaDeductionWithOptions(tmpReq: $_model.DiduiAreaDeductionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DiduiAreaDeductionResponse>;
263
+ /**
264
+ * 地堆面积推理
265
+ *
266
+ * @remarks
267
+ * ## 请求说明
268
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
269
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
270
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
271
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
272
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
273
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
274
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
275
+ *
276
+ * @param request - DiduiAreaDeductionRequest
277
+ * @returns DiduiAreaDeductionResponse
278
+ */
279
+ diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse>;
245
280
  /**
246
281
  * Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas: - Content accuracy: translation accuracy, parameter and unit accuracy - Structural integrity: overall layout continuity, page margin and layout preservation.
247
282
  *
@@ -785,15 +820,15 @@ export default class Client extends OpenApi {
785
820
  */
786
821
  imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
787
822
  /**
788
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
823
+ * 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. Use it for the following 8 language pairs, with more to be supported in the future.
789
824
  *
790
825
  * @remarks
791
826
  * ## Product Introduction
792
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
827
+ * 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. Use it for the following 8 language pairs, with more to be supported in the future.
793
828
  * Supported language pairs:
794
- * | **No.** | **Source Language** | | **Target Language** | |
829
+ * | **No.** | **Source language** | | **Target language** | |
795
830
  * | --- | --- | --- | --- | --- |
796
- * | | Language Code | Language Name | Language Code | Language Name |
831
+ * | | Language code | Language name | Language code | Language name |
797
832
  * | 1 | en | English | ar | Arabic |
798
833
  * | 2 | en | English | id | Indonesian |
799
834
  * | 3 | en | English | th | Thai |
@@ -805,15 +840,15 @@ export default class Client extends OpenApi {
805
840
  * | 9 | en | English | es | Spanish |
806
841
  * | 10 | en | English | fr | French |
807
842
  * | 11 | en | English | de | German |
808
- * | 12 | en | English | pl | Polish |.
809
- * ## Common scenarios
843
+ * | 12 | en | English | pl | Polish |
844
+ * ## Scenarios
810
845
  * Main product images and detail images for cross-border e-commerce.
811
- * ## Functions and features
812
- * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
846
+ * ## Features
847
+ * * **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.
813
848
  *
814
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
849
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
815
850
  *
816
- * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
851
+ * * **Translation intervention**: Allows you to customize translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
817
852
  *
818
853
  * @param request - ImageTranslationPlusRequest
819
854
  * @param runtime - runtime options for this request RuntimeOptions
@@ -821,15 +856,15 @@ export default class Client extends OpenApi {
821
856
  */
822
857
  imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
823
858
  /**
824
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
859
+ * 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. Use it for the following 8 language pairs, with more to be supported in the future.
825
860
  *
826
861
  * @remarks
827
862
  * ## Product Introduction
828
- * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
863
+ * 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. Use it for the following 8 language pairs, with more to be supported in the future.
829
864
  * Supported language pairs:
830
- * | **No.** | **Source Language** | | **Target Language** | |
865
+ * | **No.** | **Source language** | | **Target language** | |
831
866
  * | --- | --- | --- | --- | --- |
832
- * | | Language Code | Language Name | Language Code | Language Name |
867
+ * | | Language code | Language name | Language code | Language name |
833
868
  * | 1 | en | English | ar | Arabic |
834
869
  * | 2 | en | English | id | Indonesian |
835
870
  * | 3 | en | English | th | Thai |
@@ -841,15 +876,15 @@ export default class Client extends OpenApi {
841
876
  * | 9 | en | English | es | Spanish |
842
877
  * | 10 | en | English | fr | French |
843
878
  * | 11 | en | English | de | German |
844
- * | 12 | en | English | pl | Polish |.
845
- * ## Common scenarios
879
+ * | 12 | en | English | pl | Polish |
880
+ * ## Scenarios
846
881
  * Main product images and detail images for cross-border e-commerce.
847
- * ## Functions and features
848
- * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
882
+ * ## Features
883
+ * * **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.
849
884
  *
850
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
885
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
851
886
  *
852
- * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
887
+ * * **Translation intervention**: Allows you to customize translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
853
888
  *
854
889
  * @param request - ImageTranslationPlusRequest
855
890
  * @returns ImageTranslationPlusResponse
@@ -1083,6 +1118,100 @@ export default class Client extends OpenApi {
1083
1118
  * @returns PackageWeightSizeCheckResponse
1084
1119
  */
1085
1120
  packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
1121
+ /**
1122
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify the source language, automatic detection is performed.
1123
+ *
1124
+ * @remarks
1125
+ * ## Product Introduction
1126
+ * Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify the source language, automatic detection is performed.
1127
+ * ## Common scenarios
1128
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
1129
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
1130
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
1131
+ * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
1132
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1133
+ * ## Features
1134
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
1135
+ * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference speed and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
1136
+ * - **Supported text format types** Currently supports text and html text types.
1137
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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.
1138
+ * ## Translation quality comparison
1139
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
1140
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
1141
+ * | 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 |
1142
+ * | 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 |
1143
+ * | 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 precise product subject expression. The translation correctly identifies "key bag" rather than "keychain", avoiding ambiguity about the product type |
1144
+ *
1145
+ * @param tmpReq - PrepaidTextTranslateRequest
1146
+ * @param runtime - runtime options for this request RuntimeOptions
1147
+ * @returns PrepaidTextTranslateResponse
1148
+ */
1149
+ prepaidTextTranslateWithOptions(tmpReq: $_model.PrepaidTextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PrepaidTextTranslateResponse>;
1150
+ /**
1151
+ * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify the source language, automatic detection is performed.
1152
+ *
1153
+ * @remarks
1154
+ * ## Product Introduction
1155
+ * Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify the source language, automatic detection is performed.
1156
+ * ## Common scenarios
1157
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
1158
+ * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
1159
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
1160
+ * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
1161
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1162
+ * ## Features
1163
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
1164
+ * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference speed and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
1165
+ * - **Supported text format types** Currently supports text and html text types.
1166
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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.
1167
+ * ## Translation quality comparison
1168
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
1169
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
1170
+ * | 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 |
1171
+ * | 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 |
1172
+ * | 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 precise product subject expression. The translation correctly identifies "key bag" rather than "keychain", avoiding ambiguity about the product type |
1173
+ *
1174
+ * @param request - PrepaidTextTranslateRequest
1175
+ * @returns PrepaidTextTranslateResponse
1176
+ */
1177
+ prepaidTextTranslate(request: $_model.PrepaidTextTranslateRequest): Promise<$_model.PrepaidTextTranslateResponse>;
1178
+ /**
1179
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
1180
+ *
1181
+ * @remarks
1182
+ * ## Request description
1183
+ * **Before using this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the product hotzone recognition service.**
1184
+ * This API automatically identifies and locates specified products in a target scene image based on the provided target scene image and product reference images, and outputs the product name and normalized bounding box. Each request takes one target scene image and a set of product reference images. If the same case has multiple target images, call the operation separately for each target image.
1185
+ * ### Precautions
1186
+ * - Image URLs must use HTTPS and be accessible by the server.
1187
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
1188
+ * - Each image should not exceed 2 MB.
1189
+ * - When using signed URLs, set the validity period to at least 30 minutes.
1190
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
1191
+ *
1192
+ * @param tmpReq - ProductHotspotDetectionRequest
1193
+ * @param runtime - runtime options for this request RuntimeOptions
1194
+ * @returns ProductHotspotDetectionResponse
1195
+ */
1196
+ productHotspotDetectionWithOptions(tmpReq: $_model.ProductHotspotDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ProductHotspotDetectionResponse>;
1197
+ /**
1198
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
1199
+ *
1200
+ * @remarks
1201
+ * ## Request description
1202
+ * **Before using this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of the product hotzone recognition service.**
1203
+ * This API automatically identifies and locates specified products in a target scene image based on the provided target scene image and product reference images, and outputs the product name and normalized bounding box. Each request takes one target scene image and a set of product reference images. If the same case has multiple target images, call the operation separately for each target image.
1204
+ * ### Precautions
1205
+ * - Image URLs must use HTTPS and be accessible by the server.
1206
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
1207
+ * - Each image should not exceed 2 MB.
1208
+ * - When using signed URLs, set the validity period to at least 30 minutes.
1209
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
1210
+ *
1211
+ * @param request - ProductHotspotDetectionRequest
1212
+ * @returns ProductHotspotDetectionResponse
1213
+ */
1214
+ productHotspotDetection(request: $_model.ProductHotspotDetectionRequest): Promise<$_model.ProductHotspotDetectionResponse>;
1086
1215
  /**
1087
1216
  * Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
1088
1217
  *
@@ -1515,25 +1644,25 @@ export default class Client extends OpenApi {
1515
1644
  */
1516
1645
  textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
1517
1646
  /**
1518
- * 电商视频生成(异步提交)
1647
+ * Invokes the e-commerce AI video generation agent 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 service supports multiple resolution outputs such as 720P and 1080P, single-product quick invocation and multi-product batch generation, catering to both daily operations and large-scale product content production needs. Currently overwrites 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.
1519
1648
  *
1520
1649
  * @remarks
1521
- * # 适用场景
1522
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
1523
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
1524
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
1525
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
1526
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
1527
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
1528
- * # 功能介绍
1529
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
1530
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
1531
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
1532
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
1533
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
1534
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
1535
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
1536
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
1650
+ * # Scenarios
1651
+ * - Batch generation of product short videos for sellers/platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage display, information feed placement, short video content marketing, campaign material, and other scenarios.
1652
+ * - Quick generation of initial video assets for new product launches: When merchants have a large number of new products to list, they only need to upload product images and titles to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete asset creation during the launch phase.
1653
+ * - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography based on product main images, with optimized capabilities for silhouette reproduction, fabric texture preservation, accurate color rendering, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
1654
+ * - 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 commute, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports standing poses, side views, walking displays, partial close-ups, and other commercial photography expressions.
1655
+ * - Standard product explanation and other high-frequency e-commerce scenarios: Applicable to 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 points, and explanation scripts.
1656
+ * - 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 assets, enabling enterprises to validate conversion effects of different selling points and presentation formats at low cost, improving placement ROI.
1657
+ * # Features
1658
+ * - 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 including product understanding, visual quality inspection, script planning, and cinematography direction significantly lower the usage barrier.
1659
+ * - Highly stable generation with low waste rate: Uses a deterministic generation pipeline and multi-layer quality control mechanism to output usable assets with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
1660
+ * - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (e.g., zippers won\\"t be unzipped, sleeves won\\"t be lowered, prints won\\"t disappear), ensuring product consistency through multi-layer defense of "script rewriting + explicit constraint injection + failure-aware retry."
1661
+ * - Reference image priority + 6-axis consistency verification: Adopts a Reference-Image-First generation paradigm using the original product image as the sole visual truth source, automatically performing 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally eliminating the problem of generated images not resembling the product.
1662
+ * - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5–30 seconds. The agent autonomously plans independent storyboards to showcase product effects in different scenarios. Also supports fixed scene mode for in-depth product presentation under a unified visual style.
1663
+ * - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segmented precise control.
1664
+ * - Model library and customization services: Built-in multi-type model resource library supporting merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
1665
+ * - Adapted 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, suitable for product detail page video slots, product homepage video display, waterfall/information feed placement, campaign material, and new product and promotional video generation.
1537
1666
  *
1538
1667
  * @param tmpReq - VideoGenerationRequest
1539
1668
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1541,25 +1670,25 @@ export default class Client extends OpenApi {
1541
1670
  */
1542
1671
  videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
1543
1672
  /**
1544
- * 电商视频生成(异步提交)
1673
+ * Invokes the e-commerce AI video generation agent 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 service supports multiple resolution outputs such as 720P and 1080P, single-product quick invocation and multi-product batch generation, catering to both daily operations and large-scale product content production needs. Currently overwrites 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.
1545
1674
  *
1546
1675
  * @remarks
1547
- * # 适用场景
1548
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
1549
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
1550
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
1551
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
1552
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
1553
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
1554
- * # 功能介绍
1555
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
1556
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
1557
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
1558
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
1559
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
1560
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
1561
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
1562
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
1676
+ * # Scenarios
1677
+ * - Batch generation of product short videos for sellers/platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage display, information feed placement, short video content marketing, campaign material, and other scenarios.
1678
+ * - Quick generation of initial video assets for new product launches: When merchants have a large number of new products to list, they only need to upload product images and titles to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete asset creation during the launch phase.
1679
+ * - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography based on product main images, with optimized capabilities for silhouette reproduction, fabric texture preservation, accurate color rendering, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
1680
+ * - 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 commute, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports standing poses, side views, walking displays, partial close-ups, and other commercial photography expressions.
1681
+ * - Standard product explanation and other high-frequency e-commerce scenarios: Applicable to 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 points, and explanation scripts.
1682
+ * - 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 assets, enabling enterprises to validate conversion effects of different selling points and presentation formats at low cost, improving placement ROI.
1683
+ * # Features
1684
+ * - 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 including product understanding, visual quality inspection, script planning, and cinematography direction significantly lower the usage barrier.
1685
+ * - Highly stable generation with low waste rate: Uses a deterministic generation pipeline and multi-layer quality control mechanism to output usable assets with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
1686
+ * - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (e.g., zippers won\\"t be unzipped, sleeves won\\"t be lowered, prints won\\"t disappear), ensuring product consistency through multi-layer defense of "script rewriting + explicit constraint injection + failure-aware retry."
1687
+ * - Reference image priority + 6-axis consistency verification: Adopts a Reference-Image-First generation paradigm using the original product image as the sole visual truth source, automatically performing 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally eliminating the problem of generated images not resembling the product.
1688
+ * - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5–30 seconds. The agent autonomously plans independent storyboards to showcase product effects in different scenarios. Also supports fixed scene mode for in-depth product presentation under a unified visual style.
1689
+ * - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segmented precise control.
1690
+ * - Model library and customization services: Built-in multi-type model resource library supporting merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
1691
+ * - Adapted 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, suitable for product detail page video slots, product homepage video display, waterfall/information feed placement, campaign material, and new product and promotional video generation.
1563
1692
  *
1564
1693
  * @param request - VideoGenerationRequest
1565
1694
  * @returns VideoGenerationResponse