Convert Image to SVG
vectorize_imageConvert an existing raster image (PNG, JPG or WebP) into an editable SVG vector file by tracing it, for 2 credits. Works best on logos, icons, stickers and flat illustrations; photos turn into many small shapes. Pass the full-resolution URL of an earlier result or any public image. To make an SVG from a description, first generate_image a flat design on a plain background (gpt-image-2.6 renders lettering well), then convert that URL.
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_url": "<image_url>"
},
"name": "vectorize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | Public URL of the image to convert, normally the full-resolution URL from generate_image or edit_image | |
| max_credits | No | Budget cap in credits, when the person stated one. If the exact cost of this call is above it, nothing is started and the reply lists what fits. |