Nodes/Duanyll Nodepack/HuggingFace Dual CLIP Loader
ComfyUI Node

HuggingFace Dual CLIP Loader

Downloads a model from Hugging Face or loads it from a local path. Supports single-file and sharded checkpoints.

By Duanyll·Created about a year ago·Updated 3 months ago· 2
HuggingFace Dual CLIP Loader
    • CLIP
    repo_id_1black-forest-labs/FLUX.1-dev
    repo_id_2black-forest-labs/FLUX.1-dev
    typeflux
    subfolder_1text_encoder
    subfolder_2text_encoder_2
    filename_1
    filename_2
    Categoryduanyll/loaders

    Inputs (7)

    NameTypeDefaultDescription
    repo_id_1STRINGblack-forest-labs/FLUX.1-devThe Hugging Face repo ID, an absolute path (/path/to/model), or a relative path (./models/...) from the ComfyUI root.
    repo_id_2STRINGblack-forest-labs/FLUX.1-devThe Hugging Face repo ID, an absolute path (/path/to/model), or a relative path (./models/...) from the ComfyUI root.
    typeCOMBOflux12 options: sdxl, sd3, flux, hunyuan_video, hidream, hunyuan_image, +6
    subfolder_1optSTRINGtext_encoderThe subfolder where the model is located. Applies to both Hugging Face repos and local paths.
    subfolder_2optSTRINGtext_encoder_2The subfolder where the model is located. Applies to both Hugging Face repos and local paths.
    filename_1optSTRINGThe checkpoint file to load. If not specified, will auto-detect. For sharded checkpoints, use the index file (e.g., 'model.index.json').
    filename_2optSTRINGThe checkpoint file to load. If not specified, will auto-detect. For sharded checkpoints, use the index file (e.g., 'model.index.json').

    Outputs (1)

    NameTypeDescription
    CLIPCLIP