ComfyUI Nodes
Clip Text Encode

CLIP Text Encode (Prompt)

comfyUI节点-CLIP Text Encode(prompt) |CLIP文本编码器


  • Class name: CLIPTextEncode
  • Category: conditioning
  • Output node: False

The CLIPTextEncode node is designed to encode textual inputs using a CLIP model, transforming text into a form that can be utilized for conditioning in generative tasks. It abstracts the complexity of text tokenization and encoding, providing a streamlined interface for generating text-based conditioning vectors.

Input types

ParameterComfy dtypeDescription
textSTRINGThe 'text' parameter is the textual input that will be encoded. It plays a crucial role in determining the output conditioning vector, as it is the primary source of information for the encoding process.
clipCLIPThe 'clip' parameter represents the CLIP model used for text tokenization and encoding. It is essential for converting the textual input into a conditioning vector, influencing the quality and relevance of the generated output.

Output types

ParameterComfy dtypeDescription
conditioningCONDITIONINGThe output 'conditioning' is a vector representation of the input text, encoded by the CLIP model. It serves as a crucial component for guiding generative models in producing relevant and coherent outputs.