Guide

How to vibe code your own video editor

Give your coding agent (Claude Code, Cursor or Codex) cuttingfloor’s OpenAPI spec and an API key, and describe the editor you want. It builds the screens; the REST API does the editing: uploads, cuts, captions, music, previews and MP4 exports. You never write a video pipeline, because every edit it needs is already one call.

01 / How

Four steps.

  1. 01

    Make an API key

    Sign up free, make a key on your account page and put it in your project’s .env as CUTTINGFLOOR_KEY. Tell your agent it belongs on the server only.

  2. 02

    Point your agent at the spec

    Paste the prompt below. The spec at https://api.cuttingfloor.ai/openapi.json describes every tool with its arguments and results, so your agent writes the calls without guessing.

  3. 03

    Say what the editor should do

    In your words: “a page that turns a long video into three Shorts with captions”, “a trim tool for my team’s clips”. Ask for one feature at a time and try each one.

  4. 04

    Try it on a real video

    Upload a clip in your app and export it. Review copies are free, so run it as often as you like while you build.

02 / Say

What to type.

Build a simple video editor web app on the cuttingfloor REST API. Read the OpenAPI spec at https://api.cuttingfloor.ai/openapi.json first. Keep the API key in CUTTINGFLOOR_KEY and call the API only from the server. The app should let me upload a video, cut out the pauses using the transcript, add captions, make it vertical, preview a frame, export an MP4 and show me the download link.
Paste it into your coding agent (Claude Code, Cursor, Codex), or say it your way
03 / Call it

One REST API, two ways in.

04 / Questions

Asked.

Do I need to know how video editing code works?

No. Decoding, effects, mixing and rendering run on cuttingfloor’s server. Your agent only writes the screens and the HTTP calls, one per edit.

Which coding agents can do it?

Any that can read an OpenAPI spec and write HTTP calls: Claude Code, Cursor, Codex, Windsurf and others. The app it builds calls the REST API from its own backend.

Can my coding agent try the edits while it builds?

Yes. Add cuttingfloor to Claude Code, Cursor or Codex as well (see Connect) and it can make an edit itself and look at the frames before it writes the code for it.

Where does the API key go?

In your server’s environment, never in the web page or a phone app. The browser gets only upload and download links, which need no key.

What does it cost?

Editing is free: every import, edit, preview and export, as many times as you like. Each export gives a free review copy with a cuttingfloor watermark and a clean copy that spends credits once, when it is first opened or released with export.release, priced by the video’s length. A new account gets 3 credits when you activate it; after that, credit packs that never expire, on the pricing page.

Can I ship it to my customers?

Yes. It runs on your account and its credits, and your customers never need a cuttingfloor account. For your own servers, run the open-source Docker image (/self-host).