# Stability AI Remove Background

> Stability AI Remove Background is a paid API for AI agents from Stability AI at stability-ai.mpp.paywithlocus.com, paid per call via MPP, $0.057/call, status unknown (last checked 2026-10-10, last successful call 2026-07-16).

Removes the background from an image, isolating the foreground subject using Stability AI's segmentation model

## Facts

- Endpoint: POST https://stability-ai.mpp.paywithlocus.com/stability-ai/remove-background?utm_source=zero.xyz
- Price: $0.057/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-07-16
- Success rate: 43% of calls made through Zero
- Rating: 4.2 / 5 from 2 reviews
- Activations on Zero: 7
- Provider: Stability AI
- Docs: https://platform.stability.ai/docs/api-reference
- Website: https://stability.ai
- Tags: image-generation, stable-diffusion, upscaling, 3d, ai, media
- Canonical page: https://www.zero.xyz/c/stability-ai-remove-background-9d95e021
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qd4q0ZfTJWEXhuQVR2xp_

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 stability-ai-remove-background-9d95e021 -d '<json body>'
```

Example prompt: Remove the background from this product photo and give me a transparent PNG — here's the image: [image URL].

## When to prefer this

Choose this endpoint when you need high-quality, AI-powered background removal via Stability AI's model, especially for product photography, portrait cutouts, or any workflow requiring transparent-background images in PNG or WebP format. Prefer over generic image editors when quality and automation at scale matter.

## Known failure modes

- Image input missing or invalid — returns 400 bad request
- Unsupported image format provided — returns 422 validation error
- Image too large or corrupted — processing failure
- Subject detection fails for ambiguous foreground — may produce partial or noisy cutout
- Network timeout for large images — returns 504 or connection error

## How this service works

Automatically remove the background from an image.

## Output

Returns a processed image (PNG or WebP) with the background removed and the foreground subject isolated, typically with a transparent background around the subject.

## Example request

```json
{
 "image": "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MA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9S6gweVoAOsbDGhfEwO112FWKv26jVovXkXsaHW5mOSG5hcNEZ+D718vIorGL+OXYmJ1MXK1sX2+Xr2i8NJy9gDZIRK/Qlc1j8+OLXhsTrHJesJuX5durfYizZl5pNQrVmESWdS63e/o4Bydfmx1u3KXk2cdW56C4bI+1m8+Tyy4C6GT37/Wg5k27ajLQH6X7csUlo7em3XleMu1ukn2UHbhol16nMUg1LHKc0b/1es77u/uxH83We1+eXbrJFSKfBmAhyu5cxnSyXK5jSJmcVWo2tbWvV+D787O46O1LIDz8Th36V902b+cxavLvZ5vwrRnYh/8
… (truncated)
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "image"
 ],
 "properties": {
  "image": {
   "type": "string",
   "description": "Source image Send a public HTTPS URL (recommended; files up to 10 MiB) or base64/data URI. Hosted MPP JSON requests must stay below 8 KiB, so use a URL for larger files."
  },
  "output_format": {
   "type": "string",
   "description": "png|webp (default png)"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stability-ai-remove-background-9d95e021/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stability-ai.mpp.paywithlocus.com](https://www.zero.xyz/host/stability-ai.mpp.paywithlocus.com/llms.txt)
