Skip to main content
Vectorize turns a raster image into a clean, editable SVG made of shapes. Use it to make logos, icons, and illustrations scalable, or to bring generated raster images into a vector workflow.

$0.01

per request

PNG, JPG, WEBP → SVG

up to 10 MB, 16 MP

POST /v1/images/vectorize

endpoint

Try it

Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:
Then run. The request vectorizes a public sample illustration:

Response

  • The result is a single image, not a data array. image.url points to an SVG file.
  • Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
  • credits is the number of API units charged for the request.

Parameters

The input image must be PNG, JPG, or WEBP, under 10 MB, up to 16 MP, with sides between 256 and 4096 px. See Input images.

Examples

cut_out makes every region a separate shape, which suits plotters, vinyl cutters, and screen printing.
To get SVG from a prompt, skip vectorizing and generate with a _vector model, for example recraftv4_1_vector. See Recraft V4.1.

Remove background

Cut out the subject before vectorizing.

Pricing

Prices of every model and tool.