EasyKSampler (Custom)(samplerSimpleCustom)
EasyKSampler (Custom) is a pipe-based KSampler-style node.
sampler Simple Custom
EasyKSampler (Custom) is a pipe-based KSampler-style node. It performs latent sampling using the settings already present in a PIPE_LINE, rather than exposing individual sampler, scheduler, steps, cfg, or denoise inputs. This makes it convenient as a final sampling step in an EasyUse pipeline.
Description
This node runs sampling on a PIPE_LINE and returns the updated pipe, the sampled latent(s), and an image output. It is registered under EasyUse/Sampler.
The main sampler settings are not configured on this node directly. Instead, they are expected to be supplied through the incoming pipe, so the upstream part of the workflow is responsible for defining the sampler behavior. The only additional controls are for image output behavior, output file naming, optional model override, and Sender-based image routing.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
pipe | PIPE_LINE | Yes | The pipeline containing model, positive/negative conditioning, latent, VAE, and sampling settings. This defines what is sampled and how. |
image_output | COMBO | Yes | Controls what happens to the generated image. Default is None. |
link_id | INT | Yes | Numeric link identifier used by the Sender image output modes. |
save_prefix | STRING | Yes | Prefix used when saving the output image. Default is ComfyUI. |
model | MODEL | No | Optional model override. If connected, this model is used for the sampling run instead of the model carried by the pipe. |
image_output options
Hide— Do not display the generated image in the UI.Preview— Show a temporary preview in the UI without saving it.Save— Save the image to the output directory usingsave_prefix.Hide&Save— Save the image without displaying it in the UI.Sender— Send the image to a matching Sender/receiver link usinglink_id.Sender&Save— Send the image usinglink_idand also save it.None— Take no extra image output action. The image is still available as an output for downstream nodes.
Outputs
| Type | Description |
|---|---|
PIPE_LINE | The updated pipeline, including the sampling result, for continued downstream processing. |
LATENT | The sampled latent after the final denoising step. |
LATENT | A second latent output, provided as a branch point for workflows that need the latent in more than one downstream path. |
IMAGE | The decoded output image. The preview/save/send behavior of this image is determined by image_output. |
Usage Notes
- This node expects the pipe to already contain the required sampler values. If the upstream pipe does not carry sampler, scheduler, steps, CFG, denoise, or related settings, those values should be configured earlier in the workflow.
- Leave
modeldisconnected to use the model already stored in the pipe. Connect it when you want this sampling pass to use a different model without rebuilding the pipe. - When using
SenderorSender&Save, make surelink_idmatches the ID expected by the connected Sender/receiver node. - When using any
Saveoption, the image filename will start withsave_prefix, followed by ComfyUI’s normal filename generation logic. - The first and second
LATENToutputs are both available for downstream latent operations. This is useful when one branch decodes the image and another continues latent processing without disrupting the pipeline output.
Comments
Sign in with GitHub to join the discussion.