README.md

Cutaway

Repository layout

This is a pnpm workspace. The studio app lives at the repo root; the marketing site is its own package in website/.

1cutaway/
2├── (root) Studio app, deployed from the repo root
3└── website/ Marketing site (Astro), deployed from website/

Install everything once from the root with pnpm install.

Marketing site

Astro, TypeScript, Tailwind, GSAP and Lenis. From the root:

bash
1pnpm website:dev # dev server
2pnpm website:build # type check + static build to website/dist
3pnpm website:preview # serve the build

To host it, point the platform at website/ as the root directory (build pnpm build, output dist). The visual direction is in website/docs/landing-design.md, and media slots are documented in website/public/media/README.md.

Studio concept

Drop in a clip, pick a cinematic move, get a matched shot that's ready for your timeline.

Cutaway is an editor-first VFX shot generator built on ComfyUI and LTX 2.5. Upload a clip, choose a preset (dolly-in, orbit, whip-pan, drone pull-out...), and Cutaway generates a new shot that matches your footage, conformed to your project's frame rate and resolution, with handles, plus an FCPXML/EDL you can import straight into DaVinci Resolve, Premiere, or Final Cut.

Built for editors, not prompt engineers.

Entry for Comfy's Open Source Higgsfield challenge (Oct 2026).


Why

Generative video tools hand you a clip and leave the rest to you: guessing the frame rate, re-timing, trimming, and dragging files into your NLE. Cutaway closes that gap. Every output comes back ready to drop on a timeline.

Presets

PresetWhat it does
Dolly-inSlow push toward the subject
Crash zoomFast punch-in for impact
OrbitCamera arcs around the subject
Whip-pan transitionMotion-blurred pan into the next shot
Drone pull-outRising reveal away from the subject
Bullet timeFreeze-frame with a camera move around it
Set extensionWiden the frame beyond what was shot
Match cutUses two clips' frames as first/last keyframes to bridge them

How it works

1clip ──► ffmpeg (frame grab + metadata)
2 ──► optional keyframe edit (FLUX)
3 ──► LTX 2.5 FLF2V / I2V with preset prompt (ComfyUI workflow)
4 ──► conform fps / resolution, add handles (ffmpeg)
5 ──► MP4 / ProRes + FCPXML / EDL
  • ComfyUI workflows live in workflows/ and run through the Comfy Developer Platform API or a local ComfyUI server.
  • Web app (app/) is Next.js: upload, preset picker, preview, export.
  • Conform + export (lib/) handles ffmpeg and timeline files.

Project layout

1cutaway/
2├── app/ Next.js front end (upload, presets, preview, export)
3├── workflows/ ComfyUI workflow JSON, one per preset
4├── lib/ ffmpeg conform + FCPXML/EDL export
5├── presets/ preset definitions (prompts, motion params, duration)
6├── docs/ demo notes and screenshots
7└── website/ marketing site (Astro)

Setup

Work in progress. Steps will firm up as the build lands.

Requirements

  • Node.js 22+ and pnpm
  • ffmpeg on your PATH
  • A ComfyUI server with LTX 2.5 installed, or a Comfy Developer Platform API key
bash
1git clone https://github.com/screen-gd/cutaway.git
2cd cutaway
3cp .env.example .env.local # add COMFY_API_URL and COMFY_API_KEY
4pnpm install
5pnpm dev

Open http://localhost:3000, upload a clip, pick a preset, and export.

Roadmap

  • Base LTX 2.5 I2V workflow (dolly-in)
  • Remaining presets
  • Upload + preset picker UI
  • ffmpeg conform with handles
  • FCPXML / EDL export (Resolve-tested)
  • Share-ready before/after clip export
  • Demo video

License

MIT