{"slug":"baconservices-com-api-agent-commerce-v1-capabilities-vectori-8dcee3","title":"Use when an agent needs a logo or icon as a vector","host":"baconservices.com","method":"POST","resource":"https://baconservices.com/api/agent-commerce/v1/capabilities/vectorize/execute","category":"code","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.","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":949,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"colors":16,"detail":"balanced","image_url":"https://baconservices.com/icon-512.png"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.","properties":{"colors":{"default":16,"description":"How many flat colours to trace with. 2 is black and white.","maximum":32,"minimum":2,"type":"integer"},"detail":{"default":"balanced","description":"smooth: fewer, simpler shapes. detailed: closer to the source, larger file.","enum":["smooth","balanced","detailed"],"type":"string"},"image_base64":{"contentEncoding":"base64","description":"The image bytes, base64-encoded.","type":"string"},"image_url":{"description":"A public https URL of a PNG, JPEG or WebP image.","format":"uri","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":641,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":1258,"error":null}],"description_full":"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.","last_updated":"2026-10-27T18:46:40.976Z","schemes":["exact"]}