Skip to content
Fourohtwo

Raster PNG to SVG

bild.halowerk.com/v1/raster-png-to-svg-color-runs

Raster PNG to SVG: return a pixel-faithful SVG grouped by color and alpha. Use it when an agent needs a scalable pixel-art or icon source.

BaseAnswering
POSThttps://bild.halowerk.com/v1/raster-png-to-svg-color-runs

Uptime100% of 5 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://bild.halowerk.com/v1/raster-png-to-svg-color-runs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image":"iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVR4nGNgIAXIRa3+LxS6IgGvAgxFMEFsGK8CrFah6MTlBpJ8BQIACd4s1Aujus8AAAAASUVORK5CYII="}),
});
console.log(await res.json());

Example input

{
  "image": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVR4nGNgIAXIRa3+LxS6IgGvAgxFMEFsGK8CrFah6MTlBpJ8BQIACd4s1Aujus8AAAAASUVORK5CYII="
}