{"slug":"api-shrinkwise-io-v1-compress-heavy-image-52cd7b","title":"ShrinkWise","host":"api.shrinkwise.io","method":"POST","resource":"https://api.shrinkwise.io/v1/compress/heavy-image","category":"image","description":"ShrinkWise. Compresses HEIC/HEIF or images above 16 MP, up to 60 MP and 20 MiB. Optional maxBytes preserves dimensions and HEIC safeguards; minQuality applies to JPEG/WebP/HEIC. Processing is charged even if the size target is not reached. Batches: 10 files/200 MB, paid per file. Price: 0.01 USDC pe","price_listed":0.01,"price_asked":null,"state":"down","state_label":"Not answering","checks_7d":6,"answered_7d":5,"latency_ms_median":117,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"job":"00000000-0000-4000-8000-000000000001","mode":"auto","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":{"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"},"maxBytes":{"description":"Optional immutable check of the byte target set at creation. Processing is charged even when targetMet is false.","maximum":20971520,"minimum":1,"type":"integer"},"minQuality":{"description":"Optional immutable check of the JPEG/WebP/HEIC/HEIF encoder floor, default 60. Not accepted for PNG. Settings are codec-specific, not perceptual scores.","maximum":95,"minimum":40,"type":"integer"},"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":["auto","exact"],"type":"string"},"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.01,"price_match":true,"latency_ms":149,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":117,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":123,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":17,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":37,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":137,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":31,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":268,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":33,"error":null}],"description_full":"ShrinkWise. Compresses HEIC/HEIF or images above 16 MP, up to 60 MP and 20 MiB. Optional maxBytes preserves dimensions and HEIC safeguards; minQuality applies to JPEG/WebP/HEIC. Processing is charged even if the size target is not reached. Batches: 10 files/200 MB, paid per file. Price: 0.01 USDC per file. Setup: https://api.shrinkwise.io/guide","last_updated":"2026-11-16T14:18:49.07Z","schemes":["exact"]}