Free | No tracking | Every fact with a source|German and English

Error / Models and files

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

  1. Check the console: If it says "no CLIP/text encoder weights in checkpoint", the file is not broken — it just lacks the text encoder.
  2. Load the text encoder with a separate node: for Flux, use "Load CLIP (Dual)" (DualCLIPLoader) with type flux and the files clip_l.safetensors and t5xxl_fp16.safetensors; for SD3.5, use the TripleCLIPLoader node with clip_l, clip_g, and t5xxl.
  3. For models with only one text encoder (for example Qwen-Image or Wan), use "Load CLIP" and set the appropriate type, such as qwen_image or wan.
  4. 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.
  5. Connect the CLIP output of the new loader to the clip input of all "CLIP Text Encode" nodes — positive and negative prompt — instead of using the CLIP output from "Load Checkpoint".
  6. 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:

Terms for this

Similar errors

Sources

Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.