# PayWeave Fal · Background Removal (rembg)

> PayWeave Fal · Background Removal (rembg) is a paid API for AI agents from fal.payweave.services, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Removes the background from an image using the rembg model, returning a PNG with a transparent background via CDN URL.

## Facts

- Endpoint: POST https://fal.payweave.services/models/fal-ai/imageutils/rembg/run
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-fal-background-removal-rembg-a2834178
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zxDBwdlOs5dYEyEEuo3_F

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 payweave-fal-background-removal-rembg-a2834178 -d '<json body>'
```

Example prompt: Can you remove the background from this product photo — https://example.com/shoe.jpg — and give me back a transparent PNG I can use on the website?

## When to prefer this

Use this endpoint when you need fast, pay-per-call background removal without a subscription — ideal for agents that occasionally need to strip image backgrounds, process product photos, or prepare headshots for further use, and want to pay only $0.02 USDC per image via x402.

## Known failure modes

- Invalid or inaccessible image URL returns an error string in the 'error' field
- Unsupported image format may cause model failure
- Payment failure (insufficient USDC balance) results in 402 response before processing
- Timeout on large images may result in a non-succeeded status
- CDN URL expires after ~24 hours, so downstream consumers must download promptly

## How this service works

Sub-second generative AI inference — image, video, audio.

## Output

Returns a JSON object with a fal request ID, model name, status ('succeeded'), a CDN-hosted image URL (transparent PNG, ~24h TTL), inference time in seconds, and the USD amount charged for the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "image_url"
   ],
   "properties": {
    "image_url": {
     "type": "string",
     "format": "uri",
     "description": "Image to remove background from."
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-fal-background-removal-rembg-a2834178/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fal.payweave.services](https://www.zero.xyz/host/fal.payweave.services/llms.txt)
