@alicloud/quanmiaolightapp20240801 1.0.0 → 1.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/dist/client.d.ts CHANGED
@@ -131,6 +131,136 @@ export declare class RunMarketingInformationWritingResponse extends $tea.Model {
131
131
  [key: string]: any;
132
132
  });
133
133
  }
134
+ export declare class RunScriptContinueRequest extends $tea.Model {
135
+ /**
136
+ * @example
137
+ * 一队全副武装的执法人员和消防员闯入了一间明显已被遗弃多日、门窗紧闭并用胶带封死的公寓,面对着屋内令人作呕的恶臭和门厅里的混乱场面,他们似乎在寻找某种隐藏的真相或危险源,而一封日期为16号的信件成为了揭开谜团的关键线索,随着便衣探员深入探索,一系列封闭的房间暗示着这里曾发生过不为人知的秘密事件。
138
+ */
139
+ scriptSummary?: string;
140
+ /**
141
+ * @example
142
+ * 悬疑,都市,惊悚
143
+ */
144
+ scriptTypeKeyword?: string;
145
+ /**
146
+ * @remarks
147
+ * This parameter is required.
148
+ *
149
+ * @example
150
+ * 门厅一片狼藉。朝向天井的窗户开着。公寓门突然被撞开了。\n一名便衣探员、两名穿制服的警察和几位消防员———也身着工作服———进来,四下张望。他们都戴着手套以及盖住口鼻的面罩。在他们身后,门房和他妻子也挤进门厅。他们都捂着鼻子。门房的另一只手里拿着一叠信件和促销广告单。他们身后,跟着一位女邻居。\n便衣探员(对门房和邻居):请在外面等候。\n他向一名警察示意,警察正忙着把好奇的旁观者请出门外。\n警察(对门房,指着那一叠信件):最近的一封是哪天的?\n门房(查对信件):最近的一封似乎是16号的......等一下......\n便衣探员想打开左侧的门,却是徒劳。门用胶带封上了。\n便衣探员(对消防员):你来试一下好吗?\n消防员摆弄门的时候,便衣探员进了卧室隔壁的餐厅。他迅速打开窗,转身,想经过对开门进左侧的房间。这两扇门也锁着,门缝被贴上了胶带。他右转进入起居室,也打开了窗户
151
+ */
152
+ userProvidedContent?: string;
153
+ static names(): {
154
+ [key: string]: string;
155
+ };
156
+ static types(): {
157
+ [key: string]: any;
158
+ };
159
+ constructor(map?: {
160
+ [key: string]: any;
161
+ });
162
+ }
163
+ export declare class RunScriptContinueResponseBody extends $tea.Model {
164
+ end?: boolean;
165
+ header?: RunScriptContinueResponseBodyHeader;
166
+ payload?: RunScriptContinueResponseBodyPayload;
167
+ static names(): {
168
+ [key: string]: string;
169
+ };
170
+ static types(): {
171
+ [key: string]: any;
172
+ };
173
+ constructor(map?: {
174
+ [key: string]: any;
175
+ });
176
+ }
177
+ export declare class RunScriptContinueResponse extends $tea.Model {
178
+ headers?: {
179
+ [key: string]: string;
180
+ };
181
+ statusCode?: number;
182
+ body?: RunScriptContinueResponseBody;
183
+ static names(): {
184
+ [key: string]: string;
185
+ };
186
+ static types(): {
187
+ [key: string]: any;
188
+ };
189
+ constructor(map?: {
190
+ [key: string]: any;
191
+ });
192
+ }
193
+ export declare class RunScriptPlanningRequest extends $tea.Model {
194
+ /**
195
+ * @example
196
+ * 故事尽可能狗血
197
+ */
198
+ additionalNote?: string;
199
+ dialogueInScene?: boolean;
200
+ plotConflict?: boolean;
201
+ /**
202
+ * @example
203
+ * 都市战神
204
+ */
205
+ scriptName?: string;
206
+ /**
207
+ * @example
208
+ * 3
209
+ */
210
+ scriptShotCount?: number;
211
+ /**
212
+ * @remarks
213
+ * This parameter is required.
214
+ *
215
+ * @example
216
+ * 在一个宁静的小镇上,每个家庭都在同一天收到一个神秘的、没有标记的包裹。
217
+ */
218
+ scriptSummary?: string;
219
+ /**
220
+ * @example
221
+ * 现代,都市,爱情,玄幻
222
+ */
223
+ scriptTypeKeyword?: string;
224
+ static names(): {
225
+ [key: string]: string;
226
+ };
227
+ static types(): {
228
+ [key: string]: any;
229
+ };
230
+ constructor(map?: {
231
+ [key: string]: any;
232
+ });
233
+ }
234
+ export declare class RunScriptPlanningResponseBody extends $tea.Model {
235
+ end?: boolean;
236
+ header?: RunScriptPlanningResponseBodyHeader;
237
+ payload?: RunScriptPlanningResponseBodyPayload;
238
+ static names(): {
239
+ [key: string]: string;
240
+ };
241
+ static types(): {
242
+ [key: string]: any;
243
+ };
244
+ constructor(map?: {
245
+ [key: string]: any;
246
+ });
247
+ }
248
+ export declare class RunScriptPlanningResponse extends $tea.Model {
249
+ headers?: {
250
+ [key: string]: string;
251
+ };
252
+ statusCode?: number;
253
+ body?: RunScriptPlanningResponseBody;
254
+ static names(): {
255
+ [key: string]: string;
256
+ };
257
+ static types(): {
258
+ [key: string]: any;
259
+ };
260
+ constructor(map?: {
261
+ [key: string]: any;
262
+ });
263
+ }
134
264
  export declare class RunStyleWritingRequest extends $tea.Model {
135
265
  /**
136
266
  * @remarks
@@ -521,6 +651,218 @@ export declare class RunMarketingInformationWritingResponseBodyPayload extends $
521
651
  [key: string]: any;
522
652
  });
523
653
  }
654
+ export declare class RunScriptContinueResponseBodyHeader extends $tea.Model {
655
+ /**
656
+ * @example
657
+ * 403
658
+ */
659
+ errorCode?: string;
660
+ /**
661
+ * @example
662
+ * Pop sign mismatch, please check.
663
+ */
664
+ errorMessage?: string;
665
+ /**
666
+ * @example
667
+ * result-generated
668
+ */
669
+ event?: string;
670
+ /**
671
+ * @example
672
+ * 模型生成事件
673
+ */
674
+ eventInfo?: string;
675
+ /**
676
+ * @example
677
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
678
+ */
679
+ requestId?: string;
680
+ /**
681
+ * @example
682
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
683
+ */
684
+ sessionId?: string;
685
+ /**
686
+ * @example
687
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
688
+ */
689
+ taskId?: string;
690
+ /**
691
+ * @example
692
+ * 2150451a17191950923411783e2927
693
+ */
694
+ traceId?: string;
695
+ static names(): {
696
+ [key: string]: string;
697
+ };
698
+ static types(): {
699
+ [key: string]: any;
700
+ };
701
+ constructor(map?: {
702
+ [key: string]: any;
703
+ });
704
+ }
705
+ export declare class RunScriptContinueResponseBodyPayloadOutput extends $tea.Model {
706
+ /**
707
+ * @example
708
+ * 这是测试输出
709
+ */
710
+ text?: string;
711
+ static names(): {
712
+ [key: string]: string;
713
+ };
714
+ static types(): {
715
+ [key: string]: any;
716
+ };
717
+ constructor(map?: {
718
+ [key: string]: any;
719
+ });
720
+ }
721
+ export declare class RunScriptContinueResponseBodyPayloadUsage extends $tea.Model {
722
+ /**
723
+ * @example
724
+ * 100
725
+ */
726
+ inputTokens?: number;
727
+ /**
728
+ * @example
729
+ * 100
730
+ */
731
+ outputTokens?: number;
732
+ /**
733
+ * @example
734
+ * 200
735
+ */
736
+ totalTokens?: number;
737
+ static names(): {
738
+ [key: string]: string;
739
+ };
740
+ static types(): {
741
+ [key: string]: any;
742
+ };
743
+ constructor(map?: {
744
+ [key: string]: any;
745
+ });
746
+ }
747
+ export declare class RunScriptContinueResponseBodyPayload extends $tea.Model {
748
+ output?: RunScriptContinueResponseBodyPayloadOutput;
749
+ usage?: RunScriptContinueResponseBodyPayloadUsage;
750
+ static names(): {
751
+ [key: string]: string;
752
+ };
753
+ static types(): {
754
+ [key: string]: any;
755
+ };
756
+ constructor(map?: {
757
+ [key: string]: any;
758
+ });
759
+ }
760
+ export declare class RunScriptPlanningResponseBodyHeader extends $tea.Model {
761
+ /**
762
+ * @example
763
+ * 403
764
+ */
765
+ errorCode?: string;
766
+ /**
767
+ * @example
768
+ * Pop sign mismatch, please check.
769
+ */
770
+ errorMessage?: string;
771
+ /**
772
+ * @example
773
+ * result-generated
774
+ */
775
+ event?: string;
776
+ /**
777
+ * @example
778
+ * 模型生成事件
779
+ */
780
+ eventInfo?: string;
781
+ /**
782
+ * @example
783
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
784
+ */
785
+ requestId?: string;
786
+ /**
787
+ * @example
788
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
789
+ */
790
+ sessionId?: string;
791
+ /**
792
+ * @example
793
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
794
+ */
795
+ taskId?: string;
796
+ /**
797
+ * @example
798
+ * 2150451a17191950923411783e2927
799
+ */
800
+ traceId?: string;
801
+ static names(): {
802
+ [key: string]: string;
803
+ };
804
+ static types(): {
805
+ [key: string]: any;
806
+ };
807
+ constructor(map?: {
808
+ [key: string]: any;
809
+ });
810
+ }
811
+ export declare class RunScriptPlanningResponseBodyPayloadOutput extends $tea.Model {
812
+ /**
813
+ * @example
814
+ * 这是测试输出
815
+ */
816
+ text?: string;
817
+ static names(): {
818
+ [key: string]: string;
819
+ };
820
+ static types(): {
821
+ [key: string]: any;
822
+ };
823
+ constructor(map?: {
824
+ [key: string]: any;
825
+ });
826
+ }
827
+ export declare class RunScriptPlanningResponseBodyPayloadUsage extends $tea.Model {
828
+ /**
829
+ * @example
830
+ * 100
831
+ */
832
+ inputTokens?: number;
833
+ /**
834
+ * @example
835
+ * 100
836
+ */
837
+ outputTokens?: number;
838
+ /**
839
+ * @example
840
+ * 200
841
+ */
842
+ totalTokens?: number;
843
+ static names(): {
844
+ [key: string]: string;
845
+ };
846
+ static types(): {
847
+ [key: string]: any;
848
+ };
849
+ constructor(map?: {
850
+ [key: string]: any;
851
+ });
852
+ }
853
+ export declare class RunScriptPlanningResponseBodyPayload extends $tea.Model {
854
+ output?: RunScriptPlanningResponseBodyPayloadOutput;
855
+ usage?: RunScriptPlanningResponseBodyPayloadUsage;
856
+ static names(): {
857
+ [key: string]: string;
858
+ };
859
+ static types(): {
860
+ [key: string]: any;
861
+ };
862
+ constructor(map?: {
863
+ [key: string]: any;
864
+ });
865
+ }
524
866
  export declare class RunStyleWritingResponseBodyHeader extends $tea.Model {
525
867
  /**
526
868
  * @example
@@ -1029,6 +1371,42 @@ export default class Client extends OpenApi {
1029
1371
  * @returns RunMarketingInformationWritingResponse
1030
1372
  */
1031
1373
  runMarketingInformationWriting(workspaceId: string, request: RunMarketingInformationWritingRequest): Promise<RunMarketingInformationWritingResponse>;
1374
+ /**
1375
+ * 剧本续写
1376
+ *
1377
+ * @param request - RunScriptContinueRequest
1378
+ * @param headers - map
1379
+ * @param runtime - runtime options for this request RuntimeOptions
1380
+ * @returns RunScriptContinueResponse
1381
+ */
1382
+ runScriptContinueWithOptions(workspaceId: string, request: RunScriptContinueRequest, headers: {
1383
+ [key: string]: string;
1384
+ }, runtime: $Util.RuntimeOptions): Promise<RunScriptContinueResponse>;
1385
+ /**
1386
+ * 剧本续写
1387
+ *
1388
+ * @param request - RunScriptContinueRequest
1389
+ * @returns RunScriptContinueResponse
1390
+ */
1391
+ runScriptContinue(workspaceId: string, request: RunScriptContinueRequest): Promise<RunScriptContinueResponse>;
1392
+ /**
1393
+ * 剧本策划
1394
+ *
1395
+ * @param request - RunScriptPlanningRequest
1396
+ * @param headers - map
1397
+ * @param runtime - runtime options for this request RuntimeOptions
1398
+ * @returns RunScriptPlanningResponse
1399
+ */
1400
+ runScriptPlanningWithOptions(workspaceId: string, request: RunScriptPlanningRequest, headers: {
1401
+ [key: string]: string;
1402
+ }, runtime: $Util.RuntimeOptions): Promise<RunScriptPlanningResponse>;
1403
+ /**
1404
+ * 剧本策划
1405
+ *
1406
+ * @param request - RunScriptPlanningRequest
1407
+ * @returns RunScriptPlanningResponse
1408
+ */
1409
+ runScriptPlanning(workspaceId: string, request: RunScriptPlanningRequest): Promise<RunScriptPlanningResponse>;
1032
1410
  /**
1033
1411
  * 文体学习和写作推理服务
1034
1412
  *