@alicloud/aidge20260428 5.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.
package/src/client.ts CHANGED
@@ -1318,6 +1318,128 @@ export default class Client extends OpenApi {
1318
1318
  return await this.imageRemoveWithOptions(request, runtime);
1319
1319
  }
1320
1320
 
1321
+ /**
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.
1323
+ *
1324
+ * @remarks
1325
+ * ## 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.
1327
+ * Supported language pairs:
1328
+ * | **No.** | **Source Language** | | **Target Language** | |
1329
+ * | --- | --- | --- | --- | --- |
1330
+ * | | Language Code | Language Name | Language Code | Language Name |
1331
+ * | 1 | en | English | ar | Arabic |
1332
+ * | 2 | en | English | id | Indonesian |
1333
+ * | 3 | en | English | th | Thai |
1334
+ * | 4 | en | English | ko | Korean |
1335
+ * | 5 | en | English | ja | Japanese |
1336
+ * | 6 | en | English | vi | Vietnamese |
1337
+ * | 7 | en | English | ru | Russian |
1338
+ * | 8 | en | English | tl | Filipino |
1339
+ * | 9 | en | English | es | Spanish |
1340
+ * | 10 | en | English | fr | French |
1341
+ * | 11 | en | English | de | German |
1342
+ * | 12 | en | English | pl | Polish |.
1343
+ * ## Common scenarios
1344
+ * 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.
1347
+ *
1348
+ * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1349
+ *
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.
1351
+ *
1352
+ * @param request - ImageTranslationPlusRequest
1353
+ * @param runtime - runtime options for this request RuntimeOptions
1354
+ * @returns ImageTranslationPlusResponse
1355
+ */
1356
+ async imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse> {
1357
+ request.validate();
1358
+ let body : {[key: string ]: any} = { };
1359
+ if (!$dara.isNull(request.glossary)) {
1360
+ body["Glossary"] = request.glossary;
1361
+ }
1362
+
1363
+ if (!$dara.isNull(request.imageUrl)) {
1364
+ body["ImageUrl"] = request.imageUrl;
1365
+ }
1366
+
1367
+ if (!$dara.isNull(request.includingProductArea)) {
1368
+ body["IncludingProductArea"] = request.includingProductArea;
1369
+ }
1370
+
1371
+ if (!$dara.isNull(request.sourceLanguage)) {
1372
+ body["SourceLanguage"] = request.sourceLanguage;
1373
+ }
1374
+
1375
+ if (!$dara.isNull(request.targetLanguage)) {
1376
+ body["TargetLanguage"] = request.targetLanguage;
1377
+ }
1378
+
1379
+ if (!$dara.isNull(request.translatingBrandInTheProduct)) {
1380
+ body["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
1381
+ }
1382
+
1383
+ if (!$dara.isNull(request.useImageEditor)) {
1384
+ body["UseImageEditor"] = request.useImageEditor;
1385
+ }
1386
+
1387
+ let req = new $OpenApiUtil.OpenApiRequest({
1388
+ body: OpenApiUtil.parseToMap(body),
1389
+ });
1390
+ let params = new $OpenApiUtil.Params({
1391
+ action: "ImageTranslationPlus",
1392
+ version: "2026-04-28",
1393
+ protocol: "HTTPS",
1394
+ pathname: "/",
1395
+ method: "POST",
1396
+ authType: "AK",
1397
+ style: "RPC",
1398
+ reqBodyType: "formData",
1399
+ bodyType: "json",
1400
+ });
1401
+ return $dara.cast<$_model.ImageTranslationPlusResponse>(await this.callApi(params, req, runtime), new $_model.ImageTranslationPlusResponse({}));
1402
+ }
1403
+
1404
+ /**
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.
1406
+ *
1407
+ * @remarks
1408
+ * ## 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.
1410
+ * Supported language pairs:
1411
+ * | **No.** | **Source Language** | | **Target Language** | |
1412
+ * | --- | --- | --- | --- | --- |
1413
+ * | | Language Code | Language Name | Language Code | Language Name |
1414
+ * | 1 | en | English | ar | Arabic |
1415
+ * | 2 | en | English | id | Indonesian |
1416
+ * | 3 | en | English | th | Thai |
1417
+ * | 4 | en | English | ko | Korean |
1418
+ * | 5 | en | English | ja | Japanese |
1419
+ * | 6 | en | English | vi | Vietnamese |
1420
+ * | 7 | en | English | ru | Russian |
1421
+ * | 8 | en | English | tl | Filipino |
1422
+ * | 9 | en | English | es | Spanish |
1423
+ * | 10 | en | English | fr | French |
1424
+ * | 11 | en | English | de | German |
1425
+ * | 12 | en | English | pl | Polish |.
1426
+ * ## Common scenarios
1427
+ * 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.
1430
+ *
1431
+ * * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
1432
+ *
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.
1434
+ *
1435
+ * @param request - ImageTranslationPlusRequest
1436
+ * @returns ImageTranslationPlusResponse
1437
+ */
1438
+ async imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse> {
1439
+ let runtime = new $dara.RuntimeOptions({ });
1440
+ return await this.imageTranslationPlusWithOptions(request, runtime);
1441
+ }
1442
+
1321
1443
  /**
1322
1444
  * 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.
1323
1445
  *
@@ -2413,6 +2535,24 @@ export default class Client extends OpenApi {
2413
2535
  /**
2414
2536
  * 电商视频生成(异步提交)
2415
2537
  *
2538
+ * @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等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2555
+ *
2416
2556
  * @param tmpReq - VideoGenerationRequest
2417
2557
  * @param runtime - runtime options for this request RuntimeOptions
2418
2558
  * @returns VideoGenerationResponse
@@ -2466,6 +2606,24 @@ export default class Client extends OpenApi {
2466
2606
  /**
2467
2607
  * 电商视频生成(异步提交)
2468
2608
  *
2609
+ * @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等多种长宽比,适配商品详情页视频位、商品主页视频展示、瀑布流/信息流投放、活动会场素材、上新与促销视频生成。
2626
+ *
2469
2627
  * @param request - VideoGenerationRequest
2470
2628
  * @returns VideoGenerationResponse
2471
2629
  */
@@ -0,0 +1,100 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ImageTranslationPlusRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the intervention glossary. This parameter is optional.
9
+ *
10
+ * @example
11
+ * glossary-001
12
+ */
13
+ glossary?: string;
14
+ /**
15
+ * @remarks
16
+ * The URL of the original image. This parameter is required.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * https://img.alicdn.com/example.png
22
+ */
23
+ imageUrl?: string;
24
+ /**
25
+ * @remarks
26
+ * Specifies whether to translate text on the product body. This parameter is optional. Default value: false.
27
+ *
28
+ * @example
29
+ * false
30
+ */
31
+ includingProductArea?: boolean;
32
+ /**
33
+ * @remarks
34
+ * The source language. This parameter is required.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * zh
40
+ */
41
+ sourceLanguage?: string;
42
+ /**
43
+ * @remarks
44
+ * The target language. This parameter is required.
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * en
50
+ */
51
+ targetLanguage?: string;
52
+ /**
53
+ * @remarks
54
+ * Specifies whether to translate brand text on the product. This parameter is optional. Default value: false.
55
+ *
56
+ * @example
57
+ * false
58
+ */
59
+ translatingBrandInTheProduct?: boolean;
60
+ /**
61
+ * @remarks
62
+ * Specifies whether to use the image translation editor protocol. This parameter is optional.
63
+ *
64
+ * @example
65
+ * false
66
+ */
67
+ useImageEditor?: boolean;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ glossary: 'Glossary',
71
+ imageUrl: 'ImageUrl',
72
+ includingProductArea: 'IncludingProductArea',
73
+ sourceLanguage: 'SourceLanguage',
74
+ targetLanguage: 'TargetLanguage',
75
+ translatingBrandInTheProduct: 'TranslatingBrandInTheProduct',
76
+ useImageEditor: 'UseImageEditor',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ glossary: 'string',
83
+ imageUrl: 'string',
84
+ includingProductArea: 'boolean',
85
+ sourceLanguage: 'string',
86
+ targetLanguage: 'string',
87
+ translatingBrandInTheProduct: 'boolean',
88
+ useImageEditor: 'boolean',
89
+ };
90
+ }
91
+
92
+ validate() {
93
+ super.validate();
94
+ }
95
+
96
+ constructor(map?: { [key: string]: any }) {
97
+ super(map);
98
+ }
99
+ }
100
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ImageTranslationPlusResponseBody } from "./ImageTranslationPlusResponseBody";
4
+
5
+
6
+ export class ImageTranslationPlusResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ImageTranslationPlusResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ImageTranslationPlusResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,106 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ImageTranslationPlusResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The asynchronous task ID. Use the queryTaskResult API to poll for results.
9
+ *
10
+ * @example
11
+ * task-abc123
12
+ */
13
+ taskId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ taskId: 'TaskId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ taskId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class ImageTranslationPlusResponseBody extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The error code. This parameter is not returned if the call is successful.
39
+ *
40
+ * @example
41
+ * 200
42
+ */
43
+ code?: string;
44
+ /**
45
+ * @remarks
46
+ * The submit status of the asynchronous task.
47
+ */
48
+ data?: ImageTranslationPlusResponseBodyData;
49
+ /**
50
+ * @remarks
51
+ * The error message. This parameter is not returned if the call is successful.
52
+ *
53
+ * @example
54
+ * OK
55
+ */
56
+ message?: string;
57
+ /**
58
+ * @remarks
59
+ * Id of the request
60
+ *
61
+ * @example
62
+ * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
63
+ */
64
+ requestId?: string;
65
+ /**
66
+ * @remarks
67
+ * Indicates whether the call is successful. Valid values:
68
+ * - true: The call is successful.
69
+ * - false: The call failed.
70
+ *
71
+ * @example
72
+ * True
73
+ */
74
+ success?: boolean;
75
+ static names(): { [key: string]: string } {
76
+ return {
77
+ code: 'Code',
78
+ data: 'Data',
79
+ message: 'Message',
80
+ requestId: 'RequestId',
81
+ success: 'Success',
82
+ };
83
+ }
84
+
85
+ static types(): { [key: string]: any } {
86
+ return {
87
+ code: 'string',
88
+ data: ImageTranslationPlusResponseBodyData,
89
+ message: 'string',
90
+ requestId: 'string',
91
+ success: 'boolean',
92
+ };
93
+ }
94
+
95
+ validate() {
96
+ if(this.data && typeof (this.data as any).validate === 'function') {
97
+ (this.data as any).validate();
98
+ }
99
+ super.validate();
100
+ }
101
+
102
+ constructor(map?: { [key: string]: any }) {
103
+ super(map);
104
+ }
105
+ }
106
+
@@ -12,6 +12,9 @@ export class VideoGenerationRequestInput extends $dara.Model {
12
12
  /**
13
13
  * @remarks
14
14
  * This parameter is required.
15
+ *
16
+ * @example
17
+ * 2026 New Slimming Women\\"s Summer Dress with Mid-Length Design, High-Quality Waist Definition for a Slender Look
15
18
  */
16
19
  title?: string;
17
20
  static names(): { [key: string]: string } {
@@ -46,7 +49,15 @@ export class VideoGenerationRequestInput extends $dara.Model {
46
49
  }
47
50
 
48
51
  export class VideoGenerationRequestIntent extends $dara.Model {
52
+ /**
53
+ * @example
54
+ * -
55
+ */
49
56
  channel?: string;
57
+ /**
58
+ * @example
59
+ * -
60
+ */
50
61
  goal?: string;
51
62
  static names(): { [key: string]: string } {
52
63
  return {
@@ -75,13 +86,23 @@ export class VideoGenerationRequestOutput extends $dara.Model {
75
86
  /**
76
87
  * @remarks
77
88
  * This parameter is required.
89
+ *
90
+ * @example
91
+ * 10
78
92
  */
79
93
  duration?: number;
80
94
  /**
81
95
  * @remarks
82
96
  * This parameter is required.
97
+ *
98
+ * @example
99
+ * 1080p
83
100
  */
84
101
  quality?: string;
102
+ /**
103
+ * @example
104
+ * 9:16
105
+ */
85
106
  ratio?: string;
86
107
  static names(): { [key: string]: string } {
87
108
  return {
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class VideoGenerationResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 778fa8bd21804828a5d147050e30edac
9
+ */
6
10
  taskId?: string;
7
11
  usageMap?: { [key: string]: number };
8
12
  static names(): { [key: string]: string } {
@@ -34,23 +38,23 @@ export class VideoGenerationResponseBodyData extends $dara.Model {
34
38
  export class VideoGenerationResponseBody extends $dara.Model {
35
39
  /**
36
40
  * @example
37
- * 200
41
+ * success
38
42
  */
39
43
  code?: string;
40
44
  data?: VideoGenerationResponseBodyData;
41
45
  /**
42
46
  * @example
43
- * OK
47
+ * Success
44
48
  */
45
49
  message?: string;
46
50
  /**
47
51
  * @example
48
- * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
52
+ * 70CBEFDF-BB17-1EB3-8A21-569F3124738F
49
53
  */
50
54
  requestId?: string;
51
55
  /**
52
56
  * @example
53
- * True
57
+ * true
54
58
  */
55
59
  success?: boolean;
56
60
  static names(): { [key: string]: string } {
@@ -10,6 +10,7 @@ export { ImageMattingResponseBodyData } from './ImageMattingResponseBody';
10
10
  export { ImageRecognitionResponseBodyData } from './ImageRecognitionResponseBody';
11
11
  export { ImageRemovalProResponseBodyData } from './ImageRemovalProResponseBody';
12
12
  export { ImageRemoveResponseBodyData } from './ImageRemoveResponseBody';
13
+ export { ImageTranslationPlusResponseBodyData } from './ImageTranslationPlusResponseBody';
13
14
  export { ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects } from './ImageTranslationProResponseBody';
14
15
  export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect } from './ImageTranslationProResponseBody';
15
16
  export { ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect } from './ImageTranslationProResponseBody';
@@ -82,6 +83,9 @@ export { ImageRemoveRequest } from './ImageRemoveRequest';
82
83
  export { ImageRemoveShrinkRequest } from './ImageRemoveShrinkRequest';
83
84
  export { ImageRemoveResponseBody } from './ImageRemoveResponseBody';
84
85
  export { ImageRemoveResponse } from './ImageRemoveResponse';
86
+ export { ImageTranslationPlusRequest } from './ImageTranslationPlusRequest';
87
+ export { ImageTranslationPlusResponseBody } from './ImageTranslationPlusResponseBody';
88
+ export { ImageTranslationPlusResponse } from './ImageTranslationPlusResponse';
85
89
  export { ImageTranslationProRequest } from './ImageTranslationProRequest';
86
90
  export { ImageTranslationProResponseBody } from './ImageTranslationProResponseBody';
87
91
  export { ImageTranslationProResponse } from './ImageTranslationProResponse';