Cut video editing
Cut composes footage, captions, text, and motion into videos. Edit a persistent project through the API or an agent, inspect frames, and export the finished video to a media library.
When to use it
Video editing by script, watched live, exported to the library.
Use it when
- Trim, caption, add music, reframe, export.
Not for, use instead
- Finding footage →
media - Stills and slides →
canvas
How it behaves
- One
executeis a transaction; describe methods first, never guess twice; shareconsole_url.
Combines with
- Finished cuts go to content.
Entry: praxis.cut.* · docs developers/cut/index · recipes cookbook/video/course-talking-head, cookbook/video/long-to-shorts
Choose an entry point
| Entry | Usage |
|---|---|
| HTTP API | Call /cut/v1 with an organization API key from any backend language. |
| SDK | Operations such as praxis.cut.projects.execute accept path and body; pass source as body.script. |
| codemode | Use the same praxis.cut SDK namespace. Functions inside the script are synchronous globals and need no imports. |
Follow the quickstart to import, edit, preview, and export.
Projects and timelines
A project stores canvas dimensions, frame rate, tracks, and library bindings. Tracks contain video, audio, or captions; text, colors, and shapes belong on video tracks. The first track is on top. Clips on one track cannot overlap. The latest clip end determines timeline duration.
Video, image, and audio clips reference a library and asset. Bind every source library and mark exactly one read_write binding with default_upload: true for imports and exports. Bindings do not copy media. Overwriting an asset affects subsequent reads; export creation freezes its source version.
Transactions and recovery
Each execute commits completely or rolls back completely. Reads see earlier writes in that script. Submit meaningful stages such as rough cut, captions, and motion, then inspect summary and previews. Pass the last read revision as expected_revision to detect concurrent edits. A revision conflict during response preparation can follow a committed edit: read state before retrying to avoid duplicate edits.
The editor maintains undo and redo history per actor. Undo neither deletes a project nor cancels an existing export. Public API project versions save and restore timeline snapshots; saving a version does not render a video. Undo is not an execute function.
Cut a video by following a recipe
Every recipe in the Cookbook’s video section is edited with Cut: clean up a talking-head recording, a course talking-head video, shorts from a long video, a narrated montage and a beat-synced promo.
Next steps
Script reference · Motion, transitions, and speed · Captions and text effects · Exports · Media and permissions · Limits