> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-matt-router-pricing-pika-and-guard.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 模型创建空的潜空间张量。

StableCascade\_EmptyLatentImage 节点为 Stable Cascade 模型创建空的潜空间张量。它生成两个独立的潜空间表示——一个用于 stage C，另一个用于 stage B——其维度根据输入分辨率和压缩设置计算。此节点为 Stable Cascade 生成流程提供起点。

## 输入

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

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

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `stage_c` | 具有维度 \[batch\_size, 16, height//compression, width//compression] 的 stage C 潜空间张量 | LATENT |
| `stage_b` | 具有维度 \[batch\_size, 4, height//4, width//4] 的 stage B 潜空间张量 | 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`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.