Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Save SVG files on disk. This node takes SVG data as input and saves it to your output directory with optional metadata embedding. The node automatically handles file naming with counter suffixes and can embed workflow prompt information directly into the SVG file.

Inputs

ParameterData TypeRequiredRangeDescription
svgSVGYes-The SVG data to be saved to disk
filename_prefixSTRINGYes-The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes. (default: “svg/ComfyUI”)

Outputs

Output NameData TypeDescription
uiDICTReturns file information including filename, subfolder, and type for display in the ComfyUI interface
Note: This node automatically embeds workflow metadata (prompt and extra PNG information) into the SVG file when available. The metadata is inserted as a CDATA section within the SVG’s metadata element.