This is a Next.js project that implements a background removal tool for images using the @imgly/background-removal library. It allows users to upload images and automatically remove their backgrounds.
Note: This project was entirely made using Cursor AI.
- Upload multiple images
- Adjust output quality
- Remove backgrounds with a single click using @imgly/background-removal
- Responsive design
- Node.js 14.0 or later
- npm or yarn
-
Clone the repository:
git clone https://github.com/your-username/background-removal-tool.git cd background-removal-tool
-
Install dependencies:
npm install # or yarn install
This will also install the @imgly/background-removal package.
To start the development server: bash npm run dev or yarn dev
Open http://localhost:3000/remove-background with your browser to see the result.
This project is configured to deploy to GitHub Pages using gh-pages package.
Run the command npm run deploy
to deploy the project to GitHub Pages.
The live version can be accessed at: https://nirajrajgor.github.io/remove-background/
This project is licensed under the MIT License - see the LICENSE file for details.