vectorise
v0.2.0Vectorize images to SVG and export to PDF, EPS, DXF, PNG, JPG, or WEBP via Vectorise.Me.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vectorize_image Vectorize image to SVG
Convert a raster image file (JPG, PNG, BMP, WEBP, AVIF — up to 25 MB) into a scalable SVG vector. Writes the SVG next to the input file (or to output_path) and returns the saved path plus conversion stats. For most images just set `preset` (logo, photo, illustration, pixel_art, technical_drawing) or leave everything unset for full auto-detection. Use quality_tier to trade speed vs fidelity.
| Parameter | Type | Description |
|---|---|---|
image_path * | string | Absolute path to the input image file |
color_mode | string | Colour handling. Default color |
output_path | string | Where to save the SVG. Defaults to the input path with a .svg extension |
palette_count | integer | Target number of colours (sets manual palette mode) |
preserve_exact_colors | boolean | Keep source colours without merging similar shades |
preset | string | Friendly preset matching the app UI: auto (engine detects image type), logo (sharp edges, exact brand colours), illustration (drawings/cartoons/clipart), photo (smooth tonal gradients), pixel_art (pix… |
quality_profile | string | Advanced: engine profile. Prefer `preset` unless you know the engine. Default auto |
quality_tier | string | Speed/quality trade-off. Default balanced_crisp (credits: fast=1, balanced_crisp=2, high_precision=5) |
vectorize_batch Vectorize multiple images to SVG
Convert up to 20 raster image files to SVG in one call. The same settings (preset, quality_tier, etc.) apply to every image. Files are converted sequentially and each gets an independent result — one bad file does not fail the batch. SVGs are saved next to each input (or into output_dir). Credits are charged per successful conversion.
| Parameter | Type | Description |
|---|---|---|
image_paths * | array | Absolute paths of the input image files (1–20) |
color_mode | string | Colour handling. Default color |
output_dir | string | Directory to save all SVGs into. Defaults to saving next to each input file |
palette_count | integer | Target number of colours (sets manual palette mode) |
preserve_exact_colors | boolean | Keep source colours without merging similar shades |
preset | string | Friendly preset matching the app UI: auto (engine detects image type), logo (sharp edges, exact brand colours), illustration (drawings/cartoons/clipart), photo (smooth tonal gradients), pixel_art (pix… |
quality_profile | string | Advanced: engine profile. Prefer `preset` unless you know the engine. Default auto |
quality_tier | string | Speed/quality trade-off. Default balanced_crisp (credits: fast=1, balanced_crisp=2, high_precision=5) |
export_svg Export SVG to another format
Convert an SVG file to PDF, EPS, DXF, PNG, JPG, or WEBP via Vectorise.Me. EPS and DXF require a Pro plan. Writes the result next to the input (or to output_path).
| Parameter | Type | Description |
|---|---|---|
format * | string | Target output format |
svg_path * | string | Absolute path to the input SVG file |
output_path | string | Where to save the output. Defaults to the input path with the new extension |
get_usage Get API usage and credits
Show the plan, API credit balance, and recent daily usage for the configured Vectorise.Me API key.
get_capabilities Get export capabilities
List available export formats and per-format options supported by the Vectorise.Me API. No auth required.