Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates extracting and handling prompt data in ComfyUI, allowing printing or saving to file, ensuring prompt integrity and efficient data management.
The Get Prompt node is designed to facilitate the extraction and handling of prompt data within the ComfyUI framework. This node allows you to either print the prompt data to the console or save it to a file, providing flexibility in how you manage and utilize prompt information. By making a deep copy of the prompt, it ensures that the original prompt remains unaltered, which is crucial for maintaining the integrity of prompt execution. The node also cleans up the prompt data by removing unnecessary widget inputs, retaining only the essential "values" input. This streamlined approach helps in managing prompt data more efficiently and avoids potential conflicts or errors during prompt execution.
This parameter determines the action to be taken with the prompt data. It accepts two options: "print to console" and "save to file". When set to "print to console", the prompt data will be printed to the console, which is useful for debugging or quick checks. When set to "save to file", the prompt data will be saved to a JSON file in the specified output directory. The default value is "print to console".
This hidden parameter represents the prompt data that is being processed. It is a complex data structure containing various nodes and their inputs, which define the behavior and output of the prompt. This parameter is not directly set by the user but is managed internally by the node.
This hidden parameter is a unique identifier for the node within the prompt. It is used to locate and remove the node from the prompt data during processing. This parameter is also managed internally and is not directly set by the user.
This node does not produce any direct output parameters. Its primary function is to handle and manage prompt data, either by printing it to the console or saving it to a file.
{class_type}
does not exist."© Copyright 2024 RunComfy. All Rights Reserved.