Skip to content
Fourohtwo

ShrinkWise

api.shrinkwise.io/v1/compress/heavy-image

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

BaseAnswering
POSThttps://api.shrinkwise.io/v1/compress/heavy-image

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.shrinkwise.io/v1/compress/heavy-image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"job":"00000000-0000-4000-8000-000000000001","mode":"auto","sha256":"0000000000000000000000000000000000000000000000000000000000000000"}),
});
console.log(await res.json());

Example input

{
  "job": "00000000-0000-4000-8000-000000000001",
  "mode": "auto",
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
}

More from ShrinkWise