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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"image": "<image>"
},
"name": "vectorize_svg"
}
}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. |