
Node Function
This node receives SVG vector data and saves it as standard SVG files in the filesystem. It supports automatic file naming and save path specification, allowing vector graphics to be opened and edited in other software.Parameters
Basic Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| svg | SVG | - | SVG vector data to save |
| filename_prefix | string | ”recraft” | Prefix for the filename |
| output_dir | string | - | Output directory, defaults to ComfyUI output folder at ComfyUI/output/svg/ |
| index | integer | -1 | Save index, -1 means save all generated SVGs |
Output
| Output | Type | Description |
|---|---|---|
| SVG | SVG | Passes through the input SVG data |
Usage Example
Recraft Text to Image Workflow Example
Recraft Text to Image Workflow Example