Edit with Claude or ChatGPT
Have an AI assistant edit a project for you: give it the reference, ask in plain words, and run what it writes.
Oryvio’s agent API lets an AI assistant edit a project with the same edits you make by hand. You ask in plain words, the assistant writes the calls, and they run in the editor’s page. Every edit is saved as you go, and Undo takes it back.
Oryvio sends nothing to the assistant. It sees what you give it, or what it reads from the page, and your footage stays on your computer.
Three ways to work
- From claude.ai: connect Oryvio to Claude once, and ask it in a chat to edit the project you have open. It works in your editor tab while you watch. See From claude.ai.
- Copy and paste, with any chat assistant, such as Claude or ChatGPT. It writes the code, and you paste it into the browser’s console. There’s nothing to install.
- Let it drive the browser, with an assistant that can work in a browser tab, such as Claude in Chrome, ChatGPT’s agent, or a Playwright script. It runs the code in the editor’s page itself, and can render frames to check its work.
From claude.ai
Connect Oryvio to Claude, and Claude can work in a project you have open in Oryvio, in your browser: it reads what’s open, looks at frames of the edit, and runs the editor’s commands, one at a time, as you watch. Its edits are in the editor’s history, so each can be undone.
- In claude.ai, open Settings, then Connectors, and add a custom connector with the address
https://oryvio.dev/mcp. You can also copy it from Oryvio’s Settings, under Security, in Connected apps. - Claude sends you to Oryvio to connect it. Sign in if you aren’t, check it’s what you meant, and click Connect.
- Open the project in Oryvio’s editor, then ask Claude in a chat to edit it. For example: “In my open Oryvio project, add a title that says Opening night for the first 4 seconds.”
- The first time in a chat, the editor asks whether Claude can work there. Click Allow for this session. Until you do, it can’t.
While it’s working, the top bar shows Claude. Click it to see each thing it’s done, or to stop it: Stop Claude ends the session, and it has to ask again. It works in the tab you were last in, of those with a project open. To disconnect it altogether, click Disconnect beside it in Settings, under Security.
What Claude sees is what it asks for: what’s in the project and open in the editor, and the frames it asks to look at, sent through Oryvio to Claude. Your media files stay on your computer. Frames sent count as Pictures in the privacy meter. What Claude does with what it’s sent is under Anthropic’s terms and privacy policy.
Other apps that connect to MCP servers with OAuth can connect the same way, at the same address.
Set up
- Open the project in the editor.
- With nothing selected, click Copy API reference in the Inspector’s Agent API section. See Project settings.
- Paste it into a new chat, then say what you’d like done. For example: “Here’s the API of the video editor I’m using. Add a title that says Opening night for the first 4 seconds, then split the clip at 10 seconds.”
- Open the browser’s developer console in the editor’s tab. In Chrome, it’s View, then Developer, then JavaScript Console.
- Paste what the assistant wrote, and press Enter. The first time, Chrome asks you to type
allow pastingbefore it lets you paste.
Examples
Each of these runs as it is, in the console of a project that’s open.
Titles
await oryvio.ready
oryvio.addText('Opening night', { at: 0, duration: 4 })
oryvio.addText('Filmed in Lisbon', { at: 4, duration: 3 })Captions and a subtitles file
Captions are made on this computer, as Transcribe makes them. Then their text is copied as an SRT file.
await oryvio.ready
await oryvio.transcribe({ model: 'fast' })
const [track] = oryvio.captionTracks()
copy(oryvio.exportCaptions(track.id, 'srt'))Take out the ums
With a transcript made (above), every filler word goes in one step, and a word can be deleted by its place.
await oryvio.ready
const { words } = oryvio.transcript()
oryvio.removeFillers()
oryvio.removePauses({ longest: 1 })Cut a song into its bars
await oryvio.ready
const song = oryvio.getState().media.find((m) => m.kind === 'audio')
const clip = oryvio.insertAsset(song.id)
oryvio.splitAtBeats(clip)A vertical version for TikTok
await oryvio.ready
await oryvio.exportVideo({ for: 'tiktok', download: true })Look before you export
await oryvio.ready
const png = await oryvio.renderFrame(5, { width: 1280 })renderFrame returns the frame at 5 seconds exactly as the export draws it. An assistant that drives the browser can look at it and fix what’s wrong before it exports.
Ask well
- Say what you want to end up with, and where: “a lower third with my name from 0:12 to 0:18”, not “add some text”.
- Ask for one thing at a time, and look at the result before the next.
- When a call fails, paste the error back to the assistant. Errors say what was wrong, and the project is left as it was.
Stay safe
Every edit made this way is in the project’s history, as yours are: Undo takes it back one step at a time, and Version history has every version saved.