$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:Response
- The result is a single
image, not adataarray.image.urlpoints to an SVG file. - Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
creditsis 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
Upload a local file
Upload a local file
Non-overlapping shapes for cutting and printing
Non-overlapping shapes for cutting and printing
cut_out makes every region a separate shape, which suits plotters, vinyl cutters, and screen printing.Generate a vector image directly
Generate a vector image directly
To get SVG from a prompt, skip vectorizing and generate with a
_vector model, for example recraftv4_1_vector. See Recraft V4.1.Related
Remove background
Cut out the subject before vectorizing.
Pricing
Prices of every model and tool.