{"uid":"cap_otaiEUA8nCQA6qaSLV_By","slug":"stability-ai-image-eraser-via-locus-x402-2d19c422","name":"Stability AI Image Eraser via Locus x402","description":"Generative AI platform for images, 3D models, and audio — text-to-image, editing, upscaling, and more.","url":"https://stability-ai.x402.paywithlocus.com/stability-ai/erase","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mask":{"type":"string"},"seed":{"type":"number"},"image":{"type":"string"},"grow_mask":{"type":"number"},"output_format":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.057","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.057/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.057","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rhaMNlG3oSEEvZCrqhUV3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.057","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Erases and inpaints masked regions of an image using a white-mask overlay, powered by Stability AI and paid via x402 micropayment.","exampleAgentPrompt":"Can you erase the car in the background of this photo? Here's the source image and here's the white-mask PNG marking the car — output the result as a PNG.","exampleUseCases":[{"title":"Remove unwanted person from photo","prompt":"I have a group photo and want to remove the person on the far right — I've already made a white-mask image over them. Can you erase that person and fill in the background naturally? Output as JPEG."},{"title":"Clean up product photo background","prompt":"There's a stray shadow on the right side of my product image that I need removed. I have a mask image marking the shadow area in white. Please erase it and give me back a clean PNG."},{"title":"Erase watermark from image","prompt":"I need to remove a watermark from the bottom-left of this image — I've created a white-mask covering just the watermark. Use seed 42 and expand the mask by 5 pixels for a cleaner result, output as webp."}],"resultDescription":"Returns a JSON object with a `data` field containing the processed image (erased/inpainted result), along with payment details (settled USDC amount) and a request ID with a status URL for tracking. The erased region is seamlessly filled using Stability AI's generative inpainting.","failureModes":["Missing or malformed image/mask inputs return an error","Mask and source image dimension mismatch causes processing failure","Unsupported output_format value (not jpeg/png/webp) returns validation error","Payment failure or insufficient USDC balance blocks the request","Large grow_mask values may cause unintended erasure of neighboring regions","Server-side Stability AI errors propagate as 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need to erase a specific region of an image defined by a white-mask and have it seamlessly inpainted — ideal for object removal, background cleanup, or watermark erasure. Prefer this over generic image editing tools when you need AI-powered generative fill in the erased region and want pay-per-call micropayment pricing via x402 (no subscription required).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:58.468Z","isFirstParty":false}