Remove an image background
remove_backgroundRemoves the background from one image with BackGone’s production engine and returns a transparent PNG (or WebP) inline. Costs 1 API credit on success; failed calls are not charged. Requires an API key sent as "Authorization: Bearer sk_..." — create one at https://backgone.com/settings/apikeys and top up API credits at https://backgone.com/pricing. Provide exactly one of image_url or image_base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. PNG is the default; WebP is smaller and capped at a lower megapixel limit. | png |
| image_url | No | Public HTTPS URL of a PNG, JPEG or WebP image. Fetched server-side with SSRF protection. | |
| image_base64 | No | Base64-encoded image bytes (PNG, JPEG or WebP; up to 10 MB). A data: URL prefix is also accepted. Use this when the image is local to the agent. |