API Available

Image to SVG API

Integrate AI-powered vectorization into your app. Convert PNG, JPG, and other images to clean SVGs with a single API call.

Quick Start

1

Get Your API Key

Sign up for free and generate your API key from the dashboard.

2

Send a Request

POST your image URL or base64 data to our conversion endpoint.

3

Download SVG

Receive your vectorized SVG file in seconds. Done!

JS JavaScript / Node.js

// Convert an image to SVG
const response = await fetch('https://vectosolve.com/api/v1/convert', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    image_url: 'https://example.com/logo.png',
    // or use base64:
    // image_base64: 'data:image/png;base64,...',
    options: {
      colors: 'auto',        // auto, 2-256, or 'bw'
      detail: 'high',        // low, medium, high
      background: 'remove',  // keep, remove, transparent
      format: 'svg',         // svg, eps, pdf
    }
  })
});

const result = await response.json();
console.log(result.svg_url);  // Download URL
console.log(result.credits_remaining);

PY Python

import requests

response = requests.post(
    'https://vectosolve.com/api/v1/convert',
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    json={
        'image_url': 'https://example.com/logo.png',
        'options': {
            'colors': 'auto',
            'detail': 'high',
            'background': 'remove',
        }
    }
)

result = response.json()
print(result['svg_url'])

$ cURL

curl -X POST https://vectosolve.com/api/v1/convert \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/logo.png",
    "options": {
      "colors": "auto",
      "detail": "high",
      "background": "remove"
    }
  }'

API Endpoints

POST/api/v1/convertConvert an image to SVG
Parameters
image_url or image_base64 (required)
options.colors: auto | 2-256 | bw
options.detail: low | medium | high
options.background: keep | remove | transparent
options.format: svg | eps | pdf
Response
{ svg_url, preview_url, file_size, colors_detected, credits_remaining }
POST/api/v1/remove-bgRemove background from an image
Parameters
image_url or image_base64 (required)
options.format: png | webp
Response
{ image_url, file_size, credits_remaining }
POST/api/v1/upscaleAI upscale an image (2x or 4x)
Parameters
image_url or image_base64 (required)
options.scale: 2 | 4
Response
{ image_url, width, height, credits_remaining }
GET/api/v1/creditsCheck remaining credits
Response
{ credits_remaining, plan, conversions_this_month }

API Pricing

Same credits as the web app. 1 API call = 1 credit.

STARTER
Free
1 API call included
  • Full AI quality
  • All endpoints
  • No credit card
PRO
$2/mo
25 API calls/month
  • $0.08/call
  • Priority processing
  • 50% off first month
ENTERPRISE
Custom
Volume pricing
  • Bulk discounts
  • SLA guarantee
  • Dedicated support

Built For

🛒

E-commerce

Auto-vectorize product images for scalable graphics

🎨

Design Tools

Add vectorization to your design app or plugin

🖨️

Print Shops

Convert customer uploads to print-ready vectors

✂️

Craft Platforms

Let users convert images to cut-ready SVGs

Start Building Today

Get your free API key in 30 seconds. No credit card required.

Get Free API Key

Questions? Email us at support@vectosolve.com