How to use remove.bg API

$ curl -H 'X-API-Key: INSERT_YOUR_API_KEY_HERE'           \
       -F 'image_file=@/path/to/file.jpg'                 \
       -F 'size=auto'                                     \
       -f https://api.remove.bg/v1.0/removebg -o no-bg.png

theoretically it would be possible using the web component…
however the web component does not support multipart/formdata, i.e. a mixture of binary data and text
so the web component unfortunately is not able to do it

you could try to use the Terminal / Shell Extension by @juananton1991, but I’m not sure, if this will be possible there… you might want to try it and let us know, whast you find out…


Taifun

1 Like