> ## 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.

# TextEncodeQwenImageEdit - ComfyUI Built-in Node Documentation

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

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

TextEncodeQwenImageEdit 节点处理文本提示词和可选图像，以生成用于图像生成或编辑的条件数据。它使用 CLIP 模型对输入进行标记化，并可以选择性地使用 VAE 对参考图像进行编码以创建参考潜在表示。当提供图像时，它会自动调整图像尺寸以保持一致的处理维度。

## 输入参数

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

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

## 输出结果

| 输出名称           | 数据类型         | 描述                          |
| -------------- | ------------ | --------------------------- |
| `CONDITIONING` | CONDITIONING | 包含文本标记和可选参考潜在表示的条件数据，用于图像生成 |
