{"id":"recraft/recraft-vectorize","name":"Recraft Vectorize","vendor":"Recraft","kind":"image","description":"Convert an existing raster image into SVG paths. Choose standard tracing or the Pro vectorizer for smoother curves and sharper corners.","useCases":["Recover editable shapes from a raster logo","Turn a flat illustration into scalable artwork for print"],"technical":[{"label":"API model ID","value":"recraft/recraft-vectorize"},{"label":"Provider","value":"Recraft"},{"label":"Modality","value":"Image"},{"label":"Input","value":"Images"},{"label":"Output","value":"Image"},{"label":"Endpoint","value":"POST /v2/jobs"},{"label":"Workflow","value":"Vectorize"}],"parameters":[{"name":"image_url","type":"string","description":"A public https URL of the input image: PNG, JPEG or WEBP, under 20 MB and at most 16 megapixels, its longest side at most 4096 pixels and its shortest at least 256.","required":true},{"name":"version","type":"string","description":"`v1` (the default), the standard vectorizer, or `v1_pro`, cleaner SVGs with smooth curves, straight lines and sharp corners, priced higher.","optionValues":["v1","v1_pro"]},{"name":"shape_stacking","type":"string","description":"`hierarchical` (the default): shapes are layered and partly covered by the ones above; `cut_out`: shapes do not overlap.","optionValues":["hierarchical","cut_out"]},{"name":"color_reduction","type":"string","description":"`on` or `off`: reduce the number of colors in the SVG.","optionValues":["on","off"]},{"name":"limit_num_shapes","type":"string","description":"`on` or `off`: cap the number of shapes at `max_num_shapes`.","optionValues":["on","off"]},{"name":"max_num_colors","type":"integer","description":"The most colors the SVG may use.","options":"0–4294967295"},{"name":"max_num_shapes","type":"integer","description":"The most shapes the SVG may hold.","options":"0–4294967295"},{"name":"return_gradients","type":"string","description":"`on` or `off`: keep gradients in the SVG.","optionValues":["on","off"]},{"name":"small_shape_filter","type":"string","description":"`on` or `off`: drop very small shapes.","optionValues":["on","off"]},{"name":"strict_color_palette","type":"array","description":"A palette the SVG is held to: a list of colors, each a list of red, green, blue whole numbers (for example `[[255, 0, 0], [255, 255, 255]]`)."},{"name":"svg_compression","type":"string","description":"`on` or `off`: compress the SVG file.","optionValues":["on","off"]},{"name":"zdr","type":"boolean","description":"When enabled, Recraft skips logging or storing your input image. Recraft still stores the output to serve its URL. ZDR adds no charge."}],"pricing":{"currency":"USD","generated":"2026-11-21T02:23:44Z","notes":["One image in, one result out: billed per request.","Leaving out version gives v1."],"rates":[{"charge":"per request","options":"version: v1","price":0.01,"from":null,"until":null,"note":null,"status":"active"},{"charge":"per request","options":"version: v1_pro","price":0.04,"from":null,"until":null,"note":null,"status":"active"}]},"links":{"page":"https://sociaro.com/models/recraft/recraft-vectorize","markdown":"https://sociaro.com/models/recraft/recraft-vectorize.md","json":"https://sociaro.com/models/recraft/recraft-vectorize.json","pricing":"https://sociaro.com/pricing?model=recraft%2Frecraft-vectorize","docs":"https://docs.sociaro.com/models/recraft-recraft-vectorize/","playground":"https://my.sociaro.com/playground/?model=recraft/recraft-vectorize"},"examples":[{"kind":"image","title":"Cherries in four inks","caption":"A four-colour raster fruit label becomes an SVG with smooth curves around the fruit, leaf and stems.","src":"https://previews.sociaro.com/shared/promo/gallery/creative/cherries.svg","references":[{"kind":"image","label":"Four-colour raster input","src":"https://previews.sociaro.com/shared/promo/gallery/creative/cherries-input.png"}]}]}