api.delx.ai/api/v1/x402/remove-background
Remove image background and isolate the foreground subject into a transparent PNG for $0.002 USDC via x402 on Base or Solana. Send one bounded base64 PNG, JPEG, or WebP for product photos, avatars, or thumbnails; returns a durable transparent PNG URL and SHA-256 receipt. No API key, no subscription, no URL fetch, and no retained input.
POST
https://api.delx.ai/api/v1/x402/remove-backgroundUptime100% 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.delx.ai/api/v1/x402/remove-background", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"image_base64":"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGklEQVR42mOUi9rCQApgYiARjGoY1TB0NAAAyA8BTCf8IP8AAAAASUVORK5CYII="}),
});
console.log(await res.json());Example input
{
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGklEQVR42mOUi9rCQApgYiARjGoY1TB0NAAAyA8BTCf8IP8AAAAASUVORK5CYII="
}