Easy Slider Control
Dial IPAdapter layer weights with a visual slider
- layer_weights
This is a niche but clever little quality-of-life node. Advanced IPAdapter workflows let you set per-layer weights - telling the model how strongly to apply the reference image at each block of the network, which is how people separate "take the style" from "take the composition." Normally you type those weights as a string like 0:0.5, 1:1.0, 2:0.8, …, which is exactly as pleasant as it sounds. easy sliderControl replaces that with an actual slider you drag, and outputs the properly-formatted layer_weights string for you.
If you've ever fiddled with IPAdapter "mad scientist" / layer-weight controls and gotten lost counting blocks, this is the node that makes it a visual, tactile thing instead of a text-entry chore. Double-click the slider to reset it to default.
How it works
It presents a slider UI mapped to the layer structure of the model type you select, and serializes your positions into the weight string that the advanced IPAdapter apply node expects. So the node's "output" isn't an image or a model - it's a formatted string that carries your per-layer settings into the IPAdapter stage. You're building a config visually and handing it off as text.
The inputs and outputs that matter
There are only two controls, and they exist to shape the slider correctly:
mode- set toipadapter layer weights(what this node is for).model_type-sdxlorsd1. This matters because SDXL and SD 1.5 have different numbers of layers, so the slider has to match your base model. Pick the one you're actually running.
Output: layer_weights (STRING) - wire it into the layer_weights input of easy ipadapterApplyADV (or the corresponding advanced IPAdapter node). That string is the whole point.
How to install it
Comes with ComfyUI-Easy-Use. ComfyUI Manager: search ComfyUI-Easy-Use, install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Use
then install.bat (Windows) or pip install -r ComfyUI-Easy-Use/requirements.txt, and restart. No models for this node - but you'll need a working IPAdapter setup (models + the apply node) for its output to have anywhere to go.
Common issues & troubleshooting
Wrong model_type = weights land on the wrong layers. SDXL and SD 1.5 don't have the same layer count. If you build weights in sdxl mode and feed them to an SD 1.5 IPAdapter (or vice versa), the mapping is off and the effect won't match what you dragged. Match model_type to your base model.
The slider does nothing on its own. This node only produces a string. It has no effect unless that layer_weights string is wired into an advanced IPAdapter apply node that actually consumes it. If your image isn't changing, check the downstream connection.
Reset trick. Dragged the slider into nonsense? Double-click it to snap back to default rather than trying to eyeball the neutral position.
It's for advanced IPAdapter only. Layer weights are a feature of the advanced IPAdapter path. The basic apply node doesn't take a per-layer string, so this node has nowhere to plug in there - you need the ADV variant.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | 1 options: ipadapter layer weights | |
| model_type | COMBO | 2 options: sdxl, sd1 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| layer_weights | STRING | — |