ComfyUI Node
HuggingFace CLIP Loader
Downloads a model from Hugging Face or loads it from a local path. Supports single-file and sharded checkpoints.
HuggingFace CLIP Loader
- CLIP
◄repo_id—►
◄type▾►
◄subfoldertext_encoder►
◄filename►
Categoryduanyll/loaders
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| repo_id | STRING | — | |
| type | COMBO | 25 options: stable_diffusion, stable_cascade, sd3, stable_audio, mochi, ltxv, +19 | |
| subfolderopt | STRING | text_encoder | The subfolder where the model is located. Applies to both Hugging Face repos and local paths. |
| filenameopt | STRING | The checkpoint file to load. If not specified, will auto-detect. For sharded checkpoints, use the index file (e.g., 'model.index.json'). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CLIP | CLIP | — |