Skip to content
Fourohtwo

ShrinkWise

api.shrinkwise.io/v1/compress/image

ShrinkWise. Compresses PNG/JPEG/WebP up to 16 MP and 20 MiB. Optional maxBytes preserves image dimensions; minQuality applies to JPEG/WebP, while PNG uses protected palette profiles. Processing is charged even if the size target is not reached. Batches: 10 files/200 MB, paid per file. Price: 0.005 USDC per file. Setup: https://api.shrinkwise.io/guide

BaseDown
POSThttps://api.shrinkwise.io/v1/compress/image

Uptime66.7% of 3 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.shrinkwise.io/v1/compress/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 ShrinkWiseProvider status