Recraft Vectorize
Turn the raster you already have into an SVG
- image
- file_path
This is the one Recraft node that doesn't want a prompt. Where the other Recraft nodes generate vector from text, Vectorize takes the image you already have - a logo you drew, a sketch you scanned, a low-res PNG a client sent - and returns a real SVG. It's the model that made Recraft famous in the first place, before anyone knew who they were: the AI that can vectorize better than a human with the pen tool.
It's the node to reach for when "just redraw it in Illustrator" is too much work and "trace it" looks like garbage. Clean, flat artwork converts beautifully. A photograph converts into an unusable mess of paths - same rule as every auto-tracer since Live Trace, Recraft just does the good cases better than any of them.
How it works
Mechanics are minimal, which is the point. Your image (an IMAGE tensor - wire in Load Image or anything upstream) is sent to recraft:1@1 with taskType: vectorize. The API returns an SVG; the pack downloads it to your ComfyUI output folder and returns file_path, a STRING path. No IMAGE output, no preview thumbnail - the artifact is a file you open in a vector editor.
Inputs:
image- required. Feed it clean, flat artwork for the best result.outputFormat- SVG, and only SVG.
Output: file_path (STRING).
Installing
One install for the whole pack: ComfyUI Manager → Custom Nodes Manager → search Runware → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/Runware/ComfyUI-Runware
pip install -r ComfyUI-Runware/requirements.txt
No model downloads, light dependencies (runware-sdk, Pillow), API key from the Runware dashboard.
Gotchas
Manage your expectations about the source material. Flat vector-style input (single-color shapes, clean edges) gives you an SVG you can actually edit; a busy photo gives you thousands of overlapping paths nobody can untangle. Preprocess if you can - threshold it, flatten it, kill the gradients. Second, the output file lands in your output folder under a generated runware_*.svg name, so don't go hunting for a Save node. And note the checkpoint behind this one (recraft:1@1) is the classic V1 vectorizer, not the V4 generation - if you're generating a vector from a prompt rather than converting an image, the Recraft V4 Vector / V4 Pro Vector nodes are the newer path.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| ttlopt | BOOLEAN | false | Enable to set ttl. Off uses the model's default. |
| ttl_valueopt | INT | 60 | Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`. |
| outputFormatopt | COMBO | SVG | File format for the vectorized output. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |