A simple API for removing backgrounds from images.
To remove a background, send a POST request to the /remove-background/
endpoint with a file.
POST /remove-background/
The request body should be a multipart/form-data payload containing your image file with the field name file
.
Content-Type: multipart/form-data
file: <your_image_file>
The service supports common image formats including PNG, JPEG, GIF, and HEIC/HEIF. The maximum file size is **50 MB**.
You can try the full interactive documentation at the /docs endpoint.
The API will return the processed image as a PNG file with a transparent background.