convertImage
Vectorize PNG, JPG, GIF, BMP, or WebP images into scalable vector output through Vectali, using idempotency keys for safe retries.
Instructions
Use for user-requested vectorization. Maximum 10 MiB and 4000000 pixels (4096 per side). Requires remaining monthly API allowance or granted API credits. One successful request consumes one conversion. Reuse the same Idempotency-Key and image when retrying. Processing can take up to 240 seconds. Plan-based limits are shared across API keys, browser sessions, legacy routes and MCP. Starter permits 60 requests/minute, 6 conversion/export attempts/minute and one concurrent engine job; larger plans permit 120–300 requests/minute, 12–60 engine attempts/minute and two concurrent engine jobs. See x-vectali-plan-limits and https://vectali.com/docs/api-lifecycle/#rate-limits. PDF/EPS/DXF exports share the engine budget; saved SVG downloads do not. Attempts, including invalid requests and completed retries, count toward the minute budget. RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Scope identify the applicable window; Retry-After accompanies 429. Concurrency limits return concurrency_limited and X-Concurrency-Limit. Photos and tiny details may need manual cleanup.
POST /api/v1/vectorize Supply body.image as {content: BASE64, filename: 'image.png', contentType: 'image/png'}. No local paths or image URLs. This spends one existing API credit. Supply headers['idempotency-key'] when retrying the same image.
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": {
"body": "<body>"
},
"name": "convertImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | No |