Cineflow is an AI-powered video transition tool that creates smooth transitions between video clips. It uses machine learning and computer vision to analyze videos and automatically generate transitions tailored to your desired style.
- Automatic Transitions: Creates smooth transitions between two video clips.
- Scene Analysis: Determines the best transition style based on video content.
- Custom Options:
- Transition length (5-9 seconds)
- Aspect ratios (9:16, 16:9, 1:1, 3:4, 4:3)
- Resolution choices (1080p, 720p, 540p)
- Text-Based Prompts: Describe your transition style simply in words.
- Instant Preview: View generated transitions directly in your browser.
-
Frontend:
- React
- Tailwind CSS
- Vite
- Axios
-
Backend:
- Python
- TensorFlow (Vision Transformer model)
- OpenCV
- Flask/FastAPI
-
AI/ML:
- Vision Transformer (ViT)
- Luma AI
- Cloudinary
Make sure you have:
- Node.js (v16+)
- Python (v3.8+)
- npm or yarn
-
Clone the repository
git clone https://github.com/yourusername/cineflow.git cd cineflow -
Install frontend dependencies
npm install
-
Install Python dependencies
pip install -r requirements.txt
-
Configure environment variables Create a
.envfile:CLOUDINARY_CLOUD_NAME=your_cloud_name CLOUDINARY_API_KEY=your_api_key CLOUDINARY_API_SECRET=your_api_secret LUMA_API_KEY=your_luma_api_key
-
Start servers
npm run dev # In another terminal python server/app.py
- Go to
http://localhost:5173 - Upload two videos
- Choose transition settings:
- Duration
- Aspect ratio
- Resolution
- Prompt for style
- Generate your transition
- Preview and download the result
Contributions are welcome:
- Fork the repository
- Create a feature branch (
git checkout -b feature/NewFeature) - Commit changes (
git commit -m 'Add NewFeature') - Push to branch (
git push origin feature/NewFeature) - Open a Pull Request
Licensed under the MIT License. See the LICENSE file for details.