Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates saving SVG data with customizable filenames and timestamps for AI artists.
The SaveSVG node is designed to facilitate the saving of SVG (Scalable Vector Graphics) data to files. This node is particularly useful for AI artists who need to convert and store their vector graphics creations in a widely supported and scalable format. By leveraging this node, you can efficiently manage and organize your SVG files with customizable filenames and output paths. The node also supports appending timestamps to filenames, ensuring that each saved file is unique and easily traceable. This functionality is essential for maintaining a well-organized workflow and avoiding file overwrites.
This parameter expects a list of SVG strings that you want to save as files. Each string in the list represents the SVG data for one file. This input is mandatory and must be provided for the node to function.
This parameter allows you to specify a prefix for the filenames of the saved SVG files. The default value is "ComfyUI_SVG". This prefix helps in identifying and categorizing the saved files based on your project or preferences.
This optional boolean parameter determines whether a timestamp should be appended to the filenames. The default value is True
. Appending a timestamp ensures that each saved file has a unique name, which is useful for version control and avoiding overwrites.
This optional string parameter allows you to specify a custom directory path where the SVG files will be saved. If left empty, the files will be saved in the default output directory. This flexibility enables you to organize your files in a manner that best suits your workflow.
This node does not produce any direct output parameters. Instead, it performs the action of saving the SVG files to the specified location and returns a list of dictionaries containing information about the saved files, such as their filenames and paths.
svg_strings
parameter is correctly populated with valid SVG data to avoid errors during the file-saving process.filename_prefix
parameter to categorize your files, making it easier to locate and manage them later.append_timestamp
option to maintain unique filenames, especially when saving multiple versions of the same project.custom_output_path
if you want to save the files in a specific directory, which can help in organizing your projects more effectively.custom_output_path
does not exist and cannot be created.svg_strings
parameter contains invalid or malformed SVG data.© Copyright 2024 RunComfy. All Rights Reserved.