Visit ComfyUI Online for ready-to-use ComfyUI environment
Save workflow as JSON file on disk for state preservation and easy sharing, revisiting, and modification.
The SaveDiskWorkflowJSON node is designed to save your workflow as a JSON file on your disk. This node is particularly useful for preserving the state and configuration of your current workflow, allowing you to easily reload or share it later. By saving the workflow to disk, you can ensure that your work is not lost and can be revisited or modified at any time. This node is essential for maintaining a record of your workflow configurations, especially when working on complex projects that require multiple iterations or when collaborating with others.
The workflow
parameter expects a JSON object that represents the current state and configuration of your workflow. This JSON object contains all the necessary information about the nodes, their connections, and settings. By providing this JSON object, the node can accurately save the entire workflow to disk. There are no specific minimum or maximum values for this parameter, as it is a JSON object.
The filename_prefix
parameter is a string that specifies the prefix for the filename under which the workflow JSON will be saved. The default value for this parameter is "workflow/ComfyUI". This prefix helps in organizing and identifying the saved workflow files. You can customize this prefix to suit your naming conventions or organizational needs. The filename will be automatically suffixed with a unique counter to prevent overwriting existing files.
This node does not produce any output parameters. Its primary function is to save the provided workflow JSON to disk, and it does not return any values upon completion.
workflow
parameter contains a valid JSON object representing your current workflow configuration to avoid errors during the save process.filename_prefix
to organize your saved workflows effectively. For example, you can include project names or dates in the prefix to make it easier to identify specific workflows later.workflow
parameter does not contain a valid JSON object.workflow
parameter is a properly formatted JSON object representing your workflow configuration.filename_prefix
contains characters or patterns that result in an invalid file path.filename_prefix
only contains valid characters for file paths and does not include any restricted or special characters.© Copyright 2024 RunComfy. All Rights Reserved.