PreSampling (LayerDiffuse ADDTL)(layerDiffusionSettingsADDTL)
PreSampling (LayerDiffuse ADDTL) node from ComfyUI-Easy-Use.
layer Diffusion Settings ADDTL
Description
The PreSampling (LayerDiffuse ADDTL) node configures the sampler pipeline with LayerDiffuse ADDTL settings. It is a pre-sampling settings node in the EasyUse/PreSampling category: it takes a PIPE_LINE, attaches the additional LayerDiffuse prompt/conditioning data to it, and passes the same pipeline forward for the actual sampling step.
This node is designed for workflows that use LayerDiffuse with separate foreground, background, and blended compositing prompts or conditionings.
Inputs
pipe
- Type:
PIPE_LINE - Required: Yes
The pipeline to which the LayerDiffuse ADDTL settings will be applied. The node reads the current pipeline state, stores the ADDTL settings on it, and returns the updated pipeline.
foreground_prompt
- Type:
STRING - Required: Yes
- Default:
""
The prompt describing the foreground layer or subject. Leave empty if you are providing the foreground conditioning through optional_fg_cond.
background_prompt
- Type:
STRING - Required: Yes
- Default:
""
The prompt describing the background layer or scene. Leave empty if you are providing the background conditioning through optional_bg_cond.
blended_prompt
- Type:
STRING - Required: Yes
- Default:
""
The prompt describing the blended or composite result, used where the foreground and background layers interact or merge. Leave empty if you are providing the blended conditioning through optional_blended_cond.
optional_fg_cond
- Type:
CONDITIONING - Required: No
Optional pre-encoded conditioning for the foreground. If connected, it supplies the foreground conditioning directly instead of relying only on foreground_prompt.
optional_bg_cond
- Type:
CONDITIONING - Required: No
Optional pre-encoded conditioning for the background. If connected, it supplies the background conditioning directly instead of relying only on background_prompt.
optional_blended_cond
- Type:
CONDITIONING - Required: No
Optional pre-encoded conditioning for the blended layer. If connected, it supplies the blended conditioning directly instead of relying only on blended_prompt.
Outputs
PIPE_LINE
The updated pipeline containing the LayerDiffuse ADDTL settings. Pass this to the next sampling node to apply the configured foreground, background, and blended prompts/conditionings during generation.
Usage Notes
- This node only stores and configures settings; it does not perform sampling itself. It should be used before a sampler node in the
PreSamplingstage. - The three prompt values correspond to the separate LayerDiffuse ADDTL components: foreground, background, and blended output.
- If a prompt field is left empty, connect the corresponding optional conditioning input instead.
- Optional conditioning inputs provide a way to supply already-encoded conditionings, which can be useful when the prompts need to be processed by another conditioning node before sampling.
- All prompt inputs default to empty strings, so at least one prompt or optional conditioning should be supplied for the node to have a meaningful effect on the pipeline.
Comments
Sign in with GitHub to join the discussion.