{"uid":"cap_mQ23K3SZ1BYuOea1-Qhrk","slug":"svgsmith-raster-to-svg-converter-8bdb4974","name":"SVGSmith Raster-to-SVG Converter","description":"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).","url":"https://api.svgsmith.dev/v1/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["auto","binary","color","pixel"],"type":"string"},"detail":{"enum":["high","normal","clean","poster"],"type":"string"},"imageUrl":{"type":"string","description":"Publicly fetchable URL of the raster image to vectorize."},"background":{"type":"string","description":"Repaint background to this color."},"imageBase64":{"type":"string","description":"Base64-encoded raster image (alternative to imageUrl)."},"uniform_outline":{"type":"boolean"},"solid_background":{"type":"boolean"},"transparent_background":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B3EVAyq6MwbLu9-sR7AlM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified SVG vector art with quality reporting","exampleAgentPrompt":"Convert my company logo PNG to a clean, editable SVG — use color mode with high detail and keep the transparent background.","exampleUseCases":[{"title":"Logo vectorization for print","prompt":"I have a JPEG of our startup logo and need a clean SVG version for print materials — convert it in color mode with high detail and give me a quality report."},{"title":"Pixel art to vector conversion","prompt":"Take this pixel art PNG and convert it to SVG using pixel mode with a solid white background so I can use it in a web project."},{"title":"Binary silhouette tracing","prompt":"Vectorize this black-and-white silhouette PNG into SVG using binary mode with clean detail so I can edit the paths in Illustrator."}],"resultDescription":"Returns the converted SVG markup as a string plus a quality report containing the number of vector paths generated and a similarity score indicating how closely the SVG matches the original raster image.","failureModes":["Unsupported image format (non-PNG/JPEG/WebP) returns error","Image URL unreachable or returns non-image content","Base64 payload too large or malformed","Low similarity score if source image is too complex or noisy","Payment failure via x402 if insufficient USDC balance on Base","Timeout if image is very large or server overloaded"],"whenToPreferThis":"Choose SVGSmith when you need a programmatic, pay-per-use raster-to-SVG conversion with no API key or subscription setup — ideal for agent workflows that occasionally need to vectorize images on demand, especially when you want a self-verified quality report (similarity score + path count) alongside the SVG output. Prefer this over offline tools when you need an API-accessible solution that accepts both image URLs and base64 payloads and supports tunable modes (auto, binary, color, pixel) and detail levels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:16.453Z","isFirstParty":false}