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

# CLIPTextEncodeSDXL - ComfyUI Built-in Node Documentation

> Complete documentation for the CLIPTextEncodeSDXL node in ComfyUI. Learn its inputs, outputs, parameters and usage.

此节点设计使用特别为SDXL架构定制的CLIP模型对文本输入进行编码。它使用双编码器系统（CLIP-L和CLIP-G）来处理文本描述，从而生成更准确的图像。

## 输入

| 参数名称   | 数据类型     | 作用                      |
| ------ | -------- | ----------------------- |
| `clip` | `CLIP`   | 用于编码文本的CLIP模型实例。        |
| `宽度`   | `INT`    | 指定图像的宽度（以像素为单位），默认1024。 |
| `高度`   | `INT`    | 指定图像的高度（以像素为单位），默认1024。 |
| `裁剪宽`  | `INT`    | 裁剪区域的宽度（以像素为单位），默认0。    |
| `裁剪高`  | `INT`    | 裁剪区域的高度（以像素为单位），默认0。    |
| `目标宽度` | `INT`    | 输出图像的目标宽度，默认1024。       |
| `目标高度` | `INT`    | 输出图像的目标高度，默认1024。       |
| `文本_g` | `STRING` | 全局文本描述，用于整体场景描述。        |
| `文本_l` | `STRING` | 局部文本描述，用于细节描述。          |

## 输出

| 参数名称 | 数据类型           | 作用                    |
| ---- | -------------- | --------------------- |
| `条件` | `CONDITIONING` | 包含编码后的文本和图像生成所需的条件信息。 |
