Visit ComfyUI Online for ready-to-use ComfyUI environment
Extracts and converts pipeline parameters into editable prompt components for AI artists.
The AV_ParametersPipeToPrompts
node is designed to extract and convert various parameters from a given pipeline (pipe) into individual prompt components. This node is particularly useful for AI artists who need to decompose a complex set of parameters into more manageable and editable prompt strings and associated data. By breaking down the pipeline into its constituent parts, such as positive and negative prompts, images, and masks, this node facilitates easier manipulation and fine-tuning of these elements, ultimately enhancing the creative process and output quality.
The pipe
parameter is a dictionary that contains various elements of the pipeline you wish to decompose. This parameter is essential as it holds the data that will be extracted and converted into individual components. The pipe
can include keys such as positive
, negative
, image
, and mask
, each representing different aspects of the prompt and associated data. There are no specific minimum or maximum values for this parameter, but it must be a valid dictionary containing the relevant keys and values.
The pipe
output is the original dictionary passed as input. This allows you to retain the complete pipeline structure for further use or reference.
The positive
output is a string extracted from the pipe
dictionary, representing the positive prompt. This is typically the main prompt or description that guides the AI in generating the desired output.
The negative
output is a string extracted from the pipe
dictionary, representing the negative prompt. This prompt is used to specify elements or characteristics that should be avoided in the generated output.
The image
output is an image object extracted from the pipe
dictionary. This can be used as a reference or base image for further processing or generation tasks.
The mask
output is a mask object extracted from the pipe
dictionary. Masks are often used to define specific areas of an image that should be focused on or ignored during processing.
pipe
dictionary contains all the necessary keys (positive
, negative
, image
, mask
) to fully utilize the node's capabilities.pipe
dictionary does not contain the positive
key.pipe
dictionary includes a positive
key with a valid string value.pipe
dictionary does not contain the negative
key.pipe
dictionary includes a negative
key with a valid string value.pipe
dictionary does not contain the image
key.pipe
dictionary includes an image
key with a valid image object.pipe
dictionary does not contain the mask
key.pipe
dictionary includes a mask
key with a valid mask object.© Copyright 2024 RunComfy. All Rights Reserved.