Clip Select
One dropdown for your text-encoder files
- clip_name
Text encoders are the stepchild of the loading screen - easy to forget, painful when wrong. PgClipSelect gives you a dropdown of every CLIP/text-encoder file ComfyUI knows about and outputs the chosen filename, so you can feed it into a CLIPLoader (or the PG Unified Loader) from a single, visible control.
It matters more than it looks, because a clip is not just a clip. Modern stacks need specific encoders - SDXL wants its own CLIP pair, Flux needs T5, Qwen-image models want their Qwen encoder - and the community's biggest "why is my output garbage" stories are usually a mismatched or missing text encoder. A dedicated select node makes the choice explicit and lets one dropdown drive both the loader and, say, a CLIPType decision downstream.
How it works
It pulls its list from ComfyUI's folder_paths registry, and the code is deliberately tolerant about which key it finds the files under - it tries clip, clip_text, and clip_models in turn and uses whichever exists, which is how it stays compatible across different packs' folder conventions. The selected filename is returned as the single output (clip_name). The list is captured at import time, so new encoder files need a ComfyUI restart to show up.
Input: the clip_name dropdown. Output: the chosen name, typed to the clip-name list so it connects to a CLIPLoader's clip_name input. The Uni variant (in PG/Select/UniLoader) includes a leading none for use with the Unified Loader.
Install
Ships in PG Nodes: ComfyUI Manager → "PG Nodes" → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/GizmoR13/PG-Nodes
Common issues
The empty-dropdown complaint usually means your clip files aren't in a folder ComfyUI's clip key points at - drop them in models/text_encoders or models/clip and restart. And don't confuse this with a CLIPLoader: it only hands over a name; the actual loading happens downstream. If you're running a dual or triple encoder stack, remember one select node handles one file - wire a Unified Loader's clip_1/clip_2 slots instead if you want all encoders in one place.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| clip_name | COMBO | 0 options: |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| clip_name | — |