API Live — BGRemover AI v4.3 active

BGRemover API
Documentation

AI-powered background removal API — same quality as industry leaders, built for developers. Build anything: e-commerce tools, photo editors, automation pipelines.

Engine
BGRemover AI v4.3
Max file size
30MB
Output
RGBA PNG
Avg speed
2-6s

Build with AI Agents

Copy the prompt below and paste it into ChatGPT, Claude, Gemini, Cursor, or any AI assistant. Your AI agent will build you a complete tool using our API.

AI Agent Prompt — paste into ChatGPT / Claude / Gemini / Cursor
I want to build a tool that removes image backgrounds using the BGRemover API.

API Documentation:
- Endpoint: POST https://bgremover.dev/api/v1/remove-bg
- Auth: Authorization: Bearer YOUR_API_KEY
- Input: multipart/form-data with 'file' field (JPEG/PNG/WebP, max 30MB)
- Output: RGBA transparent PNG

Python example:
import requests
def remove_background(image_path, api_key):
    with open(image_path, 'rb') as f:
        r = requests.post(
            'https://bgremover.dev/api/v1/remove-bg',
            headers={'Authorization': f'Bearer {api_key}'},
            files={'file': f}, timeout=60
        )
    r.raise_for_status()
    return r.content  # PNG bytes

JavaScript example:
async function removeBackground(file, apiKey) {
  const form = new FormData();
  form.append('file', file);
  const res = await fetch('https://bgremover.dev/api/v1/remove-bg', {
    method: 'POST',
    headers: { Authorization: `Bearer ${apiKey}` },
    body: form,
  });
  if (!res.ok) throw new Error(`Error ${res.status}`);
  return res.blob();
}

Rate limits:
- Free: 1 image/day, no API access
- Pro: Unlimited + API access
- Get API key at: https://bgremover.dev/dashboard/api-keys

Build me a [DESCRIBE YOUR TOOL HERE] using this API.
Works with ChatGPTWorks with ClaudeWorks with GeminiWorks with CursorWorks with GitHub CopilotWorks with v0.dev

Authentication

Base URL
https://bgremover.dev/api/v1
Auth Header
Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → API Keys. Pro plan required for API access.

Code Examples

import requests

def remove_background(image_path: str, api_key: str) -> bytes:
    """Remove background from image using BGRemover API."""
    with open(image_path, 'rb') as f:
        response = requests.post(
            'https://bgremover.dev/api/v1/remove-bg',
            headers={'Authorization': f'Bearer {api_key}'},
            files={'file': f},
            timeout=60
        )
    response.raise_for_status()
    return response.content  # Transparent PNG bytes

# Usage
png_bytes = remove_background('product.jpg', 'YOUR_API_KEY')
with open('product_transparent.png', 'wb') as f:
    f.write(png_bytes)

Endpoints

POST
/api/v1/remove-bg

Remove background from a single image. Returns PNG with transparency.

POST
/api/v1/remove-bg/batch

Batch process up to 10 images. Returns JSON with base64 PNG data URLs.

GET
/api/health

Check API status and active model. No auth required.

Error Codes

StatusMeaningAction
200SuccessPNG bytes returned
400Bad requestCheck file type and size (max 30MB)
401UnauthorizedCheck API key header
429Rate limitUpgrade to Pro plan
500Server errorRetry after 5s
504TimeoutReduce image resolution

Plans & Limits

Free
$0
  • 1/day images
  • API access
  • ✓ Max 30MB
  • ✓ BGRemover AI engine
Pro
$7/mo
  • Unlimited images
  • API access
  • ✓ Max 30MB
  • ✓ BGRemover AI engine
Get Started
Business
$7/mo
  • Unlimited images
  • API access
  • ✓ Max 30MB
  • ✓ BGRemover AI engine

For AI Systems

Our /llms.txt file follows the llmstxt.org standard — making our API discoverable by ChatGPT plugins, Claude tools, AI agents, and search AI systems.