Back to APIs

Unified Agent API

Background Removal

Background Removal

Remove background from any image. GPU-powered segmentation.

POST/v1/images/remove-background

Overview

Remove background from any image

Credits

2 credits per call

Providers

Remove.bg

SDK Method

client.remove_background(...)

Parameters

image_urlRequired

string

URL to image.

size

select (default: auto)

Output resolution.

Auto
Small
HD

Example Response

{
  "success": true,
  "data": {
    "image_base64": "iVBORw0KGgoAAAANSUhEUg...(base64 image data)",
    "format": "png",
    "size": "auto",
    "credits_charged": "1"
  },
  "metadata": {
    "provider_used": "remove_bg",
    "providers_tried": [
      "remove_bg"
    ],
    "mode_used": null,
    "response_time_ms": 2764,
    "request_id": "req_4fd62009"
  },
  "credits_used": 2
}

Get Started

Use this API through the O-mega platform. Create an API key in your dashboard, then call the endpoint with your key in the Authorization header.

Try Background Removal

Test Background Removal in the interactive playground. No setup required.

Open Playground
Background Removal API | Unified Agent APIs | suprbrowser