@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/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
|
}
|
|
@@ -2081,9 +2169,6 @@ export class RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig extends $d
|
|
|
2081
2169
|
*/
|
|
2082
2170
|
summaryImageCount?: number;
|
|
2083
2171
|
/**
|
|
2084
|
-
* @remarks
|
|
2085
|
-
* This parameter is required.
|
|
2086
|
-
*
|
|
2087
2172
|
* @example
|
|
2088
2173
|
* qwen-max
|
|
2089
2174
|
*/
|
|
@@ -3890,6 +3975,35 @@ export class RunVideoAnalysisRequestFrameSampleMethod extends $dara.Model {
|
|
|
3890
3975
|
}
|
|
3891
3976
|
}
|
|
3892
3977
|
|
|
3978
|
+
export class RunVideoAnalysisRequestTextProcessTasks extends $dara.Model {
|
|
3979
|
+
modelCustomPromptTemplate?: string;
|
|
3980
|
+
modelCustomPromptTemplateId?: string;
|
|
3981
|
+
modelId?: string;
|
|
3982
|
+
static names(): { [key: string]: string } {
|
|
3983
|
+
return {
|
|
3984
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
3985
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
3986
|
+
modelId: 'modelId',
|
|
3987
|
+
};
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
static types(): { [key: string]: any } {
|
|
3991
|
+
return {
|
|
3992
|
+
modelCustomPromptTemplate: 'string',
|
|
3993
|
+
modelCustomPromptTemplateId: 'string',
|
|
3994
|
+
modelId: 'string',
|
|
3995
|
+
};
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3998
|
+
validate() {
|
|
3999
|
+
super.validate();
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
constructor(map?: { [key: string]: any }) {
|
|
4003
|
+
super(map);
|
|
4004
|
+
}
|
|
4005
|
+
}
|
|
4006
|
+
|
|
3893
4007
|
export class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
|
|
3894
4008
|
roleInfo?: string;
|
|
3895
4009
|
roleName?: string;
|
|
@@ -4249,19 +4363,23 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4249
4363
|
* true
|
|
4250
4364
|
*/
|
|
4251
4365
|
generateFinished?: boolean;
|
|
4366
|
+
index?: number;
|
|
4252
4367
|
/**
|
|
4253
4368
|
* @example
|
|
4254
4369
|
* qwen-max
|
|
4255
4370
|
*/
|
|
4256
4371
|
modelId?: string;
|
|
4257
4372
|
modelReduce?: boolean;
|
|
4373
|
+
reasonText?: string;
|
|
4258
4374
|
text?: string;
|
|
4259
4375
|
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage;
|
|
4260
4376
|
static names(): { [key: string]: string } {
|
|
4261
4377
|
return {
|
|
4262
4378
|
generateFinished: 'generateFinished',
|
|
4379
|
+
index: 'index',
|
|
4263
4380
|
modelId: 'modelId',
|
|
4264
4381
|
modelReduce: 'modelReduce',
|
|
4382
|
+
reasonText: 'reasonText',
|
|
4265
4383
|
text: 'text',
|
|
4266
4384
|
usage: 'usage',
|
|
4267
4385
|
};
|
|
@@ -4270,8 +4388,10 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4270
4388
|
static types(): { [key: string]: any } {
|
|
4271
4389
|
return {
|
|
4272
4390
|
generateFinished: 'boolean',
|
|
4391
|
+
index: 'number',
|
|
4273
4392
|
modelId: 'string',
|
|
4274
4393
|
modelReduce: 'boolean',
|
|
4394
|
+
reasonText: 'string',
|
|
4275
4395
|
text: 'string',
|
|
4276
4396
|
usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage,
|
|
4277
4397
|
};
|
|
@@ -4289,6 +4409,76 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
|
|
|
4289
4409
|
}
|
|
4290
4410
|
}
|
|
4291
4411
|
|
|
4412
|
+
export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
|
|
4413
|
+
inputTokens?: number;
|
|
4414
|
+
outputTokens?: number;
|
|
4415
|
+
totalTokens?: number;
|
|
4416
|
+
static names(): { [key: string]: string } {
|
|
4417
|
+
return {
|
|
4418
|
+
inputTokens: 'inputTokens',
|
|
4419
|
+
outputTokens: 'outputTokens',
|
|
4420
|
+
totalTokens: 'totalTokens',
|
|
4421
|
+
};
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
static types(): { [key: string]: any } {
|
|
4425
|
+
return {
|
|
4426
|
+
inputTokens: 'number',
|
|
4427
|
+
outputTokens: 'number',
|
|
4428
|
+
totalTokens: 'number',
|
|
4429
|
+
};
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
validate() {
|
|
4433
|
+
super.validate();
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
constructor(map?: { [key: string]: any }) {
|
|
4437
|
+
super(map);
|
|
4438
|
+
}
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults extends $dara.Model {
|
|
4442
|
+
generateFinished?: boolean;
|
|
4443
|
+
index?: number;
|
|
4444
|
+
modelId?: string;
|
|
4445
|
+
reasonText?: string;
|
|
4446
|
+
text?: string;
|
|
4447
|
+
usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage;
|
|
4448
|
+
static names(): { [key: string]: string } {
|
|
4449
|
+
return {
|
|
4450
|
+
generateFinished: 'generateFinished',
|
|
4451
|
+
index: 'index',
|
|
4452
|
+
modelId: 'modelId',
|
|
4453
|
+
reasonText: 'reasonText',
|
|
4454
|
+
text: 'text',
|
|
4455
|
+
usage: 'usage',
|
|
4456
|
+
};
|
|
4457
|
+
}
|
|
4458
|
+
|
|
4459
|
+
static types(): { [key: string]: any } {
|
|
4460
|
+
return {
|
|
4461
|
+
generateFinished: 'boolean',
|
|
4462
|
+
index: 'number',
|
|
4463
|
+
modelId: 'string',
|
|
4464
|
+
reasonText: 'string',
|
|
4465
|
+
text: 'string',
|
|
4466
|
+
usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage,
|
|
4467
|
+
};
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
validate() {
|
|
4471
|
+
if(this.usage && typeof (this.usage as any).validate === 'function') {
|
|
4472
|
+
(this.usage as any).validate();
|
|
4473
|
+
}
|
|
4474
|
+
super.validate();
|
|
4475
|
+
}
|
|
4476
|
+
|
|
4477
|
+
constructor(map?: { [key: string]: any }) {
|
|
4478
|
+
super(map);
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
|
|
4292
4482
|
export class RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
|
|
4293
4483
|
/**
|
|
4294
4484
|
* @example
|
|
@@ -4646,6 +4836,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4646
4836
|
videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
|
|
4647
4837
|
videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
|
|
4648
4838
|
videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
|
|
4839
|
+
videoGenerateResults?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults[];
|
|
4649
4840
|
videoMindMappingGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult;
|
|
4650
4841
|
videoShotSnapshotResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult;
|
|
4651
4842
|
videoTitleGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult;
|
|
@@ -4655,6 +4846,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4655
4846
|
videoAnalysisResult: 'videoAnalysisResult',
|
|
4656
4847
|
videoCaptionResult: 'videoCaptionResult',
|
|
4657
4848
|
videoGenerateResult: 'videoGenerateResult',
|
|
4849
|
+
videoGenerateResults: 'videoGenerateResults',
|
|
4658
4850
|
videoMindMappingGenerateResult: 'videoMindMappingGenerateResult',
|
|
4659
4851
|
videoShotSnapshotResult: 'videoShotSnapshotResult',
|
|
4660
4852
|
videoTitleGenerateResult: 'videoTitleGenerateResult',
|
|
@@ -4667,6 +4859,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4667
4859
|
videoAnalysisResult: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult,
|
|
4668
4860
|
videoCaptionResult: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult,
|
|
4669
4861
|
videoGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult,
|
|
4862
|
+
videoGenerateResults: { 'type': 'array', 'itemType': RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults },
|
|
4670
4863
|
videoMindMappingGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult,
|
|
4671
4864
|
videoShotSnapshotResult: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult,
|
|
4672
4865
|
videoTitleGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult,
|
|
@@ -4683,6 +4876,9 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
|
4683
4876
|
if(this.videoGenerateResult && typeof (this.videoGenerateResult as any).validate === 'function') {
|
|
4684
4877
|
(this.videoGenerateResult as any).validate();
|
|
4685
4878
|
}
|
|
4879
|
+
if(Array.isArray(this.videoGenerateResults)) {
|
|
4880
|
+
$dara.Model.validateArray(this.videoGenerateResults);
|
|
4881
|
+
}
|
|
4686
4882
|
if(this.videoMindMappingGenerateResult && typeof (this.videoMindMappingGenerateResult as any).validate === 'function') {
|
|
4687
4883
|
(this.videoMindMappingGenerateResult as any).validate();
|
|
4688
4884
|
}
|
|
@@ -4863,6 +5059,35 @@ export class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model
|
|
|
4863
5059
|
}
|
|
4864
5060
|
}
|
|
4865
5061
|
|
|
5062
|
+
export class SubmitVideoAnalysisTaskRequestTextProcessTasks extends $dara.Model {
|
|
5063
|
+
modelCustomPromptTemplate?: string;
|
|
5064
|
+
modelCustomPromptTemplateId?: string;
|
|
5065
|
+
modelId?: string;
|
|
5066
|
+
static names(): { [key: string]: string } {
|
|
5067
|
+
return {
|
|
5068
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
5069
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
5070
|
+
modelId: 'modelId',
|
|
5071
|
+
};
|
|
5072
|
+
}
|
|
5073
|
+
|
|
5074
|
+
static types(): { [key: string]: any } {
|
|
5075
|
+
return {
|
|
5076
|
+
modelCustomPromptTemplate: 'string',
|
|
5077
|
+
modelCustomPromptTemplateId: 'string',
|
|
5078
|
+
modelId: 'string',
|
|
5079
|
+
};
|
|
5080
|
+
}
|
|
5081
|
+
|
|
5082
|
+
validate() {
|
|
5083
|
+
super.validate();
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
constructor(map?: { [key: string]: any }) {
|
|
5087
|
+
super(map);
|
|
5088
|
+
}
|
|
5089
|
+
}
|
|
5090
|
+
|
|
4866
5091
|
export class SubmitVideoAnalysisTaskRequestVideoRoles extends $dara.Model {
|
|
4867
5092
|
roleInfo?: string;
|
|
4868
5093
|
roleName?: string;
|
|
@@ -7523,6 +7748,7 @@ export class RunTagMiningAnalysisResponse extends $dara.Model {
|
|
|
7523
7748
|
}
|
|
7524
7749
|
|
|
7525
7750
|
export class RunVideoAnalysisRequest extends $dara.Model {
|
|
7751
|
+
faceIdentitySimilarityMinScore?: number;
|
|
7526
7752
|
frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
|
|
7527
7753
|
generateOptions?: string[];
|
|
7528
7754
|
/**
|
|
@@ -7552,6 +7778,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7552
7778
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
7553
7779
|
*/
|
|
7554
7780
|
taskId?: string;
|
|
7781
|
+
textProcessTasks?: RunVideoAnalysisRequestTextProcessTasks[];
|
|
7555
7782
|
videoExtraInfo?: string;
|
|
7556
7783
|
videoModelCustomPromptTemplate?: string;
|
|
7557
7784
|
/**
|
|
@@ -7560,6 +7787,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7560
7787
|
*/
|
|
7561
7788
|
videoModelId?: string;
|
|
7562
7789
|
videoRoles?: RunVideoAnalysisRequestVideoRoles[];
|
|
7790
|
+
videoShotFaceIdentityCount?: number;
|
|
7563
7791
|
/**
|
|
7564
7792
|
* @example
|
|
7565
7793
|
* http://xxxx.mp4
|
|
@@ -7567,6 +7795,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7567
7795
|
videoUrl?: string;
|
|
7568
7796
|
static names(): { [key: string]: string } {
|
|
7569
7797
|
return {
|
|
7798
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
7570
7799
|
frameSampleMethod: 'frameSampleMethod',
|
|
7571
7800
|
generateOptions: 'generateOptions',
|
|
7572
7801
|
language: 'language',
|
|
@@ -7576,16 +7805,19 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7576
7805
|
originalSessionId: 'originalSessionId',
|
|
7577
7806
|
snapshotInterval: 'snapshotInterval',
|
|
7578
7807
|
taskId: 'taskId',
|
|
7808
|
+
textProcessTasks: 'textProcessTasks',
|
|
7579
7809
|
videoExtraInfo: 'videoExtraInfo',
|
|
7580
7810
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
7581
7811
|
videoModelId: 'videoModelId',
|
|
7582
7812
|
videoRoles: 'videoRoles',
|
|
7813
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
7583
7814
|
videoUrl: 'videoUrl',
|
|
7584
7815
|
};
|
|
7585
7816
|
}
|
|
7586
7817
|
|
|
7587
7818
|
static types(): { [key: string]: any } {
|
|
7588
7819
|
return {
|
|
7820
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
7589
7821
|
frameSampleMethod: RunVideoAnalysisRequestFrameSampleMethod,
|
|
7590
7822
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
7591
7823
|
language: 'string',
|
|
@@ -7595,10 +7827,12 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7595
7827
|
originalSessionId: 'string',
|
|
7596
7828
|
snapshotInterval: 'number',
|
|
7597
7829
|
taskId: 'string',
|
|
7830
|
+
textProcessTasks: { 'type': 'array', 'itemType': RunVideoAnalysisRequestTextProcessTasks },
|
|
7598
7831
|
videoExtraInfo: 'string',
|
|
7599
7832
|
videoModelCustomPromptTemplate: 'string',
|
|
7600
7833
|
videoModelId: 'string',
|
|
7601
7834
|
videoRoles: { 'type': 'array', 'itemType': RunVideoAnalysisRequestVideoRoles },
|
|
7835
|
+
videoShotFaceIdentityCount: 'number',
|
|
7602
7836
|
videoUrl: 'string',
|
|
7603
7837
|
};
|
|
7604
7838
|
}
|
|
@@ -7610,6 +7844,9 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7610
7844
|
if(Array.isArray(this.generateOptions)) {
|
|
7611
7845
|
$dara.Model.validateArray(this.generateOptions);
|
|
7612
7846
|
}
|
|
7847
|
+
if(Array.isArray(this.textProcessTasks)) {
|
|
7848
|
+
$dara.Model.validateArray(this.textProcessTasks);
|
|
7849
|
+
}
|
|
7613
7850
|
if(Array.isArray(this.videoRoles)) {
|
|
7614
7851
|
$dara.Model.validateArray(this.videoRoles);
|
|
7615
7852
|
}
|
|
@@ -7622,6 +7859,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
7622
7859
|
}
|
|
7623
7860
|
|
|
7624
7861
|
export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
7862
|
+
faceIdentitySimilarityMinScore?: number;
|
|
7625
7863
|
frameSampleMethodShrink?: string;
|
|
7626
7864
|
generateOptionsShrink?: string;
|
|
7627
7865
|
/**
|
|
@@ -7651,6 +7889,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7651
7889
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
7652
7890
|
*/
|
|
7653
7891
|
taskId?: string;
|
|
7892
|
+
textProcessTasksShrink?: string;
|
|
7654
7893
|
videoExtraInfo?: string;
|
|
7655
7894
|
videoModelCustomPromptTemplate?: string;
|
|
7656
7895
|
/**
|
|
@@ -7659,6 +7898,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7659
7898
|
*/
|
|
7660
7899
|
videoModelId?: string;
|
|
7661
7900
|
videoRolesShrink?: string;
|
|
7901
|
+
videoShotFaceIdentityCount?: number;
|
|
7662
7902
|
/**
|
|
7663
7903
|
* @example
|
|
7664
7904
|
* http://xxxx.mp4
|
|
@@ -7666,6 +7906,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7666
7906
|
videoUrl?: string;
|
|
7667
7907
|
static names(): { [key: string]: string } {
|
|
7668
7908
|
return {
|
|
7909
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
7669
7910
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
7670
7911
|
generateOptionsShrink: 'generateOptions',
|
|
7671
7912
|
language: 'language',
|
|
@@ -7675,16 +7916,19 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7675
7916
|
originalSessionId: 'originalSessionId',
|
|
7676
7917
|
snapshotInterval: 'snapshotInterval',
|
|
7677
7918
|
taskId: 'taskId',
|
|
7919
|
+
textProcessTasksShrink: 'textProcessTasks',
|
|
7678
7920
|
videoExtraInfo: 'videoExtraInfo',
|
|
7679
7921
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
7680
7922
|
videoModelId: 'videoModelId',
|
|
7681
7923
|
videoRolesShrink: 'videoRoles',
|
|
7924
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
7682
7925
|
videoUrl: 'videoUrl',
|
|
7683
7926
|
};
|
|
7684
7927
|
}
|
|
7685
7928
|
|
|
7686
7929
|
static types(): { [key: string]: any } {
|
|
7687
7930
|
return {
|
|
7931
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
7688
7932
|
frameSampleMethodShrink: 'string',
|
|
7689
7933
|
generateOptionsShrink: 'string',
|
|
7690
7934
|
language: 'string',
|
|
@@ -7694,10 +7938,12 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
7694
7938
|
originalSessionId: 'string',
|
|
7695
7939
|
snapshotInterval: 'number',
|
|
7696
7940
|
taskId: 'string',
|
|
7941
|
+
textProcessTasksShrink: 'string',
|
|
7697
7942
|
videoExtraInfo: 'string',
|
|
7698
7943
|
videoModelCustomPromptTemplate: 'string',
|
|
7699
7944
|
videoModelId: 'string',
|
|
7700
7945
|
videoRolesShrink: 'string',
|
|
7946
|
+
videoShotFaceIdentityCount: 'number',
|
|
7701
7947
|
videoUrl: 'string',
|
|
7702
7948
|
};
|
|
7703
7949
|
}
|
|
@@ -8027,6 +8273,7 @@ export class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
|
8027
8273
|
}
|
|
8028
8274
|
|
|
8029
8275
|
export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
8276
|
+
faceIdentitySimilarityMinScore?: number;
|
|
8030
8277
|
frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
|
|
8031
8278
|
generateOptions?: string[];
|
|
8032
8279
|
/**
|
|
@@ -8050,6 +8297,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8050
8297
|
* 2
|
|
8051
8298
|
*/
|
|
8052
8299
|
snapshotInterval?: number;
|
|
8300
|
+
textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
|
|
8053
8301
|
videoExtraInfo?: string;
|
|
8054
8302
|
videoModelCustomPromptTemplate?: string;
|
|
8055
8303
|
/**
|
|
@@ -8058,6 +8306,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8058
8306
|
*/
|
|
8059
8307
|
videoModelId?: string;
|
|
8060
8308
|
videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
|
|
8309
|
+
videoShotFaceIdentityCount?: number;
|
|
8061
8310
|
/**
|
|
8062
8311
|
* @remarks
|
|
8063
8312
|
* This parameter is required.
|
|
@@ -8068,6 +8317,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8068
8317
|
videoUrl?: string;
|
|
8069
8318
|
static names(): { [key: string]: string } {
|
|
8070
8319
|
return {
|
|
8320
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
8071
8321
|
frameSampleMethod: 'frameSampleMethod',
|
|
8072
8322
|
generateOptions: 'generateOptions',
|
|
8073
8323
|
language: 'language',
|
|
@@ -8075,16 +8325,19 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8075
8325
|
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
8076
8326
|
modelId: 'modelId',
|
|
8077
8327
|
snapshotInterval: 'snapshotInterval',
|
|
8328
|
+
textProcessTasks: 'textProcessTasks',
|
|
8078
8329
|
videoExtraInfo: 'videoExtraInfo',
|
|
8079
8330
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
8080
8331
|
videoModelId: 'videoModelId',
|
|
8081
8332
|
videoRoles: 'videoRoles',
|
|
8333
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
8082
8334
|
videoUrl: 'videoUrl',
|
|
8083
8335
|
};
|
|
8084
8336
|
}
|
|
8085
8337
|
|
|
8086
8338
|
static types(): { [key: string]: any } {
|
|
8087
8339
|
return {
|
|
8340
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
8088
8341
|
frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
|
|
8089
8342
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
8090
8343
|
language: 'string',
|
|
@@ -8092,10 +8345,12 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8092
8345
|
modelCustomPromptTemplateId: 'string',
|
|
8093
8346
|
modelId: 'string',
|
|
8094
8347
|
snapshotInterval: 'number',
|
|
8348
|
+
textProcessTasks: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestTextProcessTasks },
|
|
8095
8349
|
videoExtraInfo: 'string',
|
|
8096
8350
|
videoModelCustomPromptTemplate: 'string',
|
|
8097
8351
|
videoModelId: 'string',
|
|
8098
8352
|
videoRoles: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestVideoRoles },
|
|
8353
|
+
videoShotFaceIdentityCount: 'number',
|
|
8099
8354
|
videoUrl: 'string',
|
|
8100
8355
|
};
|
|
8101
8356
|
}
|
|
@@ -8107,6 +8362,9 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8107
8362
|
if(Array.isArray(this.generateOptions)) {
|
|
8108
8363
|
$dara.Model.validateArray(this.generateOptions);
|
|
8109
8364
|
}
|
|
8365
|
+
if(Array.isArray(this.textProcessTasks)) {
|
|
8366
|
+
$dara.Model.validateArray(this.textProcessTasks);
|
|
8367
|
+
}
|
|
8110
8368
|
if(Array.isArray(this.videoRoles)) {
|
|
8111
8369
|
$dara.Model.validateArray(this.videoRoles);
|
|
8112
8370
|
}
|
|
@@ -8119,6 +8377,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
8119
8377
|
}
|
|
8120
8378
|
|
|
8121
8379
|
export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
8380
|
+
faceIdentitySimilarityMinScore?: number;
|
|
8122
8381
|
frameSampleMethodShrink?: string;
|
|
8123
8382
|
generateOptionsShrink?: string;
|
|
8124
8383
|
/**
|
|
@@ -8142,6 +8401,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8142
8401
|
* 2
|
|
8143
8402
|
*/
|
|
8144
8403
|
snapshotInterval?: number;
|
|
8404
|
+
textProcessTasksShrink?: string;
|
|
8145
8405
|
videoExtraInfo?: string;
|
|
8146
8406
|
videoModelCustomPromptTemplate?: string;
|
|
8147
8407
|
/**
|
|
@@ -8150,6 +8410,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8150
8410
|
*/
|
|
8151
8411
|
videoModelId?: string;
|
|
8152
8412
|
videoRolesShrink?: string;
|
|
8413
|
+
videoShotFaceIdentityCount?: number;
|
|
8153
8414
|
/**
|
|
8154
8415
|
* @remarks
|
|
8155
8416
|
* This parameter is required.
|
|
@@ -8160,6 +8421,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8160
8421
|
videoUrl?: string;
|
|
8161
8422
|
static names(): { [key: string]: string } {
|
|
8162
8423
|
return {
|
|
8424
|
+
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
8163
8425
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
8164
8426
|
generateOptionsShrink: 'generateOptions',
|
|
8165
8427
|
language: 'language',
|
|
@@ -8167,16 +8429,19 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8167
8429
|
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
8168
8430
|
modelId: 'modelId',
|
|
8169
8431
|
snapshotInterval: 'snapshotInterval',
|
|
8432
|
+
textProcessTasksShrink: 'textProcessTasks',
|
|
8170
8433
|
videoExtraInfo: 'videoExtraInfo',
|
|
8171
8434
|
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
8172
8435
|
videoModelId: 'videoModelId',
|
|
8173
8436
|
videoRolesShrink: 'videoRoles',
|
|
8437
|
+
videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
|
|
8174
8438
|
videoUrl: 'videoUrl',
|
|
8175
8439
|
};
|
|
8176
8440
|
}
|
|
8177
8441
|
|
|
8178
8442
|
static types(): { [key: string]: any } {
|
|
8179
8443
|
return {
|
|
8444
|
+
faceIdentitySimilarityMinScore: 'number',
|
|
8180
8445
|
frameSampleMethodShrink: 'string',
|
|
8181
8446
|
generateOptionsShrink: 'string',
|
|
8182
8447
|
language: 'string',
|
|
@@ -8184,10 +8449,12 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
8184
8449
|
modelCustomPromptTemplateId: 'string',
|
|
8185
8450
|
modelId: 'string',
|
|
8186
8451
|
snapshotInterval: 'number',
|
|
8452
|
+
textProcessTasksShrink: 'string',
|
|
8187
8453
|
videoExtraInfo: 'string',
|
|
8188
8454
|
videoModelCustomPromptTemplate: 'string',
|
|
8189
8455
|
videoModelId: 'string',
|
|
8190
8456
|
videoRolesShrink: 'string',
|
|
8457
|
+
videoShotFaceIdentityCount: 'number',
|
|
8191
8458
|
videoUrl: 'string',
|
|
8192
8459
|
};
|
|
8193
8460
|
}
|
|
@@ -9589,11 +9856,19 @@ export default class Client extends OpenApi {
|
|
|
9589
9856
|
request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
|
|
9590
9857
|
}
|
|
9591
9858
|
|
|
9859
|
+
if (!$dara.isNull(tmpReq.textProcessTasks)) {
|
|
9860
|
+
request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
|
|
9861
|
+
}
|
|
9862
|
+
|
|
9592
9863
|
if (!$dara.isNull(tmpReq.videoRoles)) {
|
|
9593
9864
|
request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
9594
9865
|
}
|
|
9595
9866
|
|
|
9596
9867
|
let body : {[key: string ]: any} = { };
|
|
9868
|
+
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
9869
|
+
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
9870
|
+
}
|
|
9871
|
+
|
|
9597
9872
|
if (!$dara.isNull(request.frameSampleMethodShrink)) {
|
|
9598
9873
|
body["frameSampleMethod"] = request.frameSampleMethodShrink;
|
|
9599
9874
|
}
|
|
@@ -9630,6 +9905,10 @@ export default class Client extends OpenApi {
|
|
|
9630
9905
|
body["taskId"] = request.taskId;
|
|
9631
9906
|
}
|
|
9632
9907
|
|
|
9908
|
+
if (!$dara.isNull(request.textProcessTasksShrink)) {
|
|
9909
|
+
body["textProcessTasks"] = request.textProcessTasksShrink;
|
|
9910
|
+
}
|
|
9911
|
+
|
|
9633
9912
|
if (!$dara.isNull(request.videoExtraInfo)) {
|
|
9634
9913
|
body["videoExtraInfo"] = request.videoExtraInfo;
|
|
9635
9914
|
}
|
|
@@ -9646,6 +9925,10 @@ export default class Client extends OpenApi {
|
|
|
9646
9925
|
body["videoRoles"] = request.videoRolesShrink;
|
|
9647
9926
|
}
|
|
9648
9927
|
|
|
9928
|
+
if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
|
|
9929
|
+
body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
|
|
9930
|
+
}
|
|
9931
|
+
|
|
9649
9932
|
if (!$dara.isNull(request.videoUrl)) {
|
|
9650
9933
|
body["videoUrl"] = request.videoUrl;
|
|
9651
9934
|
}
|
|
@@ -9793,11 +10076,19 @@ export default class Client extends OpenApi {
|
|
|
9793
10076
|
request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
|
|
9794
10077
|
}
|
|
9795
10078
|
|
|
10079
|
+
if (!$dara.isNull(tmpReq.textProcessTasks)) {
|
|
10080
|
+
request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
|
|
10081
|
+
}
|
|
10082
|
+
|
|
9796
10083
|
if (!$dara.isNull(tmpReq.videoRoles)) {
|
|
9797
10084
|
request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
9798
10085
|
}
|
|
9799
10086
|
|
|
9800
10087
|
let body : {[key: string ]: any} = { };
|
|
10088
|
+
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
10089
|
+
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
10090
|
+
}
|
|
10091
|
+
|
|
9801
10092
|
if (!$dara.isNull(request.frameSampleMethodShrink)) {
|
|
9802
10093
|
body["frameSampleMethod"] = request.frameSampleMethodShrink;
|
|
9803
10094
|
}
|
|
@@ -9826,6 +10117,10 @@ export default class Client extends OpenApi {
|
|
|
9826
10117
|
body["snapshotInterval"] = request.snapshotInterval;
|
|
9827
10118
|
}
|
|
9828
10119
|
|
|
10120
|
+
if (!$dara.isNull(request.textProcessTasksShrink)) {
|
|
10121
|
+
body["textProcessTasks"] = request.textProcessTasksShrink;
|
|
10122
|
+
}
|
|
10123
|
+
|
|
9829
10124
|
if (!$dara.isNull(request.videoExtraInfo)) {
|
|
9830
10125
|
body["videoExtraInfo"] = request.videoExtraInfo;
|
|
9831
10126
|
}
|
|
@@ -9842,6 +10137,10 @@ export default class Client extends OpenApi {
|
|
|
9842
10137
|
body["videoRoles"] = request.videoRolesShrink;
|
|
9843
10138
|
}
|
|
9844
10139
|
|
|
10140
|
+
if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
|
|
10141
|
+
body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
|
|
10142
|
+
}
|
|
10143
|
+
|
|
9845
10144
|
if (!$dara.isNull(request.videoUrl)) {
|
|
9846
10145
|
body["videoUrl"] = request.videoUrl;
|
|
9847
10146
|
}
|