@alicloud/quanmiaolightapp20240801 2.5.0 → 2.5.2
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 +116 -3
- package/dist/client.js +236 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +302 -3
package/dist/client.d.ts
CHANGED
|
@@ -493,6 +493,10 @@ export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGener
|
|
|
493
493
|
* true
|
|
494
494
|
*/
|
|
495
495
|
generateFinished?: boolean;
|
|
496
|
+
index?: number;
|
|
497
|
+
modelId?: string;
|
|
498
|
+
modelReduce?: boolean;
|
|
499
|
+
reasonText?: string;
|
|
496
500
|
/**
|
|
497
501
|
* @example
|
|
498
502
|
* xxx
|
|
@@ -510,6 +514,39 @@ export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGener
|
|
|
510
514
|
[key: string]: any;
|
|
511
515
|
});
|
|
512
516
|
}
|
|
517
|
+
export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
518
|
+
inputTokens?: number;
|
|
519
|
+
outputTokens?: number;
|
|
520
|
+
totalTokens?: number;
|
|
521
|
+
static names(): {
|
|
522
|
+
[key: string]: string;
|
|
523
|
+
};
|
|
524
|
+
static types(): {
|
|
525
|
+
[key: string]: any;
|
|
526
|
+
};
|
|
527
|
+
validate(): void;
|
|
528
|
+
constructor(map?: {
|
|
529
|
+
[key: string]: any;
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
533
|
+
generateFinished?: boolean;
|
|
534
|
+
index?: number;
|
|
535
|
+
modelId?: string;
|
|
536
|
+
reasonText?: string;
|
|
537
|
+
text?: string;
|
|
538
|
+
usage?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage;
|
|
539
|
+
static names(): {
|
|
540
|
+
[key: string]: string;
|
|
541
|
+
};
|
|
542
|
+
static types(): {
|
|
543
|
+
[key: string]: any;
|
|
544
|
+
};
|
|
545
|
+
validate(): void;
|
|
546
|
+
constructor(map?: {
|
|
547
|
+
[key: string]: any;
|
|
548
|
+
});
|
|
549
|
+
}
|
|
513
550
|
export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
514
551
|
/**
|
|
515
552
|
* @example
|
|
@@ -653,6 +690,7 @@ export declare class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $
|
|
|
653
690
|
videoAnalysisResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult;
|
|
654
691
|
videoCaptionResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult;
|
|
655
692
|
videoGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult;
|
|
693
|
+
videoGenerateResults?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults[];
|
|
656
694
|
videoMindMappingGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult;
|
|
657
695
|
videoTitleGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult;
|
|
658
696
|
static names(): {
|
|
@@ -1218,9 +1256,6 @@ export declare class RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig ex
|
|
|
1218
1256
|
*/
|
|
1219
1257
|
summaryImageCount?: number;
|
|
1220
1258
|
/**
|
|
1221
|
-
* @remarks
|
|
1222
|
-
* This parameter is required.
|
|
1223
|
-
*
|
|
1224
1259
|
* @example
|
|
1225
1260
|
* qwen-max
|
|
1226
1261
|
*/
|
|
@@ -2322,6 +2357,21 @@ export declare class RunVideoAnalysisRequestFrameSampleMethod extends $dara.Mode
|
|
|
2322
2357
|
[key: string]: any;
|
|
2323
2358
|
});
|
|
2324
2359
|
}
|
|
2360
|
+
export declare class RunVideoAnalysisRequestTextProcessTasks extends $dara.Model {
|
|
2361
|
+
modelCustomPromptTemplate?: string;
|
|
2362
|
+
modelCustomPromptTemplateId?: string;
|
|
2363
|
+
modelId?: string;
|
|
2364
|
+
static names(): {
|
|
2365
|
+
[key: string]: string;
|
|
2366
|
+
};
|
|
2367
|
+
static types(): {
|
|
2368
|
+
[key: string]: any;
|
|
2369
|
+
};
|
|
2370
|
+
validate(): void;
|
|
2371
|
+
constructor(map?: {
|
|
2372
|
+
[key: string]: any;
|
|
2373
|
+
});
|
|
2374
|
+
}
|
|
2325
2375
|
export declare class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
|
|
2326
2376
|
roleInfo?: string;
|
|
2327
2377
|
roleName?: string;
|
|
@@ -2543,12 +2593,14 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResul
|
|
|
2543
2593
|
* true
|
|
2544
2594
|
*/
|
|
2545
2595
|
generateFinished?: boolean;
|
|
2596
|
+
index?: number;
|
|
2546
2597
|
/**
|
|
2547
2598
|
* @example
|
|
2548
2599
|
* qwen-max
|
|
2549
2600
|
*/
|
|
2550
2601
|
modelId?: string;
|
|
2551
2602
|
modelReduce?: boolean;
|
|
2603
|
+
reasonText?: string;
|
|
2552
2604
|
text?: string;
|
|
2553
2605
|
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage;
|
|
2554
2606
|
static names(): {
|
|
@@ -2562,6 +2614,39 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResul
|
|
|
2562
2614
|
[key: string]: any;
|
|
2563
2615
|
});
|
|
2564
2616
|
}
|
|
2617
|
+
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
2618
|
+
inputTokens?: number;
|
|
2619
|
+
outputTokens?: number;
|
|
2620
|
+
totalTokens?: number;
|
|
2621
|
+
static names(): {
|
|
2622
|
+
[key: string]: string;
|
|
2623
|
+
};
|
|
2624
|
+
static types(): {
|
|
2625
|
+
[key: string]: any;
|
|
2626
|
+
};
|
|
2627
|
+
validate(): void;
|
|
2628
|
+
constructor(map?: {
|
|
2629
|
+
[key: string]: any;
|
|
2630
|
+
});
|
|
2631
|
+
}
|
|
2632
|
+
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
2633
|
+
generateFinished?: boolean;
|
|
2634
|
+
index?: number;
|
|
2635
|
+
modelId?: string;
|
|
2636
|
+
reasonText?: string;
|
|
2637
|
+
text?: string;
|
|
2638
|
+
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage;
|
|
2639
|
+
static names(): {
|
|
2640
|
+
[key: string]: string;
|
|
2641
|
+
};
|
|
2642
|
+
static types(): {
|
|
2643
|
+
[key: string]: any;
|
|
2644
|
+
};
|
|
2645
|
+
validate(): void;
|
|
2646
|
+
constructor(map?: {
|
|
2647
|
+
[key: string]: any;
|
|
2648
|
+
});
|
|
2649
|
+
}
|
|
2565
2650
|
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
2566
2651
|
/**
|
|
2567
2652
|
* @example
|
|
@@ -2760,6 +2845,7 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Mod
|
|
|
2760
2845
|
videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
|
|
2761
2846
|
videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
|
|
2762
2847
|
videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
|
|
2848
|
+
videoGenerateResults?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults[];
|
|
2763
2849
|
videoMindMappingGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult;
|
|
2764
2850
|
videoShotSnapshotResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult;
|
|
2765
2851
|
videoTitleGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult;
|
|
@@ -2869,6 +2955,21 @@ export declare class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $da
|
|
|
2869
2955
|
[key: string]: any;
|
|
2870
2956
|
});
|
|
2871
2957
|
}
|
|
2958
|
+
export declare class SubmitVideoAnalysisTaskRequestTextProcessTasks extends $dara.Model {
|
|
2959
|
+
modelCustomPromptTemplate?: string;
|
|
2960
|
+
modelCustomPromptTemplateId?: string;
|
|
2961
|
+
modelId?: string;
|
|
2962
|
+
static names(): {
|
|
2963
|
+
[key: string]: string;
|
|
2964
|
+
};
|
|
2965
|
+
static types(): {
|
|
2966
|
+
[key: string]: any;
|
|
2967
|
+
};
|
|
2968
|
+
validate(): void;
|
|
2969
|
+
constructor(map?: {
|
|
2970
|
+
[key: string]: any;
|
|
2971
|
+
});
|
|
2972
|
+
}
|
|
2872
2973
|
export declare class SubmitVideoAnalysisTaskRequestVideoRoles extends $dara.Model {
|
|
2873
2974
|
roleInfo?: string;
|
|
2874
2975
|
roleName?: string;
|
|
@@ -4380,6 +4481,7 @@ export declare class RunTagMiningAnalysisResponse extends $dara.Model {
|
|
|
4380
4481
|
});
|
|
4381
4482
|
}
|
|
4382
4483
|
export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
4484
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4383
4485
|
frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
|
|
4384
4486
|
generateOptions?: string[];
|
|
4385
4487
|
/**
|
|
@@ -4409,6 +4511,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4409
4511
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
4410
4512
|
*/
|
|
4411
4513
|
taskId?: string;
|
|
4514
|
+
textProcessTasks?: RunVideoAnalysisRequestTextProcessTasks[];
|
|
4412
4515
|
videoExtraInfo?: string;
|
|
4413
4516
|
videoModelCustomPromptTemplate?: string;
|
|
4414
4517
|
/**
|
|
@@ -4417,6 +4520,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4417
4520
|
*/
|
|
4418
4521
|
videoModelId?: string;
|
|
4419
4522
|
videoRoles?: RunVideoAnalysisRequestVideoRoles[];
|
|
4523
|
+
videoShotFaceIdentityCount?: number;
|
|
4420
4524
|
/**
|
|
4421
4525
|
* @example
|
|
4422
4526
|
* http://xxxx.mp4
|
|
@@ -4434,6 +4538,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4434
4538
|
});
|
|
4435
4539
|
}
|
|
4436
4540
|
export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
4541
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4437
4542
|
frameSampleMethodShrink?: string;
|
|
4438
4543
|
generateOptionsShrink?: string;
|
|
4439
4544
|
/**
|
|
@@ -4463,6 +4568,7 @@ export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
4463
4568
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
4464
4569
|
*/
|
|
4465
4570
|
taskId?: string;
|
|
4571
|
+
textProcessTasksShrink?: string;
|
|
4466
4572
|
videoExtraInfo?: string;
|
|
4467
4573
|
videoModelCustomPromptTemplate?: string;
|
|
4468
4574
|
/**
|
|
@@ -4471,6 +4577,7 @@ export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
4471
4577
|
*/
|
|
4472
4578
|
videoModelId?: string;
|
|
4473
4579
|
videoRolesShrink?: string;
|
|
4580
|
+
videoShotFaceIdentityCount?: number;
|
|
4474
4581
|
/**
|
|
4475
4582
|
* @example
|
|
4476
4583
|
* http://xxxx.mp4
|
|
@@ -4670,6 +4777,7 @@ export declare class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
|
4670
4777
|
});
|
|
4671
4778
|
}
|
|
4672
4779
|
export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
4780
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4673
4781
|
frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
|
|
4674
4782
|
generateOptions?: string[];
|
|
4675
4783
|
/**
|
|
@@ -4693,6 +4801,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4693
4801
|
* 2
|
|
4694
4802
|
*/
|
|
4695
4803
|
snapshotInterval?: number;
|
|
4804
|
+
textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
|
|
4696
4805
|
videoExtraInfo?: string;
|
|
4697
4806
|
videoModelCustomPromptTemplate?: string;
|
|
4698
4807
|
/**
|
|
@@ -4701,6 +4810,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4701
4810
|
*/
|
|
4702
4811
|
videoModelId?: string;
|
|
4703
4812
|
videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
|
|
4813
|
+
videoShotFaceIdentityCount?: number;
|
|
4704
4814
|
/**
|
|
4705
4815
|
* @remarks
|
|
4706
4816
|
* This parameter is required.
|
|
@@ -4721,6 +4831,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4721
4831
|
});
|
|
4722
4832
|
}
|
|
4723
4833
|
export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
4834
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4724
4835
|
frameSampleMethodShrink?: string;
|
|
4725
4836
|
generateOptionsShrink?: string;
|
|
4726
4837
|
/**
|
|
@@ -4744,6 +4855,7 @@ export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
4744
4855
|
* 2
|
|
4745
4856
|
*/
|
|
4746
4857
|
snapshotInterval?: number;
|
|
4858
|
+
textProcessTasksShrink?: string;
|
|
4747
4859
|
videoExtraInfo?: string;
|
|
4748
4860
|
videoModelCustomPromptTemplate?: string;
|
|
4749
4861
|
/**
|
|
@@ -4752,6 +4864,7 @@ export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
4752
4864
|
*/
|
|
4753
4865
|
videoModelId?: string;
|
|
4754
4866
|
videoRolesShrink?: string;
|
|
4867
|
+
videoShotFaceIdentityCount?: number;
|
|
4755
4868
|
/**
|
|
4756
4869
|
* @remarks
|
|
4757
4870
|
* This parameter is required.
|