π BV Vector Edit Dropdown FLUX
Edit a FLUX block weight by name, not by magic index
- vector
- VECTOR
The numeric BV Vector Edit is honest work, but on FLUX it means memorizing a 58-slot index map, and nobody should have to do that at 11pm. BV Vector Edit Dropdown FLUX is the same single-entry edit with the index replaced by a dropdown that names every slot: INPUT LAYER, MMDiT idx 0 through 18, DiT idx 0 through 37, plus a CHOOSE placeholder. You pick the layer you mean by name, type a value, done.
That layout is the entire FLUX block-weight map, spelled out: the input layer first, then the 19 MMDiT (double-stream) transformer blocks, then the 38 single-stream DiT blocks. If you've ever stared at a block-weight preset string and wondered which number is the MMDiT, this dropdown is the answer key.
Inputs
- vector (required) - the list being edited.
- entry_index - the dropdown of named FLUX layers. "CHOOSE" is the unset placeholder.
- new_value (default 0, stepped 0.01) - the strength for that slot: 0.0 to kill it, 1.0 for full, anywhere between for partial.
Output
- VECTOR (LIST) - the vector with the chosen slot updated, everything else preserved.
Chain it like the numeric version - each node is one deliberate change, and now each change is readable at a glance because the dropdown literally says "DiT idx 12" instead of "entry 50."
Install
cd ComfyUI/custom_nodes
git clone https://github.com/BlackVortexAI/ComfyUI-BVortexNodes.git
or ComfyUI Manager β "BV Nodes", then restart.
The catch
This node's dropdown is baked for FLUX's architecture - that's the "FLUX" in the name. If your LoRA targets a different base model, the layer names won't line up with anything, and you want the plain numeric BV Vector Edit instead. The node assumes your vector is in FLUX block order (input layer + MMDiT + DiT), so build it with BV Vector of Length-n at length 58 to keep everything consistent.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| vector | LIST | β | |
| entry_indexopt | COMBO | 59 options: CHOOSE, INPUT LAYER, MMDiT idx 0, MMDiT idx 1, MMDiT idx 2, MMDiT idx 3, +53 | |
| new_valueopt | FLOAT | 0.00 | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| VECTOR | LIST | β |