Model
Trends
.ai
Model
Trends
.ai
model AI open source terbaik

Node Empty Latent Image di 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.
Paket node: ComfyUI core
Kategori: Latent
Halaman ini belum diterjemahkan, jadi ditampilkan dalam bahasa Inggris.

Apa yang dilakukan 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.

Input

Nama
Tipe
Artinya
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.

Output

Nama
Tipe
Artinya
LATENT
LATENT
The empty latent for KSampler latent_image.
AD
Lewati penyiapan: workflow ComfyUI sudah terpasang di cloud
BitVector menjalankan workflow ComfyUI siap pakai di GPU miliknya sendiri. Tanpa instalasi, tanpa node hilang, tanpa kotak merah. Buka di ponsel atau laptop dan hasilkan dalam semenit.

Cara menggunakan 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.

Pengaturan dan 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.

Pemecahan masalah Empty Latent Image

Flux / SD3 / Wan produce garbage with this node

Mengapa terjadi
Those models use 16-channel latents; Empty Latent Image makes the 4-channel SD latent.

Cara memperbaikinya
Replace it with EmptySD3LatentImage (Flux, SD3, Qwen) or the Wan / Hunyuan empty video latent nodes.

Two heads, duplicated people or tiling patterns

Mengapa terjadi
The canvas is much larger than the training resolution, so the model composes several images in one.

Cara memperbaikinya
Generate at the native size and upscale with a latent or pixel hires pass.

Error: height and width must be divisible by 8

Mengapa terjadi
A size like 1000x700 was entered.

Cara memperbaikinya
Use multiples of 8, ideally 64 (1024, 960, 896, 832, 768).

Out of memory with a batch

Mengapa terjadi
batch_size multiplies the memory the sampler needs.

Cara memperbaikinya
Lower batch_size and queue several runs instead.

AD
Jalankan workflow ini dari ponsel Anda
Setiap workflow di halaman ini sudah terpasang di BitVector lengkap dengan model dan node kustomnya. Pilih satu, ketik prompt, selesai. Nol penyiapan, tidak ada yang perlu diunduh.

Pertanyaan tentang 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.

Node terkait

AD
Lelah memperbaiki node? Biarkan cloud yang mengerjakan
BitVector menjaga ratusan workflow ComfyUI tetap terpasang, terbaru, dan teruji di GPU cloud yang cepat. Tanpa Python, tanpa error CUDA, tanpa batas VRAM. Bisa dari browser apa pun.

Node ComfyUI lainnya

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.