> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CLIPTextEncodeLumina2 - ComfyUI Built-in Node Documentation

> This node encodes a system prompt and a user prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images.

This node encodes a system prompt and a user prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images. It combines a pre-defined Lumina 2 system prompt with your custom text prompt and processes them through the CLIP model to create conditioning data for image generation.

## Inputs

| Parameter       | Description                                                                                                                                                                                                                                                                                                                                                    | Data Type | Required | Range                           |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------------- |
| `system_prompt` | Lumina2 provide two types of system prompts: Superior: You are an assistant designed to generate superior images with the superior degree of image-text alignment based on textual prompts or user prompts. Alignment: You are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts. | COMBO     | Yes      | `"superior"`<br />`"alignment"` |
| `user_prompt`   | The text to be encoded. Supports multiline input and dynamic prompts.                                                                                                                                                                                                                                                                                          | STRING    | Yes      | N/A                             |
| `clip`          | The CLIP model used for encoding the text.                                                                                                                                                                                                                                                                                                                     | CLIP      | Yes      | N/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 Name    | Description                                                                    | Data Type    |
| -------------- | ------------------------------------------------------------------------------ | ------------ |
| `CONDITIONING` | A 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](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/CLIPTextEncodeLumina2/en.md)

***

**Source fingerprint (SHA-256):** `0c7540e6232c93b0f76c4903f5646e00a639ccb0b7720f70b5ac727513358a02`
