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

# StableCascade_StageC_VAEEncode - ComfyUI Built-in Node Documentation

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

StableCascade\_StageC\_VAEEncode 节点通过 VAE 编码器处理图像，为 Stable Cascade 模型生成潜在表示。它接收输入图像，使用指定的 VAE 模型进行压缩，然后输出两个潜在表示：一个用于阶段 C，另一个作为阶段 B 的占位符。压缩参数控制编码前图像缩小的程度。

## 输入

| 参数    | 描述                    | 数据类型  | 是否必填 | 范围    |
| ----- | --------------------- | ----- | ---- | ----- |
| `图像`  | 要编码到潜在空间的输入图像         | IMAGE | 是    | -     |
| `vae` | 用于编码图像的 VAE 模型        | VAE   | 是    | -     |
| `压缩`  | 编码前应用于图像的压缩因子（默认值：42） | INT   | 否    | 4-128 |

## 输出

| 输出名称      | 描述                            | 数据类型   |
| --------- | ----------------------------- | ------ |
| `阶段B`     | Stable Cascade 模型阶段 C 的编码潜在表示 | LATENT |
| `stage_b` | 阶段 B 的占位潜在表示（当前返回零值）          | LATENT |

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

***

**Source fingerprint (SHA-256):** `e7b9bd83d263903567ab06c00324575e01b79b50881fa807cd6f006955935c63`
