@studiomeyer/mcp-video 1.0.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/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- package/.github/workflows/ci.yml +34 -0
- package/CHANGELOG.md +24 -0
- package/CONTRIBUTING.md +75 -0
- package/LICENSE +21 -0
- package/README.md +198 -0
- package/USAGE.md +144 -0
- package/dist/handlers/capcut.d.ts +6 -0
- package/dist/handlers/capcut.js +229 -0
- package/dist/handlers/capcut.js.map +1 -0
- package/dist/handlers/editing.d.ts +6 -0
- package/dist/handlers/editing.js +242 -0
- package/dist/handlers/editing.js.map +1 -0
- package/dist/handlers/index.d.ts +2 -0
- package/dist/handlers/index.js +33 -0
- package/dist/handlers/index.js.map +1 -0
- package/dist/handlers/post-production.d.ts +5 -0
- package/dist/handlers/post-production.js +109 -0
- package/dist/handlers/post-production.js.map +1 -0
- package/dist/handlers/smart-screenshot.d.ts +5 -0
- package/dist/handlers/smart-screenshot.js +83 -0
- package/dist/handlers/smart-screenshot.js.map +1 -0
- package/dist/handlers/tts.d.ts +5 -0
- package/dist/handlers/tts.js +83 -0
- package/dist/handlers/tts.js.map +1 -0
- package/dist/handlers/video.d.ts +5 -0
- package/dist/handlers/video.js +127 -0
- package/dist/handlers/video.js.map +1 -0
- package/dist/lib/dual-transport.d.ts +42 -0
- package/dist/lib/dual-transport.js +208 -0
- package/dist/lib/dual-transport.js.map +1 -0
- package/dist/lib/logger.d.ts +12 -0
- package/dist/lib/logger.js +42 -0
- package/dist/lib/logger.js.map +1 -0
- package/dist/lib/types.d.ts +16 -0
- package/dist/lib/types.js +15 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/schemas/capcut.d.ts +608 -0
- package/dist/schemas/capcut.js +411 -0
- package/dist/schemas/capcut.js.map +1 -0
- package/dist/schemas/editing.d.ts +822 -0
- package/dist/schemas/editing.js +466 -0
- package/dist/schemas/editing.js.map +1 -0
- package/dist/schemas/index.d.ts +2366 -0
- package/dist/schemas/index.js +15 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/post-production.d.ts +379 -0
- package/dist/schemas/post-production.js +268 -0
- package/dist/schemas/post-production.js.map +1 -0
- package/dist/schemas/smart-screenshot.d.ts +127 -0
- package/dist/schemas/smart-screenshot.js +122 -0
- package/dist/schemas/smart-screenshot.js.map +1 -0
- package/dist/schemas/tts.d.ts +220 -0
- package/dist/schemas/tts.js +194 -0
- package/dist/schemas/tts.js.map +1 -0
- package/dist/schemas/video.d.ts +236 -0
- package/dist/schemas/video.js +210 -0
- package/dist/schemas/video.js.map +1 -0
- package/dist/server.d.ts +11 -0
- package/dist/server.js +239 -0
- package/dist/server.js.map +1 -0
- package/dist/server.test.d.ts +1 -0
- package/dist/server.test.js +87 -0
- package/dist/server.test.js.map +1 -0
- package/dist/tools/engine/audio-mixer.d.ts +40 -0
- package/dist/tools/engine/audio-mixer.js +169 -0
- package/dist/tools/engine/audio-mixer.js.map +1 -0
- package/dist/tools/engine/audio.d.ts +22 -0
- package/dist/tools/engine/audio.js +73 -0
- package/dist/tools/engine/audio.js.map +1 -0
- package/dist/tools/engine/beat-sync.d.ts +31 -0
- package/dist/tools/engine/beat-sync.js +270 -0
- package/dist/tools/engine/beat-sync.js.map +1 -0
- package/dist/tools/engine/capture.d.ts +12 -0
- package/dist/tools/engine/capture.js +290 -0
- package/dist/tools/engine/capture.js.map +1 -0
- package/dist/tools/engine/chroma-key.d.ts +27 -0
- package/dist/tools/engine/chroma-key.js +154 -0
- package/dist/tools/engine/chroma-key.js.map +1 -0
- package/dist/tools/engine/concat.d.ts +49 -0
- package/dist/tools/engine/concat.js +149 -0
- package/dist/tools/engine/concat.js.map +1 -0
- package/dist/tools/engine/cursor.d.ts +26 -0
- package/dist/tools/engine/cursor.js +185 -0
- package/dist/tools/engine/cursor.js.map +1 -0
- package/dist/tools/engine/easing.d.ts +15 -0
- package/dist/tools/engine/easing.js +100 -0
- package/dist/tools/engine/easing.js.map +1 -0
- package/dist/tools/engine/editing.d.ts +158 -0
- package/dist/tools/engine/editing.js +541 -0
- package/dist/tools/engine/editing.js.map +1 -0
- package/dist/tools/engine/encoder.d.ts +31 -0
- package/dist/tools/engine/encoder.js +154 -0
- package/dist/tools/engine/encoder.js.map +1 -0
- package/dist/tools/engine/index.d.ts +30 -0
- package/dist/tools/engine/index.js +23 -0
- package/dist/tools/engine/index.js.map +1 -0
- package/dist/tools/engine/lut-presets.d.ts +25 -0
- package/dist/tools/engine/lut-presets.js +141 -0
- package/dist/tools/engine/lut-presets.js.map +1 -0
- package/dist/tools/engine/narrated-video.d.ts +63 -0
- package/dist/tools/engine/narrated-video.js +163 -0
- package/dist/tools/engine/narrated-video.js.map +1 -0
- package/dist/tools/engine/scenes.d.ts +17 -0
- package/dist/tools/engine/scenes.js +223 -0
- package/dist/tools/engine/scenes.js.map +1 -0
- package/dist/tools/engine/smart-screenshot.d.ts +80 -0
- package/dist/tools/engine/smart-screenshot.js +744 -0
- package/dist/tools/engine/smart-screenshot.js.map +1 -0
- package/dist/tools/engine/social-format.d.ts +66 -0
- package/dist/tools/engine/social-format.js +107 -0
- package/dist/tools/engine/social-format.js.map +1 -0
- package/dist/tools/engine/template-renderer.d.ts +45 -0
- package/dist/tools/engine/template-renderer.js +233 -0
- package/dist/tools/engine/template-renderer.js.map +1 -0
- package/dist/tools/engine/templates.d.ts +87 -0
- package/dist/tools/engine/templates.js +272 -0
- package/dist/tools/engine/templates.js.map +1 -0
- package/dist/tools/engine/text-animations.d.ts +33 -0
- package/dist/tools/engine/text-animations.js +192 -0
- package/dist/tools/engine/text-animations.js.map +1 -0
- package/dist/tools/engine/text-overlay.d.ts +27 -0
- package/dist/tools/engine/text-overlay.js +84 -0
- package/dist/tools/engine/text-overlay.js.map +1 -0
- package/dist/tools/engine/tts.d.ts +54 -0
- package/dist/tools/engine/tts.js +186 -0
- package/dist/tools/engine/tts.js.map +1 -0
- package/dist/tools/engine/types.d.ts +166 -0
- package/dist/tools/engine/types.js +13 -0
- package/dist/tools/engine/types.js.map +1 -0
- package/dist/tools/engine/voice-effects.d.ts +18 -0
- package/dist/tools/engine/voice-effects.js +215 -0
- package/dist/tools/engine/voice-effects.js.map +1 -0
- package/dist/tools/index.d.ts +32 -0
- package/dist/tools/index.js +23 -0
- package/dist/tools/index.js.map +1 -0
- package/package.json +56 -0
- package/scripts/check-deps.js +39 -0
- package/src/handlers/capcut.ts +245 -0
- package/src/handlers/editing.ts +260 -0
- package/src/handlers/index.ts +34 -0
- package/src/handlers/post-production.ts +136 -0
- package/src/handlers/smart-screenshot.ts +86 -0
- package/src/handlers/tts.ts +103 -0
- package/src/handlers/video.ts +137 -0
- package/src/lib/dual-transport.ts +272 -0
- package/src/lib/logger.ts +59 -0
- package/src/lib/types.ts +25 -0
- package/src/schemas/capcut.ts +418 -0
- package/src/schemas/editing.ts +476 -0
- package/src/schemas/index.ts +15 -0
- package/src/schemas/post-production.ts +273 -0
- package/src/schemas/smart-screenshot.ts +122 -0
- package/src/schemas/tts.ts +197 -0
- package/src/schemas/video.ts +211 -0
- package/src/server.test.ts +99 -0
- package/src/server.ts +289 -0
- package/src/tools/engine/audio-mixer.ts +244 -0
- package/src/tools/engine/audio.ts +115 -0
- package/src/tools/engine/beat-sync.ts +356 -0
- package/src/tools/engine/capture.ts +360 -0
- package/src/tools/engine/chroma-key.ts +202 -0
- package/src/tools/engine/concat.ts +242 -0
- package/src/tools/engine/cursor.ts +222 -0
- package/src/tools/engine/easing.ts +120 -0
- package/src/tools/engine/editing.ts +809 -0
- package/src/tools/engine/encoder.ts +208 -0
- package/src/tools/engine/index.ts +33 -0
- package/src/tools/engine/lut-presets.ts +235 -0
- package/src/tools/engine/narrated-video.ts +267 -0
- package/src/tools/engine/scenes.ts +309 -0
- package/src/tools/engine/smart-screenshot.ts +923 -0
- package/src/tools/engine/social-format.ts +146 -0
- package/src/tools/engine/template-renderer.ts +294 -0
- package/src/tools/engine/templates.ts +370 -0
- package/src/tools/engine/text-animations.ts +282 -0
- package/src/tools/engine/text-overlay.ts +143 -0
- package/src/tools/engine/tts.ts +284 -0
- package/src/tools/engine/types.ts +191 -0
- package/src/tools/engine/voice-effects.ts +258 -0
- package/src/tools/index.ts +67 -0
- package/tsconfig.json +19 -0
- package/vitest.config.ts +7 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { videoSchemas } from './video.js';
|
|
2
|
+
import { postProductionSchemas } from './post-production.js';
|
|
3
|
+
import { ttsSchemas } from './tts.js';
|
|
4
|
+
import { smartScreenshotSchemas } from './smart-screenshot.js';
|
|
5
|
+
import { editingSchemas } from './editing.js';
|
|
6
|
+
import { capcutSchemas } from './capcut.js';
|
|
7
|
+
export const TOOLS = [
|
|
8
|
+
...videoSchemas,
|
|
9
|
+
...postProductionSchemas,
|
|
10
|
+
...ttsSchemas,
|
|
11
|
+
...smartScreenshotSchemas,
|
|
12
|
+
...editingSchemas,
|
|
13
|
+
...capcutSchemas,
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,GAAG,YAAY;IACf,GAAG,qBAAqB;IACxB,GAAG,UAAU;IACb,GAAG,sBAAsB;IACzB,GAAG,cAAc;IACjB,GAAG,aAAa;CACjB,CAAC"}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tool Schemas for Post-Production features
|
|
3
|
+
*/
|
|
4
|
+
export declare const postProductionSchemas: ({
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
annotations: {
|
|
8
|
+
title: string;
|
|
9
|
+
readOnlyHint: boolean;
|
|
10
|
+
destructiveHint: boolean;
|
|
11
|
+
openWorldHint: boolean;
|
|
12
|
+
idempotentHint: boolean;
|
|
13
|
+
};
|
|
14
|
+
inputSchema: {
|
|
15
|
+
type: "object";
|
|
16
|
+
properties: {
|
|
17
|
+
videoPath: {
|
|
18
|
+
type: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
musicPath: {
|
|
22
|
+
type: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
outputPath: {
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
musicVolume: {
|
|
30
|
+
type: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
fadeInDuration: {
|
|
34
|
+
type: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
fadeOutDuration: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
loopMusic: {
|
|
42
|
+
type: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
clips?: undefined;
|
|
46
|
+
transition?: undefined;
|
|
47
|
+
transitionDuration?: undefined;
|
|
48
|
+
text?: undefined;
|
|
49
|
+
subtitle?: undefined;
|
|
50
|
+
duration?: undefined;
|
|
51
|
+
backgroundColor?: undefined;
|
|
52
|
+
textColor?: undefined;
|
|
53
|
+
inputPath?: undefined;
|
|
54
|
+
format?: undefined;
|
|
55
|
+
strategy?: undefined;
|
|
56
|
+
outputDir?: undefined;
|
|
57
|
+
formats?: undefined;
|
|
58
|
+
overlays?: undefined;
|
|
59
|
+
};
|
|
60
|
+
required: string[];
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
name: string;
|
|
64
|
+
description: string;
|
|
65
|
+
annotations: {
|
|
66
|
+
title: string;
|
|
67
|
+
readOnlyHint: boolean;
|
|
68
|
+
destructiveHint: boolean;
|
|
69
|
+
openWorldHint: boolean;
|
|
70
|
+
idempotentHint: boolean;
|
|
71
|
+
};
|
|
72
|
+
inputSchema: {
|
|
73
|
+
type: "object";
|
|
74
|
+
properties: {
|
|
75
|
+
clips: {
|
|
76
|
+
type: string;
|
|
77
|
+
items: {
|
|
78
|
+
type: string;
|
|
79
|
+
properties: {
|
|
80
|
+
path: {
|
|
81
|
+
type: string;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
trimStart: {
|
|
85
|
+
type: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
trimEnd: {
|
|
89
|
+
type: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
required: string[];
|
|
94
|
+
};
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
outputPath: {
|
|
98
|
+
type: string;
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
transition: {
|
|
102
|
+
type: string;
|
|
103
|
+
enum: string[];
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
transitionDuration: {
|
|
107
|
+
type: string;
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
videoPath?: undefined;
|
|
111
|
+
musicPath?: undefined;
|
|
112
|
+
musicVolume?: undefined;
|
|
113
|
+
fadeInDuration?: undefined;
|
|
114
|
+
fadeOutDuration?: undefined;
|
|
115
|
+
loopMusic?: undefined;
|
|
116
|
+
text?: undefined;
|
|
117
|
+
subtitle?: undefined;
|
|
118
|
+
duration?: undefined;
|
|
119
|
+
backgroundColor?: undefined;
|
|
120
|
+
textColor?: undefined;
|
|
121
|
+
inputPath?: undefined;
|
|
122
|
+
format?: undefined;
|
|
123
|
+
strategy?: undefined;
|
|
124
|
+
outputDir?: undefined;
|
|
125
|
+
formats?: undefined;
|
|
126
|
+
overlays?: undefined;
|
|
127
|
+
};
|
|
128
|
+
required: string[];
|
|
129
|
+
};
|
|
130
|
+
} | {
|
|
131
|
+
name: string;
|
|
132
|
+
description: string;
|
|
133
|
+
annotations: {
|
|
134
|
+
title: string;
|
|
135
|
+
readOnlyHint: boolean;
|
|
136
|
+
destructiveHint: boolean;
|
|
137
|
+
openWorldHint: boolean;
|
|
138
|
+
idempotentHint: boolean;
|
|
139
|
+
};
|
|
140
|
+
inputSchema: {
|
|
141
|
+
type: "object";
|
|
142
|
+
properties: {
|
|
143
|
+
text: {
|
|
144
|
+
type: string;
|
|
145
|
+
description: string;
|
|
146
|
+
};
|
|
147
|
+
subtitle: {
|
|
148
|
+
type: string;
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
duration: {
|
|
152
|
+
type: string;
|
|
153
|
+
description: string;
|
|
154
|
+
};
|
|
155
|
+
backgroundColor: {
|
|
156
|
+
type: string;
|
|
157
|
+
description: string;
|
|
158
|
+
};
|
|
159
|
+
textColor: {
|
|
160
|
+
type: string;
|
|
161
|
+
description: string;
|
|
162
|
+
};
|
|
163
|
+
outputPath: {
|
|
164
|
+
type: string;
|
|
165
|
+
description: string;
|
|
166
|
+
};
|
|
167
|
+
videoPath?: undefined;
|
|
168
|
+
musicPath?: undefined;
|
|
169
|
+
musicVolume?: undefined;
|
|
170
|
+
fadeInDuration?: undefined;
|
|
171
|
+
fadeOutDuration?: undefined;
|
|
172
|
+
loopMusic?: undefined;
|
|
173
|
+
clips?: undefined;
|
|
174
|
+
transition?: undefined;
|
|
175
|
+
transitionDuration?: undefined;
|
|
176
|
+
inputPath?: undefined;
|
|
177
|
+
format?: undefined;
|
|
178
|
+
strategy?: undefined;
|
|
179
|
+
outputDir?: undefined;
|
|
180
|
+
formats?: undefined;
|
|
181
|
+
overlays?: undefined;
|
|
182
|
+
};
|
|
183
|
+
required: string[];
|
|
184
|
+
};
|
|
185
|
+
} | {
|
|
186
|
+
name: string;
|
|
187
|
+
description: string;
|
|
188
|
+
annotations: {
|
|
189
|
+
title: string;
|
|
190
|
+
readOnlyHint: boolean;
|
|
191
|
+
destructiveHint: boolean;
|
|
192
|
+
openWorldHint: boolean;
|
|
193
|
+
idempotentHint: boolean;
|
|
194
|
+
};
|
|
195
|
+
inputSchema: {
|
|
196
|
+
type: "object";
|
|
197
|
+
properties: {
|
|
198
|
+
inputPath: {
|
|
199
|
+
type: string;
|
|
200
|
+
description: string;
|
|
201
|
+
};
|
|
202
|
+
outputPath: {
|
|
203
|
+
type: string;
|
|
204
|
+
description: string;
|
|
205
|
+
};
|
|
206
|
+
format: {
|
|
207
|
+
type: string;
|
|
208
|
+
enum: string[];
|
|
209
|
+
description: string;
|
|
210
|
+
};
|
|
211
|
+
strategy: {
|
|
212
|
+
type: string;
|
|
213
|
+
enum: string[];
|
|
214
|
+
description: string;
|
|
215
|
+
};
|
|
216
|
+
videoPath?: undefined;
|
|
217
|
+
musicPath?: undefined;
|
|
218
|
+
musicVolume?: undefined;
|
|
219
|
+
fadeInDuration?: undefined;
|
|
220
|
+
fadeOutDuration?: undefined;
|
|
221
|
+
loopMusic?: undefined;
|
|
222
|
+
clips?: undefined;
|
|
223
|
+
transition?: undefined;
|
|
224
|
+
transitionDuration?: undefined;
|
|
225
|
+
text?: undefined;
|
|
226
|
+
subtitle?: undefined;
|
|
227
|
+
duration?: undefined;
|
|
228
|
+
backgroundColor?: undefined;
|
|
229
|
+
textColor?: undefined;
|
|
230
|
+
outputDir?: undefined;
|
|
231
|
+
formats?: undefined;
|
|
232
|
+
overlays?: undefined;
|
|
233
|
+
};
|
|
234
|
+
required: string[];
|
|
235
|
+
};
|
|
236
|
+
} | {
|
|
237
|
+
name: string;
|
|
238
|
+
description: string;
|
|
239
|
+
annotations: {
|
|
240
|
+
title: string;
|
|
241
|
+
readOnlyHint: boolean;
|
|
242
|
+
destructiveHint: boolean;
|
|
243
|
+
openWorldHint: boolean;
|
|
244
|
+
idempotentHint: boolean;
|
|
245
|
+
};
|
|
246
|
+
inputSchema: {
|
|
247
|
+
type: "object";
|
|
248
|
+
properties: {
|
|
249
|
+
inputPath: {
|
|
250
|
+
type: string;
|
|
251
|
+
description: string;
|
|
252
|
+
};
|
|
253
|
+
outputDir: {
|
|
254
|
+
type: string;
|
|
255
|
+
description: string;
|
|
256
|
+
};
|
|
257
|
+
formats: {
|
|
258
|
+
type: string;
|
|
259
|
+
items: {
|
|
260
|
+
type: string;
|
|
261
|
+
enum: string[];
|
|
262
|
+
};
|
|
263
|
+
description: string;
|
|
264
|
+
};
|
|
265
|
+
strategy: {
|
|
266
|
+
type: string;
|
|
267
|
+
enum: string[];
|
|
268
|
+
description: string;
|
|
269
|
+
};
|
|
270
|
+
videoPath?: undefined;
|
|
271
|
+
musicPath?: undefined;
|
|
272
|
+
outputPath?: undefined;
|
|
273
|
+
musicVolume?: undefined;
|
|
274
|
+
fadeInDuration?: undefined;
|
|
275
|
+
fadeOutDuration?: undefined;
|
|
276
|
+
loopMusic?: undefined;
|
|
277
|
+
clips?: undefined;
|
|
278
|
+
transition?: undefined;
|
|
279
|
+
transitionDuration?: undefined;
|
|
280
|
+
text?: undefined;
|
|
281
|
+
subtitle?: undefined;
|
|
282
|
+
duration?: undefined;
|
|
283
|
+
backgroundColor?: undefined;
|
|
284
|
+
textColor?: undefined;
|
|
285
|
+
format?: undefined;
|
|
286
|
+
overlays?: undefined;
|
|
287
|
+
};
|
|
288
|
+
required: string[];
|
|
289
|
+
};
|
|
290
|
+
} | {
|
|
291
|
+
name: string;
|
|
292
|
+
description: string;
|
|
293
|
+
annotations: {
|
|
294
|
+
title: string;
|
|
295
|
+
readOnlyHint: boolean;
|
|
296
|
+
destructiveHint: boolean;
|
|
297
|
+
openWorldHint: boolean;
|
|
298
|
+
idempotentHint: boolean;
|
|
299
|
+
};
|
|
300
|
+
inputSchema: {
|
|
301
|
+
type: "object";
|
|
302
|
+
properties: {
|
|
303
|
+
inputPath: {
|
|
304
|
+
type: string;
|
|
305
|
+
description: string;
|
|
306
|
+
};
|
|
307
|
+
outputPath: {
|
|
308
|
+
type: string;
|
|
309
|
+
description: string;
|
|
310
|
+
};
|
|
311
|
+
overlays: {
|
|
312
|
+
type: string;
|
|
313
|
+
items: {
|
|
314
|
+
type: string;
|
|
315
|
+
properties: {
|
|
316
|
+
text: {
|
|
317
|
+
type: string;
|
|
318
|
+
description: string;
|
|
319
|
+
};
|
|
320
|
+
position: {
|
|
321
|
+
type: string;
|
|
322
|
+
enum: string[];
|
|
323
|
+
description: string;
|
|
324
|
+
};
|
|
325
|
+
fontSize: {
|
|
326
|
+
type: string;
|
|
327
|
+
description: string;
|
|
328
|
+
};
|
|
329
|
+
fontColor: {
|
|
330
|
+
type: string;
|
|
331
|
+
description: string;
|
|
332
|
+
};
|
|
333
|
+
startTime: {
|
|
334
|
+
type: string;
|
|
335
|
+
description: string;
|
|
336
|
+
};
|
|
337
|
+
endTime: {
|
|
338
|
+
type: string;
|
|
339
|
+
description: string;
|
|
340
|
+
};
|
|
341
|
+
fadeIn: {
|
|
342
|
+
type: string;
|
|
343
|
+
description: string;
|
|
344
|
+
};
|
|
345
|
+
fadeOut: {
|
|
346
|
+
type: string;
|
|
347
|
+
description: string;
|
|
348
|
+
};
|
|
349
|
+
showBackground: {
|
|
350
|
+
type: string;
|
|
351
|
+
description: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
required: string[];
|
|
355
|
+
};
|
|
356
|
+
description: string;
|
|
357
|
+
};
|
|
358
|
+
videoPath?: undefined;
|
|
359
|
+
musicPath?: undefined;
|
|
360
|
+
musicVolume?: undefined;
|
|
361
|
+
fadeInDuration?: undefined;
|
|
362
|
+
fadeOutDuration?: undefined;
|
|
363
|
+
loopMusic?: undefined;
|
|
364
|
+
clips?: undefined;
|
|
365
|
+
transition?: undefined;
|
|
366
|
+
transitionDuration?: undefined;
|
|
367
|
+
text?: undefined;
|
|
368
|
+
subtitle?: undefined;
|
|
369
|
+
duration?: undefined;
|
|
370
|
+
backgroundColor?: undefined;
|
|
371
|
+
textColor?: undefined;
|
|
372
|
+
format?: undefined;
|
|
373
|
+
strategy?: undefined;
|
|
374
|
+
outputDir?: undefined;
|
|
375
|
+
formats?: undefined;
|
|
376
|
+
};
|
|
377
|
+
required: string[];
|
|
378
|
+
};
|
|
379
|
+
})[];
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Tool Schemas for Post-Production features
|
|
3
|
+
*/
|
|
4
|
+
export const postProductionSchemas = [
|
|
5
|
+
// --- Background Music ---
|
|
6
|
+
{
|
|
7
|
+
name: 'add_background_music',
|
|
8
|
+
description: 'Add background music to a video. Supports fade in/out, volume control, and automatic looping. Does NOT re-encode the video (fast). Output: MP4 with AAC audio.',
|
|
9
|
+
annotations: {
|
|
10
|
+
title: 'Add Background Music',
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
openWorldHint: false,
|
|
14
|
+
idempotentHint: true,
|
|
15
|
+
},
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
videoPath: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'Path to the video file',
|
|
22
|
+
},
|
|
23
|
+
musicPath: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: 'Path to the music file (mp3, wav, aac, ogg)',
|
|
26
|
+
},
|
|
27
|
+
outputPath: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
description: 'Output path (default: adds -music suffix)',
|
|
30
|
+
},
|
|
31
|
+
musicVolume: {
|
|
32
|
+
type: 'number',
|
|
33
|
+
description: 'Music volume 0.0-1.0 (default: 0.25). Recommended: 0.15-0.3 for background.',
|
|
34
|
+
},
|
|
35
|
+
fadeInDuration: {
|
|
36
|
+
type: 'number',
|
|
37
|
+
description: 'Fade in duration in seconds (default: 2)',
|
|
38
|
+
},
|
|
39
|
+
fadeOutDuration: {
|
|
40
|
+
type: 'number',
|
|
41
|
+
description: 'Fade out duration in seconds (default: 3)',
|
|
42
|
+
},
|
|
43
|
+
loopMusic: {
|
|
44
|
+
type: 'boolean',
|
|
45
|
+
description: 'Loop music if shorter than video (default: true)',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
required: ['videoPath', 'musicPath'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
// --- Concatenation ---
|
|
52
|
+
{
|
|
53
|
+
name: 'concatenate_videos',
|
|
54
|
+
description: 'Concatenate multiple video clips into one with cinematic transitions. Automatically normalizes resolution and framerate. Supports 30+ transition types: fade, dissolve, wipeleft, slideright, circleopen, radial, etc.',
|
|
55
|
+
annotations: {
|
|
56
|
+
title: 'Concatenate Videos',
|
|
57
|
+
readOnlyHint: false,
|
|
58
|
+
destructiveHint: false,
|
|
59
|
+
openWorldHint: false,
|
|
60
|
+
idempotentHint: true,
|
|
61
|
+
},
|
|
62
|
+
inputSchema: {
|
|
63
|
+
type: 'object',
|
|
64
|
+
properties: {
|
|
65
|
+
clips: {
|
|
66
|
+
type: 'array',
|
|
67
|
+
items: {
|
|
68
|
+
type: 'object',
|
|
69
|
+
properties: {
|
|
70
|
+
path: { type: 'string', description: 'Path to video clip' },
|
|
71
|
+
trimStart: { type: 'number', description: 'Optional: start time in seconds' },
|
|
72
|
+
trimEnd: { type: 'number', description: 'Optional: end time in seconds' },
|
|
73
|
+
},
|
|
74
|
+
required: ['path'],
|
|
75
|
+
},
|
|
76
|
+
description: 'Video clips in order',
|
|
77
|
+
},
|
|
78
|
+
outputPath: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'Output path',
|
|
81
|
+
},
|
|
82
|
+
transition: {
|
|
83
|
+
type: 'string',
|
|
84
|
+
enum: [
|
|
85
|
+
'fade', 'fadeblack', 'fadewhite', 'dissolve',
|
|
86
|
+
'wipeleft', 'wiperight', 'wipeup', 'wipedown',
|
|
87
|
+
'slideleft', 'slideright', 'slideup', 'slidedown',
|
|
88
|
+
'smoothleft', 'smoothright', 'circleopen', 'circleclose',
|
|
89
|
+
'radial', 'pixelize', 'diagtl', 'diagtr',
|
|
90
|
+
],
|
|
91
|
+
description: 'Transition type between clips (default: fade)',
|
|
92
|
+
},
|
|
93
|
+
transitionDuration: {
|
|
94
|
+
type: 'number',
|
|
95
|
+
description: 'Transition duration in seconds (default: 1)',
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
required: ['clips', 'outputPath'],
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
// --- Intro/Outro Generator ---
|
|
102
|
+
{
|
|
103
|
+
name: 'generate_intro',
|
|
104
|
+
description: 'Generate a cinematic intro or outro clip with animated text. Creates a solid-color background with fade-in title and optional subtitle. Perfect for branding.',
|
|
105
|
+
annotations: {
|
|
106
|
+
title: 'Generate Intro/Outro Clip',
|
|
107
|
+
readOnlyHint: false,
|
|
108
|
+
destructiveHint: false,
|
|
109
|
+
openWorldHint: false,
|
|
110
|
+
idempotentHint: true,
|
|
111
|
+
},
|
|
112
|
+
inputSchema: {
|
|
113
|
+
type: 'object',
|
|
114
|
+
properties: {
|
|
115
|
+
text: {
|
|
116
|
+
type: 'string',
|
|
117
|
+
description: 'Main title text',
|
|
118
|
+
},
|
|
119
|
+
subtitle: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
description: 'Optional subtitle text',
|
|
122
|
+
},
|
|
123
|
+
duration: {
|
|
124
|
+
type: 'number',
|
|
125
|
+
description: 'Duration in seconds (default: 3)',
|
|
126
|
+
},
|
|
127
|
+
backgroundColor: {
|
|
128
|
+
type: 'string',
|
|
129
|
+
description: 'Background color hex (default: #0a0a0a)',
|
|
130
|
+
},
|
|
131
|
+
textColor: {
|
|
132
|
+
type: 'string',
|
|
133
|
+
description: 'Text color (default: white)',
|
|
134
|
+
},
|
|
135
|
+
outputPath: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
description: 'Output path',
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
required: ['text', 'outputPath'],
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
// --- Social Media Format ---
|
|
144
|
+
{
|
|
145
|
+
name: 'convert_social_format',
|
|
146
|
+
description: 'Convert a video to a specific social media format. Handles aspect ratio conversion with crop, padding, or blur-background strategy. Supports: instagram-reel, instagram-feed, youtube, youtube-short, tiktok, linkedin.',
|
|
147
|
+
annotations: {
|
|
148
|
+
title: 'Convert to Social Media Format',
|
|
149
|
+
readOnlyHint: false,
|
|
150
|
+
destructiveHint: false,
|
|
151
|
+
openWorldHint: false,
|
|
152
|
+
idempotentHint: true,
|
|
153
|
+
},
|
|
154
|
+
inputSchema: {
|
|
155
|
+
type: 'object',
|
|
156
|
+
properties: {
|
|
157
|
+
inputPath: {
|
|
158
|
+
type: 'string',
|
|
159
|
+
description: 'Path to input video',
|
|
160
|
+
},
|
|
161
|
+
outputPath: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
description: 'Output path',
|
|
164
|
+
},
|
|
165
|
+
format: {
|
|
166
|
+
type: 'string',
|
|
167
|
+
enum: ['instagram-reel', 'instagram-feed', 'instagram-story', 'youtube', 'youtube-short', 'tiktok', 'linkedin-landscape', 'linkedin-square'],
|
|
168
|
+
description: 'Target social media format',
|
|
169
|
+
},
|
|
170
|
+
strategy: {
|
|
171
|
+
type: 'string',
|
|
172
|
+
enum: ['crop', 'pad', 'blur-background'],
|
|
173
|
+
description: 'How to handle aspect ratio: crop (cut edges), pad (black bars), blur-background (blurred fill). Default: blur-background.',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
required: ['inputPath', 'outputPath', 'format'],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
// --- Batch Social Format ---
|
|
180
|
+
{
|
|
181
|
+
name: 'convert_all_social_formats',
|
|
182
|
+
description: 'Convert a video to multiple social media formats at once. Creates separate files for each platform. Great for preparing content for all channels simultaneously.',
|
|
183
|
+
annotations: {
|
|
184
|
+
title: 'Convert to All Social Formats',
|
|
185
|
+
readOnlyHint: false,
|
|
186
|
+
destructiveHint: false,
|
|
187
|
+
openWorldHint: false,
|
|
188
|
+
idempotentHint: true,
|
|
189
|
+
},
|
|
190
|
+
inputSchema: {
|
|
191
|
+
type: 'object',
|
|
192
|
+
properties: {
|
|
193
|
+
inputPath: {
|
|
194
|
+
type: 'string',
|
|
195
|
+
description: 'Path to input video',
|
|
196
|
+
},
|
|
197
|
+
outputDir: {
|
|
198
|
+
type: 'string',
|
|
199
|
+
description: 'Output directory (default: ./output/)',
|
|
200
|
+
},
|
|
201
|
+
formats: {
|
|
202
|
+
type: 'array',
|
|
203
|
+
items: {
|
|
204
|
+
type: 'string',
|
|
205
|
+
enum: ['instagram-reel', 'instagram-feed', 'instagram-story', 'youtube', 'youtube-short', 'tiktok', 'linkedin-landscape', 'linkedin-square'],
|
|
206
|
+
},
|
|
207
|
+
description: 'Formats to generate (default: instagram-reel, instagram-feed, youtube, tiktok)',
|
|
208
|
+
},
|
|
209
|
+
strategy: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
enum: ['crop', 'pad', 'blur-background'],
|
|
212
|
+
description: 'Aspect ratio strategy (default: blur-background)',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
required: ['inputPath'],
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
// --- Text Overlays ---
|
|
219
|
+
{
|
|
220
|
+
name: 'add_text_overlay',
|
|
221
|
+
description: 'Add animated text overlays to a video. Supports fade-in/out, positioning (center, top, bottom, corners), background boxes, and multiple text layers.',
|
|
222
|
+
annotations: {
|
|
223
|
+
title: 'Add Text Overlay to Video',
|
|
224
|
+
readOnlyHint: false,
|
|
225
|
+
destructiveHint: false,
|
|
226
|
+
openWorldHint: false,
|
|
227
|
+
idempotentHint: true,
|
|
228
|
+
},
|
|
229
|
+
inputSchema: {
|
|
230
|
+
type: 'object',
|
|
231
|
+
properties: {
|
|
232
|
+
inputPath: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
description: 'Path to input video',
|
|
235
|
+
},
|
|
236
|
+
outputPath: {
|
|
237
|
+
type: 'string',
|
|
238
|
+
description: 'Output path',
|
|
239
|
+
},
|
|
240
|
+
overlays: {
|
|
241
|
+
type: 'array',
|
|
242
|
+
items: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
properties: {
|
|
245
|
+
text: { type: 'string', description: 'Text to display' },
|
|
246
|
+
position: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
enum: ['center', 'top', 'bottom', 'top-left', 'top-right', 'bottom-left', 'bottom-right'],
|
|
249
|
+
description: 'Position (default: center)',
|
|
250
|
+
},
|
|
251
|
+
fontSize: { type: 'number', description: 'Font size (default: 48)' },
|
|
252
|
+
fontColor: { type: 'string', description: 'Color (default: white)' },
|
|
253
|
+
startTime: { type: 'number', description: 'Start time in seconds' },
|
|
254
|
+
endTime: { type: 'number', description: 'End time in seconds' },
|
|
255
|
+
fadeIn: { type: 'number', description: 'Fade in seconds (default: 0.5)' },
|
|
256
|
+
fadeOut: { type: 'number', description: 'Fade out seconds (default: 0.5)' },
|
|
257
|
+
showBackground: { type: 'boolean', description: 'Show background box (default: false)' },
|
|
258
|
+
},
|
|
259
|
+
required: ['text', 'startTime', 'endTime'],
|
|
260
|
+
},
|
|
261
|
+
description: 'Array of text overlays',
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
required: ['inputPath', 'outputPath', 'overlays'],
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
];
|
|
268
|
+
//# sourceMappingURL=post-production.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-production.js","sourceRoot":"","sources":["../../src/schemas/post-production.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,2BAA2B;IAC3B;QACE,IAAI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