logobgbuster
bgbuster

Background removal API for developers

Remove image backgrounds via a simple REST API. Pay-per-use from €0.0025/image. No subscription. Works from any language with a copy-paste quickstart.

remove.bg is shutting down December 1, 2026. bgbuster is the natural alternative — similar API, better pricing, no planned shutdown.See the comparison.

Quickstart (Node.js)
remove-bg.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",
  format: "png"
});

console.log(result.url);

Prefer another language? See the quickstarts below for cURL, Python, PHP, and more.

API features
Simple authentication — one API key, one header. No OAuth flows or token rotation.
Composable operations — chain background removal with resize, rotate, blur, and color adjustments in a single /images/edit call.
Edge network — sub-5s response times from anywhere in the world.
Language quickstarts — cURL, Node.js, Python, PHP, Ruby, Java, Go, C# examples ready to copy.