Skip to content
Fourohtwo

ShrinkWise

api.shrinkwise.io/v1/convert/image

ShrinkWise. Converts one PNG, JPEG or WebP up to 16 megapixels and 20 MiB to PNG, JPEG or WebP. JPEG output uses a white background. Batches: 10 files/200 MB, paid per file. Price: 0.005 USDC per file. Setup: https://api.shrinkwise.io/guide

BaseAnswering
POSThttps://api.shrinkwise.io/v1/convert/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

// 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/convert/image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"job":"00000000-0000-4000-8000-000000000001","mode":"auto","outputFormat":"webp","sha256":"0000000000000000000000000000000000000000000000000000000000000000"}),
});
console.log(await res.json());

Example input

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

More from ShrinkWiseProvider status