Skip to content
Fourohtwo

Resize any image to exact dimensions or social-media presets

imagcon.app/routes/x402/resize-image

Resize any image to exact dimensions or social-media presets — Open Graph (1200x630), Twitter card, YouTube thumbnail, Instagram, LinkedIn. Smart fit modes avoid distortion: cover (focal-point crop), contain (padded), blur-fill letterbox, stretch. Deterministic and instant — no AI, no account required. Returns the resized PNG/JPEG/WebP directly. Images from generate-image resize free at /routes/x4

BaseAnswering
POSThttps://imagcon.app/routes/x402/resize-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://imagcon.app/routes/x402/resize-image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image":"<binary PNG/JPEG/WebP file>","mode":"blur","preset":"og"}),
});
console.log(await res.json());

Example input

{
  "image": "<binary PNG/JPEG/WebP file>",
  "mode": "blur",
  "preset": "og"
}

More from ImagconProvider status