imagepeek: trace a raster to SVG
vectorize_imageimagepeek: Vectorize a raster image to SVG paths. Returns traces a PNG, JPEG or WebP logo, icon or diagram into filled SVG paths using VTracer (MIT). Approximate; not OCR. 10 MB/40 MP input; trace <=262144 pixels. Alpha becomes white. SVG <=2 MB/2000 paths, script-free. text/plain; save as .svg. output=url keeps the result 24 hours. Failures not charged; images not logged.. Up to 45 s. Price: USD 0.005. No free tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64. | |
| output | No | base64 (default): inline. url: stored for 24 hours; link, metadata. | base64 |
| max_side | No | Trace at most this many pixels per side; also capped at 262144 pixels. Never upscales. | |
| color_mode | No | Color paths, or black-and-white line art (luminance threshold 128). | color |
| image_base64 | No | The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public link. | |
| name | No | ||
| bytes | No | Bytes. | |
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| input | No | ||
| notes | No | ||
| width | No | ||
| format | No | ||
| height | No | ||
| sha256 | No | SHA-256. | |
| source | No | ||
| final_url | No | ||
| operation | No | ||
| color_mode | No | ||
| expires_at | No | UTC expiry. | |
| path_count | No | ||
| source_url | No | ||
| data_base64 | No | ||
| content_type | No | MIME type. |