EasyUse/PreSamplinggenerated
PreSampling(samplerSettings)
The PreSampling node (class samplerSettings) from ComfyUI-Easy-Use is a pipeline-level sampler configuration node.
sampler Settings
pipe
image_to_latent
latent
pipe
steps
20
cfg
8
sampler_name
COMBO
scheduler
COMBO
denoise
1.00
seed
INT
Easy Use
The PreSampling node (class samplerSettings) from ComfyUI-Easy-Use is a pipeline-level sampler configuration node. It takes a PIPE_LINE, applies your sampling choices, and returns the updated PIPE_LINE for downstream sampling nodes. It belongs to the EasyUse/PreSampling category.
Inputs
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
pipe | PIPE_LINE | Yes | — | The pipeline object carrying model, conditioning, VAE, latent, and other workflow state. |
steps | INT | Yes | 20 | Number of sampling steps. Range: 1–10000. |
cfg | FLOAT | Yes | 8 | Classifier-free guidance scale. Range: 0–100. |
sampler_name | COMBO | Yes | — | Sampler algorithm to use. The dropdown is populated by the samplers available in your ComfyUI environment. |
scheduler | COMBO | Yes | — | Scheduler to pair with the selected sampler. The dropdown is populated by the schedulers available in your ComfyUI environment. |
denoise | FLOAT | Yes | 1 | Denoising strength, from 0 to 1 in 0.01 steps. Use 1 for full sampling from the latent; lower values preserve more of the starting image or latent structure. |
seed | INT | Yes | — | Seed used to control sampling noise. Changing it produces different results. |
image_to_latent | IMAGE | No | — | Optional input image. When connected, the image is converted into a latent and used as the starting point, which is useful for img2img-style workflows. |
latent | LATENT | No | — | Optional existing latent to use as the starting point. Connect this when you already have an encoded latent instead of an image. |
Outputs
| Output | Type | Description |
|---|---|---|
PIPE_LINE | PIPE_LINE | The updated pipeline with the sampling settings applied, ready to pass to a node that performs sampling. |
Usage Notes
- Place this node before the sampler or generation node in your graph. It only configures settings; it does not run the sampling itself.
- For text-to-image workflows, leave the optional image/latent inputs disconnected and make sure the
pipealready contains a latent, for example from an Empty Latent node. - For image-to-image or refinement workflows, connect
image_to_latentto start from an image without manually adding a VAE Encode step, or connectlatentif you already have an encoded latent. - The
denoisevalue is especially important when starting from an image or existing latent. A value of1performs full denoising; lower values retain more of the original structure, which is useful for light edits or upscaling workflows.
Comments
Sign in with GitHub to join the discussion.