Skip to main content
The CLIP Text Encode for Lumina2 node encodes a system prompt and a user prompt using a CLIP model into an embedding that can guide the diffusion model to generate specific images. It combines a pre-defined system prompt with your custom text prompt and processes them through the CLIP model to create conditioning data for image generation.

Inputs

ParameterDescriptionData TypeRequiredRange
system_promptLumina2 provides two types of system prompts: “superior” generates images with superior image-text alignment; “alignment” generates high-quality images with the highest degree of image-text alignment.STRINGYes"superior"
"alignment"
user_promptThe text to be encoded. Supports multiline input and dynamic prompts.STRINGYesN/A
clipThe CLIP model used for encoding the text.CLIPYesN/A
Note: The clip input is required and cannot be None. If the clip input is invalid, the node will raise an error indicating that the checkpoint may not contain a valid CLIP or text encoder model.

Outputs

Output NameDescriptionData Type
CONDITIONINGA conditioning containing the embedded text used to guide the diffusion model.CONDITIONING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): e9d5f685a666a4f0737739e56afa3eb854a4abcbd8a76480c7a050cd503b53b2