API v1 • IMAGE VECTORIZATION

Turn any image into clean SVG. One API call.

Convert raster images to optimized vector paths using OpenCV contour detection. 10MB max. Sub-200ms latency. Simple JSON POST requests.

REQUEST
curl -X POST \
  weavrn.vercel.app/api/vectorize \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"image.png"}'
cURL • Python • Node.js
AVG RESPONSE
187ms
LATENCY (P95)
187ms
UPTIME (90D)
99.97%
MAX RESOLUTION
2048px
INPUT/OUTPUT COMPARISON
RASTER (PNG)
Before vectorization
742 KB
VECTOR (SVG)
After vectorization
4.2 KB
Output quality: Lossless vector paths • 99.4% size reduction

URL-Based Processing

Send image URLs directly. No file uploads. Simple JSON requests.

📄

Format Support

PNG • JPG • WebP → SVG output

Secure Authentication

Bearer token auth. Generate API keys instantly from dashboard.

WHAT YOU GET

  • Clean SVG output with optimized path data
  • Simple POST requests with JSON payloads
  • Rate limit: 10 requests per minute
  • Credits-based pricing (no subscriptions)
  • Bearer token authentication
  • OpenCV-based contour detection
UPCOMING
• Batch processing (multiple images)
• Webhook support for async jobs
• Additional formats (PDF, EPS)
• Custom tracing algorithms
Q2 2026

Implementation

Complete request/response cycle. Returns SVG data or download URL depending on output preference.

import requests

API_KEY = "vapi_abc123..."

response = requests.post(
    "https://weavrn.vercel.app/api/vectorize",
    headers={
        "Authorization": f"Bearer {API_KEY}",
        "Content-Type": "application/json"
    },
    json={
        "url": "https://example.com/logo.png",
        "solver": 1,
        "color_count": 8,
        "raw": False
    }
)

svg_content = response.text
print(svg_content)  # <svg xmlns="...">

PRICING

STARTER
$10
75 credits
$0.13 per call
10MB max file size
Community support
Purchase
BUILDER
$20
best value
180 credits
$0.11 per call
10MB max file size
Email support
Purchase →
MOST POPULAR
GROWTH
$50
500 credits
$0.10 per call
10MB max file size
Priority support
Rate limit increase available
Purchase