ComfyUI Node

Sampler Config

One node for the entire KSampler front panel — latent included

By HavocsCall·Created 2 years ago·Updated 9 months ago· 4
Sampler Config
    • Empty_Latent
    • Seed
    • Steps
    • CFG
    • Sampler
    • Scheduler
    • Denoise
    • Width
    • Height
    • Batch_Size
    seed0
    Steps30
    CFG8.0
    Sampler
    Scheduler
    Denoise1.00
    Aspect_Ratio
    Width1024
    Height1024
    Batch_Size1

    Sampler Config is the pack's biggest swing: it replaces the front panel of a KSampler - seed, steps, CFG, sampler, scheduler, denoise, and even the empty latent - with a single node that hands all of it out on separate outputs. "One node for most KSampler inputs," as the README puts it.

    What it actually does

    It's a config hub plus an Empty Latent in one package. You set everything on this one node, and it emits ten outputs: Empty_Latent, Seed, Steps, CFG, Sampler, Scheduler, Denoise, Width, Height, Batch_Size. Wire those straight into a KSampler's matching inputs and the sampler's own widgets become irrelevant. Change one setting in one place and it propagates.

    The layout makes sense if you're building a "control panel" workflow - all your tunables in one box instead of scattered across the graph. It also centralizes the aspect-ratio logic: pick a preset like "16:9 - 1344 x 768" and the node resolves Width and Height for you.

    The settings that matter

    • Aspect_Ratio - the headliner. Eighteen presets from "1:1 - 512 x 512" up to "21:9 - 1536 x 640", plus Custom. Pick a preset and it overrides Width/Height entirely. The tooltip on Width/Height says it plainly: "This only matters if you picked a custom Aspect Ratio."
    • Width / Height - used only when Aspect_Ratio is Custom. Both default to 1024.
    • Sampler / Scheduler - the full stock ComfyUI lists (44 samplers, 9 schedulers) straight from comfy.samplers, so everything your ComfyUI build knows about is available here.
    • CFG, Steps, Denoise, seed, Batch_Size - standard KSampler values, with sane defaults (30 steps, CFG 8, denoise 1.0).

    The generated Empty_Latent is exactly what ComfyUI's own EmptyLatentImage produces - a zero-filled tensor at batch × 4 × height/8 × width/8, sized from your final Width/Height. That's the one genuinely hidden bit of behavior: this node is your latent source.

    Where people get burned

    The latent trap: because it hands you an Empty_Latent, beginners assume the node is optional. It isn't - if you want its size logic to do anything, the Empty_Latent output has to feed your sampler. Wire it.

    Second, the aspect presets are SDXL-era sizes. If you're generating on a model that wants 1024+ across the board (or a very different native resolution), the small presets will produce small images; stick to Custom and set your own numbers.

    And remember the sampler/scheduler advice hasn't changed: the "right" pair depends on your model family. DPM++ 2M Karras is an SDXL-era default, not a universal law - flow-matching models (Flux and friends) want Euler-family samplers on conservative schedules, and distilled models run CFG at 1. Sampler Config just exposes the choice; it doesn't make it for you.

    Installing it

    ComfyUI Manager → search "HavocsCall" → install → restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/HavocsCall/comfyui_HavocsCall_Custom_Nodes
    

    Restart, under HavocsCall/Basic. No requirements.txt, no model downloads - instant.

    CategoryHavocsCall/Basic

    Inputs (10)

    NameTypeDefaultDescription
    seedINT00–18446744073709550000
    StepsINT301–1000
    CFGFLOAT8.01–30
    SamplerCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
    SchedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
    DenoiseFLOAT1.000–1
    Aspect_RatioCOMBO18 options: Custom, 1:1 - 512 x 512, 2:3 - 512 x 768, 3:4 - 512 x 682, 3:2 - 768 x 512, 4:3 - 682 x 512, +12
    WidthINT102464–8192This only matters if you picked a custom Aspect Ratio.
    HeightINT102464–8192This only matters if you picked a custom Aspect Ratio.
    Batch_SizeINT11–64

    Outputs (10)

    NameTypeDescription
    Empty_LatentLATENT
    SeedINT
    StepsINT
    CFGFLOAT
    Samplereuler,euler_cfg_pp,euler_ancestral,euler_ancestral_cfg_pp,heun,heunpp2,exp_heun_2_x0,exp_heun_2_x0_sde,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_2s_ancestral_cfg_pp,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_cfg_pp,dpmpp_2m_sde,dpmpp_2m_sde_gpu,dpmpp_2m_sde_heun,dpmpp_2m_sde_heun_gpu,dpmpp_3m_sde,dpmpp_3m_sde_gpu,ddpm,lcm,ipndm,ipndm_v,deis,res_multistep,res_multistep_cfg_pp,res_multistep_ancestral,res_multistep_ancestral_cfg_pp,gradient_estimation,gradient_estimation_cfg_pp,er_sde,seeds_2,seeds_3,sa_solver,sa_solver_pece,ddim,uni_pc,uni_pc_bh2
    Schedulersimple,sgm_uniform,karras,exponential,ddim_uniform,beta,normal,linear_quadratic,kl_optimal
    DenoiseFLOAT
    WidthINT
    HeightINT
    Batch_SizeINT