@alicloud/quanmiaolightapp20240801 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +116 -0
- package/dist/client.js +453 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetVideoDetectShotConfigResponse.d.ts +19 -0
- package/dist/models/GetVideoDetectShotConfigResponse.js +69 -0
- package/dist/models/GetVideoDetectShotConfigResponse.js.map +1 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.d.ts +62 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.js +90 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskRequest.d.ts +21 -0
- package/dist/models/GetVideoDetectShotTaskRequest.js +58 -0
- package/dist/models/GetVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/GetVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/GetVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.d.ts +258 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.js +291 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/RunVideoAnalysisRequest.d.ts +5 -0
- package/dist/models/RunVideoAnalysisRequest.js +2 -0
- package/dist/models/RunVideoAnalysisRequest.js.map +1 -1
- package/dist/models/RunVideoAnalysisShrinkRequest.d.ts +5 -0
- package/dist/models/RunVideoAnalysisShrinkRequest.js +2 -0
- package/dist/models/RunVideoAnalysisShrinkRequest.js.map +1 -1
- package/dist/models/RunVideoDetectShotRequest.d.ts +86 -0
- package/dist/models/RunVideoDetectShotRequest.js +90 -0
- package/dist/models/RunVideoDetectShotRequest.js.map +1 -0
- package/dist/models/RunVideoDetectShotResponse.d.ts +19 -0
- package/dist/models/RunVideoDetectShotResponse.js +69 -0
- package/dist/models/RunVideoDetectShotResponse.js.map +1 -0
- package/dist/models/RunVideoDetectShotResponseBody.d.ts +183 -0
- package/dist/models/RunVideoDetectShotResponseBody.js +229 -0
- package/dist/models/RunVideoDetectShotResponseBody.js.map +1 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.d.ts +86 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.js +84 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.js.map +1 -0
- package/dist/models/SubmitVideoAnalysisTaskRequest.d.ts +5 -0
- package/dist/models/SubmitVideoAnalysisTaskRequest.js +2 -0
- package/dist/models/SubmitVideoAnalysisTaskRequest.js.map +1 -1
- package/dist/models/SubmitVideoAnalysisTaskShrinkRequest.d.ts +5 -0
- package/dist/models/SubmitVideoAnalysisTaskShrinkRequest.js +2 -0
- package/dist/models/SubmitVideoAnalysisTaskShrinkRequest.js.map +1 -1
- package/dist/models/SubmitVideoDetectShotTaskRequest.d.ts +83 -0
- package/dist/models/SubmitVideoDetectShotTaskRequest.js +92 -0
- package/dist/models/SubmitVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.d.ts +59 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.js +90 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.d.ts +83 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.js +86 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.d.ts +21 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.js +58 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.d.ts +19 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.js +69 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.d.ts +41 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.js +66 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.d.ts +29 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.js +60 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.d.ts +69 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.js +94 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +36 -0
- package/dist/models/model.js +79 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +512 -0
- package/src/models/GetVideoDetectShotConfigResponse.ts +40 -0
- package/src/models/GetVideoDetectShotConfigResponseBody.ts +98 -0
- package/src/models/GetVideoDetectShotTaskRequest.ts +34 -0
- package/src/models/GetVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/GetVideoDetectShotTaskResponseBody.ts +430 -0
- package/src/models/RunVideoAnalysisRequest.ts +7 -0
- package/src/models/RunVideoAnalysisShrinkRequest.ts +7 -0
- package/src/models/RunVideoDetectShotRequest.ts +131 -0
- package/src/models/RunVideoDetectShotResponse.ts +40 -0
- package/src/models/RunVideoDetectShotResponseBody.ts +311 -0
- package/src/models/RunVideoDetectShotShrinkRequest.ts +125 -0
- package/src/models/SubmitVideoAnalysisTaskRequest.ts +7 -0
- package/src/models/SubmitVideoAnalysisTaskShrinkRequest.ts +7 -0
- package/src/models/SubmitVideoDetectShotTaskRequest.ts +130 -0
- package/src/models/SubmitVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/SubmitVideoDetectShotTaskResponseBody.ts +95 -0
- package/src/models/SubmitVideoDetectShotTaskShrinkRequest.ts +124 -0
- package/src/models/UpdateVideoDetectShotConfigRequest.ts +34 -0
- package/src/models/UpdateVideoDetectShotConfigResponse.ts +40 -0
- package/src/models/UpdateVideoDetectShotConfigResponseBody.ts +62 -0
- package/src/models/UpdateVideoDetectShotTaskRequest.ts +44 -0
- package/src/models/UpdateVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/UpdateVideoDetectShotTaskResponseBody.ts +109 -0
- package/src/models/model.ts +36 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RunVideoDetectShotResponseBody } from "./RunVideoDetectShotResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RunVideoDetectShotResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: RunVideoDetectShotResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: RunVideoDetectShotResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RunVideoDetectShotResponseBodyHeader extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* InvalidParam
|
|
9
|
+
*/
|
|
10
|
+
errorCode?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Pop sign mismatch, please check log.
|
|
14
|
+
*/
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* task-finished
|
|
19
|
+
*/
|
|
20
|
+
event?: string;
|
|
21
|
+
eventInfo?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 14d15c78c4c34d428212f4d923d4ede1
|
|
25
|
+
*/
|
|
26
|
+
sessionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* xxxx
|
|
30
|
+
*/
|
|
31
|
+
taskId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 3b5287b317477940746851672dca0c
|
|
35
|
+
*/
|
|
36
|
+
traceId?: string;
|
|
37
|
+
static names(): { [key: string]: string } {
|
|
38
|
+
return {
|
|
39
|
+
errorCode: 'errorCode',
|
|
40
|
+
errorMessage: 'errorMessage',
|
|
41
|
+
event: 'event',
|
|
42
|
+
eventInfo: 'eventInfo',
|
|
43
|
+
sessionId: 'sessionId',
|
|
44
|
+
taskId: 'taskId',
|
|
45
|
+
traceId: 'traceId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
errorCode: 'string',
|
|
52
|
+
errorMessage: 'string',
|
|
53
|
+
event: 'string',
|
|
54
|
+
eventInfo: 'string',
|
|
55
|
+
sessionId: 'string',
|
|
56
|
+
taskId: 'string',
|
|
57
|
+
traceId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validate() {
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export class RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResultVideoRecognitionResult extends $dara.Model {
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* xxx
|
|
74
|
+
*/
|
|
75
|
+
asr?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* 1755742611000
|
|
79
|
+
*/
|
|
80
|
+
endTime?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* xxx
|
|
84
|
+
*/
|
|
85
|
+
ocr?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 1756433675000
|
|
89
|
+
*/
|
|
90
|
+
startTime?: number;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* xxx
|
|
94
|
+
*/
|
|
95
|
+
vl?: string;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
asr: 'asr',
|
|
99
|
+
endTime: 'endTime',
|
|
100
|
+
ocr: 'ocr',
|
|
101
|
+
startTime: 'startTime',
|
|
102
|
+
vl: 'vl',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
asr: 'string',
|
|
109
|
+
endTime: 'number',
|
|
110
|
+
ocr: 'string',
|
|
111
|
+
startTime: 'number',
|
|
112
|
+
vl: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResult extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* xxx
|
|
129
|
+
*/
|
|
130
|
+
reasonText?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* xxx
|
|
134
|
+
*/
|
|
135
|
+
text?: string;
|
|
136
|
+
videoParts?: { [key: string]: string }[];
|
|
137
|
+
videoRecognitionResult?: RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResultVideoRecognitionResult[];
|
|
138
|
+
static names(): { [key: string]: string } {
|
|
139
|
+
return {
|
|
140
|
+
reasonText: 'reasonText',
|
|
141
|
+
text: 'text',
|
|
142
|
+
videoParts: 'videoParts',
|
|
143
|
+
videoRecognitionResult: 'videoRecognitionResult',
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
static types(): { [key: string]: any } {
|
|
148
|
+
return {
|
|
149
|
+
reasonText: 'string',
|
|
150
|
+
text: 'string',
|
|
151
|
+
videoParts: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
152
|
+
videoRecognitionResult: { 'type': 'array', 'itemType': RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResultVideoRecognitionResult },
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
validate() {
|
|
157
|
+
if(Array.isArray(this.videoParts)) {
|
|
158
|
+
$dara.Model.validateArray(this.videoParts);
|
|
159
|
+
}
|
|
160
|
+
if(Array.isArray(this.videoRecognitionResult)) {
|
|
161
|
+
$dara.Model.validateArray(this.videoRecognitionResult);
|
|
162
|
+
}
|
|
163
|
+
super.validate();
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export class RunVideoDetectShotResponseBodyPayloadOutput extends $dara.Model {
|
|
172
|
+
videoSplitResult?: RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResult;
|
|
173
|
+
static names(): { [key: string]: string } {
|
|
174
|
+
return {
|
|
175
|
+
videoSplitResult: 'videoSplitResult',
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
static types(): { [key: string]: any } {
|
|
180
|
+
return {
|
|
181
|
+
videoSplitResult: RunVideoDetectShotResponseBodyPayloadOutputVideoSplitResult,
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
validate() {
|
|
186
|
+
if(this.videoSplitResult && typeof (this.videoSplitResult as any).validate === 'function') {
|
|
187
|
+
(this.videoSplitResult as any).validate();
|
|
188
|
+
}
|
|
189
|
+
super.validate();
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
constructor(map?: { [key: string]: any }) {
|
|
193
|
+
super(map);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export class RunVideoDetectShotResponseBodyPayloadUsage extends $dara.Model {
|
|
198
|
+
/**
|
|
199
|
+
* @example
|
|
200
|
+
* 4546
|
|
201
|
+
*/
|
|
202
|
+
inputTokens?: number;
|
|
203
|
+
/**
|
|
204
|
+
* @example
|
|
205
|
+
* 820
|
|
206
|
+
*/
|
|
207
|
+
outputTokens?: number;
|
|
208
|
+
/**
|
|
209
|
+
* @example
|
|
210
|
+
* 5366
|
|
211
|
+
*/
|
|
212
|
+
totalTokens?: number;
|
|
213
|
+
static names(): { [key: string]: string } {
|
|
214
|
+
return {
|
|
215
|
+
inputTokens: 'inputTokens',
|
|
216
|
+
outputTokens: 'outputTokens',
|
|
217
|
+
totalTokens: 'totalTokens',
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
static types(): { [key: string]: any } {
|
|
222
|
+
return {
|
|
223
|
+
inputTokens: 'number',
|
|
224
|
+
outputTokens: 'number',
|
|
225
|
+
totalTokens: 'number',
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
validate() {
|
|
230
|
+
super.validate();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
constructor(map?: { [key: string]: any }) {
|
|
234
|
+
super(map);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export class RunVideoDetectShotResponseBodyPayload extends $dara.Model {
|
|
239
|
+
output?: RunVideoDetectShotResponseBodyPayloadOutput;
|
|
240
|
+
usage?: RunVideoDetectShotResponseBodyPayloadUsage;
|
|
241
|
+
static names(): { [key: string]: string } {
|
|
242
|
+
return {
|
|
243
|
+
output: 'output',
|
|
244
|
+
usage: 'usage',
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
static types(): { [key: string]: any } {
|
|
249
|
+
return {
|
|
250
|
+
output: RunVideoDetectShotResponseBodyPayloadOutput,
|
|
251
|
+
usage: RunVideoDetectShotResponseBodyPayloadUsage,
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
validate() {
|
|
256
|
+
if(this.output && typeof (this.output as any).validate === 'function') {
|
|
257
|
+
(this.output as any).validate();
|
|
258
|
+
}
|
|
259
|
+
if(this.usage && typeof (this.usage as any).validate === 'function') {
|
|
260
|
+
(this.usage as any).validate();
|
|
261
|
+
}
|
|
262
|
+
super.validate();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
constructor(map?: { [key: string]: any }) {
|
|
266
|
+
super(map);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export class RunVideoDetectShotResponseBody extends $dara.Model {
|
|
271
|
+
header?: RunVideoDetectShotResponseBodyHeader;
|
|
272
|
+
payload?: RunVideoDetectShotResponseBodyPayload;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* Id of the request
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* 58868FD6-53D7-5ACD-80F7-854C8EA256EF
|
|
279
|
+
*/
|
|
280
|
+
requestId?: string;
|
|
281
|
+
static names(): { [key: string]: string } {
|
|
282
|
+
return {
|
|
283
|
+
header: 'header',
|
|
284
|
+
payload: 'payload',
|
|
285
|
+
requestId: 'requestId',
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
static types(): { [key: string]: any } {
|
|
290
|
+
return {
|
|
291
|
+
header: RunVideoDetectShotResponseBodyHeader,
|
|
292
|
+
payload: RunVideoDetectShotResponseBodyPayload,
|
|
293
|
+
requestId: 'string',
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
validate() {
|
|
298
|
+
if(this.header && typeof (this.header as any).validate === 'function') {
|
|
299
|
+
(this.header as any).validate();
|
|
300
|
+
}
|
|
301
|
+
if(this.payload && typeof (this.payload as any).validate === 'function') {
|
|
302
|
+
(this.payload as any).validate();
|
|
303
|
+
}
|
|
304
|
+
super.validate();
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
constructor(map?: { [key: string]: any }) {
|
|
308
|
+
super(map);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RunVideoDetectShotShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxx
|
|
9
|
+
*/
|
|
10
|
+
intelliSimpPrompt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* intelliSimpShowPrompt
|
|
14
|
+
*/
|
|
15
|
+
intelliSimpPromptTemplateId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* chinese
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* videoDetectShotShowPrompt
|
|
24
|
+
*/
|
|
25
|
+
modelCustomPromptTemplateId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* deepseek-r1
|
|
29
|
+
*/
|
|
30
|
+
modelId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* videoDetectShotVlShowPrompt
|
|
34
|
+
*/
|
|
35
|
+
modelVlCustomPromptTemplateId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*/
|
|
40
|
+
optionsShrink?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
44
|
+
*/
|
|
45
|
+
originalSessionId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* deepseek-v3.1
|
|
49
|
+
*/
|
|
50
|
+
preModelId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* xxx
|
|
54
|
+
*/
|
|
55
|
+
prompt?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* This parameter is required.
|
|
59
|
+
*/
|
|
60
|
+
recognitionOptionsShrink?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
64
|
+
*/
|
|
65
|
+
taskId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* This parameter is required.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* https://xxx.mp4
|
|
72
|
+
*/
|
|
73
|
+
videoUrl?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* xxx
|
|
77
|
+
*/
|
|
78
|
+
vlPrompt?: string;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
intelliSimpPrompt: 'intelliSimpPrompt',
|
|
82
|
+
intelliSimpPromptTemplateId: 'intelliSimpPromptTemplateId',
|
|
83
|
+
language: 'language',
|
|
84
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
85
|
+
modelId: 'modelId',
|
|
86
|
+
modelVlCustomPromptTemplateId: 'modelVlCustomPromptTemplateId',
|
|
87
|
+
optionsShrink: 'options',
|
|
88
|
+
originalSessionId: 'originalSessionId',
|
|
89
|
+
preModelId: 'preModelId',
|
|
90
|
+
prompt: 'prompt',
|
|
91
|
+
recognitionOptionsShrink: 'recognitionOptions',
|
|
92
|
+
taskId: 'taskId',
|
|
93
|
+
videoUrl: 'videoUrl',
|
|
94
|
+
vlPrompt: 'vlPrompt',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
intelliSimpPrompt: 'string',
|
|
101
|
+
intelliSimpPromptTemplateId: 'string',
|
|
102
|
+
language: 'string',
|
|
103
|
+
modelCustomPromptTemplateId: 'string',
|
|
104
|
+
modelId: 'string',
|
|
105
|
+
modelVlCustomPromptTemplateId: 'string',
|
|
106
|
+
optionsShrink: 'string',
|
|
107
|
+
originalSessionId: 'string',
|
|
108
|
+
preModelId: 'string',
|
|
109
|
+
prompt: 'string',
|
|
110
|
+
recognitionOptionsShrink: 'string',
|
|
111
|
+
taskId: 'string',
|
|
112
|
+
videoUrl: 'string',
|
|
113
|
+
vlPrompt: 'string',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
@@ -257,6 +257,11 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
257
257
|
* 10
|
|
258
258
|
*/
|
|
259
259
|
splitInterval?: number;
|
|
260
|
+
/**
|
|
261
|
+
* @example
|
|
262
|
+
* fixDuration
|
|
263
|
+
*/
|
|
264
|
+
splitType?: string;
|
|
260
265
|
textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
|
|
261
266
|
videoCaptionInfo?: SubmitVideoAnalysisTaskRequestVideoCaptionInfo;
|
|
262
267
|
videoExtraInfo?: string;
|
|
@@ -290,6 +295,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
290
295
|
modelId: 'modelId',
|
|
291
296
|
snapshotInterval: 'snapshotInterval',
|
|
292
297
|
splitInterval: 'splitInterval',
|
|
298
|
+
splitType: 'splitType',
|
|
293
299
|
textProcessTasks: 'textProcessTasks',
|
|
294
300
|
videoCaptionInfo: 'videoCaptionInfo',
|
|
295
301
|
videoExtraInfo: 'videoExtraInfo',
|
|
@@ -315,6 +321,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
315
321
|
modelId: 'string',
|
|
316
322
|
snapshotInterval: 'number',
|
|
317
323
|
splitInterval: 'number',
|
|
324
|
+
splitType: 'string',
|
|
318
325
|
textProcessTasks: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestTextProcessTasks },
|
|
319
326
|
videoCaptionInfo: SubmitVideoAnalysisTaskRequestVideoCaptionInfo,
|
|
320
327
|
videoExtraInfo: 'string',
|
|
@@ -39,6 +39,11 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
39
39
|
* 10
|
|
40
40
|
*/
|
|
41
41
|
splitInterval?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* fixDuration
|
|
45
|
+
*/
|
|
46
|
+
splitType?: string;
|
|
42
47
|
textProcessTasksShrink?: string;
|
|
43
48
|
videoCaptionInfoShrink?: string;
|
|
44
49
|
videoExtraInfo?: string;
|
|
@@ -72,6 +77,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
72
77
|
modelId: 'modelId',
|
|
73
78
|
snapshotInterval: 'snapshotInterval',
|
|
74
79
|
splitInterval: 'splitInterval',
|
|
80
|
+
splitType: 'splitType',
|
|
75
81
|
textProcessTasksShrink: 'textProcessTasks',
|
|
76
82
|
videoCaptionInfoShrink: 'videoCaptionInfo',
|
|
77
83
|
videoExtraInfo: 'videoExtraInfo',
|
|
@@ -97,6 +103,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
97
103
|
modelId: 'string',
|
|
98
104
|
snapshotInterval: 'number',
|
|
99
105
|
splitInterval: 'number',
|
|
106
|
+
splitType: 'string',
|
|
100
107
|
textProcessTasksShrink: 'string',
|
|
101
108
|
videoCaptionInfoShrink: 'string',
|
|
102
109
|
videoExtraInfo: 'string',
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SubmitVideoDetectShotTaskRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
deduplicationId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* xxx
|
|
14
|
+
*/
|
|
15
|
+
intelliSimpPrompt?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* intelliSimpShowPrompt
|
|
19
|
+
*/
|
|
20
|
+
intelliSimpPromptTemplateId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* chinese
|
|
24
|
+
*/
|
|
25
|
+
language?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* videoDetectShotShowPrompt
|
|
29
|
+
*/
|
|
30
|
+
modelCustomPromptTemplateId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* deepseek-r1
|
|
34
|
+
*/
|
|
35
|
+
modelId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* videoDetectShotVlShowPrompt
|
|
39
|
+
*/
|
|
40
|
+
modelVlCustomPromptTemplateId?: string;
|
|
41
|
+
options?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
45
|
+
*/
|
|
46
|
+
originalSessionId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* deepseek-v3.1
|
|
50
|
+
*/
|
|
51
|
+
preModelId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* xxx
|
|
55
|
+
*/
|
|
56
|
+
prompt?: string;
|
|
57
|
+
recognitionOptions?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
61
|
+
*/
|
|
62
|
+
taskId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* This parameter is required.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* https://xxx.mp4
|
|
69
|
+
*/
|
|
70
|
+
videoUrl?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* xxx
|
|
74
|
+
*/
|
|
75
|
+
vlPrompt?: string;
|
|
76
|
+
static names(): { [key: string]: string } {
|
|
77
|
+
return {
|
|
78
|
+
deduplicationId: 'deduplicationId',
|
|
79
|
+
intelliSimpPrompt: 'intelliSimpPrompt',
|
|
80
|
+
intelliSimpPromptTemplateId: 'intelliSimpPromptTemplateId',
|
|
81
|
+
language: 'language',
|
|
82
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
83
|
+
modelId: 'modelId',
|
|
84
|
+
modelVlCustomPromptTemplateId: 'modelVlCustomPromptTemplateId',
|
|
85
|
+
options: 'options',
|
|
86
|
+
originalSessionId: 'originalSessionId',
|
|
87
|
+
preModelId: 'preModelId',
|
|
88
|
+
prompt: 'prompt',
|
|
89
|
+
recognitionOptions: 'recognitionOptions',
|
|
90
|
+
taskId: 'taskId',
|
|
91
|
+
videoUrl: 'videoUrl',
|
|
92
|
+
vlPrompt: 'vlPrompt',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static types(): { [key: string]: any } {
|
|
97
|
+
return {
|
|
98
|
+
deduplicationId: 'string',
|
|
99
|
+
intelliSimpPrompt: 'string',
|
|
100
|
+
intelliSimpPromptTemplateId: 'string',
|
|
101
|
+
language: 'string',
|
|
102
|
+
modelCustomPromptTemplateId: 'string',
|
|
103
|
+
modelId: 'string',
|
|
104
|
+
modelVlCustomPromptTemplateId: 'string',
|
|
105
|
+
options: { 'type': 'array', 'itemType': 'string' },
|
|
106
|
+
originalSessionId: 'string',
|
|
107
|
+
preModelId: 'string',
|
|
108
|
+
prompt: 'string',
|
|
109
|
+
recognitionOptions: { 'type': 'array', 'itemType': 'string' },
|
|
110
|
+
taskId: 'string',
|
|
111
|
+
videoUrl: 'string',
|
|
112
|
+
vlPrompt: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.options)) {
|
|
118
|
+
$dara.Model.validateArray(this.options);
|
|
119
|
+
}
|
|
120
|
+
if(Array.isArray(this.recognitionOptions)) {
|
|
121
|
+
$dara.Model.validateArray(this.recognitionOptions);
|
|
122
|
+
}
|
|
123
|
+
super.validate();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
constructor(map?: { [key: string]: any }) {
|
|
127
|
+
super(map);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SubmitVideoDetectShotTaskResponseBody } from "./SubmitVideoDetectShotTaskResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SubmitVideoDetectShotTaskResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SubmitVideoDetectShotTaskResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: SubmitVideoDetectShotTaskResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|