Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cubetiq/rmbg-web-api

A remove background service using python, rembg and pre-trained models u2net
https://github.com/cubetiq/rmbg-web-api

python3 rembg u2net

Last synced: about 2 months ago
JSON representation

A remove background service using python, rembg and pre-trained models u2net

Awesome Lists containing this project

README

        

# rmbg Web API

- Flask
- rembg

### TODO
- [x] Image URL Support
- [x] File Upload Support
- [ ] Remove Options

### Usages (Test URL: https://rmbg-web-api.heroku.ctdn.dev)

- Remove Background from URL (GET/POST)

```text
https://rmbg-web-api.heroku.ctdn.dev?url=https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Gull_portrait_ca_usa.jpg/1280px-Gull_portrait_ca_usa.jpg
```

- Remove Background from File Upload (POST)

```sh
curl --location --request POST 'https://rmbg-web-api.heroku.ctdn.dev' \
--form 'file=@"YOUR/PHOTO/PATH"'
```

### Contributors

- Sambo Chea