Nodes/Nukun_ComfyUI_Nodes/Noise Profile Cycler (Nukun)
ComfyUI Node

Noise Profile Cycler (Nukun)

Batch-test every noise profile without touching the sampler

By OnekoSL·Created 3 months ago·Updated 11 days ago· 1
Noise Profile Cycler (Nukun)
    • noise_profile
    • profile_name
    • profile_index
    • raw_index
    • profile_count
    profile_index0
    profile_setall
    start_index0
    end_index10000

    This is a tiny node with a narrow job: it feeds one of the many noise-profile names from Universal Noise Sampler (Nukun) into a sampler, one at a time, so you can systematically A/B the whole catalog in a single queue. If you're the kind of person who's happy picking gaussian and never looking back, skip this. If you're testing whether pony_v7_stage2_violet or highres_pyramid actually helps your Pony v7 refine pass, it's the difference between editing a dropdown twenty times and pressing queue twenty times.

    The background you need: the Nukun samplers support roughly thirty noise profiles, from plain gaussian up to composites like illustrious_wild and the two-stage Pony v7 recipes. Testing those by hand means re-selecting a combo and re-queuing for each one, which is miserable and easy to lose track of. This node automates the selection.

    How it works

    profile_index is the cursor. Put it on control-after-generate → increment, connect noise_profile to a Universal Noise Sampler, and every queue run advances to the next profile. The profile_set combo narrows which profiles are in the rotation: all, basic, expanded, composite, illustrious, pony_v7, and legacy_basic. start_index and end_index slice an even narrower window inside that set, and the index wraps inside the range so you can run a loop over just the four profiles you care about.

    The node also surfaces the current state so you can label your outputs: profile_name gives the human-readable string for filenames or a text node, and profile_index/raw_index/profile_count give you position and total. raw_index is the actual index into the full profile list before the set/range filter; profile_count is how many profiles the current selection contains.

    Inputs and outputs

    Only three inputs matter: profile_index (put it on increment), profile_set, and the start_index/end_index range. Outputs are noise_profile, profile_name, profile_index, raw_index, profile_count. Wire noise_profile into the sampler's noise_profile input and profile_name into whatever names your save file, and the loop takes care of itself.

    Installing it

    Standard for this pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/OnekoSL/Nukun_ComfyUI_Nodes.git
    

    restart ComfyUI, or install via ComfyUI Manager (search "Nukun"). It has no dependencies of its own, but it's only useful alongside the pack's samplers - without a Universal Noise Sampler (or one of the recipe samplers) downstream, it's a combo box with nowhere to go.

    Common issues

    The trap is forgetting that profile_set and the index range interact. Set profile_set to pony_v7 but leave end_index at the default 10000 and the index clamps to the end of the set - fine - but set start_index high and you can start past the end of a short set and wrap to a near-empty slice. When a run comes out looking identical to the last one, check that the index actually moved: increment mode increments per queue run, not per image, so a batch of eight images all uses the same profile unless you also vary the index. And keep in mind this only changes the initial-noise profile - it won't move the sampler, scheduler, or CFG, so treat it as a one-variable experiment. That's the point, but it means the results only tell you about noise, not the rest of your settings.

    CategoryNukun/Sampling

    Inputs (4)

    NameTypeDefaultDescription
    profile_indexINT00–10000Incrementable test counter. The selected profile wraps inside start_index..end_index.
    profile_setCOMBOallProfile group to test. all includes basic and composite Universal Noise Sampler profiles.
    start_indexINT00–10000First selectable index inside the chosen profile set.
    end_indexINT100000–10000Last selectable index inside the chosen profile set. Values beyond the set are clamped.

    Outputs (5)

    NameTypeDescription
    noise_profilegaussian,uniform,laplacian,pink,brown,blue,violet,pyramid,perlin,studentt,white,grey,velvet,green_test,highres_pyramid,pyramid_discount5,pyramid_mix,rainbow_mild,rainbow_intense,wavelet,illustrious_balanced,illustrious_texture,illustrious_composition,illustrious_wild,pony_v7_stage1_gaussian,pony_v7_stage2_violet,pony_v7_balanced,pony_v7_soft,pony_v7_graphic
    profile_nameSTRING
    profile_indexINT
    raw_indexINT
    profile_countINT