Skip to content

Latent Space & LATENT Pin

The compressed 8× smaller tensor representation where diffusion sampling happens before VAE decoding.

Updated Oct 17, 2026 · 1 min read

At a glanceGlossary
Term
Latent Space & LATENT Pin
In Short
The compressed 8× smaller tensor representation where diffusion sampling happens before VAE decoding.
Applies To
ComfyUI SD 1.5, SDXL, Flux & Video

Definition: Latent Space & LATENT Pin

The compressed 8× smaller tensor representation where diffusion sampling happens before VAE decoding.

Instead of denoising millions of raw RGB pixels, Stable Diffusion and Flux operate on a compact latent tensor produced by EmptyLatentImage or VAE Encode. The pink LATENT wire carries this tensor between KSampler nodes.

How to tune this in your ComfyUI workflow

Every parameter in ComfyUI is exposed directly on its node rather than hidden behind global settings tabs. You can inspect or override this behavior per pass in ComfyUI Studio.

New to node graphs? Grab the Windows installer at /download and open a built-in template from the workflow menu.

FAQs

What does Latent Space & LATENT Pin do in ComfyUI?

The compressed 8× smaller tensor representation where diffusion sampling happens before VAE decoding. Instead of denoising millions of raw RGB pixels, Stable Diffusion and Flux operate on a compact latent tensor produced by EmptyLatentImage or VAE Encode. The pink LATENT wire carries this tensor between KSampler nodes.

Where do I adjust this setting on the canvas?

Check the corresponding loader or KSampler widget in your active workflow graph.

Run on your hardware. Free forever.

The full ComfyUI engine: open source, fast, extensible, and yours to run however you want. Download the desktop app and open this workflow on your own machine.

Inflatable figure in a green jacket seated among vintage computers, generated in ComfyUI