curl -X POST \
weavrn.vercel.app/api/vectorize \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"url":"image.png"}'

Send image URLs directly. No file uploads. Simple JSON requests.
PNG • JPG • WebP → SVG output
Bearer token auth. Generate API keys instantly from dashboard.
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="...">