Stability AI Erase 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-11, last successful call 2026-06-16).
Removes unwanted objects or regions from an image using an optional mask, leaving a clean, AI-inpainted result.
Remove objects from an image using a mask.
Returns an inpainted image with the masked region seamlessly removed and filled in by the AI, in the requested output format (jpeg, png, or webp).
POSThttps://stability-ai.mpp.paywithlocus.com/stability-ai/erase?utm_source=zero.xyzUse this endpoint when you need to remove a specific object or region from an image and have a mask defining the area to erase. Prefer this over Search and Replace when you want clean removal without replacement content, or over Outpaint when you are editing interior regions rather than extending borders.
| Field | Type | Description |
|---|---|---|
| mask | string | Mask image (white = erase) 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. |
| seed | number | Random seed |
| imagerequired | string | 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. |
| grow_mask | number | Expand mask by N pixels |
| output_format | string | jpeg|png|webp |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"