Nodes/ComfyUI Inspire Pack/Redux Model Helper (Inspire)
ComfyUI Node Runs on cloud

Redux Model Helper (Inspire)

FLUX's Style Reference, Loaded Right and Ready for a Mask

By ltdrdata·Created 3 years ago·Updated about 14 hours ago· 831
Redux Model Helper (Inspire)
    • redux_pipe
    • style_model
    • clip_vision
    ◄style_model_file▾►
    ◄clip_vision_file▾►
    ◄cache_modenone►

    FLUX Redux is BFL's answer to "make it look like this other picture". It's not an identity adapter and it's not ControlNet - it encodes a reference image into tokens that get appended to your prompt, which the model then reads as context. Core ComfyUI exposes it as StyleModelApply (the Apply Style Model node), and it works fine. What it can't do is apply to only part of the canvas.

    That's what this helper is for. It loads Redux's two files, hands you the pipe, and Regional Adapter (Inspire) uses that pipe to add Redux tokens in a way that only the picture inside your mask can attend to. Scene in one region, atmosphere from a different reference in another.

    The two files

    • style_model_file - style_models/flux1-redux-dev.safetensors. The Redux model itself.
    • clip_vision_file - clip_vision/sigclip_vision_patch14_384.safetensors. Redux's vision encoder, SigLIP, and it has to be that one; the pairing isn't negotiable here.

    Both lists are plain ComfyUI folders, so this node needs no extra node packs, no InsightFace, no face anything. It's the lightest of Inspire's four model helpers by a wide margin.

    cache_mode has just two choices: clip_vision only and none. Cache the CLIP vision model and it stays in Inspire's backend cache, shared with IPAdapter Model Helper (Inspire) when it's the same file - which it usually is, since FLUX IPAdapters use the same SigLIP encoder. On a FLUX graph that also does IPAdapter work, that's one fewer multi-hundred-megabyte model to reload per workflow switch.

    Outputs

    • redux_pipe → Regional Adapter (Inspire).
    • style_model and clip_vision - the raw pieces, in core's types. Per the README these fit Apply Style Model and CLIP Vision Encode directly, so you can use this helper as a plain loader in a non-regional Redux workflow. That's actually a decent reason to keep it around even if you never touch the regional side.

    What the regional version does differently

    Same tokens, different attention. Core's Apply Style Model appends Redux's tokens to the prompt and lets the whole image read them. The regional entry grows the attention mask so image tokens attend to the new tokens by the share of the region they cover, and tokens from other regions don't see them at all. The weight on the entry is Apply Style Model's strength; start_at and end_at keep the tokens to a slice of the sampling.

    Two behaviours worth setting expectations for:

    It's a look, not a subject. Redux carries style, palette, medium, mood. If you feed it a photo of a person and expect that person, you'll be disappointed. For faces you want PuLID or InstantID.

    References spread. Put two references in two regions and you don't get two half-pictures stitched together - you get one coherent image where each region takes the look of its own reference, and a scene will happily push its sky and water past the mask. That's the good outcome and the surprising one. Portraits stay in their boxes; landscapes leak.

    The cost is real, though: in the pack's own measurement, FLUX.1-dev at 1024×1024 goes from about 1.0 s/it to 1.6 s/it with a Redux entry active. Sixty percent slower, per step, on top of everything else.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack
    pip install -r ComfyUI-Inspire-Pack/requirements.txt
    

    Or Manager: "ComfyUI Inspire Pack", install, restart. Then download flux1-redux-dev.safetensors into ComfyUI/models/style_models and sigclip_vision_patch14_384.safetensors into ComfyUI/models/clip_vision. Both dropdowns are empty until the files are there, which is the standard complaint on every one of these helpers.

    Troubleshooting

    Empty dropdowns despite having "a Redux model". There are several Redux re-uploads and not all land in style_models. Check the folder, and check the CLIP vision model is the SigLIP 384 one, not a ViT-H or bigG from the IPAdapter world.

    Entry does nothing visible. Redux's effect is prompt-level and modest, and a low weight on a busy region can be invisible. Test the same reference through core's Apply Style Model at strength 1.0 first - if that's subtle too, it's the reference, not the wiring.

    Blank or garbled region. With no mask the entry covers the whole picture, which is a fine test but a confusing one to debug against. Start with a mask.

    Licence. Redux weights ship under the FLUX.1-dev non-commercial licence, same as the base model. Commercial use of the output needs BFL's commercial licence, and "it's just a style model" doesn't change that.

    CategoryInspirePack/models

    Inputs (3)

    NameTypeDefaultDescription
    style_model_fileCOMBO0 options:
    clip_vision_fileCOMBO0 options:
    cache_modeCOMBOnone2 options: clip_vision only, none

    Outputs (3)

    NameTypeDescription
    redux_pipeREDUX_PIPE—
    style_modelSTYLE_MODEL—
    clip_visionCLIP_VISION—