{"uid":"cap_KatjKXXOPrFj5qCGQnJsR","slug":"fastapi-online-background-removal-872e2146","name":"fastapi.online Background Removal","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/bg-remove","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Image file (PNG/JPEG/WebP)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GRXL0rvmGhqlV7lAZRyqz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 an uploaded image (PNG/JPEG/WebP) and returns the result as a base64-encoded image","exampleAgentPrompt":"Can you remove the background from this product photo and give me back just the subject on a transparent background?","exampleUseCases":[{"title":"E-commerce product photo cleanup","prompt":"I have a JPEG of a product on a cluttered desk — can you remove the background so I get just the product on a clean transparent background for my store listing?"},{"title":"Logo isolation for design work","prompt":"Strip the white background from this PNG logo file so I can use it on different colored backgrounds in my designs."},{"title":"Portrait cutout for profile image","prompt":"I want to cut out just the person from this photo — remove everything in the background and give me a PNG with just them."}],"resultDescription":"Returns a JSON object containing the engine used for processing, the output image format, and the background-removed image encoded as a base64 string. The resulting image typically has a transparent background where the original background was.","failureModes":["Unsupported file format — only PNG, JPEG, and WebP are accepted","File too large or corrupted — may return a 400 or 422 error","Payment not received or insufficient USDC — returns 402 Payment Required","Complex or ambiguous backgrounds may result in imprecise cutouts","Service unavailable or overloaded — may return 500 or timeout"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call background removal with no signup required, paying in USDC via x402. It is well-suited for agents that need to process images programmatically on demand without managing subscriptions. Prefer alternatives if you need batch processing SLAs, specific matting quality guarantees, or enterprise support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T08:26:02.396Z","isFirstParty":false}