> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# TextEncodeQwenImageEdit - ComfyUI Built-in Node Documentation

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

TextEncodeQwenImageEdit 节点处理文本提示和可选图像，以生成用于图像生成或编辑的条件数据。它使用 CLIP 模型对输入进行分词，并可选择使用 VAE 对参考图像进行编码以生成参考潜变量。当提供图像时，它会自动调整图像大小以保持一致的处理尺寸。

## 输入

| 参数     | 描述                       | 数据类型   | 是否必填 | 范围 |
| ------ | ------------------------ | ------ | ---- | -- |
| `clip` | 用于文本和图像分词的 CLIP 模型       | CLIP   | 是    | -  |
| `提示词`  | 用于条件生成的文本提示，支持多行输入和动态提示  | STRING | 是    | -  |
| `vae`  | 可选的 VAE 模型，用于将参考图像编码为潜变量 | VAE    | 否    | -  |
| `图像`   | 可选的输入图像，用于参考或编辑目的        | IMAGE  | 否    | -  |

**注意：** 当同时提供 `image` 和 `vae` 时，节点会将图像编码为参考潜变量，并将其附加到条件输出中。图像会自动调整大小，以保持约 1024x1024 像素的一致处理尺度。

## 输出

| 输出名称           | 描述                         | 数据类型         |
| -------------- | -------------------------- | ------------ |
| `CONDITIONING` | 包含文本分词和可选参考潜变量的条件数据，用于图像生成 | CONDITIONING |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/TextEncodeQwenImageEdit/zh.md)

***

**Source fingerprint (SHA-256):** `143af2c93aa56ace3594ecb257cac9dbaef2666665f3fb6dfd7a987cd2ea326f`
