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