{"slug":"api-shrinkwise-io-v1-remove-background-b8c330","title":"ShrinkWise","host":"api.shrinkwise.io","method":"POST","resource":"https://api.shrinkwise.io/v1/remove/background","category":"image","description":"ShrinkWise. Removes the background from one static PNG, JPEG, WebP or HEIC/HEIF image up to 60 MP and 20 MiB. AI segmentation with tiled high-resolution edge passes, full-resolution matte refinement and edge color decontamination. Transparent PNG/WebP/AVIF, solid-color JPEG or a grayscale mask; opti","price_listed":0.02,"price_asked":null,"state":"down","state_label":"Not answering","checks_7d":7,"answered_7d":6,"latency_ms_median":27,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"background":"transparent","crop":"none","job":"00000000-0000-4000-8000-000000000001","mode":"remove","output":"cutout","outputFormat":"png","padding":0,"sha256":"0000000000000000000000000000000000000000000000000000000000000000"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"background":{"description":"Optional check of the fill selected at creation: transparent (default) or #RRGGBB.","pattern":"^(transparent|#[0-9A-Fa-f]{6})$","type":"string"},"crop":{"description":"Optional check of the crop selected at creation: none keeps the canvas, subject trims to the subject, square centers it on a square canvas.","enum":["none","subject","square"],"type":"string"},"job":{"description":"Ready file job ID returned by POST /v1/jobs or jobs[index].id from POST /v1/batches. File bytes must first be uploaded to /v1/jobs/{id}/input. Authorization uses that child's token, not the batch token. Full setup: https://api.shrinkwise.io/guide","format":"uuid","type":"string"},"mode":{"description":"Optional check of the mode already selected at creation. Extraction uses extract; PDF compression uses safe/aggressive; image compression uses auto/exact; conversion uses auto. It cannot change a prepared job.","enum":["remove"],"type":"string"},"output":{"description":"Optional check of the output selected at creation: cutout image or grayscale PNG alpha mask.","enum":["cutout","mask"],"type":"string"},"outputFormat":{"description":"Optional check of the result format selected at job creation (default png). JPEG requires an opaque background color.","enum":["png","webp","avif","jpeg"],"type":"string"},"padding":{"description":"Optional check of the padding (percent of the subject's larger side) selected at creation for subject/square crops.","maximum":40,"minimum":0,"type":"integer"},"sha256":{"description":"Optional integrity check: the exact SHA-256 returned by upload inspection. A mismatch is rejected before payment. This does not upload or select a file.","pattern":"^[a-f0-9]{64}$","type":"string"}},"required":["job"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"backgroundResult":{"description":"Background removal summary after completion: subject box, coverage, tiles used and review warnings.","type":"object"},"documentType":{"enum":["auto","commercial_invoice","packing_list"],"type":"string"},"expiresAt":{"type":"string"},"format":{"type":"string"},"htmlPdfResult":{"additionalProperties":false,"description":"HTML to PDF summary after completion: rendered page count, refused network requests/navigations and warnings.","properties":{"blockedRequests":{"description":"External requests and navigations refused while rendering; the PDF was produced without them.","minimum":0,"type":"integer"},"pages":{"maximum":50,"minimum":1,"type":"integer"},"warnings":{"items":{"enum":["EXTERNAL_RESOURCES_BLOCKED","NAVIGATION_BLOCKED","POPUP_BLOCKED","SCRIPT_ERRORS"],"type":"string"},"type":"array"}},"required":["pages","blockedRequests","warnings"],"type":"object"},"id":{"format":"uuid","type":"string"},"mode":{"type":"string"},"outputFormat":{"description":"Actual result format; selected at creation for conversions.","type":"string"},"receipt":{"description":"Confirmed Base USDC receipt. A paid retry returns the same receipt without another settlement.","type":"object"},"result":{"description":"Authenticated download path; available after state=completed for 15 minutes.","type":"string"},"resultContentType":{"type":"string"},"resultSchema":{"description":"Public JSON Schema for structured data, document extraction or table results.","type":"string"},"sizeTarget":{"additionalProperties":false,"description":"Size search outcome. Processing is charged even when targetMet is false. Quality settings are codec-specific, not perceptual guarantees; null for PNG/PDF. Profile identifies the selected output, not every attempted profile.","properties":{"attempts":{"maximum":8,"minimum":0,"type":"integer"},"encoderQuality":{"description":"Selected JPEG/WebP/HEIC encoder setting; null for original bytes and PNG/PDF profiles.","maximum":95,"minimum":40,"type":["integer","null"]},"maxBytes":{"minimum":1,"type":"integer"},"minQuality":{"maximum":95,"minimum":40,"type":["integer","null"]},"profile":{"enum":["original","jpeg-quality","webp-quality","heic-quality","png-lossless","png-palette-256","png-palette-128","png-palette-64","png-palette-32","pdf-lossless","pdf-images-300dpi","pdf-images-225dpi","pdf-images-150dpi"]},"reason":{"enum":["already_within_limit","target_met","limit_not_reached"]},"targetMet":{"type":"boolean"}},"required":["maxBytes","minQuality","profile","targetMet","encoderQuality","attempts","reason"],"type":"object"},"state":{"enum":["queued","running","completed","failed","expired","cancelled"],"type":"string"},"status":{"description":"Authenticated polling path for this asynchronous job.","type":"string"},"tablesResult":{"description":"Table extraction summary after completion: tables found, pages, pages without text, strategies and document warnings.","properties":{"pages":{"type":"integer"},"pagesWithoutText":{"type":"integer"},"strategies":{"items":{"enum":["lattice","stream","hybrid"]},"type":"array"},"tables":{"type":"integer"},"warnings":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"required":["id","state","format","outputFormat","mode","expiresAt","status","result"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":false,"status":null,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":null,"error":"URLError"},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":28,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":31,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":79,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":24,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":16,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":19,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":29,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":31,"error":null}],"description_full":"ShrinkWise. Removes the background from one static PNG, JPEG, WebP or HEIC/HEIF image up to 60 MP and 20 MiB. AI segmentation with tiled high-resolution edge passes, full-resolution matte refinement and edge color decontamination. Transparent PNG/WebP/AVIF, solid-color JPEG or a grayscale mask; optional subject or square crop. Batches: 10 files/200 MB, paid per file. Price: 0.02 USDC per file. Setup: https://api.shrinkwise.io/guide","last_updated":"2026-11-16T14:18:30.308Z","schemes":["exact"]}