@alicloud/quanmiaolightapp20240801 2.5.0 → 2.5.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 +116 -0
- package/dist/client.js +236 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +302 -0
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(): {
|
|
@@ -2322,6 +2360,21 @@ export declare class RunVideoAnalysisRequestFrameSampleMethod extends $dara.Mode
|
|
|
2322
2360
|
[key: string]: any;
|
|
2323
2361
|
});
|
|
2324
2362
|
}
|
|
2363
|
+
export declare class RunVideoAnalysisRequestTextProcessTasks extends $dara.Model {
|
|
2364
|
+
modelCustomPromptTemplate?: string;
|
|
2365
|
+
modelCustomPromptTemplateId?: string;
|
|
2366
|
+
modelId?: string;
|
|
2367
|
+
static names(): {
|
|
2368
|
+
[key: string]: string;
|
|
2369
|
+
};
|
|
2370
|
+
static types(): {
|
|
2371
|
+
[key: string]: any;
|
|
2372
|
+
};
|
|
2373
|
+
validate(): void;
|
|
2374
|
+
constructor(map?: {
|
|
2375
|
+
[key: string]: any;
|
|
2376
|
+
});
|
|
2377
|
+
}
|
|
2325
2378
|
export declare class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
|
|
2326
2379
|
roleInfo?: string;
|
|
2327
2380
|
roleName?: string;
|
|
@@ -2543,12 +2596,14 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResul
|
|
|
2543
2596
|
* true
|
|
2544
2597
|
*/
|
|
2545
2598
|
generateFinished?: boolean;
|
|
2599
|
+
index?: number;
|
|
2546
2600
|
/**
|
|
2547
2601
|
* @example
|
|
2548
2602
|
* qwen-max
|
|
2549
2603
|
*/
|
|
2550
2604
|
modelId?: string;
|
|
2551
2605
|
modelReduce?: boolean;
|
|
2606
|
+
reasonText?: string;
|
|
2552
2607
|
text?: string;
|
|
2553
2608
|
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage;
|
|
2554
2609
|
static names(): {
|
|
@@ -2562,6 +2617,39 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResul
|
|
|
2562
2617
|
[key: string]: any;
|
|
2563
2618
|
});
|
|
2564
2619
|
}
|
|
2620
|
+
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
2621
|
+
inputTokens?: number;
|
|
2622
|
+
outputTokens?: number;
|
|
2623
|
+
totalTokens?: number;
|
|
2624
|
+
static names(): {
|
|
2625
|
+
[key: string]: string;
|
|
2626
|
+
};
|
|
2627
|
+
static types(): {
|
|
2628
|
+
[key: string]: any;
|
|
2629
|
+
};
|
|
2630
|
+
validate(): void;
|
|
2631
|
+
constructor(map?: {
|
|
2632
|
+
[key: string]: any;
|
|
2633
|
+
});
|
|
2634
|
+
}
|
|
2635
|
+
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
2636
|
+
generateFinished?: boolean;
|
|
2637
|
+
index?: number;
|
|
2638
|
+
modelId?: string;
|
|
2639
|
+
reasonText?: string;
|
|
2640
|
+
text?: string;
|
|
2641
|
+
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage;
|
|
2642
|
+
static names(): {
|
|
2643
|
+
[key: string]: string;
|
|
2644
|
+
};
|
|
2645
|
+
static types(): {
|
|
2646
|
+
[key: string]: any;
|
|
2647
|
+
};
|
|
2648
|
+
validate(): void;
|
|
2649
|
+
constructor(map?: {
|
|
2650
|
+
[key: string]: any;
|
|
2651
|
+
});
|
|
2652
|
+
}
|
|
2565
2653
|
export declare class RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
2566
2654
|
/**
|
|
2567
2655
|
* @example
|
|
@@ -2760,6 +2848,7 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Mod
|
|
|
2760
2848
|
videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
|
|
2761
2849
|
videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
|
|
2762
2850
|
videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
|
|
2851
|
+
videoGenerateResults?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults[];
|
|
2763
2852
|
videoMindMappingGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult;
|
|
2764
2853
|
videoShotSnapshotResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult;
|
|
2765
2854
|
videoTitleGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult;
|
|
@@ -2869,6 +2958,21 @@ export declare class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $da
|
|
|
2869
2958
|
[key: string]: any;
|
|
2870
2959
|
});
|
|
2871
2960
|
}
|
|
2961
|
+
export declare class SubmitVideoAnalysisTaskRequestTextProcessTasks extends $dara.Model {
|
|
2962
|
+
modelCustomPromptTemplate?: string;
|
|
2963
|
+
modelCustomPromptTemplateId?: string;
|
|
2964
|
+
modelId?: string;
|
|
2965
|
+
static names(): {
|
|
2966
|
+
[key: string]: string;
|
|
2967
|
+
};
|
|
2968
|
+
static types(): {
|
|
2969
|
+
[key: string]: any;
|
|
2970
|
+
};
|
|
2971
|
+
validate(): void;
|
|
2972
|
+
constructor(map?: {
|
|
2973
|
+
[key: string]: any;
|
|
2974
|
+
});
|
|
2975
|
+
}
|
|
2872
2976
|
export declare class SubmitVideoAnalysisTaskRequestVideoRoles extends $dara.Model {
|
|
2873
2977
|
roleInfo?: string;
|
|
2874
2978
|
roleName?: string;
|
|
@@ -4380,6 +4484,7 @@ export declare class RunTagMiningAnalysisResponse extends $dara.Model {
|
|
|
4380
4484
|
});
|
|
4381
4485
|
}
|
|
4382
4486
|
export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
4487
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4383
4488
|
frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
|
|
4384
4489
|
generateOptions?: string[];
|
|
4385
4490
|
/**
|
|
@@ -4409,6 +4514,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4409
4514
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
4410
4515
|
*/
|
|
4411
4516
|
taskId?: string;
|
|
4517
|
+
textProcessTasks?: RunVideoAnalysisRequestTextProcessTasks[];
|
|
4412
4518
|
videoExtraInfo?: string;
|
|
4413
4519
|
videoModelCustomPromptTemplate?: string;
|
|
4414
4520
|
/**
|
|
@@ -4417,6 +4523,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4417
4523
|
*/
|
|
4418
4524
|
videoModelId?: string;
|
|
4419
4525
|
videoRoles?: RunVideoAnalysisRequestVideoRoles[];
|
|
4526
|
+
videoShotFaceIdentityCount?: number;
|
|
4420
4527
|
/**
|
|
4421
4528
|
* @example
|
|
4422
4529
|
* http://xxxx.mp4
|
|
@@ -4434,6 +4541,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4434
4541
|
});
|
|
4435
4542
|
}
|
|
4436
4543
|
export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
4544
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4437
4545
|
frameSampleMethodShrink?: string;
|
|
4438
4546
|
generateOptionsShrink?: string;
|
|
4439
4547
|
/**
|
|
@@ -4463,6 +4571,7 @@ export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
4463
4571
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
4464
4572
|
*/
|
|
4465
4573
|
taskId?: string;
|
|
4574
|
+
textProcessTasksShrink?: string;
|
|
4466
4575
|
videoExtraInfo?: string;
|
|
4467
4576
|
videoModelCustomPromptTemplate?: string;
|
|
4468
4577
|
/**
|
|
@@ -4471,6 +4580,7 @@ export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
4471
4580
|
*/
|
|
4472
4581
|
videoModelId?: string;
|
|
4473
4582
|
videoRolesShrink?: string;
|
|
4583
|
+
videoShotFaceIdentityCount?: number;
|
|
4474
4584
|
/**
|
|
4475
4585
|
* @example
|
|
4476
4586
|
* http://xxxx.mp4
|
|
@@ -4670,6 +4780,7 @@ export declare class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
|
4670
4780
|
});
|
|
4671
4781
|
}
|
|
4672
4782
|
export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
4783
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4673
4784
|
frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
|
|
4674
4785
|
generateOptions?: string[];
|
|
4675
4786
|
/**
|
|
@@ -4693,6 +4804,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4693
4804
|
* 2
|
|
4694
4805
|
*/
|
|
4695
4806
|
snapshotInterval?: number;
|
|
4807
|
+
textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
|
|
4696
4808
|
videoExtraInfo?: string;
|
|
4697
4809
|
videoModelCustomPromptTemplate?: string;
|
|
4698
4810
|
/**
|
|
@@ -4701,6 +4813,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4701
4813
|
*/
|
|
4702
4814
|
videoModelId?: string;
|
|
4703
4815
|
videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
|
|
4816
|
+
videoShotFaceIdentityCount?: number;
|
|
4704
4817
|
/**
|
|
4705
4818
|
* @remarks
|
|
4706
4819
|
* This parameter is required.
|
|
@@ -4721,6 +4834,7 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4721
4834
|
});
|
|
4722
4835
|
}
|
|
4723
4836
|
export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
4837
|
+
faceIdentitySimilarityMinScore?: number;
|
|
4724
4838
|
frameSampleMethodShrink?: string;
|
|
4725
4839
|
generateOptionsShrink?: string;
|
|
4726
4840
|
/**
|
|
@@ -4744,6 +4858,7 @@ export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
4744
4858
|
* 2
|
|
4745
4859
|
*/
|
|
4746
4860
|
snapshotInterval?: number;
|
|
4861
|
+
textProcessTasksShrink?: string;
|
|
4747
4862
|
videoExtraInfo?: string;
|
|
4748
4863
|
videoModelCustomPromptTemplate?: string;
|
|
4749
4864
|
/**
|
|
@@ -4752,6 +4867,7 @@ export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
4752
4867
|
*/
|
|
4753
4868
|
videoModelId?: string;
|
|
4754
4869
|
videoRolesShrink?: string;
|
|
4870
|
+
videoShotFaceIdentityCount?: number;
|
|
4755
4871
|
/**
|
|
4756
4872
|
* @remarks
|
|
4757
4873
|
* This parameter is required.
|