{"uid":"cap_Blv5b3wVz_5B47axcRmKN","slug":"medien-halowerk-com-background-removal-7bbacaa2","name":"medien.halowerk.com Background Removal","description":"Takes an image by URL or inline base64 and returns it with the background removed, as PNG or WebP with a real alpha channel, together with the share of the frame that survived, the bounding box of the remaining subject and the option to crop to it. The whole computation runs locally with rembg and the U2-Net model: the image is not sent anywhere, no provider sees it, nothing is retained, and there is consequently no purchase price and no third-party terms to accept — for a product photo not yet…","url":"https://medien.halowerk.com/v1/bg-remove","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"format":{"enum":["png","webp"],"type":"string","default":"png","description":"Output format. Both carry an alpha channel; WebP is markedly smaller."},"source":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of the image."},"filename":{"type":"string","maxLength":260},"content_base64":{"type":"string","maxLength":12000000,"description":"The image inline, base64."}},"description":"The image. Either url or content_base64.","additionalProperties":false},"quality":{"type":"integer","default":90,"maximum":100,"minimum":1,"description":"For WebP output."},"max_width":{"type":"integer","maximum":4000,"minimum":32,"description":"Scale the result down so the width fits. Never scales up."},"alpha_matting":{"type":"boolean","default":false,"description":"Refine the edge for hair and fur. Slower, and not always better — compare before using it by default."},"crop_to_subject":{"type":"boolean","default":false,"description":"Crop the result to the bounding box of what remained."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5EWrjqRo_exAl0qkAjLaY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 image (URL or base64) using rembg/U2-Net locally, returning a PNG or WebP with real alpha channel plus bounding box and crop options","exampleAgentPrompt":"Remove the background from this product photo at https://example.com/shoe.jpg and give me back a WebP with a transparent background, cropped tight to the shoe.","exampleUseCases":[{"title":"E-commerce product photo cutout","prompt":"I have a product image at https://myshop.com/images/mug.jpg — strip the background and return a PNG with a transparent alpha channel so I can drop it onto any color backdrop in my store."},{"title":"Portrait subject isolation","prompt":"Take this headshot I'm sending as base64 and remove the background, returning a WebP with true transparency and the bounding box coordinates so I know where the face is in the frame."},{"title":"Privacy-safe local background removal","prompt":"Remove the background from this confidential document scan — I need it done locally with no data leaving our systems. Return the result as a PNG cropped to just the subject."}],"resultDescription":"A base64-encoded PNG or WebP image with a real alpha channel (background made transparent), along with the fraction of the frame that survived removal, the bounding box of the remaining subject, and optionally a version cropped to that bounding box.","failureModes":["Image URL is unreachable or returns a non-image content type","Base64 payload is malformed or too large","Unsupported image format submitted","Subject detection fails (very low contrast or ambiguous scenes), resulting in poor cutout quality","Timeout on very large or high-resolution images"],"whenToPreferThis":"Prefer this endpoint when privacy is critical (no image data leaves the server, no third-party provider sees the image), when cost matters ($0.01 per call with no subscription), or when you need bounding-box metadata alongside the transparent image. Choose it over cloud providers like remove.bg or Photoroom when data retention restrictions apply.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:37:21.738Z","isFirstParty":false}