Nodes/AUN ComfyUI Nodes/Multi Mute Index
ComfyUI Node

Multi Mute Index

Mute whole node sets from one index

By loz2754·Created 8 months ago·Updated about 15 hours ago· 5
Multi Mute Index
    • Selected Index
    slot_count20
    Index1
    node_ids_10
    node_ids_20
    node_ids_30
    node_ids_40
    node_ids_50
    node_ids_60
    node_ids_70
    node_ids_80
    node_ids_90
    node_ids_100
    node_ids_110
    node_ids_120
    node_ids_130
    node_ids_140
    node_ids_150
    node_ids_160
    node_ids_170
    node_ids_180
    node_ids_190
    node_ids_200

    If you've read the Multi Bypass Index article, this is the same node with one semantic swapped: it mutes instead of bypasses. Same layout, same 20 sets, same exclusive index logic - but knowing which of the two you want is half the battle, because bypass and mute are not the same thing in ComfyUI.

    Bypass vs mute, in 30 seconds

    • Bypass skips a node's processing but keeps the graph connected - data flows through it unchanged. That's what you want for something like an upscaler or refiner where the input simply passes along.
    • Mute stops the node from running at all - it's removed from execution, and anything depending on its outputs has to get them from somewhere else (usually a fallback wire or an optional input).

    Mute is the stronger, more surgical tool, and it's the right one when the node isn't a pass-through - a LoRA loader you want gone entirely, an IPAdapter you don't want applied, a second sampler branch. When your variation sets contain nodes like those, AUNMultiMuteIndex beats the bypass twin because it genuinely removes the work instead of routing around it.

    How it works

    Same mechanism as the bypass version: each of the 20 node_ids_N fields holds a comma-separated list of node IDs, and Index (1–20) decides which set stays unmuted. Everything in the other sets gets muted on every run, so it's strictly exclusive - one set of nodes alive, the rest silenced. The node ships those states to the ComfyUI frontend as events (AUN-node-mute-state) before execution, same family of graph controllers as rgthree's Fast Groups Muter. You get a single Selected Index INT output if a downstream node wants to know the current slot.

    The inputs you'll touch: Index, slot_count (how many of the 20 sets are shown/enforced, 2–20), and the node_ids_1node_ids_20 lists themselves.

    The one thing that trips people up

    Muting a node that other nodes depend on for their input can quietly break a branch - ComfyUI doesn't error, it just fails to get data. So design your sets so each muted set is a self-contained branch, or give its downstream nodes a fallback input. Also, same housekeeping as the bypass version: enable node-ID display in your settings or you'll be guessing at numbers, and check slot_count before you panic over a "missing" set - an Index above the count is clamped, not honored.

    Install

    It ships in the AUN ComfyUI Nodes pack (by loz2754), so the whole install is one step: search "AUN ComfyUI Nodes" in ComfyUI Manager, or

    cd ComfyUI/custom_nodes
    git clone https://github.com/loz2754/AUN-ComfyUI-Nodes
    

    then restart. Dependencies (piexif, opencv-python-headless, imageio-ffmpeg, requests) install via Manager or pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt. No models, no downloads - just restart and the whole AUN Nodes/Node Control category appears.

    If your workflow is organized into named groups rather than loose node collections, the pack's AUN Group Controller does the same job keyed by group name, and if you want to combine mute and collapse per set, AUN Node Controller handles that in one node.

    CategoryAUN Nodes/Node Control

    Inputs (22)

    NameTypeDefaultDescription
    slot_countINT202–20Number of active slots (2-20). Extra slots are hidden.
    IndexINT11–20Select the set index (1-20) to keep active. Only node IDs from this set remain unmuted; others are muted.
    node_ids_1STRING0Comma-separated node IDs for set 1 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_2STRING0Comma-separated node IDs for set 2 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_3STRING0Comma-separated node IDs for set 3 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_4STRING0Comma-separated node IDs for set 4 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_5STRING0Comma-separated node IDs for set 5 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_6STRING0Comma-separated node IDs for set 6 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_7STRING0Comma-separated node IDs for set 7 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_8STRING0Comma-separated node IDs for set 8 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_9STRING0Comma-separated node IDs for set 9 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_10STRING0Comma-separated node IDs for set 10 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_11STRING0Comma-separated node IDs for set 11 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_12STRING0Comma-separated node IDs for set 12 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_13STRING0Comma-separated node IDs for set 13 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_14STRING0Comma-separated node IDs for set 14 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_15STRING0Comma-separated node IDs for set 15 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_16STRING0Comma-separated node IDs for set 16 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_17STRING0Comma-separated node IDs for set 17 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_18STRING0Comma-separated node IDs for set 18 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_19STRING0Comma-separated node IDs for set 19 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.
    node_ids_20STRING0Comma-separated node IDs for set 20 (e.g., '5,12,23'). Enable ID badges in settings to see IDs.

    Outputs (1)

    NameTypeDescription
    Selected IndexINT