CLIP – explained simply
CLIP is a model from OpenAI that connects images and text and serves many image generators as a text encoder.
Also: CLIP-L, CLIP-G, CLIP Text Encode, CLIP Skip
CLIP was trained on around 400 million image-text pairs from the internet. It learned which image description fits which image and thus understands the connection between words and image content.
Stable Diffusion and many successors use the text part of CLIP to process the prompt. FLUX combines CLIP with the larger T5 encoder. In ComfyUI, the node for prompt input is therefore called CLIP Text Encode, even though the model internally uses a different encoder.
CLIP understands short English descriptions especially well, but only has limited understanding of long sentences.