vaweGitHub

Edit an AI-made video by hand.

An agent writes your film as one HTML page. The vawe studio opens that page in a live editor on your machine. You scrub the film, drag its keys and change its colours and text. Each change is a small text edit in the page file, so the agent can keep working on the same film.

Copy this prompt into your agent

Paste it into Claude Code, Codex or Cursor. Fill in the parts in angle brackets. The agent installs vawe if it needs to and does the steps on this page.

Use vawe (https://github.com/vawe-hq/vawe), the open-source HTML-to-video tool, to open my film in the vawe studio so I can edit it by hand.

My film: <path to your film's page.html>.

Start it with npx vawe dev <my film> --studio in the background, then tell me the address it prints. While it runs, read the page file again before you change it, because I may have edited it in the studio.

If vawe is not installed here, install it first:
npm install @vawe/cli
(it needs Node 22 or newer and ffmpeg; npx vawe new prints the install line for anything missing).
Then follow each command’s next: line.

Open it with one command.

Run the command with --studio and open the address it prints. Leave it running while you work and press Ctrl-C to stop. The default port is 8799. --port changes it.

The studio seeks the page to a time. It does not play it on a clock. It uses the same clock and seek code as the renderer, so a frame you see is the frame the render makes.

studio/README.md · harness/cli/verbs.mjs
Open a film in the studio
bin/vawe dev films/my-film/page.html --studio

  vawe studio (page): films/my-film/page.html
    open  http://127.0.0.1:8799/studio
    Ctrl-C to stop.
The vawe studio showing the colour-sting example: a preview of the film, aspect buttons, a timeline of keys, and the Key panel on the right.

What each panel does.

  1. Preview and aspect. The film in a frame. Buttons switch between 16:9, 9:16, 1:1, 4:5 and 4:3 to check one page at each size.
  2. Transport. Play, step one frame, scrub the ruler, zoom the timeline. Space plays. Left and right step a frame.
  3. Timeline. One row for each animated element, with a diamond for each key. Drag a diamond to move that key in time.
  4. Key. Select a key to change its duration, delay and easing. The ease menu draws each curve and tries it in the preview as you hover.
  5. Vars. The colours and numbers in the page’s :root properties, with a swatch for each colour.
  6. Text. Every line of text in the film, in a box you can edit.
  7. Chat. Ask for a change in words. It runs claude -p on this machine, so Claude Code must be installed. It may edit only this page file.
  8. Job. The output of the buttons at the top: Critique runs vawe critique, Draft render runs vawe dev and Final render runs vawe ship. Undo takes back your last edit.
studio/ui/page-studio.html · studio/ui/page-studio.js
The Vars panel of the vawe studio listing three colour properties, each with a swatch and a hex value.

Every edit is a text patch in the page.

A tunable is a literal in the page: a [[frame, value]] table, a @keyframes stop, an element.animate keyframe or a :root property. The studio changes that text and nothing else. A save that changes nothing is a zero-byte diff.

The studio checks the file about once a second. If you or an agent change the page outside the studio, it reloads the new page. The agent reads the same file and carries on.

studio/README.md · studio/page-source.mjs
Drag a key from 2 s to 2.4 s: one literal changes
-  [2, 0.62], [3.4, 1]
+  [2.4, 0.62], [3.4, 1]

What it does not do.

  1. It edits what the page states as a literal. A value the page computes has no number to change, so the studio leaves it locked. Ask the agent for that one.
  2. It does not make the film. The agent writes the page. The studio is for the changes you can see and want to make by hand.
  3. The final render keeps its gate. vawe ship refuses to run until the plan and the draft have your OK.
AGENTS.md · studio/ui/page-edit.js

More on how an agent makes the film.

  1. How an agent writes the page: the loop from request to final render.
  2. Edit video with Claude Code: the steps in Claude Code, Codex or Cursor.
  3. What vawe does for you: the decisions the engine makes.
  4. How-to guides: one guide per editing task.

Open your film in the studio.

bin/vawe dev films/<name>/page.html --studio prints the address.