Nodes/AK Pack/AK Control Multiple KSamplers
ComfyUI Node

AK Control Multiple KSamplers

Tune six KSamplers without walking the whole graph

By akawana·Created 9 months ago·Updated 7 days ago· 2
AK Control Multiple KSamplers
      choose_ksampler<none>
      seed 0
      steps15
      cfg8.0
      sampler_nameeuler
      schedulersimple
      denoise1.00

      First thing to know, because it's a trap: this node is not a sampler and it has no outputs. It won't sit in your image path and nothing wires out of it. It's a remote control. If you run big multi-pass workflows - the kind where an upscale, a face-fix, and a background pass each need their own KSampler and you're sick of hunting across the canvas to tweak their seeds - this is the AK Pack's answer.

      The author built AK Pack specifically for "complex and large" workflows, and this node is the front half of the pack's Multiple Samplers Control feature. The feature is really two things: a panel that lives in ComfyUI's left toolbar, and these AK Control Multiple KSamplers nodes you drop on the canvas as control surfaces. Both drive the same trick.

      How it works

      In the panel's Settings tab you type a comma-separated list of the sampler nodes you want to steer - by name or by node ID, like KSampler, 12, 33, My Detailer, BlaBlaSampler. The panel then finds those nodes and lists them in a dropdown in its Control tab. On the canvas, each AK Control Multiple KSamplers node gets the same list in its own choose_ksampler dropdown, so you pick which target this control talks to.

      The magic (and the fragility) is that nothing travels over wires. JavaScript reads the widget values on your control node and pushes them into the target KSampler's widgets - seed, steps, cfg, sampler_name, scheduler, denoise - then marks the target dirty so ComfyUI re-runs with the new values. The hidden _ak_state_json widget is just the sync bookkeeping. Because it's frontend-driven, it works with default KSamplers and Detailer-style nodes alike, no custom sampler required.

      The inputs that matter

      You'll set basically all of them, but choose_ksampler is the one that matters:

      • choose_ksampler - which of your configured sampler nodes this control drives. Starts at <none> until you pick one.
      • steps and cfg - the ones you'll be twiddling most; cfg defaults to 8, which is on the hot side for a lot of modern models (5–7 is the usual sweet spot).
      • seed - useful for holding a seed constant while you audition the others.
      • sampler_name / scheduler - euler/simple defaults; change per-target if one pass wants karras and another doesn't.
      • denoise - critical for img2img and detailer passes; a value of 1 here means full renoise.

      Install

      Everything in AK Pack installs the same way. Through ComfyUI Manager, search "AK Pack" and install. Or, from your ComfyUI root:

      cd ComfyUI/custom_nodes
      git clone https://github.com/akawana/ComfyUI-AK-Pack
      

      Restart ComfyUI. No requirements.txt, no model downloads, no pip step - it's pure Python plus the JS frontend. If Manager can't find it, note the author's README install block actually points at a companion repo, ComfyUI-Utils-extra, which ships the same nodes - cloning either gets you this.

      Where people get burned

      • "Why is nothing connected to my outputs?" Because there are none. If you want the values in the graph, that's the AK KSampler Settings / Settings Out pair, not this.
      • The sync just stops after a ComfyUI update. This node is 100% JS-frontend glue, and the Nodes 2.0 frontend era broke a lot of that glue - community reports specifically call out the AK pack's nodes going dead after a frontend update. If the dropdown stops populating or values stop applying, run on the legacy canvas (turn Nodes 2.0 off) until the author ports.
      • It's a control surface, not automation. It mirrors widget values; it doesn't scrub seeds or batch. For actual sweep testing, the same author's AK-XZ-Axis pack is the tool for that.

      The panel itself can be disabled in Settings if you decide it's not for you - the on-canvas nodes keep working either way.

      CategoryAK/sampling

      Inputs (7)

      NameTypeDefaultDescription
      choose_ksamplerCOMBO<none>1 options: <none>
      seed INT00–2147483647
      stepsINT151–100
      cfgFLOAT8.00–100
      sampler_nameCOMBOeuler44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
      schedulerCOMBOsimple9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
      denoiseFLOAT1.000–1

      Outputs (0)

      No outputs