@alicloud/aimiaobi20230801 1.10.0 → 1.11.1

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
@@ -3236,6 +3236,86 @@ export declare class GetPropertiesResponse extends $tea.Model {
3236
3236
  [key: string]: any;
3237
3237
  });
3238
3238
  }
3239
+ export declare class GetSmartClipTaskRequest extends $tea.Model {
3240
+ /**
3241
+ * @remarks
3242
+ * This parameter is required.
3243
+ *
3244
+ * @example
3245
+ * task-03d46184ee7d8749
3246
+ */
3247
+ taskId?: string;
3248
+ /**
3249
+ * @remarks
3250
+ * This parameter is required.
3251
+ *
3252
+ * @example
3253
+ * xxxx
3254
+ */
3255
+ workspaceId?: string;
3256
+ static names(): {
3257
+ [key: string]: string;
3258
+ };
3259
+ static types(): {
3260
+ [key: string]: any;
3261
+ };
3262
+ constructor(map?: {
3263
+ [key: string]: any;
3264
+ });
3265
+ }
3266
+ export declare class GetSmartClipTaskResponseBody extends $tea.Model {
3267
+ /**
3268
+ * @example
3269
+ * NoData
3270
+ */
3271
+ code?: string;
3272
+ data?: GetSmartClipTaskResponseBodyData;
3273
+ /**
3274
+ * @example
3275
+ * 200
3276
+ */
3277
+ httpStatusCode?: number;
3278
+ /**
3279
+ * @example
3280
+ * success
3281
+ */
3282
+ message?: string;
3283
+ /**
3284
+ * @example
3285
+ * 1813ceee-7fe5-41b4-87e5-982a4d18cca5
3286
+ */
3287
+ requestId?: string;
3288
+ /**
3289
+ * @example
3290
+ * true
3291
+ */
3292
+ success?: boolean;
3293
+ static names(): {
3294
+ [key: string]: string;
3295
+ };
3296
+ static types(): {
3297
+ [key: string]: any;
3298
+ };
3299
+ constructor(map?: {
3300
+ [key: string]: any;
3301
+ });
3302
+ }
3303
+ export declare class GetSmartClipTaskResponse extends $tea.Model {
3304
+ headers?: {
3305
+ [key: string]: string;
3306
+ };
3307
+ statusCode?: number;
3308
+ body?: GetSmartClipTaskResponseBody;
3309
+ static names(): {
3310
+ [key: string]: string;
3311
+ };
3312
+ static types(): {
3313
+ [key: string]: any;
3314
+ };
3315
+ constructor(map?: {
3316
+ [key: string]: any;
3317
+ });
3318
+ }
3239
3319
  export declare class GetTopicByIdRequest extends $tea.Model {
3240
3320
  /**
3241
3321
  * @remarks
@@ -7814,6 +7894,7 @@ export declare class RunWritingShrinkRequest extends $tea.Model {
7814
7894
  });
7815
7895
  }
7816
7896
  export declare class RunWritingResponseBody extends $tea.Model {
7897
+ end?: boolean;
7817
7898
  header?: RunWritingResponseBodyHeader;
7818
7899
  payload?: RunWritingResponseBodyPayload;
7819
7900
  /**
@@ -9021,6 +9102,105 @@ export declare class SubmitEnterpriseVocAnalysisTaskResponse extends $tea.Model
9021
9102
  [key: string]: any;
9022
9103
  });
9023
9104
  }
9105
+ export declare class SubmitSmartClipTaskRequest extends $tea.Model {
9106
+ editingConfig?: SubmitSmartClipTaskRequestEditingConfig;
9107
+ /**
9108
+ * @remarks
9109
+ * This parameter is required.
9110
+ */
9111
+ inputConfig?: SubmitSmartClipTaskRequestInputConfig;
9112
+ outputConfig?: SubmitSmartClipTaskRequestOutputConfig;
9113
+ /**
9114
+ * @remarks
9115
+ * This parameter is required.
9116
+ */
9117
+ workspaceId?: string;
9118
+ static names(): {
9119
+ [key: string]: string;
9120
+ };
9121
+ static types(): {
9122
+ [key: string]: any;
9123
+ };
9124
+ constructor(map?: {
9125
+ [key: string]: any;
9126
+ });
9127
+ }
9128
+ export declare class SubmitSmartClipTaskShrinkRequest extends $tea.Model {
9129
+ editingConfigShrink?: string;
9130
+ /**
9131
+ * @remarks
9132
+ * This parameter is required.
9133
+ */
9134
+ inputConfigShrink?: string;
9135
+ outputConfigShrink?: string;
9136
+ /**
9137
+ * @remarks
9138
+ * This parameter is required.
9139
+ */
9140
+ workspaceId?: string;
9141
+ static names(): {
9142
+ [key: string]: string;
9143
+ };
9144
+ static types(): {
9145
+ [key: string]: any;
9146
+ };
9147
+ constructor(map?: {
9148
+ [key: string]: any;
9149
+ });
9150
+ }
9151
+ export declare class SubmitSmartClipTaskResponseBody extends $tea.Model {
9152
+ /**
9153
+ * @example
9154
+ * NoData
9155
+ */
9156
+ code?: string;
9157
+ data?: SubmitSmartClipTaskResponseBodyData;
9158
+ /**
9159
+ * @example
9160
+ * 200
9161
+ */
9162
+ httpStatusCode?: number;
9163
+ /**
9164
+ * @example
9165
+ * success
9166
+ */
9167
+ message?: string;
9168
+ /**
9169
+ * @example
9170
+ * 1813ceee-7fe5-41b4-87e5-982a4d18cca5
9171
+ */
9172
+ requestId?: string;
9173
+ /**
9174
+ * @example
9175
+ * true
9176
+ */
9177
+ success?: boolean;
9178
+ static names(): {
9179
+ [key: string]: string;
9180
+ };
9181
+ static types(): {
9182
+ [key: string]: any;
9183
+ };
9184
+ constructor(map?: {
9185
+ [key: string]: any;
9186
+ });
9187
+ }
9188
+ export declare class SubmitSmartClipTaskResponse extends $tea.Model {
9189
+ headers?: {
9190
+ [key: string]: string;
9191
+ };
9192
+ statusCode?: number;
9193
+ body?: SubmitSmartClipTaskResponseBody;
9194
+ static names(): {
9195
+ [key: string]: string;
9196
+ };
9197
+ static types(): {
9198
+ [key: string]: any;
9199
+ };
9200
+ constructor(map?: {
9201
+ [key: string]: any;
9202
+ });
9203
+ }
9024
9204
  export declare class SubmitTopicSelectionPerspectiveAnalysisTaskRequest extends $tea.Model {
9025
9205
  /**
9026
9206
  * @remarks
@@ -11320,6 +11500,97 @@ export declare class GetPropertiesResponseBodyData extends $tea.Model {
11320
11500
  [key: string]: any;
11321
11501
  });
11322
11502
  }
11503
+ export declare class GetSmartClipTaskResponseBodyDataSubJobsFileAttr extends $tea.Model {
11504
+ /**
11505
+ * @example
11506
+ * 120
11507
+ */
11508
+ duration?: number;
11509
+ /**
11510
+ * @example
11511
+ * 290804
11512
+ */
11513
+ fileLength?: string;
11514
+ /**
11515
+ * @example
11516
+ * 2024-12-12.mp4
11517
+ */
11518
+ fileName?: string;
11519
+ /**
11520
+ * @example
11521
+ * 1080
11522
+ */
11523
+ height?: number;
11524
+ /**
11525
+ * @example
11526
+ * http://www.example.com/tmp.mp4
11527
+ */
11528
+ tmpUrl?: string;
11529
+ /**
11530
+ * @example
11531
+ * 1920
11532
+ */
11533
+ width?: number;
11534
+ static names(): {
11535
+ [key: string]: string;
11536
+ };
11537
+ static types(): {
11538
+ [key: string]: any;
11539
+ };
11540
+ constructor(map?: {
11541
+ [key: string]: any;
11542
+ });
11543
+ }
11544
+ export declare class GetSmartClipTaskResponseBodyDataSubJobs extends $tea.Model {
11545
+ /**
11546
+ * @example
11547
+ * x\"x\"x\"x
11548
+ */
11549
+ errorMessage?: string;
11550
+ fileAttr?: GetSmartClipTaskResponseBodyDataSubJobsFileAttr;
11551
+ /**
11552
+ * @example
11553
+ * oss://default/bucket-name/path-xxx/xxx-1.mp4
11554
+ */
11555
+ fileKey?: string;
11556
+ /**
11557
+ * @example
11558
+ * RUNNING
11559
+ */
11560
+ status?: string;
11561
+ /**
11562
+ * @example
11563
+ * xxxxx
11564
+ */
11565
+ subJobId?: string;
11566
+ static names(): {
11567
+ [key: string]: string;
11568
+ };
11569
+ static types(): {
11570
+ [key: string]: any;
11571
+ };
11572
+ constructor(map?: {
11573
+ [key: string]: any;
11574
+ });
11575
+ }
11576
+ export declare class GetSmartClipTaskResponseBodyData extends $tea.Model {
11577
+ errorMessage?: string;
11578
+ /**
11579
+ * @example
11580
+ * RUNNING
11581
+ */
11582
+ status?: string;
11583
+ subJobs?: GetSmartClipTaskResponseBodyDataSubJobs[];
11584
+ static names(): {
11585
+ [key: string]: string;
11586
+ };
11587
+ static types(): {
11588
+ [key: string]: any;
11589
+ };
11590
+ constructor(map?: {
11591
+ [key: string]: any;
11592
+ });
11593
+ }
11323
11594
  export declare class GetTopicByIdResponseBodyDataStructureSummaryDocList extends $tea.Model {
11324
11595
  source?: string;
11325
11596
  title?: string;
@@ -16188,6 +16459,260 @@ export declare class SubmitEnterpriseVocAnalysisTaskResponseBodyData extends $te
16188
16459
  [key: string]: any;
16189
16460
  });
16190
16461
  }
16462
+ export declare class SubmitSmartClipTaskRequestEditingConfigTitleConfig extends $tea.Model {
16463
+ /**
16464
+ * @example
16465
+ * TopLeft
16466
+ */
16467
+ alignment?: string;
16468
+ /**
16469
+ * @example
16470
+ * 2
16471
+ */
16472
+ timelineIn?: number;
16473
+ /**
16474
+ * @example
16475
+ * 3
16476
+ */
16477
+ timelineOut?: number;
16478
+ /**
16479
+ * @example
16480
+ * 100
16481
+ */
16482
+ x?: number;
16483
+ /**
16484
+ * @example
16485
+ * 100
16486
+ */
16487
+ y?: number;
16488
+ static names(): {
16489
+ [key: string]: string;
16490
+ };
16491
+ static types(): {
16492
+ [key: string]: any;
16493
+ };
16494
+ constructor(map?: {
16495
+ [key: string]: any;
16496
+ });
16497
+ }
16498
+ export declare class SubmitSmartClipTaskRequestEditingConfig extends $tea.Model {
16499
+ titleConfig?: SubmitSmartClipTaskRequestEditingConfigTitleConfig;
16500
+ static names(): {
16501
+ [key: string]: string;
16502
+ };
16503
+ static types(): {
16504
+ [key: string]: any;
16505
+ };
16506
+ constructor(map?: {
16507
+ [key: string]: any;
16508
+ });
16509
+ }
16510
+ export declare class SubmitSmartClipTaskRequestInputConfigBackgroundMusics extends $tea.Model {
16511
+ /**
16512
+ * @remarks
16513
+ * This parameter is required.
16514
+ *
16515
+ * @example
16516
+ * oss://default/bucket-name/filepath/video.mp3
16517
+ */
16518
+ id?: string;
16519
+ /**
16520
+ * @remarks
16521
+ * This parameter is required.
16522
+ *
16523
+ * @example
16524
+ * fileKey
16525
+ */
16526
+ type?: string;
16527
+ static names(): {
16528
+ [key: string]: string;
16529
+ };
16530
+ static types(): {
16531
+ [key: string]: any;
16532
+ };
16533
+ constructor(map?: {
16534
+ [key: string]: any;
16535
+ });
16536
+ }
16537
+ export declare class SubmitSmartClipTaskRequestInputConfigStickersStickerId extends $tea.Model {
16538
+ /**
16539
+ * @remarks
16540
+ * This parameter is required.
16541
+ *
16542
+ * @example
16543
+ * oss://default/bucket-name/filepath/sticker.png
16544
+ */
16545
+ id?: string;
16546
+ /**
16547
+ * @remarks
16548
+ * This parameter is required.
16549
+ *
16550
+ * @example
16551
+ * fileKey
16552
+ */
16553
+ type?: string;
16554
+ static names(): {
16555
+ [key: string]: string;
16556
+ };
16557
+ static types(): {
16558
+ [key: string]: any;
16559
+ };
16560
+ constructor(map?: {
16561
+ [key: string]: any;
16562
+ });
16563
+ }
16564
+ export declare class SubmitSmartClipTaskRequestInputConfigStickers extends $tea.Model {
16565
+ /**
16566
+ * @remarks
16567
+ * This parameter is required.
16568
+ *
16569
+ * @example
16570
+ * 0.5
16571
+ */
16572
+ height?: number;
16573
+ /**
16574
+ * @remarks
16575
+ * This parameter is required.
16576
+ */
16577
+ stickerId?: SubmitSmartClipTaskRequestInputConfigStickersStickerId;
16578
+ /**
16579
+ * @remarks
16580
+ * This parameter is required.
16581
+ *
16582
+ * @example
16583
+ * 0.5
16584
+ */
16585
+ width?: number;
16586
+ /**
16587
+ * @remarks
16588
+ * This parameter is required.
16589
+ *
16590
+ * @example
16591
+ * 0.5
16592
+ */
16593
+ x?: number;
16594
+ /**
16595
+ * @remarks
16596
+ * This parameter is required.
16597
+ *
16598
+ * @example
16599
+ * 0.5
16600
+ */
16601
+ y?: number;
16602
+ static names(): {
16603
+ [key: string]: string;
16604
+ };
16605
+ static types(): {
16606
+ [key: string]: any;
16607
+ };
16608
+ constructor(map?: {
16609
+ [key: string]: any;
16610
+ });
16611
+ }
16612
+ export declare class SubmitSmartClipTaskRequestInputConfigVideoIds extends $tea.Model {
16613
+ /**
16614
+ * @remarks
16615
+ * This parameter is required.
16616
+ *
16617
+ * @example
16618
+ * oss://default/bucket-name/filepath/video.mp4
16619
+ */
16620
+ id?: string;
16621
+ /**
16622
+ * @remarks
16623
+ * This parameter is required.
16624
+ *
16625
+ * @example
16626
+ * fileKey
16627
+ */
16628
+ type?: string;
16629
+ static names(): {
16630
+ [key: string]: string;
16631
+ };
16632
+ static types(): {
16633
+ [key: string]: any;
16634
+ };
16635
+ constructor(map?: {
16636
+ [key: string]: any;
16637
+ });
16638
+ }
16639
+ export declare class SubmitSmartClipTaskRequestInputConfig extends $tea.Model {
16640
+ backgroundMusics?: SubmitSmartClipTaskRequestInputConfigBackgroundMusics[];
16641
+ speechTexts?: string[];
16642
+ stickers?: SubmitSmartClipTaskRequestInputConfigStickers[];
16643
+ titles?: string[];
16644
+ /**
16645
+ * @remarks
16646
+ * This parameter is required.
16647
+ */
16648
+ videoIds?: SubmitSmartClipTaskRequestInputConfigVideoIds[];
16649
+ static names(): {
16650
+ [key: string]: string;
16651
+ };
16652
+ static types(): {
16653
+ [key: string]: any;
16654
+ };
16655
+ constructor(map?: {
16656
+ [key: string]: any;
16657
+ });
16658
+ }
16659
+ export declare class SubmitSmartClipTaskRequestOutputConfig extends $tea.Model {
16660
+ /**
16661
+ * @example
16662
+ * 1
16663
+ */
16664
+ count?: number;
16665
+ /**
16666
+ * @example
16667
+ * test_{index}.mp4
16668
+ */
16669
+ fileName?: string;
16670
+ /**
16671
+ * @example
16672
+ * 1080
16673
+ */
16674
+ height?: number;
16675
+ /**
16676
+ * @example
16677
+ * 120
16678
+ */
16679
+ maxDuration?: number;
16680
+ /**
16681
+ * @example
16682
+ * true
16683
+ */
16684
+ saveToGeneratedContent?: boolean;
16685
+ /**
16686
+ * @example
16687
+ * 1920
16688
+ */
16689
+ width?: number;
16690
+ static names(): {
16691
+ [key: string]: string;
16692
+ };
16693
+ static types(): {
16694
+ [key: string]: any;
16695
+ };
16696
+ constructor(map?: {
16697
+ [key: string]: any;
16698
+ });
16699
+ }
16700
+ export declare class SubmitSmartClipTaskResponseBodyData extends $tea.Model {
16701
+ /**
16702
+ * @example
16703
+ * 3f7045e099474ba28ceca1b4eb6d6e21
16704
+ */
16705
+ taskId?: string;
16706
+ static names(): {
16707
+ [key: string]: string;
16708
+ };
16709
+ static types(): {
16710
+ [key: string]: any;
16711
+ };
16712
+ constructor(map?: {
16713
+ [key: string]: any;
16714
+ });
16715
+ }
16191
16716
  export declare class SubmitTopicSelectionPerspectiveAnalysisTaskRequestDocumentsComments extends $tea.Model {
16192
16717
  text?: string;
16193
16718
  username?: string;
@@ -16828,6 +17353,21 @@ export default class Client extends OpenApi {
16828
17353
  * @returns GetPropertiesResponse
16829
17354
  */
16830
17355
  getProperties(request: GetPropertiesRequest): Promise<GetPropertiesResponse>;
17356
+ /**
17357
+ * 查询一键成片剪辑任务
17358
+ *
17359
+ * @param request - GetSmartClipTaskRequest
17360
+ * @param runtime - runtime options for this request RuntimeOptions
17361
+ * @returns GetSmartClipTaskResponse
17362
+ */
17363
+ getSmartClipTaskWithOptions(request: GetSmartClipTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetSmartClipTaskResponse>;
17364
+ /**
17365
+ * 查询一键成片剪辑任务
17366
+ *
17367
+ * @param request - GetSmartClipTaskRequest
17368
+ * @returns GetSmartClipTaskResponse
17369
+ */
17370
+ getSmartClipTask(request: GetSmartClipTaskRequest): Promise<GetSmartClipTaskResponse>;
16831
17371
  /**
16832
17372
  * 根据ID获取热点事件信息
16833
17373
  *
@@ -17623,6 +18163,21 @@ export default class Client extends OpenApi {
17623
18163
  * @returns SubmitEnterpriseVocAnalysisTaskResponse
17624
18164
  */
17625
18165
  submitEnterpriseVocAnalysisTask(request: SubmitEnterpriseVocAnalysisTaskRequest): Promise<SubmitEnterpriseVocAnalysisTaskResponse>;
18166
+ /**
18167
+ * 提交一键成片剪辑任务
18168
+ *
18169
+ * @param tmpReq - SubmitSmartClipTaskRequest
18170
+ * @param runtime - runtime options for this request RuntimeOptions
18171
+ * @returns SubmitSmartClipTaskResponse
18172
+ */
18173
+ submitSmartClipTaskWithOptions(tmpReq: SubmitSmartClipTaskRequest, runtime: $Util.RuntimeOptions): Promise<SubmitSmartClipTaskResponse>;
18174
+ /**
18175
+ * 提交一键成片剪辑任务
18176
+ *
18177
+ * @param request - SubmitSmartClipTaskRequest
18178
+ * @returns SubmitSmartClipTaskResponse
18179
+ */
18180
+ submitSmartClipTask(request: SubmitSmartClipTaskRequest): Promise<SubmitSmartClipTaskResponse>;
17626
18181
  /**
17627
18182
  * 提交选题热点分析任务
17628
18183
  *