Video editor, effects and media tools
The Video editor trims, splits, crops, resizes, retimes and re-scores one clip, with effects that preview live while you work, and runs generative edits on a section of it: extend, remix or refine faces. Your edit saves itself, like a picture edit. Media tools run the same kinds of edit on items in History and the Library without opening an editor.
On this page
What you will see#
Like the Image editor, the Video editor is a tab on the Generate page. The whole tab is the editor.
- The player with the clip and its edits applied, and a scrub bar under it: the playhead, In and Out handles, previous and next frame, Loop in to out, and a button to mute playback.
- The tool rail, in groups: Generate, Time (Trim, Split, Speed), Frame (Crop, Resize), Sound (Mute, Volume, Replace audio), Look (Looks, LUT, Fix colours), Effects and Still (Extract frame).
- The options panel on the left for the active tool, whose settings are form fields, and Edits, the list of steps you have applied.
- Preview 3 s · 480p, which renders a short, small preview of the clip with every edit applied, and Save.
The Video editor with the Trim tool
Open a clip#
-
From the Generate page
Press the plus button in the tab strip and choose Video editor, or pick it in the phone Tabs sheet.
What you will see“Open a clip to edit”, with buttons to pick a video from your Library or History, and Recent edits with a count once you have saved edits to continue.
-
From History or the Library
Select a video and choose Open in editor, or press
E. A mixed selection opens each picture in the Image editor and each video in the Video editor. -
From a video on the generation form
Open the tools of a video field and choose Open in Video editor.
Replace clip swaps in another video from the Library or History. Clips are saved as edits on the server, the same way pictures are: Recent edits reopens one with its steps, and the Image editor guide describes how saved edits behave.
Editor tools#
| Tool | What it does |
|---|---|
| Trim | Keeps the part between In and Out. Drag the white handles on the scrub bar, or use Set in and Set out at the playhead, then Apply trim. |
| Split | Cuts the clip at one time point (Split at, or Use playhead). Saving makes two Library items: up to this point, and from it. |
| Speed | Plays the clip faster or slower, from 0.25x to 4x, with Keep pitch on by default. |
| Crop | Drag the corners on the picture; playback shows the crop live. Set an Aspect, and Rotate left, Rotate right, Flip horizontally or Flip vertically under Rotate and flip. |
| Resize | Sets the Width and Height, with a Quality of High, Balanced or Small. |
| Mute | Removes the sound from the saved clip. Playback goes quiet so you can hear the result. |
| Volume | Makes the sound louder or quieter, in % (0 to 400) or dB (−60 to 20), with a Fade in and a Fade out. |
| Replace audio | Uses another sound track: pick one from the Library or upload it. Start at skips into the track, and Loop to fit repeats it to the clip's length. |
| Looks, LUT, Fix colours | Grade the clip with live preview. See Video effects. |
| Effects | Film grain, Vignette, Ken Burns and Fade, with live preview. |
| Extract frame | Takes the paused frame with your edits applied. Save frame as image puts it in your Library; Open frame in Image editor opens it in an Image editor tab. |
| Generate | Extend, Remix and Refine faces run a preset mode on the clip. See Generative edits. |
Every edit is a step you can undo, redo, hide or reorder in Edits, and the steps are saved with the edit. The Image editor guide describes the Edits list in full; it works the same here.
Generative edits#
The Generate group works on the whole clip or on a time range you mark on the scrub bar, and splices the result back in. Frames outside the range are not changed. A task is listed only when a preset on your instance offers a mode for it; choose a setup in the bar the first time, then press Generate.
| Task | What it does | Offered by |
|---|---|---|
| Extend | Adds new footage after the marked range, or after the end of the clip, for the number of seconds you set under Add after. A prompt is optional. | LTX-2.5, MiniMax-H3, MiniMax-H3-Fast |
| Remix | Redraws the marked section, or the whole clip, from a prompt you write. The clip's own sound stays. Works on up to 14 s at a time. | MiniMax-H3 |
| Refine faces | Redraws the faces in a section you mark, with no prompt. A marked range is required. | LTX-2.5, MiniMax-H3, MiniMax-H3-Fast |
Mark a range with the Marked range checkbox, or set its start and end with the time fields and Set start and Set end at the playhead. When a mode can only take a short section, the range shows its maximum and cannot be made longer.
Changing the whole clip, such as upscaling, restoring, colourizing or turning day into night, is not a video editor task: those are generation modes of their presets on the Generate page. See Upscaling, background removal and smoother motion.
Video effects#
Effects preview live in the browser, drawn with WebGL, and the saved file matches the preview. Fix colours, LUT and Looks are in the Look group; the others are in Effects.
| Effect | What it does | Settings |
|---|---|---|
| Fix colours | Neutral whites and full contrast, measured over the clip. | White balance, Normalise contrast, Strength |
| Film grain | Moving film grain, new on every frame. Also works on pictures. | Amount, Size, Colour grain, Seed |
| Vignette | Darker edges that draw the eye in. Also works on pictures. | Amount, Radius, Softness |
| Fade | Fade in from black and out to black. | Fade in, Fade out (seconds), Fade the sound too |
| Ken Burns | Slow zoom and pan across the clip. | Start zoom, End zoom, Start at, End at, Easing |
| LUT | Grades with a colour lookup table, a .cube file from the LUT model folder. | LUT, Strength |
| Look | Grades with one of your looks, the same looks the Image editor uses. | Look, Strength |
Ranges and defaults for every setting are listed in Photo filters and video effects.
Save the clip#
-
Preview first if you like
Preview 3 s · 480p renders a short low-resolution preview with every edit applied, so you can check effects and timing before the full render.
-
Press Save and choose where it goes
Save as new makes a new Library item. Replace original overwrites the Library item you opened; it is not offered for a clip from History (“Files from History stay as generated”) or when a split is in the steps (“A split saves two new items”). You can also send the clip to a video field of an open generation tab.
-
Keep working
The render runs in the background as one media tools run. You can leave the tab or keep editing; new edits stay unsaved until the next save.
What you will seeA render card with the progress, then “Your edited clip is in your Library.” If you reload during a save, the editor picks the render up again when the tab reopens. The saved file is an MP4.
Media tools in History and the Library#
You do not need to open an editor for a quick change. In History or the Library, select items and open Tools in the selection bar, or use the Edit and Effects menus of an item's details view. Each tool opens a small dialog with its settings and a preview.
Media tools in the Library
| Tool | Takes | Produces | Settings and notes |
|---|---|---|---|
| Trim | a video or audio | the same kind | Start, End (seconds) |
| Crop | a picture or video | the same kind | X, Y, Width, Height |
| Resize | a picture or video | the same kind | Width, Height, Quality |
| Rotate | a picture or video | the same kind | 90, 180 or 270 degrees |
| Flip | a picture or video | the same kind | Horizontal or Vertical |
| Speed | a video or audio | the same kind | 0.25x to 4x, Keep pitch |
| Fit canvas | a picture | a picture | Width, Height, Scale, Anchor, Fill (a colour or transparent) |
| Color key | a picture | a picture with transparency | Key, Tolerance, Softness, Despill, Feather. Works on a flat, evenly lit background colour. |
| Crop to subject | a picture with transparency | a picture | Margin, Alpha threshold |
| Frame | a video | a picture | Time (seconds) |
| Split | a video or audio | several parts | Every few seconds (Part length) or At a time |
| Find cuts | a video | one video per shot | Sensitivity, Shortest shot (default 0.5 s) |
| Concat | 2 to 8 videos | one video | Overlap (Cut, or Crossfade with Overlap frames), Fit (Pad or Cover), Keep audio |
| Mute | a video with sound | a video | Drops the sound |
| Volume | a video or audio with sound | the same kind | Level in % or dB, Fade in, Fade out |
| Each effect | a video (some also a picture) | the same kind | Listed under Effects. See Video effects. |
Paint, Replace audio and Slice run only inside the editors. History and the Library add a few actions of their own: Open in editor, Slice into references, Apply a look…, Stitch (combines two or more selected pictures into one) and Download .zip.
-
Select the items
In History or the Library, tick one or more items. Tools that need more than one item, such as Concat, stay off until you have enough.
-
Pick the tool
Open Tools, then Edit or Effects, and choose the tool. A tool that does not fit the selection is greyed out with the reason.
-
Set it up and apply
Change the settings, check the preview, then choose Save as new or, for a Library item, Replace original.
What you will seeFor a generation, the dialog reads “Saves a copy to your Library. The generation is not changed.” The result appears in your Library, and a tool that makes several items, such as Find cuts or Split, saves each one as a new item.
A media tool run is one HTTP request that names the steps and the items, then a status you poll. Every route needs a logged-in user. The backend listens on port 26730 by default. Responses use one envelope, {"success", "data", "message", "error"}.
-
Log in
POST /api/auth/logintakes a form-encodedusernameandpassword. Send the returned token as a bearer token on every later request.POST/api/auth/logincurl -X POST http://localhost:26730/api/auth/login \ -d "username=YOUR_USER" -d "password=YOUR_PASSWORD"
-
List the tools
GET /api/media-toolsreturns every tool with its id, what it accepts and its parameters. Narrow it withkind(image,videooraudio).GET/api/media-tools?kind=videocurl "http://localhost:26730/api/media-tools?kind=video" \ -H "Authorization: Bearer $TOKEN"
-
Start a run
POST /api/media-tools/runswith the steps in the order they run and the items to edit. Each input is a Library item (item_id) or a generated file (generation_file_id).output.modenewkeeps the originals;replaceoverwrites a Library item. A run takes up to 64 steps and 50 inputs.POST/api/media-tools/runscurl -X POST http://localhost:26730/api/media-tools/runs \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "steps": [ { "tool": "trim", "params": { "start": 0, "end": 5 } }, { "tool": "film_grain", "params": { "amount": 30 } } ], "inputs": [{ "item_id": "<library item id>" }], "output": { "mode": "new" } }'202response{ "success": true, "data": { "run_id": "<run id>" } } -
Follow the run or cancel it
Poll
GET /api/media-tools/runs/{run_id}. The status is one ofqueued,running,completed,failedorcancelled, with aprogressvalue; a completed run lists the newitems.DELETE /api/media-tools/runs/{run_id}cancels it.GET /api/media-tools/runslists your runs.
An MCP client such as Claude Desktop calls PotionUI tools on your behalf. You ask in plain words, for example “trim my last video to its first five seconds and add film grain”. MCP access has to be turned on by an administrator, and you create a token in Settings. MCP and Claude Desktop covers connecting a client.
-
Find the items
Tool
list_library_itemslists Library items with their ids. Toolsearch_galleryfinds generated pictures by what they show and returns theirfile_id. -
Run the tool
Tool
run_media_tool. Required:steps(each atoolid and optionalparams, run in order) anditems(each anitem_idor ageneration_file_id). The tool's own description lists every media tool with its parameters, so the assistant knows the ids.POST/api/mcp · tools/call{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "run_media_tool", "arguments": { "steps": [{ "tool": "trim", "params": { "start": 0, "end": 5 } }], "items": [{ "item_id": "<library item id>" }] } } }Writesmodenew, the default, saves the results as new Library items and keeps the originals.replaceoverwrites one Library item, never a generated file, and needs your approval. The tool returns the resulting items with their ids, file names and links.
Upscaling, background removal and smoother motion#
Some jobs need a model, so they are preset modes on the Generate page rather than media tools. Pick the preset, then the mode. A mode whose files are not installed yet shows Install to admins and “not set up” to everyone else.
| Job | Preset and mode | Needs |
|---|---|---|
| Upscale a picture or a video | SeedVR2: Upscale (a picture) and Video Upscale. LTX-2.5 and LTX-2 / 2.3: Upscale (a video). | The preset's model files |
| Cut a subject out of a picture | Image Tools: Remove Background. Prepare cuts the subject out, trims to it and places it on a padded canvas, ready for an image-to-video model. | A Matting Model (BiRefNet), downloaded like any other model |
| Cut a subject out of a video | LTX-2.5: Transparent video. See Transparent video. | The Alpha-Gen LoRA |
| Add in-between frames | Video Tools: Interpolate, for smoother motion: multiply the frame rate by 2 or 4, or convert to a target rate. | An Interpolation Model |
Image Tools and Video Tools have no prompt: every mode transforms the file you give it. Image Tools also has Fit Canvas, Color Key and Crop Subject as modes, the same jobs as the media tools of those names.
The LTX-2.5 files are in gated Hugging Face repositories: accept the LTX-2 license on Hugging Face and set a token in Admin, Plugins before they can download.
Limits and what to do when it goes wrong#
- Uploads. A file you upload into an editor, such as a sound track for Replace, must be an image, audio or video file of at most
512 MB, and it counts toward your plan's storage and file limits. - A tool is greyed out. Mute and Volume need a clip with sound, Crop to subject needs a picture with transparency, Fade needs a clip of at least
0.2s, and Concat needs two to eight videos. The menu names the reason. - A Generate task is missing. Extend, Remix and Refine faces appear only when a preset on your instance has a mode for them, and Refine faces needs a marked range.
- Replace original is not offered. The clip came from History, or a split is in the steps. Use Save as new.
- “Wait for the current save to finish.” One save runs at a time per tab. The render card shows its progress and has Cancel.
- No LUT to pick. The LUT effect reads
.cubefiles from the LUT model folder only.