Remove Background
POST
https://removebgapi.com/api/v1/removeRemove background from an image. This is a synchronous endpoint that returns the processed image directly in the response body.
Request
Headers
Authorization *
Your API key, provided as a Bearer token. Example: Bearer rb-sk_....
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]