{"uid":"cap_pElIXlYGXxNtqp4inoGuX","slug":"stability-ai-background-removal-via-locus-x402-1acbbbc7","name":"Stability AI Background Removal 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/remove-background","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string"},"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_T33xBG10Xdi950SURMXVu","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":"Removes the background from a source image using Stability AI, returning a clean foreground cutout in PNG or WebP format.","exampleAgentPrompt":"Can you remove the background from this product photo and give me a clean PNG cutout with a transparent background?","exampleUseCases":[{"title":"E-commerce product photo cleanup","prompt":"I need to remove the background from this product image so I can put it on a white background for my online store listing — can you give me back a clean PNG?"},{"title":"Profile photo background removal","prompt":"Can you cut out just the person from this headshot photo and give me a transparent background PNG I can drop onto any background?"},{"title":"Marketing asset preparation","prompt":"I have a logo image with a messy background — can you strip the background out and return it as a WebP with transparency so I can use it in my slide deck?"}],"resultDescription":"Returns a JSON response containing a data object with the processed image (background removed, foreground isolated), the output format (PNG or WebP), and payment metadata including settled USDC amount and a request ID with a status URL for tracking.","failureModes":["Invalid or unsupported image format causes processing failure","Image URL is inaccessible or malformed, returning an error","Output format value other than 'png' or 'webp' is rejected","Payment authorization fails due to insufficient USDC balance","Image contains no clear foreground subject making segmentation ambiguous","Large image files may time out or fail during processing"],"whenToPreferThis":"Choose this endpoint when you need automated, AI-powered background removal from images with minimal setup, especially in workflows that require micropayment-based access via x402/USDC. It is ideal for processing product images, headshots, or marketing assets at $0.057 per call without requiring an API key subscription to Stability AI directly. Prefer this over manual editing tools when building agent-driven pipelines for e-commerce, content creation, or asset preparation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:55.223Z","isFirstParty":false}