/rembg-fast-api

Fast API for rembg model https://github.com/danielgatis/rembg

Primary LanguageHTMLMIT LicenseMIT

title emoji colorFrom colorTo sdk pinned
Remove Background
🏢
green
pink
docker
false

This is a dockerized FastAPI app to remove background from images using rembg

How to run

git clone https://github.com/c2p-cmd/rembg-fast-api/
cd rembg-fast-api
docker build -t rembgapi .
docker run --rm -p 0.0.0.0:7860:7860 rembgapi

Then open http:localhost:7860/ in your browser and done!

Run with docker image directly

docker pull c2pcmd/remove_background_api
docker run --rm -p 0.0.0.0:7860:7860 c2pcmd/remove_background_api

Live Demo on 🤗 Spaces