# ForgeMesh Transparent Background Generator

> ForgeMesh Transparent Background Generator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Removes the background from any image URL and returns the foreground subject as a base64-encoded PNG with alpha transparency

## Facts

- Endpoint: POST https://x402.forgemesh.io/transparent-png-generator
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-transparent-background-generator-beda9750
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kzf1QRGPO4h1F2snvU_zm

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 forgemesh-transparent-background-generator-beda9750 -d '<json body>'
```

Example prompt: Can you remove the background from this product photo and give me a transparent PNG I can use for a marketplace listing? Here's the image URL: https://example.com/product.jpg

## When to prefer this

Choose this endpoint when you need automated, per-image background removal via a public URL with no storage of source data, especially for pipelines requiring transparent PNGs at low per-call cost ($0.02 USDC). Ideal for e-commerce thumbnail generation, sticker creation, or any workflow where the foreground subject needs to be isolated from its backdrop programmatically.

## Known failure modes

- Image URL is not publicly accessible — returns error
- Image exceeds 8MB size limit — returns error
- Unsupported image format (non-JPG/PNG/WebP) — returns error
- Subject segmentation fails on ambiguous or low-contrast images — may return poorly masked result
- Network timeout fetching the remote image URL

## How this service works

Transparent background generator: takes any image URL, segments out the foreground subject, and returns it as a base64 PNG with full alpha transparency. Nothing from the source image is retained past the request. Useful for sticker packs, thumbnail production, marketplace listings, and any pipeline that needs a subject on its own without a backdrop.

## Output

A base64-encoded PNG image of the foreground subject with the background fully removed and replaced with alpha transparency, ready for direct use in image pipelines, sticker packs, or marketplace listings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_url": {
   "type": "string",
   "description": "Public URL of the image (jpg/png/webp, max 8MB)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "file_base64": "iVBORw0KGgoAAA...",
  "content_type": "image/png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-transparent-background-generator-beda9750/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
