A powerful, privacy-focused video editor integrated directly into ComfyUI. This plugin brings professional video editing capabilities to your ComfyUI workflow without any server-side processing.
This release rebases the embedded OpenCut onto upstream main after ~8 months
of heavy development (β364 commits since the v0.3.0 build on 2025-08-30).
The highlights below are from the OpenCut project itself β they apply to
the editor running inside this plugin as well.
- New GPU renderer migrated from WebGL to wgpu compiled to WASM (with a WebGL fallback while WebGPU support stabilizes in browsers).
- Time, effects, and mask logic split into dedicated Rust crates
(
opencut-wasm) β shared between web and the new desktop build. - Batched GPU command encoding, degraded-renderer banner, and graceful handling when no GPU is available.
- Rewritten animation system using scalar-channel bindings.
- Graph editor for flat keyframe segments β a new popover lets you edit multiple properties at once.
- Expandable keyframe lanes directly in the timeline.
- Keyframes now wired for opacity, text color, every background property, and per-axis position animation.
- Clipboard-level keyframe paste.
- New WebGL effects system β starts with a Blur effect and per-clip effect stacking with asset sorting.
- Cinematic bars, diamond, heart, star, and custom/text masks, with stable background-blur previews.
- Move/resize/split/delete multiple elements at once.
- Clip volume line visualized directly in the timeline.
- Waveform rendering improvements and correct audio waveform height.
- Timeline auto-scroll while dragging clips.
- Copy/paste for elements; ripple support for element resize.
- Select-on-insert; centralized selection management.
- New preview overlay system (guides, bookmark notes).
- Desktop app scaffolding (Tauri) introduced.
- Changelog page with markdown + technical-detail support; "new release" notice.
- Branding page; mobile-gate screen; history view in the feedback popover.
- Audio separated from elements (export now handles audio consistently).
- Migration system rewritten (
run()+ pure v1βv2 transforms) with new storage-schema migrations.
- File tree restructured into domain modules (
editor/,timeline/,preview/,project/,media/, etc.) with a cleaner dependency graph. - Time utilities migrated from TypeScript to Rust WASM.
- Unified element-update pipeline and centralized ripple handling.
- All assets and routes honor the
/opencutbasePath (logo, landing image, country flags, effect previews, PWA manifest). - RSC prefetch URLs served by the Python handler now cover Next.js 16's
dot-separated
__next.<seg>.__PAGE__.txtformat. getEditorUrl/getProjectsUrlno longer double-prefix basePath when passed to<Link>.- Sounds-search and other removed server routes are gracefully skipped in ComfyUI mode.
- Save timer no longer throws after closing a project.
See docs/COMFYUI_INTEGRATION.md and docs/COMFYUI_BUILD_CHECKLIST.md
in the OpenCut repo for adaptation details and future rebase guidance.
- Multi-track Timeline Editor: Professional timeline with support for multiple video, audio, and overlay tracks
- Real-time Preview: Instant preview of edits without rendering
- Drag & Drop Interface: Intuitive drag-and-drop for media files and timeline elements
- Non-destructive Editing: All edits are non-destructive, preserving original media files
- Video Formats: MP4, WebM, MOV, AVI, and more
- Audio Formats: MP3, WAV, OGG, AAC
- Image Formats: PNG, JPG, GIF, WebP
- Resolution Support: From SD to 4K video editing
- Keyframe Animation: Animate position, scale, rotation, and opacity
- Audio Waveform Visualization: See audio waveforms directly on the timeline
- Snap-to-Grid: Precise alignment with magnetic timeline snapping
- Multiple Export Options: Export in various formats and resolutions
- Undo/Redo System: Full undo/redo support with keyboard shortcuts
- Customizable Layouts: 4 preset layouts optimized for different workflows:
- Default: Balanced layout for general editing
- Media Focus: Larger media panel for asset-heavy projects
- Inspector Focus: Expanded properties panel for detailed adjustments
- Vertical Preview: Optimized for vertical video editing (TikTok, Reels)
- Resizable Panels: Drag to resize any panel to your preference
- Keyboard Shortcuts: Comprehensive keyboard shortcuts for efficient editing
- 100% Client-side Processing: All video processing happens in your browser using WebAssembly
- No Upload Required: Your media files never leave your computer
- FFmpeg Integration: Powered by FFmpeg.wasm for professional-grade processing
- IndexedDB Storage: Projects saved locally in your browser
- OPFS Support: Large files stored efficiently using Origin Private File System
- ComfyUI (latest version recommended)
- Modern web browser (Chrome, Firefox, Edge, Safari)
- At least 4GB of available RAM for video processing
-
Navigate to your ComfyUI
custom_nodesdirectory:cd /path/to/ComfyUI/custom_nodes -
Clone this repository:
git clone https://github.com/[your-repo]/ComfyUI-OpenCut.git
-
Install dependencies (if any):
cd ComfyUI-OpenCut pip install -r requirements.txt # If Python dependencies exist
-
Restart ComfyUI
Open your browser and navigate to:
http://127.0.0.1:8188/opencut/
- Open ComfyUI in your browser
- Look for the "OpenCut" button in the interface
- Click to launch the video editor in a new tab
- Launch OpenCut using one of the methods above
- Click "New Project" or drag media files directly onto the interface
- Your media will appear in the Media Panel (left side)
- Drag media from the panel onto the timeline to start editing
- Import Media: Drag files or click "Upload" in the Media Panel
- Add to Timeline: Drag media to the desired track and position
- Trim Clips: Hover over clip edges and drag to trim
- Add Transitions: Overlap clips to create automatic transitions
- Adjust Properties: Select a clip and use the Properties Panel to adjust settings
- Preview: Use the spacebar to play/pause your edit
- Export: Click Export and choose your desired format and quality
Space: Play/PauseS: Split clip at playheadDelete: Delete selected elementCtrl/Cmd + Z: UndoCtrl/Cmd + Shift + Z: RedoCtrl/Cmd + C/V: Copy/Paste[/]: Set in/out pointsArrow Keys: Frame-by-frame navigation
Click the layout button in the header to switch between presets:
- Default Layout: Balanced view with all panels visible
- Media Layout: Enlarged media panel for browsing many assets
- Inspector Layout: Expanded properties panel for detailed editing
- Vertical Layout: Optimized for 9:16 vertical videos
- Drag the dividers between panels to customize sizes
- Your custom sizes are saved per layout preset
- Click the reset button to restore default sizes
- Projects are automatically saved to browser storage
- Export/Import projects as JSON files for backup
- Multiple projects can be managed from the Projects page
- Automatic thumbnail generation for videos
- Waveform generation for audio tracks
- Smart proxy generation for smooth playback of large files
- Format: MP4, WebM, MOV
- Resolution: Original, 1080p, 720p, 480p
- Quality: High, Medium, Low
- Frame Rate: 24, 30, 60 fps
- Audio: Stereo/Mono, various bitrates
Media not loading:
- Ensure files are in supported formats
- Check browser console for errors
- Try refreshing the page
Playback stuttering:
- Lower preview resolution in settings
- Close other browser tabs
- Ensure adequate RAM is available
Export failing:
- Check available browser storage
- Try a lower resolution/quality setting
- Ensure no corrupted media files
Layout not changing:
- Clear browser cache
- Check localStorage is enabled
- Try resetting to default layout
- Chrome 90+, Firefox 89+, Safari 15+, Edge 90+
- WebAssembly support required
- SharedArrayBuffer support recommended
- At least 4GB RAM recommended
Contributions are welcome! Please feel free to submit issues and pull requests.
- Clone the repository
- Install dependencies:
bun install - Run development mode:
bun dev - Build for production:
bun run build:comfyui
This project integrates OpenCut, originally developed by OpenCut-app. Please refer to the original project for licensing information.
- Original OpenCut developers for the amazing video editor
- ComfyUI team for the extensible platform
- FFmpeg.wasm for client-side video processing
- All contributors and users of this integration
For issues specific to the ComfyUI integration, please open an issue in this repository. For OpenCut-specific issues, please refer to the original OpenCut repository.
Note: This integration is under active development. Some features may be experimental or subject to change.
