Nodes/TA-ComfyUI-Nodes-Pack/πŸŽ›οΈ TA Sampler Preset
ComfyUI Node

πŸŽ›οΈ TA Sampler Preset

Sampling settings you edit once and reuse everywhere

By tmode-1960Β·Created 11 months agoΒ·Updated 5 months agoΒ· 5
πŸŽ›οΈ TA Sampler Preset
    • steps
    • cfg
    • sampler_name
    • scheduler
    • start_at_step
    • end_at_step
    • info
    β—„presetZ-Image Turboβ–Ί

    Steps, CFG, sampler, scheduler, start and end step - six settings that every generation needs and that nobody wants to retune inside every KSampler they own. TA Sampler Preset collects them into a named preset and hands them out as wires, so your sampling configuration lives in one editable place instead of scattered across nodes.

    The single input is preset, a dropdown populated from the pack's ta_sampler_presets.json, edited through a browser UI at http://localhost:8188/ta_sampler_presets/ui. The shipped default, "Z-Image Turbo", is telling about what this pack is built for: steps 9, CFG 1.0, euler with a beta scheduler. That's a distilled flow-matching config - the KB's concepts doc hammers this home: modern distilled models want CFG 1 and a handful of steps, not the CFG 7/20-step SDXL defaults. A preset is how you stop re-deriving that per model.

    Outputs are the six parameters as separate typed wires - steps (INT), cfg (FLOAT), sampler_name (STRING), scheduler (STRING), start_at_step (INT), end_at_step (INT) - plus an info string. Those first six plug straight into the pack's TA KSampler, which is the entire reason that node accepts sampler and scheduler as plain strings: it's the receiving end of this preset. The info output is metadata about the preset, and it drives the TA Flux Guidance Gate - the gate checks whether the info string contains "FLUX" to decide whether to apply Flux guidance to your conditioning.

    So the full modern stack is: model preset handles what model, sampler preset handles how to sample, and the guidance gate keeps the Flux-specific knob from leaking into non-Flux runs. Name your presets thoughtfully - "Z-Image Turbo" gets euler/beta at CFG 1, and a preset literally named "FLUX Dev v2" is what triggers the guidance gate, since detection is just a substring check on the name.

    Install. No Python dependencies; standard pack install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/tmode-1960/TA-ComfyUI-Nodes-Pack
    

    or ComfyUI Manager (search "TA ComfyUI Nodes Pack"), restart, under TA Nodes/Sampling. The editor UI lives at http://localhost:8188/ta_sampler_presets/ui.

    Gotchas. Because ta_sampler_presets.json is gitignored since v2.0.5, pack updates won't overwrite your presets - good, but it also means a fresh clone starts with only the shipped defaults. If your dropdown shows a single "Z-Image Turbo" and nothing else, that's a fresh install, not an error. The preset editor pulls the real sampler/scheduler lists from ComfyUI, so the values are guaranteed valid - but only if you use the editor; hand-editing JSON invites typos. And the v2.x rewrite note applies to every old v1 workflow.

    CategoryTA Nodes/Sampling

    Inputs (1)

    NameTypeDefaultDescription
    presetCOMBOZ-Image TurboSelect preset. Editor: http://localhost:8188/ta_sampler_presets/ui

    Outputs (7)

    NameTypeDescription
    stepsINTβ€”
    cfgFLOATβ€”
    sampler_nameSTRINGβ€”
    schedulerSTRINGβ€”
    start_at_stepINTβ€”
    end_at_stepINTβ€”
    infoSTRINGβ€”