Image Processing
Remove Background
Changed onRemove the background from an image. This is a synchronous endpoint that returns the processed image directly in the response body. Each successful request costs 1 credit regardless of parameters. Failed requests are not billed.
post/remove
Request
- Base URLhttps://api.poof.bg/v1
- AuthAPI key in header x-api-key
Request body multipart/form-data
Example request
{
"image_url": "https://example.com/photos/product.jpg",
"bg_color": "#ffffff",
"padding": "10%",
"crop_margin": "10%",
"width": 500,
"height": 500
}Response
Successfully processed image
Changes
- warning
the optional response header
X-Credits-Chargedremoved for the status200 - warning
the optional response header
X-Heightremoved for the status200 - warning
the optional response header
X-Widthremoved for the status200
- warning