Convert image to SVG
convert_image_to_svgVectorize raster images (PNG, JPG, etc.) into editable SVGs. Choose auto, simple, or layered mode based on image complexity.
Instructions
Vectorize a raster image (PNG/JPG/WebP/GIF/BMP/TIFF/AVIF) into an editable SVG. mode=auto picks simple vs layered by image complexity. Returns a summary and an inline PNG preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| mode | No | ||
| max_colors | No | ||
| output_path | No |