Model
Trends
.ai
Model
Trends
.ai
de bästa AI-modellerna med öppen källkod

Noden Empty Latent Image i ComfyUI

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.
Nodpaket: ComfyUI core
Kategori: Latent
Den här sidan har inte översatts ännu, så den visas på engelska.

Vad Empty Latent Image gör

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.

Ingångar

Namn
Typ
Vad det är
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.

Utgångar

Namn
Typ
Vad det är
LATENT
LATENT
The empty latent for KSampler latent_image.
AD
Hoppa över installationen: ComfyUI-arbetsflöden förinstallerade i molnet
BitVector kör färdiga ComfyUI-arbetsflöden på sina egna GPU:er. Ingen installation, inga saknade noder, inga röda rutor. Öppna det på telefonen eller datorn och generera inom en minut.

Så använder du Empty Latent Image

  1. Add Empty Latent Image.
  2. Set width and height for the model family (1024x1024 for SDXL).
  3. Set batch_size 1 while testing, higher once the prompt works.
  4. Connect LATENT to KSampler latent_image and keep denoise at 1.0.

Inställningar och tips

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

Felsökning av Empty Latent Image

Flux / SD3 / Wan produce garbage with this node

Varför det händer
Those models use 16-channel latents; Empty Latent Image makes the 4-channel SD latent.

Så löser du det
Replace it with EmptySD3LatentImage (Flux, SD3, Qwen) or the Wan / Hunyuan empty video latent nodes.

Two heads, duplicated people or tiling patterns

Varför det händer
The canvas is much larger than the training resolution, so the model composes several images in one.

Så löser du det
Generate at the native size and upscale with a latent or pixel hires pass.

Error: height and width must be divisible by 8

Varför det händer
A size like 1000x700 was entered.

Så löser du det
Use multiples of 8, ideally 64 (1024, 960, 896, 832, 768).

Out of memory with a batch

Varför det händer
batch_size multiplies the memory the sampler needs.

Så löser du det
Lower batch_size and queue several runs instead.

AD
Kör detta arbetsflöde från telefonen
Varje arbetsflöde på den här sidan är förinstallerat på BitVector med sina modeller och anpassade noder. Välj, skriv en prompt, klart. Noll installation, inget att ladda ner.

Frågor om 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.

Relaterade noder

AD
Trött på att laga noder? Låt molnet göra det
BitVector håller hundratals ComfyUI-arbetsflöden installerade, uppdaterade och testade på snabba moln-GPU:er. Ingen Python, inga CUDA-fel, inga VRAM-gränser. Fungerar från vilken webbläsare som helst.

Fler ComfyUI-noder

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.