Convert a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified
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).
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.svgsmith.dev/v1/convert
| Category | Image and media |
|---|---|
| Provider host | api.svgsmith.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 5 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"detail": "high",
"imageUrl": "https://example.com/logo.png",
"mode": "auto"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"anyOf": [
{
"required": [
"imageBase64"
]
},
{
"required": [
"imageUrl"
]
}
],
"properties": {
"background": {
"description": "Repaint background to this color.",
"type": "string"
},
"detail": {
"enum": [
"high",
"normal",
"clean",
"poster"
],
"type": "string"
},
"imageBase64": {
"description": "Base64-encoded raster image (alternative to imageUrl).",
"type": "string"
},
"imageUrl": {
"description": "Publicly fetchable URL of the raster image to vectorize.",
"type": "string"
},
"mode": {
"enum": [
"auto",
"binary",
"color",
"pixel"
],
"type": "string"
},
"solid_background": {
"type": "boolean"
},
"transparent_background": {
"type": "boolean"
},
"uniform_outline": {
"type": "boolean"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"meta": {
"type": "object"
},
"svg": {
"description": "The converted SVG markup.",
"type": "string"
}
},
"required": [
"svg"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}