Remove Background
POST
https://api.poof.bg/v1/removeRemove background from an image. This is a synchronous endpoint that returns the processed image directly in the response body.
Request
Headers
x-api-key *
Your API key. Example: pk_....
Body
image_file*binary
The image file to process. Max 20MB.
formatstring
Resulting image format: png | jpg | webp.
bg_colorstring
Background color (hex, rgb, or name).
Responses
Response Headers
- Content-Type: image/png
- X-Request-ID:req_abc123... // Support Trace ID
- X-Processing-Time-Ms: 450
- X-Image-Width: 1920
- X-Image-Height: 1080
Body
[binary image data]