API Documentation

Integrate our background removal directly into your applications.

Background Removal API

POST /v1/remove

Request

curl -X POST "https://api.removebackground.fun/v1/remove" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@/path/to/your/image.jpg" \
  -F "size=auto"
        

Parameters

Response

{
  "success": true,
  "result_url": "https://cdn.removebackground.fun/results/abc123.png",
  "credits_used": 1
}
        

Authentication

Include your API key in the header:

Authorization: Bearer YOUR_API_KEY

Get your API key (requires account)

Rate Limits