A full-stack AI-powered image editing web app that lets users remove backgrounds, enhance images, and download the result — all within a beautiful drag-and-drop interface. Built using FastAPI, Tailwind CSS, and Rembg, it's optimized for speed, style, and simplicity.
- 🎨 Remove background with AI (Rembg)
- 🪄 Enhance image colors with a custom factor
- 🖼 Live image preview before uploading
- 📥 Drag & Drop file upload support
- 🌈 Stylish Glassmorphism UI (Tailwind + Inter font)
- ✅ Fully responsive & mobile-friendly
- 🧠 Smart file handling and error feedback
Live version (if hosted):
🔗 https://your-live-site-url.com
Replace the above URL with your Render or GitHub Pages live deployment.
- ⚡ FastAPI (Backend)
- 🎨 Tailwind CSS (Frontend Styling)
- 🧠 Rembg (AI Background Removal)
- 🖼 Pillow (Image Processing/Enhancement)
- 📦 Python-Multipart (for file uploads)
- 🧪 Jinja2 (HTML Templating)
- ☁️ Render (Deployment Platform)
To run the project locally:
git clone https://github.com/your-username/image-editor.git
cd image-editor
pip install -r requirements.txt
uvicorn main:app --reload
Then open your browser at:
http://127.0.0.1:8000
- Drag & drop or upload your image.
- Select one or both options:
- ✅ Background Removal
- 🎨 Color Enhancement (adjust factor from 1.0–2.0)
- Click Upload & Process.
- Download the final image once processed.
Steps to deploy on Render:
- Create a new Web Service.
- Connect your GitHub repository.
- Add the following as your Start Command:
uvicorn main:app --host 0.0.0.0 --port $PORT
- Add environment variable:
PORT = 10000
- Keep
main.py
,requirements.txt
, and folders liketemplates/
andstatic/
at the root.
├── main.py
├── requirements.txt
├── templates/
│ └── index.html
├── static/
│ └── (optional assets)
├── processed/
│ └── processed images
- 🧑🎨 Add crop, rotate, and flip options
- 🎚️ Add preset filters (grayscale, sepia, etc.)
- 📁 User login + history
- 🌐 Multi-language support
- ☁️ Upload to cloud storage (e.g., Firebase)
Contributions are always welcome!
If you want to improve UI, performance, or features, feel free to open a pull request or issue.
This project is licensed under the MIT License.
Feel free to use and modify it for your needs.