@alicloud/aimiaobi20230801 1.31.1 → 1.31.3
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.js +18 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AsyncCreateClipsTimeLineRequest.d.ts +3 -0
- package/dist/models/AsyncCreateClipsTimeLineRequest.js +6 -0
- package/dist/models/AsyncCreateClipsTimeLineRequest.js.map +1 -1
- package/dist/models/AsyncEditTimelineRequest.d.ts +2 -0
- package/dist/models/AsyncEditTimelineRequest.js +4 -0
- package/dist/models/AsyncEditTimelineRequest.js.map +1 -1
- package/dist/models/AsyncUploadVideoRequest.d.ts +17 -0
- package/dist/models/AsyncUploadVideoRequest.js +31 -1
- package/dist/models/AsyncUploadVideoRequest.js.map +1 -1
- package/dist/models/AsyncUploadVideoShrinkRequest.d.ts +2 -0
- package/dist/models/AsyncUploadVideoShrinkRequest.js +4 -0
- package/dist/models/AsyncUploadVideoShrinkRequest.js.map +1 -1
- package/dist/models/GetAutoClipsTaskInfoResponseBody.d.ts +3 -0
- package/dist/models/GetAutoClipsTaskInfoResponseBody.js +6 -0
- package/dist/models/GetAutoClipsTaskInfoResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +27 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/models/AsyncCreateClipsTimeLineRequest.ts +9 -0
- package/src/models/AsyncEditTimelineRequest.ts +6 -0
- package/src/models/AsyncUploadVideoRequest.ts +38 -0
- package/src/models/AsyncUploadVideoShrinkRequest.ts +6 -0
- package/src/models/GetAutoClipsTaskInfoResponseBody.ts +9 -0
- package/src/models/model.ts +1 -0
|
@@ -3,6 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AsyncCreateClipsTimeLineRequest extends $dara.Model {
|
|
6
|
+
additionalContent?: string;
|
|
7
|
+
customContent?: string;
|
|
8
|
+
noRefVideo?: boolean;
|
|
6
9
|
processPrompt?: string;
|
|
7
10
|
/**
|
|
8
11
|
* @remarks
|
|
@@ -22,6 +25,9 @@ export class AsyncCreateClipsTimeLineRequest extends $dara.Model {
|
|
|
22
25
|
workspaceId?: string;
|
|
23
26
|
static names(): { [key: string]: string } {
|
|
24
27
|
return {
|
|
28
|
+
additionalContent: 'AdditionalContent',
|
|
29
|
+
customContent: 'CustomContent',
|
|
30
|
+
noRefVideo: 'NoRefVideo',
|
|
25
31
|
processPrompt: 'ProcessPrompt',
|
|
26
32
|
taskId: 'TaskId',
|
|
27
33
|
workspaceId: 'WorkspaceId',
|
|
@@ -30,6 +36,9 @@ export class AsyncCreateClipsTimeLineRequest extends $dara.Model {
|
|
|
30
36
|
|
|
31
37
|
static types(): { [key: string]: any } {
|
|
32
38
|
return {
|
|
39
|
+
additionalContent: 'string',
|
|
40
|
+
customContent: 'string',
|
|
41
|
+
noRefVideo: 'boolean',
|
|
33
42
|
processPrompt: 'string',
|
|
34
43
|
taskId: 'string',
|
|
35
44
|
workspaceId: 'string',
|
|
@@ -6,7 +6,9 @@ export class AsyncEditTimelineRequestTimelinesClips extends $dara.Model {
|
|
|
6
6
|
clipId?: string;
|
|
7
7
|
contentInner?: string;
|
|
8
8
|
in?: number;
|
|
9
|
+
inEx?: number;
|
|
9
10
|
out?: number;
|
|
11
|
+
outEx?: number;
|
|
10
12
|
videoId?: string;
|
|
11
13
|
videoName?: string;
|
|
12
14
|
static names(): { [key: string]: string } {
|
|
@@ -14,7 +16,9 @@ export class AsyncEditTimelineRequestTimelinesClips extends $dara.Model {
|
|
|
14
16
|
clipId: 'ClipId',
|
|
15
17
|
contentInner: 'ContentInner',
|
|
16
18
|
in: 'In',
|
|
19
|
+
inEx: 'InEx',
|
|
17
20
|
out: 'Out',
|
|
21
|
+
outEx: 'OutEx',
|
|
18
22
|
videoId: 'VideoId',
|
|
19
23
|
videoName: 'VideoName',
|
|
20
24
|
};
|
|
@@ -25,7 +29,9 @@ export class AsyncEditTimelineRequestTimelinesClips extends $dara.Model {
|
|
|
25
29
|
clipId: 'string',
|
|
26
30
|
contentInner: 'string',
|
|
27
31
|
in: 'number',
|
|
32
|
+
inEx: 'number',
|
|
28
33
|
out: 'number',
|
|
34
|
+
outEx: 'number',
|
|
29
35
|
videoId: 'string',
|
|
30
36
|
videoName: 'string',
|
|
31
37
|
};
|
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class AsyncUploadVideoRequestReferenceVideo extends $dara.Model {
|
|
6
|
+
videoExtraInfo?: string;
|
|
7
|
+
videoName?: string;
|
|
8
|
+
videoUrl?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
videoExtraInfo: 'VideoExtraInfo',
|
|
12
|
+
videoName: 'VideoName',
|
|
13
|
+
videoUrl: 'VideoUrl',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
videoExtraInfo: 'string',
|
|
20
|
+
videoName: 'string',
|
|
21
|
+
videoUrl: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
5
34
|
export class AsyncUploadVideoRequestSourceVideos extends $dara.Model {
|
|
6
35
|
videoExtraInfo?: string;
|
|
7
36
|
/**
|
|
@@ -44,11 +73,13 @@ export class AsyncUploadVideoRequestSourceVideos extends $dara.Model {
|
|
|
44
73
|
|
|
45
74
|
export class AsyncUploadVideoRequest extends $dara.Model {
|
|
46
75
|
anlysisPrompt?: string;
|
|
76
|
+
referenceVideo?: AsyncUploadVideoRequestReferenceVideo;
|
|
47
77
|
/**
|
|
48
78
|
* @remarks
|
|
49
79
|
* This parameter is required.
|
|
50
80
|
*/
|
|
51
81
|
sourceVideos?: AsyncUploadVideoRequestSourceVideos[];
|
|
82
|
+
splitInterval?: number;
|
|
52
83
|
/**
|
|
53
84
|
* @remarks
|
|
54
85
|
* This parameter is required.
|
|
@@ -60,7 +91,9 @@ export class AsyncUploadVideoRequest extends $dara.Model {
|
|
|
60
91
|
static names(): { [key: string]: string } {
|
|
61
92
|
return {
|
|
62
93
|
anlysisPrompt: 'AnlysisPrompt',
|
|
94
|
+
referenceVideo: 'ReferenceVideo',
|
|
63
95
|
sourceVideos: 'SourceVideos',
|
|
96
|
+
splitInterval: 'SplitInterval',
|
|
64
97
|
workspaceId: 'WorkspaceId',
|
|
65
98
|
};
|
|
66
99
|
}
|
|
@@ -68,12 +101,17 @@ export class AsyncUploadVideoRequest extends $dara.Model {
|
|
|
68
101
|
static types(): { [key: string]: any } {
|
|
69
102
|
return {
|
|
70
103
|
anlysisPrompt: 'string',
|
|
104
|
+
referenceVideo: AsyncUploadVideoRequestReferenceVideo,
|
|
71
105
|
sourceVideos: { 'type': 'array', 'itemType': AsyncUploadVideoRequestSourceVideos },
|
|
106
|
+
splitInterval: 'number',
|
|
72
107
|
workspaceId: 'string',
|
|
73
108
|
};
|
|
74
109
|
}
|
|
75
110
|
|
|
76
111
|
validate() {
|
|
112
|
+
if(this.referenceVideo && typeof (this.referenceVideo as any).validate === 'function') {
|
|
113
|
+
(this.referenceVideo as any).validate();
|
|
114
|
+
}
|
|
77
115
|
if(Array.isArray(this.sourceVideos)) {
|
|
78
116
|
$dara.Model.validateArray(this.sourceVideos);
|
|
79
117
|
}
|
|
@@ -4,11 +4,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class AsyncUploadVideoShrinkRequest extends $dara.Model {
|
|
6
6
|
anlysisPrompt?: string;
|
|
7
|
+
referenceVideoShrink?: string;
|
|
7
8
|
/**
|
|
8
9
|
* @remarks
|
|
9
10
|
* This parameter is required.
|
|
10
11
|
*/
|
|
11
12
|
sourceVideosShrink?: string;
|
|
13
|
+
splitInterval?: number;
|
|
12
14
|
/**
|
|
13
15
|
* @remarks
|
|
14
16
|
* This parameter is required.
|
|
@@ -20,7 +22,9 @@ export class AsyncUploadVideoShrinkRequest extends $dara.Model {
|
|
|
20
22
|
static names(): { [key: string]: string } {
|
|
21
23
|
return {
|
|
22
24
|
anlysisPrompt: 'AnlysisPrompt',
|
|
25
|
+
referenceVideoShrink: 'ReferenceVideo',
|
|
23
26
|
sourceVideosShrink: 'SourceVideos',
|
|
27
|
+
splitInterval: 'SplitInterval',
|
|
24
28
|
workspaceId: 'WorkspaceId',
|
|
25
29
|
};
|
|
26
30
|
}
|
|
@@ -28,7 +32,9 @@ export class AsyncUploadVideoShrinkRequest extends $dara.Model {
|
|
|
28
32
|
static types(): { [key: string]: any } {
|
|
29
33
|
return {
|
|
30
34
|
anlysisPrompt: 'string',
|
|
35
|
+
referenceVideoShrink: 'string',
|
|
31
36
|
sourceVideosShrink: 'string',
|
|
37
|
+
splitInterval: 'number',
|
|
32
38
|
workspaceId: 'string',
|
|
33
39
|
};
|
|
34
40
|
}
|
|
@@ -79,11 +79,13 @@ export class GetAutoClipsTaskInfoResponseBodyDataTimelinesClips extends $dara.Mo
|
|
|
79
79
|
* 0
|
|
80
80
|
*/
|
|
81
81
|
in?: number;
|
|
82
|
+
inEx?: number;
|
|
82
83
|
/**
|
|
83
84
|
* @example
|
|
84
85
|
* 5
|
|
85
86
|
*/
|
|
86
87
|
out?: number;
|
|
88
|
+
outEx?: number;
|
|
87
89
|
/**
|
|
88
90
|
* @example
|
|
89
91
|
* 20774ebd9abc71ef80486632b68f0102
|
|
@@ -99,7 +101,9 @@ export class GetAutoClipsTaskInfoResponseBodyDataTimelinesClips extends $dara.Mo
|
|
|
99
101
|
clipId: 'ClipId',
|
|
100
102
|
contentInner: 'ContentInner',
|
|
101
103
|
in: 'In',
|
|
104
|
+
inEx: 'InEx',
|
|
102
105
|
out: 'Out',
|
|
106
|
+
outEx: 'OutEx',
|
|
103
107
|
videoId: 'VideoId',
|
|
104
108
|
videoName: 'VideoName',
|
|
105
109
|
};
|
|
@@ -110,7 +114,9 @@ export class GetAutoClipsTaskInfoResponseBodyDataTimelinesClips extends $dara.Mo
|
|
|
110
114
|
clipId: 'string',
|
|
111
115
|
contentInner: 'string',
|
|
112
116
|
in: 'number',
|
|
117
|
+
inEx: 'number',
|
|
113
118
|
out: 'number',
|
|
119
|
+
outEx: 'number',
|
|
114
120
|
videoId: 'string',
|
|
115
121
|
videoName: 'string',
|
|
116
122
|
};
|
|
@@ -164,6 +170,7 @@ export class GetAutoClipsTaskInfoResponseBodyDataTimelines extends $dara.Model {
|
|
|
164
170
|
export class GetAutoClipsTaskInfoResponseBodyData extends $dara.Model {
|
|
165
171
|
colorWords?: GetAutoClipsTaskInfoResponseBodyDataColorWords[];
|
|
166
172
|
content?: string;
|
|
173
|
+
errorMessage?: string;
|
|
167
174
|
mediaCloudTimeline?: string;
|
|
168
175
|
musicStyle?: string;
|
|
169
176
|
/**
|
|
@@ -208,6 +215,7 @@ export class GetAutoClipsTaskInfoResponseBodyData extends $dara.Model {
|
|
|
208
215
|
return {
|
|
209
216
|
colorWords: 'ColorWords',
|
|
210
217
|
content: 'Content',
|
|
218
|
+
errorMessage: 'ErrorMessage',
|
|
211
219
|
mediaCloudTimeline: 'MediaCloudTimeline',
|
|
212
220
|
musicStyle: 'MusicStyle',
|
|
213
221
|
musicUrl: 'MusicUrl',
|
|
@@ -227,6 +235,7 @@ export class GetAutoClipsTaskInfoResponseBodyData extends $dara.Model {
|
|
|
227
235
|
return {
|
|
228
236
|
colorWords: { 'type': 'array', 'itemType': GetAutoClipsTaskInfoResponseBodyDataColorWords },
|
|
229
237
|
content: 'string',
|
|
238
|
+
errorMessage: 'string',
|
|
230
239
|
mediaCloudTimeline: 'string',
|
|
231
240
|
musicStyle: 'string',
|
|
232
241
|
musicUrl: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { AsyncCreateClipsTimeLineResponseBodyData } from './AsyncCreateClipsTime
|
|
|
10
10
|
export { AsyncEditTimelineRequestTimelinesClips } from './AsyncEditTimelineRequest';
|
|
11
11
|
export { AsyncEditTimelineRequestTimelines } from './AsyncEditTimelineRequest';
|
|
12
12
|
export { AsyncEditTimelineResponseBodyData } from './AsyncEditTimelineResponseBody';
|
|
13
|
+
export { AsyncUploadVideoRequestReferenceVideo } from './AsyncUploadVideoRequest';
|
|
13
14
|
export { AsyncUploadVideoRequestSourceVideos } from './AsyncUploadVideoRequest';
|
|
14
15
|
export { AsyncUploadVideoResponseBodyDataVideoInfos } from './AsyncUploadVideoResponseBody';
|
|
15
16
|
export { AsyncUploadVideoResponseBodyData } from './AsyncUploadVideoResponseBody';
|