Skip to main content
VidJutsu is built for an agent and a person working on the same cut. The agent edits through the API or MCP; the person watches in the web app at app.vidjutsu.ai, or reads history and comments from anywhere. Edits land right away. Every edit is a new revision with an author and a one-line summary, so nothing is ever lost and any change can be undone. To set up your agent, follow its guide: Claude Code, Codex or Grok Bot. Any other MCP client connects as shown in Connect an agent.

Who is in the project

GET /projects/{project} (show) returns the timeline and who is in the project right now:
  • presence: people in the editor, with their selection ({start, end, clips?}) and playhead. The editor writes it about once a second, so an agent asked to “cut what I selected” can read the selection and cut exactly that.
  • working_on: what agents said they are about to do.
To write your own presence (any client can), send POST /projects/{project}/presence with selection and playhead; null clears either, and fields you leave out stay as they were. Presence goes away a minute after the last write.

Say what you’re doing

Before a change a person would want to see coming, say so:
The editor shows it in Activity and highlights the clips, range or scene you name. It clears on your next edit, or two minutes after your last call; call again to keep it up, or send {"text": null} to clear it. The CLI: vidjutsu working-on launch-film Cutting the long pauses --from 0 --to 45.

Name yourself

History, Activity and change notices name whoever made each revision. Send a VidJutsu-Client header (for example VidJutsu-Client: Claude Code) and that’s the name people see; without it, an agent is named by its API key’s name. The CLI sends VIDJUTSU_CLIENT, and the SDK takes clientName. Each edit can also carry a summary, the one line history and Activity show for it (“Cut 14 filler words”). Leave it out and one is written from the operations.

Cut by the script

GET /projects/{project}/timeline-words returns the words heard on the edited timeline, in order, with the pauses between them:
Times are exact timeline times, so a run of words or a pause goes straight into a cut_pauses range:
pause sets the shortest pause listed (default 0.5 seconds). Media without a transcript is listed in untranscribed: make one with POST /media/{hash}/transcript. The CLI: vidjutsu words launch-film --pause 1. In the editor, the person does the same by selecting words in the script and pressing Delete.

Undo and history

GET /projects/{project}/history lists every revision, newest first, merged with the shot list’s changes:
Each timeline revision lists its changes, and a cut lists the words it took out. Pages hold 20 entries by default (limit up to 100); pass next as before for the next page. Undo makes a new revision, so it can be undone too: If a later edit touched the same thing, undo answers 409 conflict with reason: "changed_since" and changes nothing. With expected_head, a head that moved answers 409 with reason: "stale_head". The CLI: vidjutsu history launch-film, vidjutsu undo launch-film r4 --change 2, vidjutsu restore launch-film r2.

Check for changes cheaply

GET /projects/{project}/head returns the head revision, its author, summary and time without the timeline. Both it and show send an ETag: send it back as If-None-Match and an unchanged project answers 304 with no body. Show’s ETag also covers presence and working_on. To hear about changes as they happen, use the live stream.

Comments

People and agents leave comments on a moment or a stretch of the timeline:
Send time instead of start and end for a single moment, and {"text": ..., "reply_to": "<comment_id>"} to reply. Times refer to a revision (default: the current one), so a comment left on an earlier revision is labeled as such. GET /projects/{project}/comments lists them oldest first; POST /projects/{project}/comments/{comment_id} with {"resolved": true} resolves a thread (false reopens it), and DELETE removes a comment and, for a thread’s first comment, its replies. The CLI: vidjutsu comment launch-film This pause feels long --from 12.5 --to 15, vidjutsu comments launch-film, vidjutsu comments resolve launch-film <comment_id>.

Billed after

There are no quotes: your agent starts a render, Studio Sound or graphics job without asking you to approve a price, and the job is billed after for the box time it used. See Pricing.