Image to vector API & MCP
Add automatic vectorization to your app, e-shop, print workflow or AI assistant. Same engine as the online tool, one HTTP call away.
REST API
Upload an image, get back SVG, PDF, EPS, DXF or PNG. Control mode, colors, detail, smoothing and background removal.
MCP server
Let Claude, ChatGPT agents and other AI assistants vectorize images for your users through the Model Context Protocol.
Volume pricing
Pay per image with volume discounts or a monthly plan. White-label options for print shops and platforms.
Vectorize an image
POST /v1/vectorize – returns the vector file in the response body.
curl -X POST https://api.vexorio.app/v1/vectorize \
-H "Authorization: Bearer $VEXORIO_API_KEY" \
-F "image=@logo.png" \
-F "format=svg" \
-F "mode=logo" \
-F "background=auto" \
-o logo.svgconst form = new FormData();
form.append('image', file); // File or Blob
form.append('format', 'svg'); // svg | pdf | eps | dxf | png
form.append('mode', 'logo'); // logo | illustration | bw | poster
form.append('colors', '0'); // 0 = automatic
const res = await fetch('https://api.vexorio.app/v1/vectorize', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.VEXORIO_API_KEY}` },
body: form,
});
const svg = await res.text();import os, requests
r = requests.post(
"https://api.vexorio.app/v1/vectorize",
headers={"Authorization": f"Bearer {os.environ['VEXORIO_API_KEY']}"},
files={"image": open("logo.png", "rb")},
data={"format": "pdf", "mode": "logo", "background": "auto"},
)
open("logo.pdf", "wb").write(r.content)$ch = curl_init('https://api.vexorio.app/v1/vectorize');
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('VEXORIO_API_KEY')],
CURLOPT_POSTFIELDS => [
'image' => new CURLFile('logo.png'),
'format' => 'eps',
'mode' => 'logo',
],
CURLOPT_RETURNTRANSFER => true,
]);
file_put_contents('logo.eps', curl_exec($ch));Parameters
| Name | Type | Description |
|---|---|---|
image | file / URL | JPG, PNG, WEBP, HEIC, GIF, BMP, TIFF or PDF, up to 25 MB |
format | string | svg (default), pdf, eps, dxf, png |
mode | string | logo (default), illustration, bw, poster |
colors | integer | 0 = automatic, or 2–24 |
detail | integer | 0–100, default 60 |
smooth | integer | 0–100, default 55 |
background | string | auto (default), keep, all |
gap_fix | boolean | seal hairline gaps between colors; false for cutting machines |
MCP server for AI assistants
{
"mcpServers": {
"vexorio": {
"url": "https://mcp.vexorio.app/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}vectorize_image image (url or base64), format, mode, colors, background
→ vector file (SVG, PDF, EPS, DXF or PNG)
brand_kit image → ZIP with logo variants, favicons and social images
get_palette image → detected colors (HEX, RGB, CMYK)"Vectorize the logo I attached, remove the white background
and give me an SVG and a print-ready PDF."Questions
How do I get an API key?
Write to info@vexorio.app with your project and expected monthly volume. We send you a key and pricing, usually within one business day.
What can the API do?
Everything the online tool does: convert JPG, PNG, WEBP, HEIC and PDF into SVG, PDF, EPS, DXF or PNG, with the same settings – mode, number of colors, detail, smoothing and background removal – plus brand kits and palette extraction.
What is the MCP server?
An MCP (Model Context Protocol) server lets AI assistants such as Claude or ChatGPT-based agents call Vexorio directly, for example “vectorize this logo and give me an SVG”.
How is it priced?
Per converted image with volume discounts, or a monthly plan for high volumes. White-label options are available for print shops and platforms.
Are my images stored?
No. Images are processed and the result returned in the response; nothing is kept after the request completes.
Ready to integrate?
Tell us what you are building and your expected volume – we will send your API key and pricing.
Contact us