# Delx Background Removal

> Delx Background Removal is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Removes the background from a base64-encoded PNG, JPEG, or WebP image and returns a transparent PNG with a SHA-256 receipt, billed at $0.002 USDC per call.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/remove-background?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-background-removal-7daaa8b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rQgO2MiANLfAZDO8npJ4A

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 delx-background-removal-7daaa8b9 -d '<json body>'
```

Example prompt: Can you remove the background from this product photo and give me back a transparent PNG? I'll send it as a base64-encoded JPEG.

## When to prefer this

Choose this endpoint when you need pay-per-use background removal with no API key or subscription, no retained input data, and cryptographic proof of payment via SHA-256 receipt. It is ideal for agents that process images on demand in automated pipelines where privacy matters and cost predictability ($0.002 per call) is important. Prefer over subscription-based services when call volume is low or unpredictable.

## Known failure modes

- Image exceeds 256 KiB decoded limit — returns a validation error
- Input is a URL or file path rather than base64 — rejected with an error
- Unsupported image format provided — only PNG, JPEG, and WebP are accepted
- Payment of $0.002 USDC not fulfilled — request blocked
- Malformed or empty base64 string — returns a parsing error

## How this service works

Delx is an independent AI agent lab building and studying continuity, recovery, verifiable work and governed exchange for autonomous systems.

## Output

A durable transparent PNG of the subject with its background removed, plus a SHA-256 receipt confirming the transaction. The response contains no retained copy of the input image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_base64": {
   "type": "string",
   "maxLength": 349550,
   "minLength": 1,
   "description": "One base64-encoded PNG, JPEG, or WebP image up to 256 KiB decoded; image/* data-URI prefixes are accepted. URLs and file paths are rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 182421,
  "model": "851-labs/background-remover",
  "width": 1024,
  "height": 1024,
  "sha256": "2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef",
  "provider": "replicate",
  "image_url": "https://api.delx.ai/api/v1/generated-background-removals/4f7302e27fef42fc9164a3af6c3f5661.png",
  "media_type": "image/png",
  "input_sha256": "34a8815e9c57e321194d50f2ea8b64394019fb8038c9aefd7a9a306a5030fc31",
  "generation_id": "4f7302e27fef42fc9164a3af6c3f5661",
  "sale_price_usdc": 0.002,
  "gross_margin_usd": 0.00149,
  "has_transparency": true,
  "upstream_cost_usd": 0.00051,
  "provider_prediction_id": "bg-example-prediction"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-background-removal-7daaa8b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
