# Background Remover — Transparent PNG via x402

> Background Remover — Transparent PNG via x402 is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-13).

Removes the background from any image and returns a transparent PNG file.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/remove-bg
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-0be168e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4WWXsIZCoPHOy6M_YB-XK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-deployer-x402-deployer-workers-dev-0be168e2 -d '<json body>'
```

Example prompt: Can you remove the background from this product photo and give me a transparent PNG I can use on a white banner?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call background removal with no subscription, returning a standard transparent PNG. Ideal for agent workflows that process product images, avatars, or photos on demand without managing a dedicated image-editing service account.

## Known failure modes

- Image format not supported — returns error if input is not a recognizable image format
- Image too large — may time out or return an error for very high-resolution inputs
- No clear subject detected — background removal may be incomplete or produce artifacts
- Network/payment failure — x402 payment not processed, returns 402 or authorization error
- Corrupted image data — returns error if binary payload is malformed

## How this service works

Remove the background from any image. Returns a transparent PNG.

## Output

A transparent PNG image with the background removed and only the foreground subject retained, ready for compositing or design use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "image_url"
     ],
     "properties": {
      "image_url": {
       "type": "string"
      },
      "crop_to_bbox": {
       "type": "boolean"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      },
      "image_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-0be168e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
