ObenCut is a fork of OpenCut with enhanced AI capabilities powered by ComfyUI. This project aims to seamlessly integrate cutting-edge AI-generated content into a professional-grade video editing workflow.
While OpenCut provides the foundation for privacy-first, open-source video editing, ObenCut extends its capabilities to include:
- AI Text-to-Video generation
- AI Text-to-Image generation
- AI Image-to-Video transitions
- AI Image-to-Image effects
- And more ComfyUI-powered features coming soon
- Privacy: Your videos stay on your device
- Free features: Most basic CapCut features are now paywalled
- Simple: People want editors that are easy to use
- AI-Powered Content Creation: Generate videos, images, and effects with AI
- ComfyUI Integration: Leverage powerful AI workflows for content generation
- Seamless Workflow: Use AI-generated content directly in your video timeline
- Still Privacy-First: Your original footage and AI outputs remain local
- Timeline-based editing
- Multi-track support (video, audio, text, stickers)
- Real-time preview
- No watermarks or subscriptions
- Text-to-Video: Generate video clips from text prompts
- Text-to-Image: Create images from text descriptions
- Image-to-Video: Animate images with AI
- Image-to-Image: Apply AI styles and transformations
- Custom Workflows: Use pre-built or create your own ComfyUI workflows
obenbut/
├── apps/web/ # Main Next.js web application
│ ├── src/
│ │ ├── app/ # Next.js app router pages
│ │ ├── components/ # UI and editor components
│ │ ├── constants/ # Application constants
│ │ ├── core/ # Editor core (singleton)
│ │ ├── hooks/ # Custom React hooks
│ │ ├── lib/ # Utility and API logic
│ │ │ ├── api/ # API routes and providers
│ │ │ │ └── comfyui/ # ComfyUI integration
│ │ │ └── ...
│ │ ├── services/ # Background services
│ │ ├── stores/ # State management (Zustand)
│ │ └── types/ # TypeScript types
├── docker/ # Docker configurations for ComfyUI
├── public/ # Static assets
│ └── workflows/ # Pre-built ComfyUI workflows
├── packages/ # Shared packages
│ ├── env/ # Environment variable definitions
│ └── ui/ # Shared UI components
└── tests/ # Test suite
- Bun (recommended) or Node.js 18+
- Docker and Docker Compose
- ComfyUI (optional, for AI features)
git clone https://github.com/bowfeng/ObenCut.git
cd ObenCutbun install# Copy environment file
cp apps/web/.env.example apps/web/.env.localEdit apps/web/.env.local with your configuration:
# Database
DATABASE_URL="postgresql://..."
# Redis
REDIS_URL="redis://localhost:6379"
# ComfyUI (for AI features)
COMFYUI_URL="http://localhost:8188"# Start database and Redis (optional, for full local setup)
docker compose up -d db redis serverless-redis-http
# Start the web app
bun dev:webThe application will be available at http://localhost:3000.
To use AI generation features, you need to run ComfyUI:
# Using CPU (slower, but simpler)
docker compose -f docker-compose-cpu.yml up -d
# Using GPU (faster, requires NVIDIA GPU)
docker compose -f docker-compose-gpu.yml up -dComfyUI will be available at http://localhost:8188.
The repository includes pre-built ComfyUI workflows in public/workflows/:
text2image.json- Generate images from texttext2video.json- Generate video from textimage2image.json- Transform images with AIimage2video.json- Animate images to video
- Open the Assets Panel in the editor
- Select the AI Generation tab
- Choose a workflow (Text-to-Image, Text-to-Video, etc.)
- Enter your prompt and adjust settings
- Click Generate
- AI-generated content will be added to your assets library
You can extend AI capabilities by:
- Creating your own ComfyUI workflow in the ComfyUI interface
- Exporting the workflow JSON
- Placing it in
public/workflows/ - Registering it in the AI generation store
- More AI workflows for video editing
- AI-based background removal
- AI color grading
- AI voice synthesis and lip-sync
- Real-time AI effects during preview
- Mobile app support
We welcome contributions! ObenCut is built on the foundation of OpenCut, which has an active community.
Great areas to contribute:
- Adding new AI generation workflows
- Improving ComfyUI integration
- UI/UX improvements for AI features
- Performance optimizations
- Bug fixes
See our Contributing Guide for detailed setup instructions and development guidelines.
This project is licensed under the MIT License.
ObenCut is a fork of OpenCut, which is also MIT licensed.