@alicloud/aidge20260428 4.0.0 → 5.1.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 (54) hide show
  1. package/dist/client.d.ts +165 -49
  2. package/dist/client.js +248 -49
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DocumentTranslateRequest.d.ts +2 -2
  5. package/dist/models/DocumentTranslateResponseBody.d.ts +1 -1
  6. package/dist/models/ImageTranslationPlusRequest.d.ts +75 -0
  7. package/dist/models/ImageTranslationPlusRequest.js +70 -0
  8. package/dist/models/ImageTranslationPlusRequest.js.map +1 -0
  9. package/dist/models/ImageTranslationPlusResponse.d.ts +19 -0
  10. package/dist/models/ImageTranslationPlusResponse.js +69 -0
  11. package/dist/models/ImageTranslationPlusResponse.js.map +1 -0
  12. package/dist/models/ImageTranslationPlusResponseBody.d.ts +72 -0
  13. package/dist/models/ImageTranslationPlusResponseBody.js +88 -0
  14. package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -0
  15. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +1 -1
  16. package/dist/models/QueryAsyncTaskResultResponseBody.js +1 -1
  17. package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
  18. package/dist/models/VideoGenerationRequest.d.ts +107 -0
  19. package/dist/models/VideoGenerationRequest.js +144 -0
  20. package/dist/models/VideoGenerationRequest.js.map +1 -0
  21. package/dist/models/VideoGenerationResponse.d.ts +19 -0
  22. package/dist/models/VideoGenerationResponse.js +69 -0
  23. package/dist/models/VideoGenerationResponse.js.map +1 -0
  24. package/dist/models/VideoGenerationResponseBody.d.ts +54 -0
  25. package/dist/models/VideoGenerationResponseBody.js +93 -0
  26. package/dist/models/VideoGenerationResponseBody.js.map +1 -0
  27. package/dist/models/VideoGenerationShrinkRequest.d.ts +24 -0
  28. package/dist/models/VideoGenerationShrinkRequest.js +62 -0
  29. package/dist/models/VideoGenerationShrinkRequest.js.map +1 -0
  30. package/dist/models/VideoTranslationRequest.d.ts +9 -0
  31. package/dist/models/VideoTranslationRequest.js.map +1 -1
  32. package/dist/models/VideoTranslationResponseBody.d.ts +19 -0
  33. package/dist/models/VideoTranslationResponseBody.js.map +1 -1
  34. package/dist/models/VideoTranslationShrinkRequest.d.ts +9 -0
  35. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  36. package/dist/models/model.d.ts +12 -0
  37. package/dist/models/model.js +27 -3
  38. package/dist/models/model.js.map +1 -1
  39. package/package.json +1 -1
  40. package/src/client.ts +266 -50
  41. package/src/models/DocumentTranslateRequest.ts +2 -2
  42. package/src/models/DocumentTranslateResponseBody.ts +1 -1
  43. package/src/models/ImageTranslationPlusRequest.ts +100 -0
  44. package/src/models/ImageTranslationPlusResponse.ts +40 -0
  45. package/src/models/ImageTranslationPlusResponseBody.ts +106 -0
  46. package/src/models/QueryAsyncTaskResultResponseBody.ts +2 -2
  47. package/src/models/VideoGenerationRequest.ts +177 -0
  48. package/src/models/VideoGenerationResponse.ts +40 -0
  49. package/src/models/VideoGenerationResponseBody.ts +91 -0
  50. package/src/models/VideoGenerationShrinkRequest.ts +41 -0
  51. package/src/models/VideoTranslationRequest.ts +9 -0
  52. package/src/models/VideoTranslationResponseBody.ts +19 -0
  53. package/src/models/VideoTranslationShrinkRequest.ts +9 -0
  54. package/src/models/model.ts +12 -0
package/dist/client.d.ts CHANGED
@@ -243,9 +243,7 @@ export default class Client extends OpenApi {
243
243
  */
244
244
  categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
245
245
  /**
246
- * 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:
247
- * - Content accuracy: translation accuracy, parameter and unit accuracy
248
- * - Structural integrity: overall layout continuity, page margin and layout preservation
246
+ * 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.
249
247
  *
250
248
  * @remarks
251
249
  * ## Product Introduction
@@ -254,13 +252,13 @@ export default class Client extends OpenApi {
254
252
  * - Content accuracy: translation accuracy, parameter and unit accuracy
255
253
  * - Structural integrity: overall layout continuity, page margin and layout preservation
256
254
  * ## Common scenarios
257
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
258
- * 3. Features
259
- * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
255
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
256
+ * ## Features
257
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
260
258
  * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
261
259
  * - Supports high-fidelity layout preservation after translation.
262
- * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
263
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
260
+ * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
261
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). 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. Contact the platform if you need more.
264
262
  *
265
263
  * @param request - DocumentTranslateRequest
266
264
  * @param runtime - runtime options for this request RuntimeOptions
@@ -268,9 +266,7 @@ export default class Client extends OpenApi {
268
266
  */
269
267
  documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
270
268
  /**
271
- * 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:
272
- * - Content accuracy: translation accuracy, parameter and unit accuracy
273
- * - Structural integrity: overall layout continuity, page margin and layout preservation
269
+ * 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.
274
270
  *
275
271
  * @remarks
276
272
  * ## Product Introduction
@@ -279,13 +275,13 @@ export default class Client extends OpenApi {
279
275
  * - Content accuracy: translation accuracy, parameter and unit accuracy
280
276
  * - Structural integrity: overall layout continuity, page margin and layout preservation
281
277
  * ## Common scenarios
282
- * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
283
- * 3. Features
284
- * - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
278
+ * Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
279
+ * ## Features
280
+ * - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
285
281
  * - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
286
282
  * - Supports high-fidelity layout preservation after translation.
287
- * - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
288
- * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
283
+ * - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
284
+ * - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). 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. Contact the platform if you need more.
289
285
  *
290
286
  * @param request - DocumentTranslateRequest
291
287
  * @returns DocumentTranslateResponse
@@ -788,6 +784,77 @@ export default class Client extends OpenApi {
788
784
  * @returns ImageRemoveResponse
789
785
  */
790
786
  imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
787
+ /**
788
+ * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
789
+ *
790
+ * @remarks
791
+ * ## Product Introduction
792
+ * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
793
+ * Supported language pairs:
794
+ * | **No.** | **Source Language** | | **Target Language** | |
795
+ * | --- | --- | --- | --- | --- |
796
+ * | | Language Code | Language Name | Language Code | Language Name |
797
+ * | 1 | en | English | ar | Arabic |
798
+ * | 2 | en | English | id | Indonesian |
799
+ * | 3 | en | English | th | Thai |
800
+ * | 4 | en | English | ko | Korean |
801
+ * | 5 | en | English | ja | Japanese |
802
+ * | 6 | en | English | vi | Vietnamese |
803
+ * | 7 | en | English | ru | Russian |
804
+ * | 8 | en | English | tl | Filipino |
805
+ * | 9 | en | English | es | Spanish |
806
+ * | 10 | en | English | fr | French |
807
+ * | 11 | en | English | de | German |
808
+ * | 12 | en | English | pl | Polish |.
809
+ * ## Common scenarios
810
+ * Main product images and detail images for cross-border e-commerce.
811
+ * ## Functions and features
812
+ * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
813
+ *
814
+ * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
815
+ *
816
+ * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
817
+ *
818
+ * @param request - ImageTranslationPlusRequest
819
+ * @param runtime - runtime options for this request RuntimeOptions
820
+ * @returns ImageTranslationPlusResponse
821
+ */
822
+ imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
823
+ /**
824
+ * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
825
+ *
826
+ * @remarks
827
+ * ## Product Introduction
828
+ * Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
829
+ * Supported language pairs:
830
+ * | **No.** | **Source Language** | | **Target Language** | |
831
+ * | --- | --- | --- | --- | --- |
832
+ * | | Language Code | Language Name | Language Code | Language Name |
833
+ * | 1 | en | English | ar | Arabic |
834
+ * | 2 | en | English | id | Indonesian |
835
+ * | 3 | en | English | th | Thai |
836
+ * | 4 | en | English | ko | Korean |
837
+ * | 5 | en | English | ja | Japanese |
838
+ * | 6 | en | English | vi | Vietnamese |
839
+ * | 7 | en | English | ru | Russian |
840
+ * | 8 | en | English | tl | Filipino |
841
+ * | 9 | en | English | es | Spanish |
842
+ * | 10 | en | English | fr | French |
843
+ * | 11 | en | English | de | German |
844
+ * | 12 | en | English | pl | Polish |.
845
+ * ## Common scenarios
846
+ * Main product images and detail images for cross-border e-commerce.
847
+ * ## Functions and features
848
+ * * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
849
+ *
850
+ * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
851
+ *
852
+ * * **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
853
+ *
854
+ * @param request - ImageTranslationPlusRequest
855
+ * @returns ImageTranslationPlusResponse
856
+ */
857
+ imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
791
858
  /**
792
859
  * Translates text in e-commerce images using the Pro edition, which integrates multimodal foundation model technology for more accurate image understanding and significantly improved translation quality.
793
860
  *
@@ -1448,29 +1515,79 @@ export default class Client extends OpenApi {
1448
1515
  */
1449
1516
  textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
1450
1517
  /**
1451
- * 视频翻译
1518
+ * 电商视频生成(异步提交)
1452
1519
  *
1453
1520
  * @remarks
1454
- * ## 1. 产品简介
1455
- * 视频翻译 API 支持将视频画面中的嵌字(字幕、卖点文字等)翻译为目标语言,并擦除原文。适用于电商视频多语言分发、国际社交媒体营销、全球品牌广告投放等场景。
1456
- * API 采用异步调用模式:提交翻译任务后获取 `task_id`,通过查询接口轮询任务状态直至完成后获取结果。
1457
- * ## 2. 适用场景
1458
- * * **跨境电商视频本地化**:将商品介绍视频中的卖点文字翻译为目标市场语言,助力海外平台推广。
1521
+ * # 适用场景
1522
+ * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
1523
+ * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
1524
+ * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
1525
+ * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
1526
+ * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
1527
+ * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
1528
+ * # 功能介绍
1529
+ * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
1530
+ * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
1531
+ * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
1532
+ * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
1533
+ * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
1534
+ * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
1535
+ * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
1536
+ * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
1537
+ *
1538
+ * @param tmpReq - VideoGenerationRequest
1539
+ * @param runtime - runtime options for this request RuntimeOptions
1540
+ * @returns VideoGenerationResponse
1541
+ */
1542
+ videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
1543
+ /**
1544
+ * 电商视频生成(异步提交)
1459
1545
  *
1460
- * * **国际社交媒体营销**:针对 TikTok、Instagram、YouTube 等平台,将视频画面文字内容一键本地化,提升海外用户理解度与转化率。
1546
+ * @remarks
1547
+ * # 适用场景
1548
+ * - 卖家/平台批量生成商品短视频:支持多种视频比例与尺寸(3:4、9:16),适配商品详情页视频位、商品主页展示、信息流投放、短视频种草、活动会场素材等场景。
1549
+ * - 商品上新,快速生成首批视频素材:当商家有大量新品集中上架时,只需上传商品图、商品标题等基础信息,即可快速生成商品展示视频、模特上身视频、口播讲解视频等内容,帮助商家在上新阶段迅速完成素材铺设。
1550
+ * - 高保真服饰展示:基于商品主图生成更贴近真实商拍效果的模特展示视频,重点优化版型还原、面料纹理保留、颜色准确呈现、细节稳定一致等能力,支持服装上身、转身、走动、近景特写、多角度切换等常见电商展示方式。
1551
+ * - 生成高质量商拍模特:内置 20+ 套目标受众模特库,覆盖大码女性、大码男性、泳装、少女风、轻熟通勤、青年休闲、商务男装、运动健身等多体型、多肤色、多人种模特,支持站姿展示、侧身展示、走动展示、局部特写等多种商拍表达方式。
1552
+ * - 标品讲解等高频电商场景:适用于护肤品、化妆品、个护小家电、食品饮料、家清日用、3C 数码等标准化商品类目,可基于商品主图、标题、卖点信息和讲解脚本快速生成商品讲解视频。
1553
+ * - 多商品、多卖点测试,提升投放效率:面向信息流广告、短视频投放和内容种草场景,可快速生成多个版本的视频素材,便于企业低成本验证不同卖点与表现形式的转化效果,提升投放 ROI。
1554
+ * # 功能介绍
1555
+ * - 全自动端到端批量生成,零 Prompt 门槛:调用方仅需传入商品图片 URL 与标题,系统自动完成从商品理解、分镜规划到视频生成的全流程处理,无需人工编写 Prompt、选择模板或反复调参。内置商品理解、画面质检、脚本规划、编导运镜等多 Agent,大幅降低使用门槛。
1556
+ * - 高稳定生成,低废片率:采用确定性生成流程与多层质量控制机制,可在更少重试次数下输出可用素材,减少无效生成和资源浪费,整体生产成本更可控。
1557
+ * - 电商专属商品保真能力:内置多轮质检 Agent,在视频生成全程锁定商品状态(如拉链不会被拉开、袖子不会被放下、印花不会消失),通过「脚本改写 + 显式约束注入 + 失败感知重试」多层防御确保商品一致性。
1558
+ * - 参考图优先 + 6 轴一致性校验:采用 Reference-Image-First 生成范式,以原商品图作为视觉唯一事实源,自动执行 6 维度 VL 诊断(颜色漂移、图案缺失、轮廓偏移、结构增减、模特匹配、脏污检测),从机制上杜绝生成图与商品不像的问题。
1559
+ * - 灵活的分镜编排与时长控制:支持 5–30 秒可调视频时长;Agent 自主规划独立分镜展示商品在不同场景下的效果;也支持固定场景模式,在统一视觉风格下深度展示产品调性。
1560
+ * - 电影级运镜能力:内置子弹时间、格莱美慢镜头、360° 环绕旋转、模特全身旋转展示等高级运镜模式,通过分段精准控制实现确定性产出。
1561
+ * - 模特库与定制化服务:内置多类型模特资源库,支持商家指定固定模特、定制专属模特形象、长期绑定品牌视觉人设,保证品牌视觉统一性。
1562
+ * - 适配高频电商内容场景:支持 720P、1080P 等多种清晰度及 3:4、9:16等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
1563
+ *
1564
+ * @param request - VideoGenerationRequest
1565
+ * @returns VideoGenerationResponse
1566
+ */
1567
+ videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
1568
+ /**
1569
+ * Translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
1570
+ *
1571
+ * @remarks
1572
+ * ## 1. Product Introduction
1573
+ * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
1574
+ * The API uses an asynchronous call mode: after submitting a translation task, you obtain a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
1575
+ * ## 2. Common scenarios
1576
+ * * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
1461
1577
  *
1462
- * * **全球品牌广告投放**:根据投放地区语言自动生成对应版本视频,减少人工制作成本。
1578
+ * * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube, improving comprehension and conversion rates among overseas users.
1463
1579
  *
1464
- * * **培训与产品说明**:将培训课程或产品演示视频中的画面文字翻译为多语言版本,方便全球团队使用。
1580
+ * * **Global brand advertising**: Automatically generates video versions in the language of the target region, reducing manual production costs.
1465
1581
  *
1466
- * ## 3. 功能介绍
1467
- * | 能力 | 标识码 | 说明 |
1582
+ * * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
1583
+ * ## 3. Features
1584
+ * | Capability | Identifier | Description |
1468
1585
  * | --- | --- | --- |
1469
- * | 画面翻译 | `visual` | 翻译视频画面中的嵌字(字幕、卖点文字等),并擦除原文 |
1470
- * ## 4. 开发指南
1471
- * ### 4.1 提交翻译任务
1472
- * #### 请求
1473
- * `POST /api/v1/video/translation`
1586
+ * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
1587
+ * ## 4. Developer guide.
1588
+ * ### 4.1 Submit a translation task.
1589
+ * #### Request
1590
+ * `POST /api/v1/video/translation`
1474
1591
  *
1475
1592
  * @param tmpReq - VideoTranslationRequest
1476
1593
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1478,29 +1595,28 @@ export default class Client extends OpenApi {
1478
1595
  */
1479
1596
  videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
1480
1597
  /**
1481
- * 视频翻译
1598
+ * Translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
1482
1599
  *
1483
1600
  * @remarks
1484
- * ## 1. 产品简介
1485
- * 视频翻译 API 支持将视频画面中的嵌字(字幕、卖点文字等)翻译为目标语言,并擦除原文。适用于电商视频多语言分发、国际社交媒体营销、全球品牌广告投放等场景。
1486
- * API 采用异步调用模式:提交翻译任务后获取 `task_id`,通过查询接口轮询任务状态直至完成后获取结果。
1487
- * ## 2. 适用场景
1488
- * * **跨境电商视频本地化**:将商品介绍视频中的卖点文字翻译为目标市场语言,助力海外平台推广。
1489
- *
1490
- * * **国际社交媒体营销**:针对 TikTok、Instagram、YouTube 等平台,将视频画面文字内容一键本地化,提升海外用户理解度与转化率。
1601
+ * ## 1. Product Introduction
1602
+ * The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
1603
+ * The API uses an asynchronous call mode: after submitting a translation task, you obtain a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
1604
+ * ## 2. Common scenarios
1605
+ * * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
1491
1606
  *
1492
- * * **全球品牌广告投放**:根据投放地区语言自动生成对应版本视频,减少人工制作成本。
1607
+ * * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube, improving comprehension and conversion rates among overseas users.
1493
1608
  *
1494
- * * **培训与产品说明**:将培训课程或产品演示视频中的画面文字翻译为多语言版本,方便全球团队使用。
1609
+ * * **Global brand advertising**: Automatically generates video versions in the language of the target region, reducing manual production costs.
1495
1610
  *
1496
- * ## 3. 功能介绍
1497
- * | 能力 | 标识码 | 说明 |
1611
+ * * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
1612
+ * ## 3. Features
1613
+ * | Capability | Identifier | Description |
1498
1614
  * | --- | --- | --- |
1499
- * | 画面翻译 | `visual` | 翻译视频画面中的嵌字(字幕、卖点文字等),并擦除原文 |
1500
- * ## 4. 开发指南
1501
- * ### 4.1 提交翻译任务
1502
- * #### 请求
1503
- * `POST /api/v1/video/translation`
1615
+ * | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
1616
+ * ## 4. Developer guide.
1617
+ * ### 4.1 Submit a translation task.
1618
+ * #### Request
1619
+ * `POST /api/v1/video/translation`
1504
1620
  *
1505
1621
  * @param request - VideoTranslationRequest
1506
1622
  * @returns VideoTranslationResponse