ComfyUI 中的 Empty Latent Image 节点
Empty Latent Image creates the blank latent canvas (width, height, batch_size) that text-to-image sampling starts from; dimensions must be multiples of 8 and match the model family.
节点包:ComfyUI core
分类:潜空间
此页面尚未翻译,因此以英文显示。
Empty Latent Image 的作用
Text-to-image needs a starting point. Empty Latent Image produces a latent tensor filled with zeros at the requested size, and KSampler adds the noise. Latent space is 8 times smaller than pixels for SD models, so a 1024x1024 image is a 128x128 latent; the node takes pixel sizes and divides for you.
Pick sizes the model was trained on: 512x512 or 512x768 for SD 1.5, 1024x1024 / 832x1216 / 1216x832 for SDXL, Pony and Illustrious. Larger first-pass sizes cause duplicated subjects; use a hires pass for more pixels. For Flux, SD3 and video models use EmptySD3LatentImage or the family-specific latent node, which has a different channel count.
输入
名称 | 类型 | 含义 |
|---|---|---|
width | INT | Image width in pixels, multiple of 8 (64 recommended). |
height | INT | Image height in pixels, multiple of 8. |
batch_size | INT | How many images to make in one run with consecutive seeds. |
输出
名称 | 类型 | 含义 |
|---|---|---|
LATENT | LATENT | The empty latent for KSampler latent_image. |
AD

跳过安装:云端预装的 ComfyUI 工作流
BitVector 在自家 GPU 上运行现成的 ComfyUI 工作流。无需安装,没有缺失节点,没有红框。用手机或笔记本打开,一分钟出图。
如何使用 Empty Latent Image
- Add Empty Latent Image.
- Set width and height for the model family (1024x1024 for SDXL).
- Set batch_size 1 while testing, higher once the prompt works.
- Connect LATENT to KSampler latent_image and keep denoise at 1.0.
设置与技巧
- SDXL sweet spots: 1024x1024, 896x1152, 832x1216, 1152x896, 1216x832, 1344x768.
- SD 1.5 above 768 on the long side tends to double heads and bodies; upscale afterwards instead.
- batch_size 4 is a cheap way to explore seeds; VRAM scales with it.
- Width and height that are not multiples of 8 are rounded down.
Empty Latent Image 故障排查
Flux / SD3 / Wan produce garbage with this node
原因
Those models use 16-channel latents; Empty Latent Image makes the 4-channel SD latent.
修复方法
Replace it with EmptySD3LatentImage (Flux, SD3, Qwen) or the Wan / Hunyuan empty video latent nodes.
Two heads, duplicated people or tiling patterns
原因
The canvas is much larger than the training resolution, so the model composes several images in one.
修复方法
Generate at the native size and upscale with a latent or pixel hires pass.
Error: height and width must be divisible by 8
原因
A size like 1000x700 was entered.
修复方法
Use multiples of 8, ideally 64 (1024, 960, 896, 832, 768).
Out of memory with a batch
原因
batch_size multiplies the memory the sampler needs.
修复方法
Lower batch_size and queue several runs instead.
关于 Empty Latent Image 的问题
Can I make non-square images?
Yes, any aspect ratio within the model comfort zone. Keep the pixel count near the training size.
What does batch_size do to the seed?
Each image in the batch uses the base seed plus its index.
相关节点
KSampler
ComfyUI core
KSampler runs the denoising loop: it takes the model, prompts and a latent and produces the finished latent image, controlled by seed, steps, cfg, sampler, scheduler and denoise.
EmptySD3LatentImage
ComfyUI core
EmptySD3LatentImage creates the 16-channel empty latent that Flux, SD3 and SD3.5 need; it replaces Empty Latent Image in those workflows.
Upscale Latent and Upscale Latent By
ComfyUI core
Upscale Latent resizes a latent to a new size (or by a factor) so a second KSampler can add detail at higher resolution: the classic hires fix.
VAE Decode
ComfyUI core
VAE Decode converts the sampled LATENT into a pixel IMAGE with the VAE; VAE Decode (Tiled) does the same in tiles for very large images.
AD

修节点修累了?交给云端
BitVector 在高速云 GPU 上维护着数百个 ComfyUI 工作流,已安装、已更新、已测试。没有 Python,没有 CUDA 报错,没有显存限制。任何浏览器都能用。
更多 ComfyUI 节点
CLIP Text Encode (Prompt)
ComfyUI core
CLIP Text Encode turns a text prompt into CONDITIONING using the model text encoder. One node holds the positive prompt, a second one the negative prompt.
ComfyUI Manager
ComfyUI-Manager
ComfyUI Manager is the extension that installs, updates and fixes custom node packs and models from inside the interface, resolves missing nodes in imported workflows and snapshots your setup.
Load Checkpoint
ComfyUI core
Load Checkpoint (CheckpointLoaderSimple) opens a .safetensors or .ckpt model file and hands out the three parts every workflow needs: the diffusion MODEL, the CLIP text encoder and the VAE.
Save Image
ComfyUI core
Save Image writes the IMAGE tensor to ComfyUI/output as a PNG, with the whole workflow embedded in the file metadata so the picture can be dragged back into ComfyUI to restore the graph.
Load Image
ComfyUI core
Load Image reads a picture from the ComfyUI input folder (or an upload) and outputs an IMAGE tensor plus a MASK taken from the alpha channel, the starting point for img2img, inpainting, ControlNet and IP-Adapter graphs.
Load LoRA
ComfyUI core
Load LoRA (LoraLoader) applies a LoRA file to the MODEL and CLIP with separate strengths, so a style, character or concept can be added to any checkpoint without merging.

Model
Trends
.ai
© ModelTrends.ai
|
日本制造
|
© 2026