{"uid":"cap_485Zco28HD8moqt50iIIO","slug":"amnt-vectorize-image-to-svg-2cae523f","name":"AMNT Vectorize – Image to SVG","description":"AMNT Vectorize 1.1 - Image to clean, editable SVG. Send a PNG, JPG or WebP link; get back real vector paths in the picture's own shape and colours, a link, extra files and a quality score.","url":"https://www.amnt.io/api/agent/amnt/image-to-svg?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["image"],"properties":{"mode":{"enum":["stacked","cutout"],"type":"string","default":"stacked","description":"Shapes"},"image":{"type":"string","examples":["https://www.amnt.io/brand/amnt-icon-512.png"],"maxLength":14000000,"description":"An https link, a data: URI or base64. PNG, JPG, WebP, AVIF or GIF, 10 MB at most."},"colors":{"type":"integer","maximum":64,"minimum":2,"examples":["32"],"description":"Cap the palette. Leave empty for automatic."},"detail":{"enum":["low","medium","high"],"type":"string","default":"medium","description":"How much small detail survives. Medium is clean and smooth."},"formats":{"type":"string","examples":["pdf,png,dxf"],"maxLength":80,"description":"Any of png, pdf, eps, dxf, icons, small. Comma separated. SVG always comes back."},"background":{"enum":["transparent","keep"],"type":"string","description":"Transparent removes a plain backdrop cleanly, with no white ring."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ms":{"type":"integer","description":"Time taken."},"svg":{"type":"string","description":"The SVG document. Only <g> groups and filled <path>s: no scripts, no embedded bitmap."},"url":{"type":"string","description":"A public link to the same SVG."},"files":{"type":"object","description":"Links to any extra formats asked for: png, pdf, eps, dxf, icons (zip), small (simplified SVG)."},"paths":{"type":"integer","description":"Number of paths."},"score":{"type":"object","description":"How close the SVG is to the source picture: fidelity (0-1, higher is better), edge (colour error on edges, lower is better), holes and spill (per mille, lower is better)."},"width":{"type":"integer","description":"Display width in pixels. The picture's own shape is kept."},"colors":{"type":"array","description":"Every fill colour used, most used first."},"height":{"type":"integer","description":"Display height in pixels."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gCOLbvmyitHzeFFUMYLJD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raster image (PNG, JPG, or WebP) into a clean, editable SVG with real vector paths, returning the SVG document, a public URL, optional extra format files, and a fidelity quality score.","exampleAgentPrompt":"Can you vectorize this PNG for me — https://www.amnt.io/brand/amnt-icon-512.png — use high detail, cap the palette at 16 colors, remove the background, and also give me a PDF version?","exampleUseCases":[{"title":"Logo vectorization for brand assets","prompt":"I need to turn our company logo PNG into a clean SVG — here's the link: https://example.com/logo.png. Use high detail, limit to 32 colors, and make the background transparent. Also export a PDF version."},{"title":"Icon set export for app development","prompt":"Can you convert this icon image at https://example.com/icon.png into an SVG and also grab me a DXF and a small simplified SVG? Use medium detail and stacked shapes mode."},{"title":"E-commerce product image vectorization","prompt":"Vectorize this product photo at https://shop.example.com/product.jpg — I want a cutout style with 8 colors, low detail so it looks clean, and also download the EPS and PNG versions alongside the SVG."}],"resultDescription":"Returns the full SVG document as a string (only <g> groups and filled <path> elements, no scripts or embedded bitmaps), a public URL to the SVG file, links to any additionally requested format files (PDF, EPS, DXF, icons ZIP, simplified SVG), the total number of vector paths, a fidelity/quality score object comparing the SVG to the original image, and processing time in milliseconds.","failureModes":["Image URL unreachable or returns non-image content — request fails with error","Image exceeds 10 MB limit — rejected with size error","Unsupported image format (e.g. TIFF, BMP) — format error returned","Invalid color count outside 2–64 range — validation error","Malformed data URI or base64 string — parsing error","Requested extra format code not recognized — format error","Network timeout fetching remote image URL"],"whenToPreferThis":"Choose this endpoint when you need to convert a raster image into a clean, script-free SVG with real filled vector paths rather than a low-quality auto-trace. It is especially well suited for logos, icons, and flat-color graphics where palette control, background removal, and optional multi-format export (PDF, EPS, DXF) are needed. Prefer it over generic vectorization tools when fidelity scoring and clean path output (no embedded bitmaps) are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:25.362Z","isFirstParty":false,"canonicalSlug":"amnt-vectorize-image-to-svg-2cae523f"}