vectorize_svg
Convert any raster image (PNG, JPG) to an SVG vector graphic using QuiverAI. Provide a URL or base64 image, with optional auto-crop, target size, and output path.
Instructions
Convert a raster image (PNG, JPG, etc.) into an SVG using QuiverAI. Provide the image as a URL or base64-encoded string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to use. Use list_models to find models that support svg_vectorize. | |
| image | Yes | The image to vectorize — either a URL or base64 data. | |
| autoCrop | No | Auto-crop to the dominant subject before vectorizing. Defaults to false. | |
| targetSize | No | Square resize target in pixels before vectorizing. | |
| temperature | No | Sampling temperature (0–2). Defaults to 1. | |
| outputPath | No | Optional absolute file path to save the vectorized SVG to disk. If omitted, SVG markup is returned in the response only. Parent directories are created automatically. |