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

# StableCascade_EmptyLatentImage - ComfyUI Built-in Node Documentation

> StableCascadeEmptyLatentImage 节点为 Stable Cascade 模型创建空的 latent 张量。

`StableCascade_EmptyLatentImage` 节点为 Stable Cascade 模型创建空的 latent 张量。它会生成两个独立的 latent 表示——一个用于 stage C，另一个用于 stage B——并根据输入分辨率和压缩设置确定适当的维度。此节点为 Stable Cascade 生成流程提供起点。

## 输入

| 参数     | 描述                                               | 数据类型 | 必填 | 范围                     |
| ------ | ------------------------------------------------ | ---- | -- | ---------------------- |
| `宽度`   | 输出图像的宽度（以像素为单位）（默认值：1024，步长：8）                   | INT  | 是  | 256 to MAX\_RESOLUTION |
| `高度`   | 输出图像的高度（以像素为单位）（默认值：1024，步长：8）                   | INT  | 是  | 256 to MAX\_RESOLUTION |
| `压缩`   | 决定 stage C latent 维度的压缩因子（默认值：42，步长：1）。这是一个高级参数。 | INT  | 是  | 4 到 128                |
| `批量大小` | 一批中要生成的 latent 样本数量（默认值：1）                       | INT  | 否  | 1 到 4096               |

注意：`compression` 值控制 stage C 的 latent 尺寸：其高度和宽度分别为输入的 `height` 和 `width` 除以 `compression`。stage B 的 latent 始终使用固定压缩值 4。

## 输出

| 输出名称  | 描述                                                                                  | 数据类型   |
| ----- | ----------------------------------------------------------------------------------- | ------ |
| `阶段C` | stage C 的 latent 张量，维度为 \[batch\_size, 16, height//compression, width//compression] | LATENT |
| `阶段B` | stage B 的 latent 张量，维度为 \[batch\_size, 4, height//4, width//4]                      | LATENT |

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

***

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