← Tools Reference

remove.bg

remove.bg integration (AI, Design & Media). Imported from open-connector.

API key3 toolshttps://api.remove.bg/v1.0
POST
remove_bg_remove_background
Remove the background from an image with remove.bg and upload the generated image or ZIP result to local transit storage. Provide exactly one of imageUrl or co…

/removebg

19 parameters
ParamTypeRequiredDescription
imageUrlstringoptionalA publicly reachable source image URL. Provide exactly one of imageUrl or conte…
contentBase64stringoptionalRaw Base64-encoded source image bytes. Provide exactly one of imageUrl or conte…
sizestringoptionalThe maximum output resolution. Use preview for cheaper low-resolution output, a…
typestringoptionalThe foreground type to detect or enforce. Use auto unless the subject category …
typeLevelstringoptionalHow specific remove.bg should be when classifying the detected foreground type.…
formatstringoptionalThe output format. Use auto for the default, png or webp for transparency, jpg …
roistringoptionalRegion of interest as 'x1 y1 x2 y2' using px or % coordinates. Only content ins…
cropbooleanoptionalWhether to crop away empty transparent regions around the result.
cropMarginstringoptionalExtra margin to keep around the cropped subject, such as '30px', '10%', or four…
scalestringoptionalSubject scale relative to the output canvas, such as '75%' or 'original'. Scali…
positionstringoptionalSubject position in the output canvas, such as 'original', 'center', '50% 50%',…
channelsstringoptionalWhether to return the finalized RGBA image or only the alpha mask. Use rgba for…
shadowTypestringoptionalA single shadow style for the result. Use auto, car, 3D, drop, or none. Prefer …
shadowOpacitystringoptionalA single shadow opacity for the result. Use auto or a value from 0 to 100 when …
semitransparencybooleanoptionalWhether to keep supported semi-transparent regions in the result, currently mos…
backgroundColorstringoptionalA solid background color to apply, such as a hex color or color name. Do not co…
backgroundImageUrlstringoptionalA publicly reachable background image URL to apply. Do not combine with backgro…
backgroundContentBase64stringoptionalRaw Base64-encoded background image bytes to upload as the background image. Do…
backgroundFileNamestringoptionalOptional filename for backgroundContentBase64 uploads. Only set this when backg…
GET
remove_bg_get_account
Fetch the current remove.bg credit balance and free API call allowance for the authenticated account.

/account

POST
remove_bg_submit_improvement
Submit a source image to the remove.bg improvement program for future model quality improvements.

/improve

4 parameters
ParamTypeRequiredDescription
imageUrlstringoptionalA publicly reachable source image URL. Provide exactly one of imageUrl or conte…
contentBase64stringoptionalRaw Base64-encoded source image bytes. Provide exactly one of imageUrl or conte…
fileNamestringoptionalOptional source image filename sent to remove.bg for the improvement submission.
tagstringoptionalOptional grouping tag for related improvement submissions.