$0.02
per call · USD Coin on Base
Convert a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified SVG vector art. Pay per conversion in USDC on Base via x402 - no API key, no subscription. Send JSON with imageBase64 or imageUrl; tune with mode (auto/binary/color/pixel), detail (high/normal/clean/poster), transparent or solid background, and outline flags. Returns the SVG plus a quality report (paths, similarity score).
Endpoint
POST https://api.svgsmith.dev/v1/convert4
Calls / 30d
2
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.svgsmith.dev/v1/convert", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"detail": "high",
"imageUrl": "https://example.com/logo.png",
"mode": "auto"
}),
});
const data = await res.json();curl -X POST \
"https://api.svgsmith.dev/v1/convert" \
-H "Content-Type: application/json" \
-d '{"detail":"high","imageUrl":"https://example.com/logo.png","mode":"auto"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"meta": {
"bytes": 38563,
"detail": "high",
"mode": "color",
"similarity": 0.97
},
"svg": "<svg xmlns=...>...</svg>"
}Payment details
0xc34cda76d8b9edd3be25c336ca1cf668522fdf0cUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from svgsmith & similar services
BlockRun.AI · EXA Contents
blockrun.ai
Extract full text content from specific URLs. Priced at $0.002/URL — total = urls.length × $0.002.
BlockRun.AI · EXA Search
blockrun.ai
Neural and keyword web search. Optional category filter: company, research paper, news, pdf, github, tweet, personal site, linkedin profile, financial report.
BlockRun.AI · EXA Answer
blockrun.ai
Get an AI-generated answer to a question grounded in live web search results.