@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/src/client.ts CHANGED
@@ -514,6 +514,86 @@ export default class Client extends OpenApi {
514
514
  return await this.categoryMatchWithOptions(request, runtime);
515
515
  }
516
516
 
517
+ /**
518
+ * 地堆面积推理
519
+ *
520
+ * @remarks
521
+ * ## 请求说明
522
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
523
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
524
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
525
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
526
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
527
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
528
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
529
+ *
530
+ * @param tmpReq - DiduiAreaDeductionRequest
531
+ * @param runtime - runtime options for this request RuntimeOptions
532
+ * @returns DiduiAreaDeductionResponse
533
+ */
534
+ async diduiAreaDeductionWithOptions(tmpReq: $_model.DiduiAreaDeductionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DiduiAreaDeductionResponse> {
535
+ tmpReq.validate();
536
+ let request = new $_model.DiduiAreaDeductionShrinkRequest({ });
537
+ OpenApiUtil.convert(tmpReq, request);
538
+ if (!$dara.isNull(tmpReq.products)) {
539
+ request.productsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.products, "Products", "json");
540
+ }
541
+
542
+ let query = { };
543
+ if (!$dara.isNull(request.productsShrink)) {
544
+ query["Products"] = request.productsShrink;
545
+ }
546
+
547
+ if (!$dara.isNull(request.ragId)) {
548
+ query["RagId"] = request.ragId;
549
+ }
550
+
551
+ if (!$dara.isNull(request.reqId)) {
552
+ query["ReqId"] = request.reqId;
553
+ }
554
+
555
+ if (!$dara.isNull(request.targetImageUrl)) {
556
+ query["TargetImageUrl"] = request.targetImageUrl;
557
+ }
558
+
559
+ let req = new $OpenApiUtil.OpenApiRequest({
560
+ query: OpenApiUtil.query(query),
561
+ });
562
+ let params = new $OpenApiUtil.Params({
563
+ action: "DiduiAreaDeduction",
564
+ version: "2026-04-28",
565
+ protocol: "HTTPS",
566
+ pathname: "/",
567
+ method: "POST",
568
+ authType: "AK",
569
+ style: "RPC",
570
+ reqBodyType: "formData",
571
+ bodyType: "json",
572
+ });
573
+ return $dara.cast<$_model.DiduiAreaDeductionResponse>(await this.callApi(params, req, runtime), new $_model.DiduiAreaDeductionResponse({}));
574
+ }
575
+
576
+ /**
577
+ * 地堆面积推理
578
+ *
579
+ * @remarks
580
+ * ## 请求说明
581
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
582
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
583
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
584
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
585
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
586
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
587
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
588
+ *
589
+ * @param request - DiduiAreaDeductionRequest
590
+ * @returns DiduiAreaDeductionResponse
591
+ */
592
+ async diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse> {
593
+ let runtime = new $dara.RuntimeOptions({ });
594
+ return await this.diduiAreaDeductionWithOptions(request, runtime);
595
+ }
596
+
517
597
  /**
518
598
  * 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.
519
599
  *
@@ -1319,15 +1399,15 @@ export default class Client extends OpenApi {
1319
1399
  }
1320
1400
 
1321
1401
  /**
1322
- * 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.
1402
+ * 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.
1323
1403
  *
1324
1404
  * @remarks
1325
1405
  * ## Product Introduction
1326
- * 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.
1406
+ * 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.
1327
1407
  * Supported language pairs:
1328
- * | **No.** | **Source Language** | | **Target Language** | |
1408
+ * | **No.** | **Source language** | | **Target language** | |
1329
1409
  * | --- | --- | --- | --- | --- |
1330
- * | | Language Code | Language Name | Language Code | Language Name |
1410
+ * | | Language code | Language name | Language code | Language name |
1331
1411
  * | 1 | en | English | ar | Arabic |
1332
1412
  * | 2 | en | English | id | Indonesian |
1333
1413
  * | 3 | en | English | th | Thai |
@@ -1339,15 +1419,15 @@ export default class Client extends OpenApi {
1339
1419
  * | 9 | en | English | es | Spanish |
1340
1420
  * | 10 | en | English | fr | French |
1341
1421
  * | 11 | en | English | de | German |
1342
- * | 12 | en | English | pl | Polish |.
1343
- * ## Common scenarios
1422
+ * | 12 | en | English | pl | Polish |
1423
+ * ## Scenarios
1344
1424
  * Main product images and detail images for cross-border e-commerce.
1345
- * ## Functions and features
1346
- * * **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.
1425
+ * ## Features
1426
+ * * **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.
1347
1427
  *
1348
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1428
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1349
1429
  *
1350
- * * **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.
1430
+ * * **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.
1351
1431
  *
1352
1432
  * @param request - ImageTranslationPlusRequest
1353
1433
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1402,15 +1482,15 @@ export default class Client extends OpenApi {
1402
1482
  }
1403
1483
 
1404
1484
  /**
1405
- * 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.
1485
+ * 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.
1406
1486
  *
1407
1487
  * @remarks
1408
1488
  * ## Product Introduction
1409
- * 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.
1489
+ * 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.
1410
1490
  * Supported language pairs:
1411
- * | **No.** | **Source Language** | | **Target Language** | |
1491
+ * | **No.** | **Source language** | | **Target language** | |
1412
1492
  * | --- | --- | --- | --- | --- |
1413
- * | | Language Code | Language Name | Language Code | Language Name |
1493
+ * | | Language code | Language name | Language code | Language name |
1414
1494
  * | 1 | en | English | ar | Arabic |
1415
1495
  * | 2 | en | English | id | Indonesian |
1416
1496
  * | 3 | en | English | th | Thai |
@@ -1422,15 +1502,15 @@ export default class Client extends OpenApi {
1422
1502
  * | 9 | en | English | es | Spanish |
1423
1503
  * | 10 | en | English | fr | French |
1424
1504
  * | 11 | en | English | de | German |
1425
- * | 12 | en | English | pl | Polish |.
1426
- * ## Common scenarios
1505
+ * | 12 | en | English | pl | Polish |
1506
+ * ## Scenarios
1427
1507
  * Main product images and detail images for cross-border e-commerce.
1428
- * ## Functions and features
1429
- * * **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.
1508
+ * ## Features
1509
+ * * **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.
1430
1510
  *
1431
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1511
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1432
1512
  *
1433
- * * **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.
1513
+ * * **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.
1434
1514
  *
1435
1515
  * @param request - ImageTranslationPlusRequest
1436
1516
  * @returns ImageTranslationPlusResponse
@@ -1914,6 +1994,198 @@ export default class Client extends OpenApi {
1914
1994
  return await this.packageWeightSizeCheckWithOptions(request, runtime);
1915
1995
  }
1916
1996
 
1997
+ /**
1998
+ * 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.
1999
+ *
2000
+ * @remarks
2001
+ * ## Product Introduction
2002
+ * 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.
2003
+ * ## Common scenarios
2004
+ * - 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.
2005
+ * - 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.
2006
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2007
+ * - 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.
2008
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2009
+ * ## Features
2010
+ * - **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.
2011
+ * - **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.
2012
+ * - **Supported text format types** Currently supports text and html text types.
2013
+ * - **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.
2014
+ * ## Translation quality comparison
2015
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2016
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
2017
+ * | 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 |
2018
+ * | 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 |
2019
+ * | 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 |
2020
+ *
2021
+ * @param tmpReq - PrepaidTextTranslateRequest
2022
+ * @param runtime - runtime options for this request RuntimeOptions
2023
+ * @returns PrepaidTextTranslateResponse
2024
+ */
2025
+ async prepaidTextTranslateWithOptions(tmpReq: $_model.PrepaidTextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PrepaidTextTranslateResponse> {
2026
+ tmpReq.validate();
2027
+ let request = new $_model.PrepaidTextTranslateShrinkRequest({ });
2028
+ OpenApiUtil.convert(tmpReq, request);
2029
+ if (!$dara.isNull(tmpReq.sourceTextList)) {
2030
+ request.sourceTextListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceTextList, "SourceTextList", "json");
2031
+ }
2032
+
2033
+ let body : {[key: string ]: any} = { };
2034
+ if (!$dara.isNull(request.bizName)) {
2035
+ body["BizName"] = request.bizName;
2036
+ }
2037
+
2038
+ if (!$dara.isNull(request.formatType)) {
2039
+ body["FormatType"] = request.formatType;
2040
+ }
2041
+
2042
+ if (!$dara.isNull(request.glossary)) {
2043
+ body["Glossary"] = request.glossary;
2044
+ }
2045
+
2046
+ if (!$dara.isNull(request.sourceLanguage)) {
2047
+ body["SourceLanguage"] = request.sourceLanguage;
2048
+ }
2049
+
2050
+ if (!$dara.isNull(request.sourceTextListShrink)) {
2051
+ body["SourceTextList"] = request.sourceTextListShrink;
2052
+ }
2053
+
2054
+ if (!$dara.isNull(request.targetLanguage)) {
2055
+ body["TargetLanguage"] = request.targetLanguage;
2056
+ }
2057
+
2058
+ if (!$dara.isNull(request.translateScene)) {
2059
+ body["TranslateScene"] = request.translateScene;
2060
+ }
2061
+
2062
+ let req = new $OpenApiUtil.OpenApiRequest({
2063
+ body: OpenApiUtil.parseToMap(body),
2064
+ });
2065
+ let params = new $OpenApiUtil.Params({
2066
+ action: "PrepaidTextTranslate",
2067
+ version: "2026-04-28",
2068
+ protocol: "HTTPS",
2069
+ pathname: "/",
2070
+ method: "POST",
2071
+ authType: "AK",
2072
+ style: "RPC",
2073
+ reqBodyType: "formData",
2074
+ bodyType: "json",
2075
+ });
2076
+ return $dara.cast<$_model.PrepaidTextTranslateResponse>(await this.callApi(params, req, runtime), new $_model.PrepaidTextTranslateResponse({}));
2077
+ }
2078
+
2079
+ /**
2080
+ * 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.
2081
+ *
2082
+ * @remarks
2083
+ * ## Product Introduction
2084
+ * 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.
2085
+ * ## Common scenarios
2086
+ * - 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.
2087
+ * - 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.
2088
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2089
+ * - 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.
2090
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2091
+ * ## Features
2092
+ * - **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.
2093
+ * - **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.
2094
+ * - **Supported text format types** Currently supports text and html text types.
2095
+ * - **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.
2096
+ * ## Translation quality comparison
2097
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2098
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
2099
+ * | 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 |
2100
+ * | 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 |
2101
+ * | 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 |
2102
+ *
2103
+ * @param request - PrepaidTextTranslateRequest
2104
+ * @returns PrepaidTextTranslateResponse
2105
+ */
2106
+ async prepaidTextTranslate(request: $_model.PrepaidTextTranslateRequest): Promise<$_model.PrepaidTextTranslateResponse> {
2107
+ let runtime = new $dara.RuntimeOptions({ });
2108
+ return await this.prepaidTextTranslateWithOptions(request, runtime);
2109
+ }
2110
+
2111
+ /**
2112
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
2113
+ *
2114
+ * @remarks
2115
+ * ## Request description
2116
+ * **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.**
2117
+ * 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.
2118
+ * ### Precautions
2119
+ * - Image URLs must use HTTPS and be accessible by the server.
2120
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
2121
+ * - Each image should not exceed 2 MB.
2122
+ * - When using signed URLs, set the validity period to at least 30 minutes.
2123
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
2124
+ *
2125
+ * @param tmpReq - ProductHotspotDetectionRequest
2126
+ * @param runtime - runtime options for this request RuntimeOptions
2127
+ * @returns ProductHotspotDetectionResponse
2128
+ */
2129
+ async productHotspotDetectionWithOptions(tmpReq: $_model.ProductHotspotDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ProductHotspotDetectionResponse> {
2130
+ tmpReq.validate();
2131
+ let request = new $_model.ProductHotspotDetectionShrinkRequest({ });
2132
+ OpenApiUtil.convert(tmpReq, request);
2133
+ if (!$dara.isNull(tmpReq.referenceImageUrls)) {
2134
+ request.referenceImageUrlsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.referenceImageUrls, "ReferenceImageUrls", "json");
2135
+ }
2136
+
2137
+ let query = { };
2138
+ if (!$dara.isNull(request.referenceImageUrlsShrink)) {
2139
+ query["ReferenceImageUrls"] = request.referenceImageUrlsShrink;
2140
+ }
2141
+
2142
+ if (!$dara.isNull(request.reqId)) {
2143
+ query["ReqId"] = request.reqId;
2144
+ }
2145
+
2146
+ if (!$dara.isNull(request.targetImageUrl)) {
2147
+ query["TargetImageUrl"] = request.targetImageUrl;
2148
+ }
2149
+
2150
+ let req = new $OpenApiUtil.OpenApiRequest({
2151
+ query: OpenApiUtil.query(query),
2152
+ });
2153
+ let params = new $OpenApiUtil.Params({
2154
+ action: "ProductHotspotDetection",
2155
+ version: "2026-04-28",
2156
+ protocol: "HTTPS",
2157
+ pathname: "/",
2158
+ method: "POST",
2159
+ authType: "AK",
2160
+ style: "RPC",
2161
+ reqBodyType: "formData",
2162
+ bodyType: "json",
2163
+ });
2164
+ return $dara.cast<$_model.ProductHotspotDetectionResponse>(await this.callApi(params, req, runtime), new $_model.ProductHotspotDetectionResponse({}));
2165
+ }
2166
+
2167
+ /**
2168
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
2169
+ *
2170
+ * @remarks
2171
+ * ## Request description
2172
+ * **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.**
2173
+ * 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.
2174
+ * ### Precautions
2175
+ * - Image URLs must use HTTPS and be accessible by the server.
2176
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
2177
+ * - Each image should not exceed 2 MB.
2178
+ * - When using signed URLs, set the validity period to at least 30 minutes.
2179
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
2180
+ *
2181
+ * @param request - ProductHotspotDetectionRequest
2182
+ * @returns ProductHotspotDetectionResponse
2183
+ */
2184
+ async productHotspotDetection(request: $_model.ProductHotspotDetectionRequest): Promise<$_model.ProductHotspotDetectionResponse> {
2185
+ let runtime = new $dara.RuntimeOptions({ });
2186
+ return await this.productHotspotDetectionWithOptions(request, runtime);
2187
+ }
2188
+
1917
2189
  /**
1918
2190
  * Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
1919
2191
  *
@@ -2533,25 +2805,25 @@ export default class Client extends OpenApi {
2533
2805
  }
2534
2806
 
2535
2807
  /**
2536
- * 电商视频生成(异步提交)
2808
+ * 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.
2537
2809
  *
2538
2810
  * @remarks
2539
- * # 适用场景
2540
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
2541
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
2542
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
2543
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
2544
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
2545
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
2546
- * # 功能介绍
2547
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
2548
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
2549
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
2550
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
2551
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
2552
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
2553
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
2554
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2811
+ * # Scenarios
2812
+ * - 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.
2813
+ * - 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.
2814
+ * - 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.
2815
+ * - 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.
2816
+ * - 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.
2817
+ * - 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.
2818
+ * # Features
2819
+ * - 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.
2820
+ * - 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.
2821
+ * - 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."
2822
+ * - 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.
2823
+ * - 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.
2824
+ * - 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.
2825
+ * - 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.
2826
+ * - 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.
2555
2827
  *
2556
2828
  * @param tmpReq - VideoGenerationRequest
2557
2829
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2604,25 +2876,25 @@ export default class Client extends OpenApi {
2604
2876
  }
2605
2877
 
2606
2878
  /**
2607
- * 电商视频生成(异步提交)
2879
+ * 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.
2608
2880
  *
2609
2881
  * @remarks
2610
- * # 适用场景
2611
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
2612
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
2613
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
2614
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
2615
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
2616
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
2617
- * # 功能介绍
2618
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
2619
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
2620
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
2621
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
2622
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
2623
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
2624
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
2625
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2882
+ * # Scenarios
2883
+ * - 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.
2884
+ * - 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.
2885
+ * - 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.
2886
+ * - 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.
2887
+ * - 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.
2888
+ * - 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.
2889
+ * # Features
2890
+ * - 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.
2891
+ * - 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.
2892
+ * - 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."
2893
+ * - 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.
2894
+ * - 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.
2895
+ * - 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.
2896
+ * - 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.
2897
+ * - 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.
2626
2898
  *
2627
2899
  * @param request - VideoGenerationRequest
2628
2900
  * @returns VideoGenerationResponse