Convert an image to SVG
luw_vectorize_imageConvert photos or drawings into clean SVG vectors, with an optional higher-detail engine for fine lines. Produces scalable graphics ready for editing and design workflows.
Instructions
Luw.ai Vector AI: convert a photo or drawing into a clean SVG vector. Costs 1 credit (aria, the default) or 2 (symphony, which keeps finer lines and small details).
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": {
"image": "<image>"
},
"name": "luw_vectorize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Photo or drawing to vectorize (public https:// link or data: URI; the local npx server also accepts a file path). | |
| engine | No | Luw.ai model: aria (the default, 1 credit) or symphony (2 credits; a larger line drawing and a finer vectorizer, for facades and other detailed subjects). Use symphony when the user chose it in this conversation or asks for more detail. | aria |