WeCut
v0.1.0Local video editing for AI agents: cut, caption, analyse, reuse viral formats.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wecut_doctor Check FFmpeg
Check that FFmpeg is installed and has what WeCut needs (libass, xfade, an H.264 encoder). Run once before the first render.
wecut_probe Inspect media files
Duration, width, height, fps, rotation and audio for video, image or audio files in the workspace. Use the durations for clip from/to.
| Parameter | Type | Description |
|---|---|---|
files * | array | Paths relative to the workspace. |
wecut_validate Check a project
Check a project against the media without rendering. Returns the finished duration and size, or every error with a JSON pointer (e.g. /clips/0/to) and a hint on how to fix it.
| Parameter | Type | Description |
|---|---|---|
project | object | The WeCut project (format "1") as a JSON object. wecut_schema has the full format; wecut_example shows working projects. |
projectFile | string | Instead of project: path of a project .json file inside the workspace. |
wecut_preview Look at frames
Render a few still frames (540p JPEG) at chosen times of the finished video and return them as images, so you can check framing, text size and captions before rendering. Also saved under out/preview/.
| Parameter | Type | Description |
|---|---|---|
at | array | Times in seconds of the finished video. Default: 10%, 50% and 90%. |
project | object | The WeCut project (format "1") as a JSON object. wecut_schema has the full format; wecut_example shows working projects. |
projectFile | string | Instead of project: path of a project .json file inside the workspace. |
wecut_render Render video
Render the project to output.file (MP4 or GIF) inside the workspace, overwriting an earlier render with the same name. The result is checked with ffprobe. Sends progress notifications when the call has a progressToken.
| Parameter | Type | Description |
|---|---|---|
out | string | Override output.file (must end in .mp4 or .gif). |
preset | string | draft = 540p fast check, final = default, high = slower and sharper. |
project | object | The WeCut project (format "1") as a JSON object. wecut_schema has the full format; wecut_example shows working projects. |
projectFile | string | Instead of project: path of a project .json file inside the workspace. |
wecut_list List styles and names
Names usable in a project: text styles, caption styles, fonts, transitions, filters, effects, motions, ratios and text animations.
| Parameter | Type | Description |
|---|---|---|
what | string |
wecut_schema Project format
The JSON Schema of the WeCut project format, with a description of every field. what=recipe gives the recipe (template) format instead.
| Parameter | Type | Description |
|---|---|---|
what | string |
wecut_example Example project
A complete working project to copy from: podcast-clip (cuts + karaoke captions + ducked music), slideshow (photos with motion and transitions) or product-promo (contain + blur, logo, text). Omit name to list them.
| Parameter | Type | Description |
|---|---|---|
name | string |
wecut_analyze Analyse a video
Measure a video that worked: shots and pace, cuts in the first 3 s, flashes, beat and tempo, pauses, a silent platform outro, and (with a transcript) words per minute and the hook's words. Returns a sheet of frames, one per shot, as an image: look at it for the headline card, text style, framing and captions. Use the result to pick or write a recipe.
| Parameter | Type | Description |
|---|---|---|
file * | string | Video in the workspace. |
frames | integer | Frames on the sheet (default 12). |
transcript | string | Word timings for it (.json, .srt, .vtt), optional. |
wecut_recipe_list List recipes
Recipes are templates: the shape of an edit without its content (sections such as hook and body, text slots, caption and music style). Lists the built-in ones and the workspace's own (recipes/*.json).
wecut_recipe_show Show a recipe
A recipe in full, with the roles its clips can feed, its text slots, and its default music.
| Parameter | Type | Description |
|---|---|---|
name * | string | Recipe name or workspace .json path. |
wecut_recipe_apply Apply a recipe
Turn a recipe plus new material into a project: clips (each with an optional role such as hook or body), words for the text slots, a transcript for captions, and music (replaces the recipe's own track; "none" drops it). Returns the project (saved with write); then wecut_preview and wecut_render it.
| Parameter | Type | Description |
|---|---|---|
clips * | array | |
recipe * | string | object | Built-in name, workspace .json path, or a recipe object (wecut.recipe/1). |
captionSrc | string | |
music | string | Audio file, a video whose sound is used, or "none". |
output | string | Render target (.mp4 or .gif). |
texts | object | Words per slot, e.g. {"headline": {"text": "...", "emphasis": ["key words"]}}. |
transcript | string | Word timings of captionSrc (or of the source used longest). |
write | string | Save the project here (.json). |
wecut_recipe_from_project Save a project as a recipe
Make a reusable template from a finished project: sections, transitions, text slots (current words kept as defaults), caption style, effects, and its music as the default track.
| Parameter | Type | Description |
|---|---|---|
name | string | |
project | object | The WeCut project (format "1") as a JSON object. wecut_schema has the full format; wecut_example shows working projects. |
projectFile | string | Instead of project: path of a project .json file inside the workspace. |
write | string | Save it here, e.g. recipes/my-style.json, so wecut_recipe_list finds it. |