Design & Assets

High-quality image vectorization powered by Vectorizer.AI

High-quality image vectorization powered by Vectorizer.AI: POST a public image URL or base64 (PNG/JPEG/GIF/BMP/WebP, up to 10 MB) and get a production-grade vector back — SVG by default, or PNG/PDF/EPS/DXF. Full-color tracing, clean paths, ready for print, cutting, and scaling. The premium finish for logos, icons, sketches, and raster art.

Price: $0.02 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/vectorize

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/vectorize
  • Auth: API key in header X-PAYMENT

Request body

urlstring

Public URL of the raster image to vectorize (PNG, JPEG, GIF, BMP, WebP; max 10 MB)

image_base64string

Base64-encoded image as an alternative to url (data URIs accepted)

output_formatstring

svg (default), png, pdf, eps, or dxf

modestring

production (default, full quality), preview, or test

max_colorsnumber

Limit the color count, 0-256 (0 = unlimited). Great for flat/logo looks

draw_stylestring

fill_shapes (default), stroke_shapes, or stroke_edges (line-art outlines)

group_bystring

SVG shape grouping: none (default), color, parent, or layer

scalenumber

Output size multiplier vs input, 0-100 (e.g. 2 = double size)

min_area_pxnumber

Drop shapes smaller than this many pixels (0-10000) — despeckling

optionsobject

Raw passthrough for any documented Vectorizer.AI option, e.g. {"output.gap_filler.enabled": false} — see vectorizer.ai/api

Response

Success

output_formatstring
content_typestring
svgstring
image_base64string
output_bytesnumber

Changes

No recorded changes to this operation across all 1 revision of this API.