Enviral Load Text Encoder
Load the right text encoder without the 100-option hunt
- clip
- text_encoder_list
Text encoders are the forgotten siblings of the model-loading world. The diffusion model gets all the attention, but every modern stack leans on a standalone CLIP or LLM encoder - Qwen2.5-VL for Qwen-Image and Flux2, the WAN encoder for WAN video, plus all the SD/SDXL/FLUX1 CLIPs - and they all pile into models/text_encoders. Enviral Load Text Encoder (class EnviralLoadTextEncoderFiltered) is the filtered loader from the Enviral Design Node Pack that keeps that pile navigable, while keeping every native option the stock loader gives you.
How it works
Same shared filtering base as Enviral Load Checkpoint and Enviral Load Diffusion Model in this pack: a folder prefix filter, an optional text allow_list, and a dropdown that only shows what passes both. The loading is ComfyUI's standard text-encoder load, driven by the full relative path, with validation up front so a bad selection errors out before it runs.
What makes this one different from the other two filtered loaders is that it keeps the native encoder type enum and optional device choice - no functionality was stripped to add filtering.
The inputs and outputs that matter
folder- defaultAll Text Encoders, or any folder prefix you have. Instant grouping forqwen/,wan/,clip/.clip_name- the encoder dropdown. Also accepts a linked STRING if it matches a known ComfyUI path.type- this is the one that matters most. It's the full native list:stable_diffusion,stable_cascade,sd3,stable_audio,mochi,ltxv,pixart,cosmos,lumina2,wan,hidream,chroma,ace,omnigen2,qwen_image,hunyuan_image,flux2,ovis,longcat_image,cogvideox,lens,pixeldit,ideogram4,boogu,krea2,joyimage,mage,minimax. Thetypetells ComfyUI what architecture it's loading, so get it right:qwen_imagefor Qwen2.5-VL,wanfor WAN,flux2for Flux2.device-defaultorcpu. Force CPU loading/offloading if you're juggling VRAM.allow_list- optional multiline allow-list, same behavior as the other filtered loaders.
Outputs are clip (the loaded text encoder, wired into your CLIP Text Encode / TextEncode node) and text_encoder_list, a STRING of visible options, one per line.
Installing it
In the Enviral Design Node Pack. ComfyUI Manager → search "Enviral Design Node Pack" → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/EnviralDesign/comfyUI-enviral-design-node-pack
then restart. Nothing to download for the node itself - it reads models/text_encoders. The pack's only hard Python dependency is color-matcher, used by a color-match node elsewhere in the pack, so you're not signing up for a dependency pile to get a filtered loader.
Where people get burned
- Wrong
type= subtle garbage. If the encoder loads but your embeddings come out wrong, checktypefirst. It's the single most common mistake with this node family, and the failure is often silent. - New encoders don't show up. Same ComfyUI caching as always - press
Ron the canvas or Refresh Node Definitions, then re-pick the folder. - A linked STRING that doesn't match. Validation fails with a clear message. It has to match a path ComfyUI actually knows.
This is one of those "you don't need it until you need it" nodes - but once models/text_encoders gets past a dozen files, a filtered encoder loader starts feeling like a quality-of-life upgrade rather than a nicety.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| folder | COMBO | All Text Encoders | Limits the model dropdown to this folder and its subfolders. |
| clip_name | COMBO | Model name. Also accepts a linked STRING, as long as it matches a model path known to ComfyUI. | |
| type | COMBO | stable_diffusion | 28 options: stable_diffusion, stable_cascade, sd3, stable_audio, mochi, ltxv, +22 |
| deviceopt | COMBO | 2 options: default, cpu | |
| allow_listopt | STRING | Optional newline-separated text-encoder allow-list. Entries may use displayed names or full paths. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| clip | CLIP | The loaded text encoder. |
| text_encoder_list | STRING | The visible text-encoder options, one display name per line. |