@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.js CHANGED
@@ -500,6 +500,79 @@ class Client extends openapi_core_1.default {
500
500
  let runtime = new $dara.RuntimeOptions({});
501
501
  return await this.categoryMatchWithOptions(request, runtime);
502
502
  }
503
+ /**
504
+ * 地堆面积推理
505
+ *
506
+ * @remarks
507
+ * ## 请求说明
508
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
509
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
510
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
511
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
512
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
513
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
514
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
515
+ *
516
+ * @param tmpReq - DiduiAreaDeductionRequest
517
+ * @param runtime - runtime options for this request RuntimeOptions
518
+ * @returns DiduiAreaDeductionResponse
519
+ */
520
+ async diduiAreaDeductionWithOptions(tmpReq, runtime) {
521
+ tmpReq.validate();
522
+ let request = new $_model.DiduiAreaDeductionShrinkRequest({});
523
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
524
+ if (!$dara.isNull(tmpReq.products)) {
525
+ request.productsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.products, "Products", "json");
526
+ }
527
+ let query = {};
528
+ if (!$dara.isNull(request.productsShrink)) {
529
+ query["Products"] = request.productsShrink;
530
+ }
531
+ if (!$dara.isNull(request.ragId)) {
532
+ query["RagId"] = request.ragId;
533
+ }
534
+ if (!$dara.isNull(request.reqId)) {
535
+ query["ReqId"] = request.reqId;
536
+ }
537
+ if (!$dara.isNull(request.targetImageUrl)) {
538
+ query["TargetImageUrl"] = request.targetImageUrl;
539
+ }
540
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
541
+ query: openapi_core_2.OpenApiUtil.query(query),
542
+ });
543
+ let params = new openapi_core_2.$OpenApiUtil.Params({
544
+ action: "DiduiAreaDeduction",
545
+ version: "2026-04-28",
546
+ protocol: "HTTPS",
547
+ pathname: "/",
548
+ method: "POST",
549
+ authType: "AK",
550
+ style: "RPC",
551
+ reqBodyType: "formData",
552
+ bodyType: "json",
553
+ });
554
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DiduiAreaDeductionResponse({}));
555
+ }
556
+ /**
557
+ * 地堆面积推理
558
+ *
559
+ * @remarks
560
+ * ## 请求说明
561
+ * **请确保在使用该接口前,已充分了解地堆面积推理产品的收费方式和[价格](https://www.aliyun.com/price/product#/ecs/detail)。**
562
+ * - 本接口用于通过提供的地堆整体图、SKU知识库以及商品在图片中的位置信息来推断地堆的实际尺寸(两条边的长度)及其占地面积。
563
+ * - 确保提供的`RagId`对应的知识库属于调用者且状态为可用(`AVAILABLE`)。
564
+ * - `Products`数组中至少包含一个商品项,并且每个商品项下的`Boxes`也至少需要定义一个边界框。
565
+ * - 所有坐标值均采用0到1000之间的归一化坐标系表示,请确保输入时满足`Left < Right`与`Top < Bottom`的关系。
566
+ * - 调用此API时请设置合理的超时时间(建议不超过300秒),以避免因网络延迟或处理复杂度高导致的操作失败。
567
+ * - 对于正式环境下的调用,请使用POP Action方式接入;内部REST地址主要用于开发测试阶段的联调工作。
568
+ *
569
+ * @param request - DiduiAreaDeductionRequest
570
+ * @returns DiduiAreaDeductionResponse
571
+ */
572
+ async diduiAreaDeduction(request) {
573
+ let runtime = new $dara.RuntimeOptions({});
574
+ return await this.diduiAreaDeductionWithOptions(request, runtime);
575
+ }
503
576
  /**
504
577
  * 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.
505
578
  *
@@ -1263,15 +1336,15 @@ class Client extends openapi_core_1.default {
1263
1336
  return await this.imageRemoveWithOptions(request, runtime);
1264
1337
  }
1265
1338
  /**
1266
- * 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.
1339
+ * 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.
1267
1340
  *
1268
1341
  * @remarks
1269
1342
  * ## Product Introduction
1270
- * 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.
1343
+ * 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.
1271
1344
  * Supported language pairs:
1272
- * | **No.** | **Source Language** | | **Target Language** | |
1345
+ * | **No.** | **Source language** | | **Target language** | |
1273
1346
  * | --- | --- | --- | --- | --- |
1274
- * | | Language Code | Language Name | Language Code | Language Name |
1347
+ * | | Language code | Language name | Language code | Language name |
1275
1348
  * | 1 | en | English | ar | Arabic |
1276
1349
  * | 2 | en | English | id | Indonesian |
1277
1350
  * | 3 | en | English | th | Thai |
@@ -1283,15 +1356,15 @@ class Client extends openapi_core_1.default {
1283
1356
  * | 9 | en | English | es | Spanish |
1284
1357
  * | 10 | en | English | fr | French |
1285
1358
  * | 11 | en | English | de | German |
1286
- * | 12 | en | English | pl | Polish |.
1287
- * ## Common scenarios
1359
+ * | 12 | en | English | pl | Polish |
1360
+ * ## Scenarios
1288
1361
  * Main product images and detail images for cross-border e-commerce.
1289
- * ## Functions and features
1290
- * * **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.
1362
+ * ## Features
1363
+ * * **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.
1291
1364
  *
1292
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1365
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1293
1366
  *
1294
- * * **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.
1367
+ * * **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.
1295
1368
  *
1296
1369
  * @param request - ImageTranslationPlusRequest
1297
1370
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1338,15 +1411,15 @@ class Client extends openapi_core_1.default {
1338
1411
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
1339
1412
  }
1340
1413
  /**
1341
- * 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.
1414
+ * 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.
1342
1415
  *
1343
1416
  * @remarks
1344
1417
  * ## Product Introduction
1345
- * 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.
1418
+ * 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.
1346
1419
  * Supported language pairs:
1347
- * | **No.** | **Source Language** | | **Target Language** | |
1420
+ * | **No.** | **Source language** | | **Target language** | |
1348
1421
  * | --- | --- | --- | --- | --- |
1349
- * | | Language Code | Language Name | Language Code | Language Name |
1422
+ * | | Language code | Language name | Language code | Language name |
1350
1423
  * | 1 | en | English | ar | Arabic |
1351
1424
  * | 2 | en | English | id | Indonesian |
1352
1425
  * | 3 | en | English | th | Thai |
@@ -1358,15 +1431,15 @@ class Client extends openapi_core_1.default {
1358
1431
  * | 9 | en | English | es | Spanish |
1359
1432
  * | 10 | en | English | fr | French |
1360
1433
  * | 11 | en | English | de | German |
1361
- * | 12 | en | English | pl | Polish |.
1362
- * ## Common scenarios
1434
+ * | 12 | en | English | pl | Polish |
1435
+ * ## Scenarios
1363
1436
  * Main product images and detail images for cross-border e-commerce.
1364
- * ## Functions and features
1365
- * * **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.
1437
+ * ## Features
1438
+ * * **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.
1366
1439
  *
1367
- * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1440
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1368
1441
  *
1369
- * * **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.
1442
+ * * **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.
1370
1443
  *
1371
1444
  * @param request - ImageTranslationPlusRequest
1372
1445
  * @returns ImageTranslationPlusResponse
@@ -1810,6 +1883,182 @@ class Client extends openapi_core_1.default {
1810
1883
  let runtime = new $dara.RuntimeOptions({});
1811
1884
  return await this.packageWeightSizeCheckWithOptions(request, runtime);
1812
1885
  }
1886
+ /**
1887
+ * 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.
1888
+ *
1889
+ * @remarks
1890
+ * ## Product Introduction
1891
+ * 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.
1892
+ * ## Common scenarios
1893
+ * - 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.
1894
+ * - 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.
1895
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
1896
+ * - 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.
1897
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1898
+ * ## Features
1899
+ * - **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.
1900
+ * - **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.
1901
+ * - **Supported text format types** Currently supports text and html text types.
1902
+ * - **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.
1903
+ * ## Translation quality comparison
1904
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
1905
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
1906
+ * | 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 |
1907
+ * | 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 |
1908
+ * | 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 |
1909
+ *
1910
+ * @param tmpReq - PrepaidTextTranslateRequest
1911
+ * @param runtime - runtime options for this request RuntimeOptions
1912
+ * @returns PrepaidTextTranslateResponse
1913
+ */
1914
+ async prepaidTextTranslateWithOptions(tmpReq, runtime) {
1915
+ tmpReq.validate();
1916
+ let request = new $_model.PrepaidTextTranslateShrinkRequest({});
1917
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
1918
+ if (!$dara.isNull(tmpReq.sourceTextList)) {
1919
+ request.sourceTextListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceTextList, "SourceTextList", "json");
1920
+ }
1921
+ let body = {};
1922
+ if (!$dara.isNull(request.bizName)) {
1923
+ body["BizName"] = request.bizName;
1924
+ }
1925
+ if (!$dara.isNull(request.formatType)) {
1926
+ body["FormatType"] = request.formatType;
1927
+ }
1928
+ if (!$dara.isNull(request.glossary)) {
1929
+ body["Glossary"] = request.glossary;
1930
+ }
1931
+ if (!$dara.isNull(request.sourceLanguage)) {
1932
+ body["SourceLanguage"] = request.sourceLanguage;
1933
+ }
1934
+ if (!$dara.isNull(request.sourceTextListShrink)) {
1935
+ body["SourceTextList"] = request.sourceTextListShrink;
1936
+ }
1937
+ if (!$dara.isNull(request.targetLanguage)) {
1938
+ body["TargetLanguage"] = request.targetLanguage;
1939
+ }
1940
+ if (!$dara.isNull(request.translateScene)) {
1941
+ body["TranslateScene"] = request.translateScene;
1942
+ }
1943
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1944
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1945
+ });
1946
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1947
+ action: "PrepaidTextTranslate",
1948
+ version: "2026-04-28",
1949
+ protocol: "HTTPS",
1950
+ pathname: "/",
1951
+ method: "POST",
1952
+ authType: "AK",
1953
+ style: "RPC",
1954
+ reqBodyType: "formData",
1955
+ bodyType: "json",
1956
+ });
1957
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PrepaidTextTranslateResponse({}));
1958
+ }
1959
+ /**
1960
+ * 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.
1961
+ *
1962
+ * @remarks
1963
+ * ## Product Introduction
1964
+ * 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.
1965
+ * ## Common scenarios
1966
+ * - 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.
1967
+ * - 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.
1968
+ * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
1969
+ * - 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.
1970
+ * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
1971
+ * ## Features
1972
+ * - **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.
1973
+ * - **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.
1974
+ * - **Supported text format types** Currently supports text and html text types.
1975
+ * - **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.
1976
+ * ## Translation quality comparison
1977
+ * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
1978
+ * |----------|---------------|-----------------------|-----------------------|---------------------|
1979
+ * | 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 |
1980
+ * | 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 |
1981
+ * | 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 |
1982
+ *
1983
+ * @param request - PrepaidTextTranslateRequest
1984
+ * @returns PrepaidTextTranslateResponse
1985
+ */
1986
+ async prepaidTextTranslate(request) {
1987
+ let runtime = new $dara.RuntimeOptions({});
1988
+ return await this.prepaidTextTranslateWithOptions(request, runtime);
1989
+ }
1990
+ /**
1991
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
1992
+ *
1993
+ * @remarks
1994
+ * ## Request description
1995
+ * **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.**
1996
+ * 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.
1997
+ * ### Precautions
1998
+ * - Image URLs must use HTTPS and be accessible by the server.
1999
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
2000
+ * - Each image should not exceed 2 MB.
2001
+ * - When using signed URLs, set the validity period to at least 30 minutes.
2002
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
2003
+ *
2004
+ * @param tmpReq - ProductHotspotDetectionRequest
2005
+ * @param runtime - runtime options for this request RuntimeOptions
2006
+ * @returns ProductHotspotDetectionResponse
2007
+ */
2008
+ async productHotspotDetectionWithOptions(tmpReq, runtime) {
2009
+ tmpReq.validate();
2010
+ let request = new $_model.ProductHotspotDetectionShrinkRequest({});
2011
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
2012
+ if (!$dara.isNull(tmpReq.referenceImageUrls)) {
2013
+ request.referenceImageUrlsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.referenceImageUrls, "ReferenceImageUrls", "json");
2014
+ }
2015
+ let query = {};
2016
+ if (!$dara.isNull(request.referenceImageUrlsShrink)) {
2017
+ query["ReferenceImageUrls"] = request.referenceImageUrlsShrink;
2018
+ }
2019
+ if (!$dara.isNull(request.reqId)) {
2020
+ query["ReqId"] = request.reqId;
2021
+ }
2022
+ if (!$dara.isNull(request.targetImageUrl)) {
2023
+ query["TargetImageUrl"] = request.targetImageUrl;
2024
+ }
2025
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2026
+ query: openapi_core_2.OpenApiUtil.query(query),
2027
+ });
2028
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2029
+ action: "ProductHotspotDetection",
2030
+ version: "2026-04-28",
2031
+ protocol: "HTTPS",
2032
+ pathname: "/",
2033
+ method: "POST",
2034
+ authType: "AK",
2035
+ style: "RPC",
2036
+ reqBodyType: "formData",
2037
+ bodyType: "json",
2038
+ });
2039
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ProductHotspotDetectionResponse({}));
2040
+ }
2041
+ /**
2042
+ * Automatically identifies and locates specified products in an image based on a multimodal foundation model.
2043
+ *
2044
+ * @remarks
2045
+ * ## Request description
2046
+ * **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.**
2047
+ * 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.
2048
+ * ### Precautions
2049
+ * - Image URLs must use HTTPS and be accessible by the server.
2050
+ * - Common image formats such as JPEG, PNG, and WebP are supported.
2051
+ * - Each image should not exceed 2 MB.
2052
+ * - When using signed URLs, set the validity period to at least 30 minutes.
2053
+ * - If the same case has multiple target scene images, call the operation separately for each target image. The reference image list can be reused.
2054
+ *
2055
+ * @param request - ProductHotspotDetectionRequest
2056
+ * @returns ProductHotspotDetectionResponse
2057
+ */
2058
+ async productHotspotDetection(request) {
2059
+ let runtime = new $dara.RuntimeOptions({});
2060
+ return await this.productHotspotDetectionWithOptions(request, runtime);
2061
+ }
1813
2062
  /**
1814
2063
  * Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
1815
2064
  *
@@ -2402,25 +2651,25 @@ class Client extends openapi_core_1.default {
2402
2651
  return await this.textTranslateWithOptions(request, runtime);
2403
2652
  }
2404
2653
  /**
2405
- * 电商视频生成(异步提交)
2654
+ * 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.
2406
2655
  *
2407
2656
  * @remarks
2408
- * # 适用场景
2409
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
2410
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
2411
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
2412
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
2413
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
2414
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
2415
- * # 功能介绍
2416
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
2417
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
2418
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
2419
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
2420
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
2421
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
2422
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
2423
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2657
+ * # Scenarios
2658
+ * - 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.
2659
+ * - 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.
2660
+ * - 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.
2661
+ * - 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.
2662
+ * - 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.
2663
+ * - 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.
2664
+ * # Features
2665
+ * - 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.
2666
+ * - 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.
2667
+ * - 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."
2668
+ * - 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.
2669
+ * - 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.
2670
+ * - 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.
2671
+ * - 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.
2672
+ * - 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.
2424
2673
  *
2425
2674
  * @param tmpReq - VideoGenerationRequest
2426
2675
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2466,25 +2715,25 @@ class Client extends openapi_core_1.default {
2466
2715
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.VideoGenerationResponse({}));
2467
2716
  }
2468
2717
  /**
2469
- * 电商视频生成(异步提交)
2718
+ * 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.
2470
2719
  *
2471
2720
  * @remarks
2472
- * # 适用场景
2473
- * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
2474
- * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
2475
- * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
2476
- * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
2477
- * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
2478
- * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
2479
- * # 功能介绍
2480
- * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
2481
- * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
2482
- * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
2483
- * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
2484
- * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
2485
- * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
2486
- * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
2487
- * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2721
+ * # Scenarios
2722
+ * - 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.
2723
+ * - 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.
2724
+ * - 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.
2725
+ * - 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.
2726
+ * - 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.
2727
+ * - 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.
2728
+ * # Features
2729
+ * - 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.
2730
+ * - 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.
2731
+ * - 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."
2732
+ * - 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.
2733
+ * - 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.
2734
+ * - 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.
2735
+ * - 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.
2736
+ * - 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.
2488
2737
  *
2489
2738
  * @param request - VideoGenerationRequest
2490
2739
  * @returns VideoGenerationResponse