EasyKSampler(samplerSimple)
EasyKSampler is a streamlined sampling node for the EasyUse pipeline.
sampler Simple
Description
EasyKSampler is a streamlined sampling node for the EasyUse pipeline. It accepts an existing PIPE_LINE, runs the sampler using the settings and data carried in that pipe, and outputs both the updated pipeline and the generated image. It is useful when you want a compact sampler step in a pipeline without exposing the full set of low-level sampler controls.
Because this node exposes no separate seed, steps, CFG, or sampler name widgets, the actual sampling behavior is determined by the contents of the pipe passed into it.
Inputs
pipe
- Required: Yes
- Type:
PIPE_LINE
The pipeline object that carries the sampling context, including model, conditioning, latent, and related settings. This is the main input to the node and is also returned as the first output after sampling.
image_output
- Required: Yes
- Type: COMBO
- Default:
Preview - Options:
Hide,Preview,Save,Hide&Save,Sender,Sender&Save,None
Controls how the generated image is handled after sampling:
Hide— do not display the image in the UI.Preview— display the generated image in the UI.Save— save the generated image to the output directory.Hide&Save— save the image without displaying it in the UI.Sender— send the image to another node or destination using thelink_idinput.Sender&Save— send the image usinglink_idand also save it to disk.None— disable preview, saving, and sending for the image output.
link_id
- Required: Yes
- Type: INT
Integer identifier used when image_output is set to Sender or Sender&Save. It should match the link ID expected by the receiving image sender node.
save_prefix
- Required: Yes
- Type: STRING
- Default:
ComfyUI
The filename prefix used when saving the generated image. This applies when image_output is set to Save, Hide&Save, or Sender&Save.
model
- Required: No
- Type:
MODEL
An optional model input. When connected, it overrides the model contained in the pipe. When left unconnected, the model from the pipeline is used.
Outputs
PIPE_LINE
- Type:
PIPE_LINE
The updated pipeline after sampling. It can be passed to downstream EasyUse nodes for further processing.
IMAGE
- Type:
IMAGE
The generated image batch. Depending on the image_output setting, this output may be displayed, saved, sent, or empty.
Usage Notes
- Use
Previewfor quick visual checks andSaveorHide&Savewhen you need a saved output file. - The
link_idinput is only relevant forSenderandSender&Save; otherimage_outputmodes ignore it. save_prefixis only used when saving the image; it has no effect on preview-only modes.- The optional
modelinput is convenient when you want to sample with a different model than the one already stored in thepipe, without rebuilding the pipeline.
Comments
Sign in with GitHub to join the discussion.