{"slug":"api-svgsmith-dev-v1-convert-e0b049","title":"Convert a raster image (PNG, JPEG, or WebP) into clean, editable, self-verified ","host":"api.svgsmith.dev","method":"POST","resource":"https://api.svgsmith.dev/v1/convert","category":"image","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 ","price_listed":0.02,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":5,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"detail":"high","imageUrl":"https://example.com/logo.png","mode":"auto"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[],"description_full":"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).","last_updated":"2026-09-22T05:53:56.288Z","schemes":["exact"]}