Overview
Remove background from any image
Credits
2 credits per call
Providers
Remove.bg
SDK Method
client.remove_background(...)
Parameters
image_urlRequiredstring
URL to image.
sizeselect (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.