{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/remove-background","method":"POST"},"content_type":"api","cover_url":"","description":"Remove background from any image, returning transparent PNG. Uses BiRefNet (state-of-the-art, Papers with Code). Handles hair, fur, glass, transparency, and complex edges. Stable endpoint — model upgrades automatically. 5 sats per image, no API key or signup needed.\n\nSend the image as base64 in the body:\n```\n{ \"image\": \"<base64 or data URI>\" }\n```","name":"Background Removal","pricing":[{"tier":"Standard","amount":5,"currency":"SATS"}],"response_body":{"image_url":{"type":"string","description":"URL to the background-removed image (temporary, download promptly)"}},"quality":{"model":"BiRefNet","paper":"Bilateral Reference for High-Resolution Dichotomous Image Segmentation (CAAI AIR 2024)","benchmark":"DIS5K-TE","scores":{"Sm":0.901,"maxFm":0.896,"MAE":0.035},"source":"https://paperswithcode.com/task/image-matting","note":"State-of-the-art on Papers with Code. Stable endpoint — model upgrades behind it as SOTA evolves."}}