{"uid":"cap_Nj1oqg0BnBtwL4LpDEK7_","slug":"bacon-services-image-vectorizer-887eb707","name":"Bacon Services Image Vectorizer","description":"Use when an agent needs a logo or icon as a vector: traces a PNG, JPEG or WebP into a scalable SVG of flat-colour paths.","url":"https://baconservices.com/api/agent-commerce/v1/capabilities/vectorize/execute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"colors":{"type":"integer","default":16,"maximum":32,"minimum":2,"description":"How many flat colours to trace with. 2 is black and white."},"detail":{"enum":["smooth","balanced","detailed"],"type":"string","default":"balanced","description":"smooth: fewer, simpler shapes. detailed: closer to the source, larger file."},"image_url":{"type":"string","format":"uri","description":"A public https URL of a PNG, JPEG or WebP image."},"image_base64":{"type":"string","description":"The image bytes, base64-encoded.","contentEncoding":"base64"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.50","successRate":"1.00","reviews":1,"stars":"3.0","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"5.0000","medianCents":"5.0000","p90Cents":"5.0000","minCents":"5.0000","maxCents":"5.0000","p95Cents":"5.0000","sampleCount":6,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5uwqSlFFdO682krihAxnG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raster PNG, JPEG, or WebP image into a scalable flat-colour SVG by tracing its shapes and colours.","exampleAgentPrompt":"Can you vectorize this PNG logo for me? Here's the URL: https://example.com/logo.png — use 16 colors and balanced detail so I get a clean SVG I can scale up for print.","exampleUseCases":[{"title":"Logo scaling for brand kit","prompt":"I have a PNG logo at https://mybrand.com/assets/logo.png and I need a clean scalable SVG version of it for our brand kit — please vectorize it with 8 colors and smooth detail so the shapes stay simple."},{"title":"Icon set conversion for web app","prompt":"Can you convert this icon from a JPEG to an SVG vector? The URL is https://cdn.myapp.com/icons/settings.jpg — use 4 colors and detailed tracing so it stays crisp at any size."},{"title":"Black-and-white SVG from product photo","prompt":"Take this product image at https://store.example.com/product.png and trace it into a black-and-white SVG — just 2 colors, smooth style — so I can use it as a stamp-style graphic on packaging."}],"resultDescription":"An SVG file containing flat-colour vector paths that faithfully trace the input raster image, scaled to any size without quality loss. The number of distinct colours and level of path detail are controlled by the request parameters.","failureModes":["Image URL is not publicly accessible or returns a non-image response","Image format is not PNG, JPEG, or WebP","Both image_url and image_base64 are omitted","image_base64 is not valid base64-encoded data","colors parameter outside the 2–32 range","detail enum value not one of smooth, balanced, detailed","Image is too large or too complex to trace within timeout"],"whenToPreferThis":"Choose this endpoint when you need a scalable vector (SVG) version of an existing raster logo, icon, or flat-colour graphic. It is ideal for brand assets, UI icons, or any image that must render crisply at multiple sizes. Prefer it over general image-conversion tools when the output must be an editable SVG with flat colour paths rather than a raster at a different resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":6,"lastUsedAt":"2026-11-04T05:39:39.158Z","lastSuccessfullyRanAt":"2026-11-04T05:39:39.158Z","lastHealthCheckAt":"2026-11-04T08:35:00.046Z","isFirstParty":false,"canonicalSlug":"bacon-services-image-vectorizer-887eb707"}