ERROR: clip input is invalid: None (Checkpoint contains no text encoder)
The "CLIP Text Encode" node gets no text encoder because the loaded checkpoint file doesn't contain one at all. This is typical for SD3.5, Flux, and other newer models that ship text encoders as separate files.
The message
RuntimeError: ERROR: clip input is invalid: None
If the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.
Affects: ComfyUI
Why is this happening?
"Load Checkpoint" only returns something on its CLIP output if the file also contains text encoder weights. If they’re missing, the console shows "no CLIP/text encoder weights in checkpoint, the text encoder model will not be loaded." during loading — and the prompt node fails. In older ComfyUI versions, the follow-up message was "'NoneType' object has no attribute 'tokenize'".
How to fix it
- Check the console: If it says "no CLIP/text encoder weights in checkpoint", the file is not broken — it just lacks the text encoder.
- Load the text encoder with a separate node: for Flux, use "Load CLIP (Dual)" (DualCLIPLoader) with type
fluxand the filesclip_l.safetensorsandt5xxl_fp16.safetensors; for SD3.5, use theTripleCLIPLoadernode withclip_l,clip_g, andt5xxl. - For models with only one text encoder (for example Qwen-Image or Wan), use "Load CLIP" and set the appropriate type, such as
qwen_imageorwan. - Put the text encoder files in
models/text_encoders(old folder name:models/clip) and restart ComfyUI so the files appear in the selection list. - Connect the CLIP output of the new loader to the
clipinput of all "CLIP Text Encode" nodes — positive and negative prompt — instead of using the CLIP output from "Load Checkpoint". - The easiest way: load the official example workflow for your model (drag the image from the ComfyUI Examples into the window); the loaders are already connected correctly there.
Better not: Don't redownload the model because you suspect a damaged file — the message only means that the text encoder is missing and must be loaded separately.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- clip missing: ['text_projection.weight'] (usually a harmless warning)
- ERROR: Could not detect model type of: … (Model is in the wrong folder or the wrong loader)
- expected input … to have 4 channels, but got 16 channels instead (latent or VAE does not match the model)
- IPAdapter model not found / ClipVision model not found (IPAdapter files are missing or named incorrectly)
- lora key not loaded (LoRA does not match the model or the loader)
Sources
- https://github.com/comfyanonymous/ComfyUI/blob/master/nodes.py
- https://github.com/Comfy-Org/ComfyUI/issues/5388
- https://docs.comfy.org/tutorials/flux/flux-1-text-to-image
Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.