@alicloud/quanmiaolightapp20240801 2.2.0 → 2.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.
package/dist/client.d.ts CHANGED
@@ -524,6 +524,7 @@ export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitle
524
524
  });
525
525
  }
526
526
  export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Model {
527
+ resultJsonFileUrl?: string;
527
528
  videoAnalysisResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult;
528
529
  videoCaptionResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult;
529
530
  videoGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult;
@@ -1396,6 +1397,108 @@ export declare class RunMarketingInformationWritingResponseBodyPayload extends $
1396
1397
  [key: string]: any;
1397
1398
  });
1398
1399
  }
1400
+ export declare class RunScriptChatResponseBodyHeader extends $dara.Model {
1401
+ /**
1402
+ * @example
1403
+ * 403
1404
+ */
1405
+ errorCode?: string;
1406
+ /**
1407
+ * @example
1408
+ * Pop sign mismatch, please check log.
1409
+ */
1410
+ errorMessage?: string;
1411
+ /**
1412
+ * @example
1413
+ * result-generated
1414
+ */
1415
+ event?: string;
1416
+ eventInfo?: string;
1417
+ /**
1418
+ * @example
1419
+ * F8A35034-EDCF-5C50-95A5-1044316F36E3
1420
+ */
1421
+ requestId?: string;
1422
+ /**
1423
+ * @example
1424
+ * 147648697127_914847410985_1730600302167
1425
+ */
1426
+ sessionId?: string;
1427
+ /**
1428
+ * @example
1429
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
1430
+ */
1431
+ taskId?: string;
1432
+ /**
1433
+ * @example
1434
+ * 2150432017236011824686132ecdbc
1435
+ */
1436
+ traceId?: string;
1437
+ static names(): {
1438
+ [key: string]: string;
1439
+ };
1440
+ static types(): {
1441
+ [key: string]: any;
1442
+ };
1443
+ validate(): void;
1444
+ constructor(map?: {
1445
+ [key: string]: any;
1446
+ });
1447
+ }
1448
+ export declare class RunScriptChatResponseBodyPayloadOutput extends $dara.Model {
1449
+ text?: string;
1450
+ static names(): {
1451
+ [key: string]: string;
1452
+ };
1453
+ static types(): {
1454
+ [key: string]: any;
1455
+ };
1456
+ validate(): void;
1457
+ constructor(map?: {
1458
+ [key: string]: any;
1459
+ });
1460
+ }
1461
+ export declare class RunScriptChatResponseBodyPayloadUsage extends $dara.Model {
1462
+ /**
1463
+ * @example
1464
+ * 100
1465
+ */
1466
+ inputTokens?: number;
1467
+ /**
1468
+ * @example
1469
+ * 100
1470
+ */
1471
+ outputTokens?: number;
1472
+ /**
1473
+ * @example
1474
+ * 200
1475
+ */
1476
+ totalTokens?: number;
1477
+ static names(): {
1478
+ [key: string]: string;
1479
+ };
1480
+ static types(): {
1481
+ [key: string]: any;
1482
+ };
1483
+ validate(): void;
1484
+ constructor(map?: {
1485
+ [key: string]: any;
1486
+ });
1487
+ }
1488
+ export declare class RunScriptChatResponseBodyPayload extends $dara.Model {
1489
+ output?: RunScriptChatResponseBodyPayloadOutput;
1490
+ usage?: RunScriptChatResponseBodyPayloadUsage;
1491
+ static names(): {
1492
+ [key: string]: string;
1493
+ };
1494
+ static types(): {
1495
+ [key: string]: any;
1496
+ };
1497
+ validate(): void;
1498
+ constructor(map?: {
1499
+ [key: string]: any;
1500
+ });
1501
+ }
1399
1502
  export declare class RunScriptContinueResponseBodyHeader extends $dara.Model {
1400
1503
  /**
1401
1504
  * @example
@@ -1616,6 +1719,119 @@ export declare class RunScriptPlanningResponseBodyPayload extends $dara.Model {
1616
1719
  [key: string]: any;
1617
1720
  });
1618
1721
  }
1722
+ export declare class RunScriptRefineResponseBodyHeader extends $dara.Model {
1723
+ /**
1724
+ * @example
1725
+ * 403
1726
+ */
1727
+ errorCode?: string;
1728
+ /**
1729
+ * @example
1730
+ * Pop sign mismatch, please check log.
1731
+ */
1732
+ errorMessage?: string;
1733
+ /**
1734
+ * @example
1735
+ * result-generated
1736
+ */
1737
+ event?: string;
1738
+ eventInfo?: string;
1739
+ /**
1740
+ * @example
1741
+ * F8A35034-EDCF-5C50-95A5-1044316F36E3
1742
+ */
1743
+ requestId?: string;
1744
+ /**
1745
+ * @example
1746
+ * 17dc8bcd-f34a-46d1-a7a3-0fa3d1ce3824
1747
+ */
1748
+ sessionId?: string;
1749
+ /**
1750
+ * @example
1751
+ * 14356391-6c6c-40d5-b80a-8ecd03b69d72
1752
+ */
1753
+ taskId?: string;
1754
+ /**
1755
+ * @example
1756
+ * 2150432017236011824686132ecdbc
1757
+ */
1758
+ traceId?: string;
1759
+ static names(): {
1760
+ [key: string]: string;
1761
+ };
1762
+ static types(): {
1763
+ [key: string]: any;
1764
+ };
1765
+ validate(): void;
1766
+ constructor(map?: {
1767
+ [key: string]: any;
1768
+ });
1769
+ }
1770
+ export declare class RunScriptRefineResponseBodyPayloadOutput extends $dara.Model {
1771
+ content?: {
1772
+ [key: string]: string;
1773
+ }[];
1774
+ outline?: string;
1775
+ role?: string;
1776
+ scene?: string;
1777
+ summary?: string;
1778
+ /**
1779
+ * @example
1780
+ * xx
1781
+ */
1782
+ text?: string;
1783
+ static names(): {
1784
+ [key: string]: string;
1785
+ };
1786
+ static types(): {
1787
+ [key: string]: any;
1788
+ };
1789
+ validate(): void;
1790
+ constructor(map?: {
1791
+ [key: string]: any;
1792
+ });
1793
+ }
1794
+ export declare class RunScriptRefineResponseBodyPayloadUsage extends $dara.Model {
1795
+ /**
1796
+ * @example
1797
+ * 100
1798
+ */
1799
+ inputTokens?: number;
1800
+ /**
1801
+ * @example
1802
+ * 100
1803
+ */
1804
+ outputTokens?: number;
1805
+ /**
1806
+ * @example
1807
+ * 200
1808
+ */
1809
+ totalTokens?: number;
1810
+ static names(): {
1811
+ [key: string]: string;
1812
+ };
1813
+ static types(): {
1814
+ [key: string]: any;
1815
+ };
1816
+ validate(): void;
1817
+ constructor(map?: {
1818
+ [key: string]: any;
1819
+ });
1820
+ }
1821
+ export declare class RunScriptRefineResponseBodyPayload extends $dara.Model {
1822
+ output?: RunScriptRefineResponseBodyPayloadOutput;
1823
+ usage?: RunScriptRefineResponseBodyPayloadUsage;
1824
+ static names(): {
1825
+ [key: string]: string;
1826
+ };
1827
+ static types(): {
1828
+ [key: string]: any;
1829
+ };
1830
+ validate(): void;
1831
+ constructor(map?: {
1832
+ [key: string]: any;
1833
+ });
1834
+ }
1619
1835
  export declare class RunStyleWritingResponseBodyHeader extends $dara.Model {
1620
1836
  /**
1621
1837
  * @example
@@ -2289,6 +2505,11 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerate
2289
2505
  });
2290
2506
  }
2291
2507
  export declare class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
2508
+ /**
2509
+ * @example
2510
+ * http://
2511
+ */
2512
+ resultJsonFileUrl?: string;
2292
2513
  videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
2293
2514
  videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
2294
2515
  videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
@@ -3216,6 +3437,64 @@ export declare class RunMarketingInformationWritingResponse extends $dara.Model
3216
3437
  [key: string]: any;
3217
3438
  });
3218
3439
  }
3440
+ export declare class RunScriptChatRequest extends $dara.Model {
3441
+ /**
3442
+ * @remarks
3443
+ * This parameter is required.
3444
+ */
3445
+ prompt?: string;
3446
+ /**
3447
+ * @example
3448
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
3449
+ */
3450
+ taskId?: string;
3451
+ static names(): {
3452
+ [key: string]: string;
3453
+ };
3454
+ static types(): {
3455
+ [key: string]: any;
3456
+ };
3457
+ validate(): void;
3458
+ constructor(map?: {
3459
+ [key: string]: any;
3460
+ });
3461
+ }
3462
+ export declare class RunScriptChatResponseBody extends $dara.Model {
3463
+ /**
3464
+ * @example
3465
+ * true
3466
+ */
3467
+ end?: boolean;
3468
+ header?: RunScriptChatResponseBodyHeader;
3469
+ payload?: RunScriptChatResponseBodyPayload;
3470
+ static names(): {
3471
+ [key: string]: string;
3472
+ };
3473
+ static types(): {
3474
+ [key: string]: any;
3475
+ };
3476
+ validate(): void;
3477
+ constructor(map?: {
3478
+ [key: string]: any;
3479
+ });
3480
+ }
3481
+ export declare class RunScriptChatResponse extends $dara.Model {
3482
+ headers?: {
3483
+ [key: string]: string;
3484
+ };
3485
+ statusCode?: number;
3486
+ body?: RunScriptChatResponseBody;
3487
+ static names(): {
3488
+ [key: string]: string;
3489
+ };
3490
+ static types(): {
3491
+ [key: string]: any;
3492
+ };
3493
+ validate(): void;
3494
+ constructor(map?: {
3495
+ [key: string]: any;
3496
+ });
3497
+ }
3219
3498
  export declare class RunScriptContinueRequest extends $dara.Model {
3220
3499
  /**
3221
3500
  * @example
@@ -3352,6 +3631,55 @@ export declare class RunScriptPlanningResponse extends $dara.Model {
3352
3631
  [key: string]: any;
3353
3632
  });
3354
3633
  }
3634
+ export declare class RunScriptRefineRequest extends $dara.Model {
3635
+ /**
3636
+ * @example
3637
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
3638
+ */
3639
+ taskId?: string;
3640
+ static names(): {
3641
+ [key: string]: string;
3642
+ };
3643
+ static types(): {
3644
+ [key: string]: any;
3645
+ };
3646
+ validate(): void;
3647
+ constructor(map?: {
3648
+ [key: string]: any;
3649
+ });
3650
+ }
3651
+ export declare class RunScriptRefineResponseBody extends $dara.Model {
3652
+ end?: boolean;
3653
+ header?: RunScriptRefineResponseBodyHeader;
3654
+ payload?: RunScriptRefineResponseBodyPayload;
3655
+ static names(): {
3656
+ [key: string]: string;
3657
+ };
3658
+ static types(): {
3659
+ [key: string]: any;
3660
+ };
3661
+ validate(): void;
3662
+ constructor(map?: {
3663
+ [key: string]: any;
3664
+ });
3665
+ }
3666
+ export declare class RunScriptRefineResponse extends $dara.Model {
3667
+ headers?: {
3668
+ [key: string]: string;
3669
+ };
3670
+ statusCode?: number;
3671
+ body?: RunScriptRefineResponseBody;
3672
+ static names(): {
3673
+ [key: string]: string;
3674
+ };
3675
+ static types(): {
3676
+ [key: string]: any;
3677
+ };
3678
+ validate(): void;
3679
+ constructor(map?: {
3680
+ [key: string]: any;
3681
+ });
3682
+ }
3355
3683
  export declare class RunStyleWritingRequest extends $dara.Model {
3356
3684
  /**
3357
3685
  * @remarks
@@ -4121,6 +4449,24 @@ export default class Client extends OpenApi {
4121
4449
  * @returns RunMarketingInformationWritingResponse
4122
4450
  */
4123
4451
  runMarketingInformationWriting(workspaceId: string, request: RunMarketingInformationWritingRequest): Promise<RunMarketingInformationWritingResponse>;
4452
+ /**
4453
+ * 长剧本创作
4454
+ *
4455
+ * @param request - RunScriptChatRequest
4456
+ * @param headers - map
4457
+ * @param runtime - runtime options for this request RuntimeOptions
4458
+ * @returns RunScriptChatResponse
4459
+ */
4460
+ runScriptChatWithOptions(workspaceId: string, request: RunScriptChatRequest, headers: {
4461
+ [key: string]: string;
4462
+ }, runtime: $dara.RuntimeOptions): Promise<RunScriptChatResponse>;
4463
+ /**
4464
+ * 长剧本创作
4465
+ *
4466
+ * @param request - RunScriptChatRequest
4467
+ * @returns RunScriptChatResponse
4468
+ */
4469
+ runScriptChat(workspaceId: string, request: RunScriptChatRequest): Promise<RunScriptChatResponse>;
4124
4470
  /**
4125
4471
  * 剧本续写
4126
4472
  *
@@ -4157,6 +4503,24 @@ export default class Client extends OpenApi {
4157
4503
  * @returns RunScriptPlanningResponse
4158
4504
  */
4159
4505
  runScriptPlanning(workspaceId: string, request: RunScriptPlanningRequest): Promise<RunScriptPlanningResponse>;
4506
+ /**
4507
+ * 剧本对话内容的整理
4508
+ *
4509
+ * @param request - RunScriptRefineRequest
4510
+ * @param headers - map
4511
+ * @param runtime - runtime options for this request RuntimeOptions
4512
+ * @returns RunScriptRefineResponse
4513
+ */
4514
+ runScriptRefineWithOptions(workspaceId: string, request: RunScriptRefineRequest, headers: {
4515
+ [key: string]: string;
4516
+ }, runtime: $dara.RuntimeOptions): Promise<RunScriptRefineResponse>;
4517
+ /**
4518
+ * 剧本对话内容的整理
4519
+ *
4520
+ * @param request - RunScriptRefineRequest
4521
+ * @returns RunScriptRefineResponse
4522
+ */
4523
+ runScriptRefine(workspaceId: string, request: RunScriptRefineRequest): Promise<RunScriptRefineResponse>;
4160
4524
  /**
4161
4525
  * 文体学习和写作推理服务
4162
4526
  *