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

# VAELoader - ComfyUI Built-in Node Documentation

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

此节点会检测位于 `ComfyUI/models/vae` 文件夹中的模型，同时也会读取 extra\_model\_paths.yaml 文件中配置的其他路径下的模型。有时，您可能需要**刷新 ComfyUI 界面**，以便它能够读取相应文件夹中的模型文件。

VAELoader 节点专为加载变分自编码器（VAE）模型而设计，特别适用于处理标准 VAE 和近似 VAE。它支持按名称加载 VAE，包括对 'taesd' 和 'taesdxl' 模型的特殊处理，并能根据 VAE 的具体配置动态调整。

## 输入

| 字段      | 描述                                                                      | Comfy 数据类型      |
| ------- | ----------------------------------------------------------------------- | --------------- |
| `vae名称` | 指定要加载的 VAE 名称，决定获取并加载哪个 VAE 模型，支持一系列预定义的 VAE 名称，包括 'taesd' 和 'taesdxl'。 | `COMBO[STRING]` |

## 输出

| 字段    | 描述                                              | 数据类型  |
| ----- | ----------------------------------------------- | ----- |
| `vae` | 返回已加载的 VAE 模型，可用于编码或解码等后续操作。输出是一个封装了已加载模型状态的对象。 | `VAE` |

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