BGBuster

bgbuster API Documentation — Remove Image Backgrounds via REST API

Integrate bgbuster's background removal API in minutes. REST API with SDK for Node.js, Python, Go, Java, PHP, Ruby, and C#. From €0.0025/image, no subscription. remove.bg alternative.

bgbuster API Documentation

Remove image backgrounds programmatically with a simple REST API. Integrate in minutes using our official SDK (Node.js, Python) or call the API directly from any language.

Key facts

  • Pricing: from €0.0025/image, pay-per-use, no subscription
  • Authentication: single API key via X-Api-Key header
  • Response: JSON with a download URL (valid 24h) or raw image bytes
  • More than removal: chain resize, rotate, flip, blur, brightness/contrast/saturation, and trim in one /images/edit call

Quick Example

curl -X POST https://api.bgbuster.com/images/remove-background \
  -H "X-Api-Key: your-api-key" \
  -F "input=@photo.jpg" \
  -F "format=png"

SDK quickstart (Node.js)

import { createClient } from "@bgbuster/sdk";

const client = createClient(process.env.BGBUSTER_API_KEY);

const result = await client.removeBackground({
  input: "https://example.com/photo.jpg",
  output: "url",
  format: "png"
});

console.log(result.url);

On this page