@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/src/client.ts
CHANGED
|
@@ -816,6 +816,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
|
|
|
816
816
|
* true
|
|
817
817
|
*/
|
|
818
818
|
generateFinished?: boolean;
|
|
819
|
+
index?: number;
|
|
820
|
+
modelId?: string;
|
|
821
|
+
modelReduce?: boolean;
|
|
822
|
+
reasonText?: string;
|
|
819
823
|
/**
|
|
820
824
|
* @example
|
|
821
825
|
* xxx
|
|
@@ -825,6 +829,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
|
|
|
825
829
|
static names(): { [key: string]: string } {
|
|
826
830
|
return {
|
|
827
831
|
generateFinished: 'generateFinished',
|
|
832
|
+
index: 'index',
|
|
833
|
+
modelId: 'modelId',
|
|
834
|
+
modelReduce: 'modelReduce',
|
|
835
|
+
reasonText: 'reasonText',
|
|
828
836
|
text: 'text',
|
|
829
837
|
usage: 'usage',
|
|
830
838
|
};
|
|
@@ -833,6 +841,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
|
|
|
833
841
|
static types(): { [key: string]: any } {
|
|
834
842
|
return {
|
|
835
843
|
generateFinished: 'boolean',
|
|
844
|
+
index: 'number',
|
|
845
|
+
modelId: 'string',
|
|
846
|
+
modelReduce: 'boolean',
|
|
847
|
+
reasonText: 'string',
|
|
836
848
|
text: 'string',
|
|
837
849
|
usage: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultUsage,
|
|
838
850
|
};
|
|
@@ -850,6 +862,76 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
|
|
|
850
862
|
}
|
|
851
863
|
}
|
|
852
864
|
|
|
865
|
+
export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
866
|
+
inputTokens?: number;
|
|
867
|
+
outputTokens?: number;
|
|
868
|
+
totalTokens?: number;
|
|
869
|
+
static names(): { [key: string]: string } {
|
|
870
|
+
return {
|
|
871
|
+
inputTokens: 'inputTokens',
|
|
872
|
+
outputTokens: 'outputTokens',
|
|
873
|
+
totalTokens: 'totalTokens',
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
static types(): { [key: string]: any } {
|
|
878
|
+
return {
|
|
879
|
+
inputTokens: 'number',
|
|
880
|
+
outputTokens: 'number',
|
|
881
|
+
totalTokens: 'number',
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
validate() {
|
|
886
|
+
super.validate();
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
constructor(map?: { [key: string]: any }) {
|
|
890
|
+
super(map);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
895
|
+
generateFinished?: boolean;
|
|
896
|
+
index?: number;
|
|
897
|
+
modelId?: string;
|
|
898
|
+
reasonText?: string;
|
|
899
|
+
text?: string;
|
|
900
|
+
usage?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage;
|
|
901
|
+
static names(): { [key: string]: string } {
|
|
902
|
+
return {
|
|
903
|
+
generateFinished: 'generateFinished',
|
|
904
|
+
index: 'index',
|
|
905
|
+
modelId: 'modelId',
|
|
906
|
+
reasonText: 'reasonText',
|
|
907
|
+
text: 'text',
|
|
908
|
+
usage: 'usage',
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
static types(): { [key: string]: any } {
|
|
913
|
+
return {
|
|
914
|
+
generateFinished: 'boolean',
|
|
915
|
+
index: 'number',
|
|
916
|
+
modelId: 'string',
|
|
917
|
+
reasonText: 'string',
|
|
918
|
+
text: 'string',
|
|
919
|
+
usage: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage,
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
validate() {
|
|
924
|
+
if(this.usage && typeof (this.usage as any).validate === 'function') {
|
|
925
|
+
(this.usage as any).validate();
|
|
926
|
+
}
|
|
927
|
+
super.validate();
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
constructor(map?: { [key: string]: any }) {
|
|
931
|
+
super(map);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
|
|
853
935
|
export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
854
936
|
/**
|
|
855
937
|
* @example
|
|
@@ -1100,6 +1182,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
|
|
|
1100
1182
|
videoAnalysisResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult;
|
|
1101
1183
|
videoCaptionResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult;
|
|
1102
1184
|
videoGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult;
|
|
1185
|
+
videoGenerateResults?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults[];
|
|
1103
1186
|
videoMindMappingGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult;
|
|
1104
1187
|
videoTitleGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult;
|
|
1105
1188
|
static names(): { [key: string]: string } {
|
|
@@ -1108,6 +1191,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
|
|
|
1108
1191
|
videoAnalysisResult: 'videoAnalysisResult',
|
|
1109
1192
|
videoCaptionResult: 'videoCaptionResult',
|
|
1110
1193
|
videoGenerateResult: 'videoGenerateResult',
|
|
1194
|
+
videoGenerateResults: 'videoGenerateResults',
|
|
1111
1195
|
videoMindMappingGenerateResult: 'videoMindMappingGenerateResult',
|
|
1112
1196
|
videoTitleGenerateResult: 'videoTitleGenerateResult',
|
|
1113
1197
|
};
|
|
@@ -1119,6 +1203,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
|
|
|
1119
1203
|
videoAnalysisResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult,
|
|
1120
1204
|
videoCaptionResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult,
|
|
1121
1205
|
videoGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult,
|
|
1206
|
+
videoGenerateResults: { 'type': 'array', 'itemType': GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults },
|
|
1122
1207
|
videoMindMappingGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult,
|
|
1123
1208
|
videoTitleGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult,
|
|
1124
1209
|
};
|
|
@@ -1134,6 +1219,9 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
|
|
|
1134
1219
|
if(this.videoGenerateResult && typeof (this.videoGenerateResult as any).validate === 'function') {
|
|
1135
1220
|
(this.videoGenerateResult as any).validate();
|
|
1136
1221
|
}
|
|
1222
|
+
if(Array.isArray(this.videoGenerateResults)) {
|
|
1223
|
+
$dara.Model.validateArray(this.videoGenerateResults);
|
|
1224
|
+
}
|
|
1137
1225
|
if(this.videoMindMappingGenerateResult && typeof (this.videoMindMappingGenerateResult as any).validate === 'function') {
|
|
1138
1226
|
(this.videoMindMappingGenerateResult as any).validate();
|
|
1139
1227
|
}
|
|
@@ -3890,6 +3978,35 @@ export class RunVideoAnalysisRequestFrameSampleMethod extends $dara.Model {
|
|
|
3890
3978
|
}
|
|
3891
3979
|
}
|
|
3892
3980
|
|
|
3981
|
+
export class RunVideoAnalysisRequestTextProcessTasks extends $dara.Model {
|
|
3982
|
+
modelCustomPromptTemplate?: string;
|
|
3983
|
+
modelCustomPromptTemplateId?: string;
|
|
3984
|
+
modelId?: string;
|
|
3985
|
+
static names(): { [key: string]: string } {
|
|
3986
|
+
return {
|
|
3987
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
3988
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
3989
|
+
modelId: 'modelId',
|
|
3990
|
+
};
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
static types(): { [key: string]: any } {
|
|
3994
|
+
return {
|
|
3995
|
+
modelCustomPromptTemplate: 'string',
|
|
3996
|
+
modelCustomPromptTemplateId: 'string',
|
|
3997
|
+
modelId: 'string',
|
|
3998
|
+
};
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
validate() {
|
|
4002
|
+
super.validate();
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
constructor(map?: { [key: string]: any }) {
|
|
4006
|
+
super(map);
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
|
|
3893
4010
|
export class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
|
|
3894
4011
|
roleInfo?: string;
|
|
3895
4012
|
roleName?: string;
|
|
@@ -4249,19 +4366,23 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4249
4366
|
* true
|
|
4250
4367
|
*/
|
|
4251
4368
|
generateFinished?: boolean;
|
|
4369
|
+
index?: number;
|
|
4252
4370
|
/**
|
|
4253
4371
|
* @example
|
|
4254
4372
|
* qwen-max
|
|
4255
4373
|
*/
|
|
4256
4374
|
modelId?: string;
|
|
4257
4375
|
modelReduce?: boolean;
|
|
4376
|
+
reasonText?: string;
|
|
4258
4377
|
text?: string;
|
|
4259
4378
|
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage;
|
|
4260
4379
|
static names(): { [key: string]: string } {
|
|
4261
4380
|
return {
|
|
4262
4381
|
generateFinished: 'generateFinished',
|
|
4382
|
+
index: 'index',
|
|
4263
4383
|
modelId: 'modelId',
|
|
4264
4384
|
modelReduce: 'modelReduce',
|
|
4385
|
+
reasonText: 'reasonText',
|
|
4265
4386
|
text: 'text',
|
|
4266
4387
|
usage: 'usage',
|
|
4267
4388
|
};
|
|
@@ -4270,8 +4391,10 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4270
4391
|
static types(): { [key: string]: any } {
|
|
4271
4392
|
return {
|
|
4272
4393
|
generateFinished: 'boolean',
|
|
4394
|
+
index: 'number',
|
|
4273
4395
|
modelId: 'string',
|
|
4274
4396
|
modelReduce: 'boolean',
|
|
4397
|
+
reasonText: 'string',
|
|
4275
4398
|
text: 'string',
|
|
4276
4399
|
usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage,
|
|
4277
4400
|
};
|
|
@@ -4289,6 +4412,76 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4289
4412
|
}
|
|
4290
4413
|
}
|
|
4291
4414
|
|
|
4415
|
+
export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
4416
|
+
inputTokens?: number;
|
|
4417
|
+
outputTokens?: number;
|
|
4418
|
+
totalTokens?: number;
|
|
4419
|
+
static names(): { [key: string]: string } {
|
|
4420
|
+
return {
|
|
4421
|
+
inputTokens: 'inputTokens',
|
|
4422
|
+
outputTokens: 'outputTokens',
|
|
4423
|
+
totalTokens: 'totalTokens',
|
|
4424
|
+
};
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
static types(): { [key: string]: any } {
|
|
4428
|
+
return {
|
|
4429
|
+
inputTokens: 'number',
|
|
4430
|
+
outputTokens: 'number',
|
|
4431
|
+
totalTokens: 'number',
|
|
4432
|
+
};
|
|
4433
|
+
}
|
|
4434
|
+
|
|
4435
|
+
validate() {
|
|
4436
|
+
super.validate();
|
|
4437
|
+
}
|
|
4438
|
+
|
|
4439
|
+
constructor(map?: { [key: string]: any }) {
|
|
4440
|
+
super(map);
|
|
4441
|
+
}
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
4445
|
+
generateFinished?: boolean;
|
|
4446
|
+
index?: number;
|
|
4447
|
+
modelId?: string;
|
|
4448
|
+
reasonText?: string;
|
|
4449
|
+
text?: string;
|
|
4450
|
+
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage;
|
|
4451
|
+
static names(): { [key: string]: string } {
|
|
4452
|
+
return {
|
|
4453
|
+
generateFinished: 'generateFinished',
|
|
4454
|
+
index: 'index',
|
|
4455
|
+
modelId: 'modelId',
|
|
4456
|
+
reasonText: 'reasonText',
|
|
4457
|
+
text: 'text',
|
|
4458
|
+
usage: 'usage',
|
|
4459
|
+
};
|
|
4460
|
+
}
|
|
4461
|
+
|
|
4462
|
+
static types(): { [key: string]: any } {
|
|
4463
|
+
return {
|
|
4464
|
+
generateFinished: 'boolean',
|
|
4465
|
+
index: 'number',
|
|
4466
|
+
modelId: 'string',
|
|
4467
|
+
reasonText: 'string',
|
|
4468
|
+
text: 'string',
|
|
4469
|
+
usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage,
|
|
4470
|
+
};
|
|
4471
|
+
}
|
|
4472
|
+
|
|
4473
|
+
validate() {
|
|
4474
|
+
if(this.usage && typeof (this.usage as any).validate === 'function') {
|
|
4475
|
+
(this.usage as any).validate();
|
|
4476
|
+
}
|
|
4477
|
+
super.validate();
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
constructor(map?: { [key: string]: any }) {
|
|
4481
|
+
super(map);
|
|
4482
|
+
}
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4292
4485
|
export class RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
4293
4486
|
/**
|
|
4294
4487
|
* @example
|
|
@@ -4646,6 +4839,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4646
4839
|
videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
|
|
4647
4840
|
videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
|
|
4648
4841
|
videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
|
|
4842
|
+
videoGenerateResults?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults[];
|
|
4649
4843
|
videoMindMappingGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult;
|
|
4650
4844
|
videoShotSnapshotResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult;
|
|
4651
4845
|
videoTitleGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult;
|
|
@@ -4655,6 +4849,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4655
4849
|
videoAnalysisResult: 'videoAnalysisResult',
|
|
4656
4850
|
videoCaptionResult: 'videoCaptionResult',
|
|
4657
4851
|
videoGenerateResult: 'videoGenerateResult',
|
|
4852
|
+
videoGenerateResults: 'videoGenerateResults',
|
|
4658
4853
|
videoMindMappingGenerateResult: 'videoMindMappingGenerateResult',
|
|
4659
4854
|
videoShotSnapshotResult: 'videoShotSnapshotResult',
|
|
4660
4855
|
videoTitleGenerateResult: 'videoTitleGenerateResult',
|
|
@@ -4667,6 +4862,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4667
4862
|
videoAnalysisResult: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult,
|
|
4668
4863
|
videoCaptionResult: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult,
|
|
4669
4864
|
videoGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult,
|
|
4865
|
+
videoGenerateResults: { 'type': 'array', 'itemType': RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults },
|
|
4670
4866
|
videoMindMappingGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult,
|
|
4671
4867
|
videoShotSnapshotResult: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult,
|
|
4672
4868
|
videoTitleGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult,
|
|
@@ -4683,6 +4879,9 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4683
4879
|
if(this.videoGenerateResult && typeof (this.videoGenerateResult as any).validate === 'function') {
|
|
4684
4880
|
(this.videoGenerateResult as any).validate();
|
|
4685
4881
|
}
|
|
4882
|
+
if(Array.isArray(this.videoGenerateResults)) {
|
|
4883
|
+
$dara.Model.validateArray(this.videoGenerateResults);
|
|
4884
|
+
}
|
|
4686
4885
|
if(this.videoMindMappingGenerateResult && typeof (this.videoMindMappingGenerateResult as any).validate === 'function') {
|
|
4687
4886
|
(this.videoMindMappingGenerateResult as any).validate();
|
|
4688
4887
|
}
|
|
@@ -4863,6 +5062,35 @@ export class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model
|
|
|
4863
5062
|
}
|
|
4864
5063
|
}
|
|
4865
5064
|
|
|
5065
|
+
export class SubmitVideoAnalysisTaskRequestTextProcessTasks extends $dara.Model {
|
|
5066
|
+
modelCustomPromptTemplate?: string;
|
|
5067
|
+
modelCustomPromptTemplateId?: string;
|
|
5068
|
+
modelId?: string;
|
|
5069
|
+
static names(): { [key: string]: string } {
|
|
5070
|
+
return {
|
|
5071
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
5072
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
5073
|
+
modelId: 'modelId',
|
|
5074
|
+
};
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
static types(): { [key: string]: any } {
|
|
5078
|
+
return {
|
|
5079
|
+
modelCustomPromptTemplate: 'string',
|
|
5080
|
+
modelCustomPromptTemplateId: 'string',
|
|
5081
|
+
modelId: 'string',
|
|
5082
|
+
};
|
|
5083
|
+
}
|
|
5084
|
+
|
|
5085
|
+
validate() {
|
|
5086
|
+
super.validate();
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
constructor(map?: { [key: string]: any }) {
|
|
5090
|
+
super(map);
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5093
|
+
|
|
4866
5094
|
export class SubmitVideoAnalysisTaskRequestVideoRoles extends $dara.Model {
|
|
4867
5095
|
roleInfo?: string;
|
|
4868
5096
|
roleName?: string;
|
|
@@ -7523,6 +7751,7 @@ export class RunTagMiningAnalysisResponse extends $dara.Model {
|
|
|
7523
7751
|
}
|
|
7524
7752
|
|
|
7525
7753
|
export class RunVideoAnalysisRequest extends $dara.Model {
|
|
7754
|
+
faceIdentitySimilarityMinScore?: number;
|
|
7526
7755
|
frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
|
|
7527
7756
|
generateOptions?: string[];
|
|
7528
7757
|
/**
|
|
@@ -7552,6 +7781,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7552
7781
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
7553
7782
|
*/
|
|
7554
7783
|
taskId?: string;
|
|
7784
|
+
textProcessTasks?: RunVideoAnalysisRequestTextProcessTasks[];
|
|
7555
7785
|
videoExtraInfo?: string;
|
|
7556
7786
|
videoModelCustomPromptTemplate?: string;
|
|
7557
7787
|
/**
|
|
@@ -7560,6 +7790,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7560
7790
|
*/
|
|
7561
7791
|
videoModelId?: string;
|
|
7562
7792
|
videoRoles?: RunVideoAnalysisRequestVideoRoles[];
|
|
7793
|
+
videoShotFaceIdentityCount?: number;
|
|
7563
7794
|
/**
|
|
7564
7795
|
* @example
|
|
7565
7796
|
* http://xxxx.mp4
|
|
@@ -7567,6 +7798,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7567
7798
|
videoUrl?: string;
|
|
7568
7799
|
static names(): { [key: string]: string } {
|
|
7569
7800
|
return {
|
|
7801
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
7570
7802
|
frameSampleMethod: 'frameSampleMethod',
|
|
7571
7803
|
generateOptions: 'generateOptions',
|
|
7572
7804
|
language: 'language',
|
|
@@ -7576,16 +7808,19 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7576
7808
|
originalSessionId: 'originalSessionId',
|
|
7577
7809
|
snapshotInterval: 'snapshotInterval',
|
|
7578
7810
|
taskId: 'taskId',
|
|
7811
|
+
textProcessTasks: 'textProcessTasks',
|
|
7579
7812
|
videoExtraInfo: 'videoExtraInfo',
|
|
7580
7813
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
7581
7814
|
videoModelId: 'videoModelId',
|
|
7582
7815
|
videoRoles: 'videoRoles',
|
|
7816
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
7583
7817
|
videoUrl: 'videoUrl',
|
|
7584
7818
|
};
|
|
7585
7819
|
}
|
|
7586
7820
|
|
|
7587
7821
|
static types(): { [key: string]: any } {
|
|
7588
7822
|
return {
|
|
7823
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
7589
7824
|
frameSampleMethod: RunVideoAnalysisRequestFrameSampleMethod,
|
|
7590
7825
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
7591
7826
|
language: 'string',
|
|
@@ -7595,10 +7830,12 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7595
7830
|
originalSessionId: 'string',
|
|
7596
7831
|
snapshotInterval: 'number',
|
|
7597
7832
|
taskId: 'string',
|
|
7833
|
+
textProcessTasks: { 'type': 'array', 'itemType': RunVideoAnalysisRequestTextProcessTasks },
|
|
7598
7834
|
videoExtraInfo: 'string',
|
|
7599
7835
|
videoModelCustomPromptTemplate: 'string',
|
|
7600
7836
|
videoModelId: 'string',
|
|
7601
7837
|
videoRoles: { 'type': 'array', 'itemType': RunVideoAnalysisRequestVideoRoles },
|
|
7838
|
+
videoShotFaceIdentityCount: 'number',
|
|
7602
7839
|
videoUrl: 'string',
|
|
7603
7840
|
};
|
|
7604
7841
|
}
|
|
@@ -7610,6 +7847,9 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7610
7847
|
if(Array.isArray(this.generateOptions)) {
|
|
7611
7848
|
$dara.Model.validateArray(this.generateOptions);
|
|
7612
7849
|
}
|
|
7850
|
+
if(Array.isArray(this.textProcessTasks)) {
|
|
7851
|
+
$dara.Model.validateArray(this.textProcessTasks);
|
|
7852
|
+
}
|
|
7613
7853
|
if(Array.isArray(this.videoRoles)) {
|
|
7614
7854
|
$dara.Model.validateArray(this.videoRoles);
|
|
7615
7855
|
}
|
|
@@ -7622,6 +7862,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7622
7862
|
}
|
|
7623
7863
|
|
|
7624
7864
|
export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
7865
|
+
faceIdentitySimilarityMinScore?: number;
|
|
7625
7866
|
frameSampleMethodShrink?: string;
|
|
7626
7867
|
generateOptionsShrink?: string;
|
|
7627
7868
|
/**
|
|
@@ -7651,6 +7892,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7651
7892
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
7652
7893
|
*/
|
|
7653
7894
|
taskId?: string;
|
|
7895
|
+
textProcessTasksShrink?: string;
|
|
7654
7896
|
videoExtraInfo?: string;
|
|
7655
7897
|
videoModelCustomPromptTemplate?: string;
|
|
7656
7898
|
/**
|
|
@@ -7659,6 +7901,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7659
7901
|
*/
|
|
7660
7902
|
videoModelId?: string;
|
|
7661
7903
|
videoRolesShrink?: string;
|
|
7904
|
+
videoShotFaceIdentityCount?: number;
|
|
7662
7905
|
/**
|
|
7663
7906
|
* @example
|
|
7664
7907
|
* http://xxxx.mp4
|
|
@@ -7666,6 +7909,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7666
7909
|
videoUrl?: string;
|
|
7667
7910
|
static names(): { [key: string]: string } {
|
|
7668
7911
|
return {
|
|
7912
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
7669
7913
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
7670
7914
|
generateOptionsShrink: 'generateOptions',
|
|
7671
7915
|
language: 'language',
|
|
@@ -7675,16 +7919,19 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7675
7919
|
originalSessionId: 'originalSessionId',
|
|
7676
7920
|
snapshotInterval: 'snapshotInterval',
|
|
7677
7921
|
taskId: 'taskId',
|
|
7922
|
+
textProcessTasksShrink: 'textProcessTasks',
|
|
7678
7923
|
videoExtraInfo: 'videoExtraInfo',
|
|
7679
7924
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
7680
7925
|
videoModelId: 'videoModelId',
|
|
7681
7926
|
videoRolesShrink: 'videoRoles',
|
|
7927
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
7682
7928
|
videoUrl: 'videoUrl',
|
|
7683
7929
|
};
|
|
7684
7930
|
}
|
|
7685
7931
|
|
|
7686
7932
|
static types(): { [key: string]: any } {
|
|
7687
7933
|
return {
|
|
7934
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
7688
7935
|
frameSampleMethodShrink: 'string',
|
|
7689
7936
|
generateOptionsShrink: 'string',
|
|
7690
7937
|
language: 'string',
|
|
@@ -7694,10 +7941,12 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7694
7941
|
originalSessionId: 'string',
|
|
7695
7942
|
snapshotInterval: 'number',
|
|
7696
7943
|
taskId: 'string',
|
|
7944
|
+
textProcessTasksShrink: 'string',
|
|
7697
7945
|
videoExtraInfo: 'string',
|
|
7698
7946
|
videoModelCustomPromptTemplate: 'string',
|
|
7699
7947
|
videoModelId: 'string',
|
|
7700
7948
|
videoRolesShrink: 'string',
|
|
7949
|
+
videoShotFaceIdentityCount: 'number',
|
|
7701
7950
|
videoUrl: 'string',
|
|
7702
7951
|
};
|
|
7703
7952
|
}
|
|
@@ -8027,6 +8276,7 @@ export class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
|
8027
8276
|
}
|
|
8028
8277
|
|
|
8029
8278
|
export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
8279
|
+
faceIdentitySimilarityMinScore?: number;
|
|
8030
8280
|
frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
|
|
8031
8281
|
generateOptions?: string[];
|
|
8032
8282
|
/**
|
|
@@ -8050,6 +8300,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8050
8300
|
* 2
|
|
8051
8301
|
*/
|
|
8052
8302
|
snapshotInterval?: number;
|
|
8303
|
+
textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
|
|
8053
8304
|
videoExtraInfo?: string;
|
|
8054
8305
|
videoModelCustomPromptTemplate?: string;
|
|
8055
8306
|
/**
|
|
@@ -8058,6 +8309,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8058
8309
|
*/
|
|
8059
8310
|
videoModelId?: string;
|
|
8060
8311
|
videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
|
|
8312
|
+
videoShotFaceIdentityCount?: number;
|
|
8061
8313
|
/**
|
|
8062
8314
|
* @remarks
|
|
8063
8315
|
* This parameter is required.
|
|
@@ -8068,6 +8320,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8068
8320
|
videoUrl?: string;
|
|
8069
8321
|
static names(): { [key: string]: string } {
|
|
8070
8322
|
return {
|
|
8323
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
8071
8324
|
frameSampleMethod: 'frameSampleMethod',
|
|
8072
8325
|
generateOptions: 'generateOptions',
|
|
8073
8326
|
language: 'language',
|
|
@@ -8075,16 +8328,19 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8075
8328
|
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
8076
8329
|
modelId: 'modelId',
|
|
8077
8330
|
snapshotInterval: 'snapshotInterval',
|
|
8331
|
+
textProcessTasks: 'textProcessTasks',
|
|
8078
8332
|
videoExtraInfo: 'videoExtraInfo',
|
|
8079
8333
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
8080
8334
|
videoModelId: 'videoModelId',
|
|
8081
8335
|
videoRoles: 'videoRoles',
|
|
8336
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
8082
8337
|
videoUrl: 'videoUrl',
|
|
8083
8338
|
};
|
|
8084
8339
|
}
|
|
8085
8340
|
|
|
8086
8341
|
static types(): { [key: string]: any } {
|
|
8087
8342
|
return {
|
|
8343
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
8088
8344
|
frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
|
|
8089
8345
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
8090
8346
|
language: 'string',
|
|
@@ -8092,10 +8348,12 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8092
8348
|
modelCustomPromptTemplateId: 'string',
|
|
8093
8349
|
modelId: 'string',
|
|
8094
8350
|
snapshotInterval: 'number',
|
|
8351
|
+
textProcessTasks: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestTextProcessTasks },
|
|
8095
8352
|
videoExtraInfo: 'string',
|
|
8096
8353
|
videoModelCustomPromptTemplate: 'string',
|
|
8097
8354
|
videoModelId: 'string',
|
|
8098
8355
|
videoRoles: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestVideoRoles },
|
|
8356
|
+
videoShotFaceIdentityCount: 'number',
|
|
8099
8357
|
videoUrl: 'string',
|
|
8100
8358
|
};
|
|
8101
8359
|
}
|
|
@@ -8107,6 +8365,9 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8107
8365
|
if(Array.isArray(this.generateOptions)) {
|
|
8108
8366
|
$dara.Model.validateArray(this.generateOptions);
|
|
8109
8367
|
}
|
|
8368
|
+
if(Array.isArray(this.textProcessTasks)) {
|
|
8369
|
+
$dara.Model.validateArray(this.textProcessTasks);
|
|
8370
|
+
}
|
|
8110
8371
|
if(Array.isArray(this.videoRoles)) {
|
|
8111
8372
|
$dara.Model.validateArray(this.videoRoles);
|
|
8112
8373
|
}
|
|
@@ -8119,6 +8380,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8119
8380
|
}
|
|
8120
8381
|
|
|
8121
8382
|
export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
8383
|
+
faceIdentitySimilarityMinScore?: number;
|
|
8122
8384
|
frameSampleMethodShrink?: string;
|
|
8123
8385
|
generateOptionsShrink?: string;
|
|
8124
8386
|
/**
|
|
@@ -8142,6 +8404,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8142
8404
|
* 2
|
|
8143
8405
|
*/
|
|
8144
8406
|
snapshotInterval?: number;
|
|
8407
|
+
textProcessTasksShrink?: string;
|
|
8145
8408
|
videoExtraInfo?: string;
|
|
8146
8409
|
videoModelCustomPromptTemplate?: string;
|
|
8147
8410
|
/**
|
|
@@ -8150,6 +8413,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8150
8413
|
*/
|
|
8151
8414
|
videoModelId?: string;
|
|
8152
8415
|
videoRolesShrink?: string;
|
|
8416
|
+
videoShotFaceIdentityCount?: number;
|
|
8153
8417
|
/**
|
|
8154
8418
|
* @remarks
|
|
8155
8419
|
* This parameter is required.
|
|
@@ -8160,6 +8424,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8160
8424
|
videoUrl?: string;
|
|
8161
8425
|
static names(): { [key: string]: string } {
|
|
8162
8426
|
return {
|
|
8427
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
8163
8428
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
8164
8429
|
generateOptionsShrink: 'generateOptions',
|
|
8165
8430
|
language: 'language',
|
|
@@ -8167,16 +8432,19 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8167
8432
|
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
8168
8433
|
modelId: 'modelId',
|
|
8169
8434
|
snapshotInterval: 'snapshotInterval',
|
|
8435
|
+
textProcessTasksShrink: 'textProcessTasks',
|
|
8170
8436
|
videoExtraInfo: 'videoExtraInfo',
|
|
8171
8437
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
8172
8438
|
videoModelId: 'videoModelId',
|
|
8173
8439
|
videoRolesShrink: 'videoRoles',
|
|
8440
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
8174
8441
|
videoUrl: 'videoUrl',
|
|
8175
8442
|
};
|
|
8176
8443
|
}
|
|
8177
8444
|
|
|
8178
8445
|
static types(): { [key: string]: any } {
|
|
8179
8446
|
return {
|
|
8447
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
8180
8448
|
frameSampleMethodShrink: 'string',
|
|
8181
8449
|
generateOptionsShrink: 'string',
|
|
8182
8450
|
language: 'string',
|
|
@@ -8184,10 +8452,12 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8184
8452
|
modelCustomPromptTemplateId: 'string',
|
|
8185
8453
|
modelId: 'string',
|
|
8186
8454
|
snapshotInterval: 'number',
|
|
8455
|
+
textProcessTasksShrink: 'string',
|
|
8187
8456
|
videoExtraInfo: 'string',
|
|
8188
8457
|
videoModelCustomPromptTemplate: 'string',
|
|
8189
8458
|
videoModelId: 'string',
|
|
8190
8459
|
videoRolesShrink: 'string',
|
|
8460
|
+
videoShotFaceIdentityCount: 'number',
|
|
8191
8461
|
videoUrl: 'string',
|
|
8192
8462
|
};
|
|
8193
8463
|
}
|
|
@@ -9589,11 +9859,19 @@ export default class Client extends OpenApi {
|
|
|
9589
9859
|
request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
|
|
9590
9860
|
}
|
|
9591
9861
|
|
|
9862
|
+
if (!$dara.isNull(tmpReq.textProcessTasks)) {
|
|
9863
|
+
request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
|
|
9864
|
+
}
|
|
9865
|
+
|
|
9592
9866
|
if (!$dara.isNull(tmpReq.videoRoles)) {
|
|
9593
9867
|
request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
9594
9868
|
}
|
|
9595
9869
|
|
|
9596
9870
|
let body : {[key: string ]: any} = { };
|
|
9871
|
+
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
9872
|
+
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
9873
|
+
}
|
|
9874
|
+
|
|
9597
9875
|
if (!$dara.isNull(request.frameSampleMethodShrink)) {
|
|
9598
9876
|
body["frameSampleMethod"] = request.frameSampleMethodShrink;
|
|
9599
9877
|
}
|
|
@@ -9630,6 +9908,10 @@ export default class Client extends OpenApi {
|
|
|
9630
9908
|
body["taskId"] = request.taskId;
|
|
9631
9909
|
}
|
|
9632
9910
|
|
|
9911
|
+
if (!$dara.isNull(request.textProcessTasksShrink)) {
|
|
9912
|
+
body["textProcessTasks"] = request.textProcessTasksShrink;
|
|
9913
|
+
}
|
|
9914
|
+
|
|
9633
9915
|
if (!$dara.isNull(request.videoExtraInfo)) {
|
|
9634
9916
|
body["videoExtraInfo"] = request.videoExtraInfo;
|
|
9635
9917
|
}
|
|
@@ -9646,6 +9928,10 @@ export default class Client extends OpenApi {
|
|
|
9646
9928
|
body["videoRoles"] = request.videoRolesShrink;
|
|
9647
9929
|
}
|
|
9648
9930
|
|
|
9931
|
+
if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
|
|
9932
|
+
body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
|
|
9933
|
+
}
|
|
9934
|
+
|
|
9649
9935
|
if (!$dara.isNull(request.videoUrl)) {
|
|
9650
9936
|
body["videoUrl"] = request.videoUrl;
|
|
9651
9937
|
}
|
|
@@ -9793,11 +10079,19 @@ export default class Client extends OpenApi {
|
|
|
9793
10079
|
request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
|
|
9794
10080
|
}
|
|
9795
10081
|
|
|
10082
|
+
if (!$dara.isNull(tmpReq.textProcessTasks)) {
|
|
10083
|
+
request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
|
|
10084
|
+
}
|
|
10085
|
+
|
|
9796
10086
|
if (!$dara.isNull(tmpReq.videoRoles)) {
|
|
9797
10087
|
request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
9798
10088
|
}
|
|
9799
10089
|
|
|
9800
10090
|
let body : {[key: string ]: any} = { };
|
|
10091
|
+
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
10092
|
+
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
10093
|
+
}
|
|
10094
|
+
|
|
9801
10095
|
if (!$dara.isNull(request.frameSampleMethodShrink)) {
|
|
9802
10096
|
body["frameSampleMethod"] = request.frameSampleMethodShrink;
|
|
9803
10097
|
}
|
|
@@ -9826,6 +10120,10 @@ export default class Client extends OpenApi {
|
|
|
9826
10120
|
body["snapshotInterval"] = request.snapshotInterval;
|
|
9827
10121
|
}
|
|
9828
10122
|
|
|
10123
|
+
if (!$dara.isNull(request.textProcessTasksShrink)) {
|
|
10124
|
+
body["textProcessTasks"] = request.textProcessTasksShrink;
|
|
10125
|
+
}
|
|
10126
|
+
|
|
9829
10127
|
if (!$dara.isNull(request.videoExtraInfo)) {
|
|
9830
10128
|
body["videoExtraInfo"] = request.videoExtraInfo;
|
|
9831
10129
|
}
|
|
@@ -9842,6 +10140,10 @@ export default class Client extends OpenApi {
|
|
|
9842
10140
|
body["videoRoles"] = request.videoRolesShrink;
|
|
9843
10141
|
}
|
|
9844
10142
|
|
|
10143
|
+
if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
|
|
10144
|
+
body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
|
|
10145
|
+
}
|
|
10146
|
+
|
|
9845
10147
|
if (!$dara.isNull(request.videoUrl)) {
|
|
9846
10148
|
body["videoUrl"] = request.videoUrl;
|
|
9847
10149
|
}
|