---
title: "Latent Space & LATENT Pin — ComfyUI Glossary & Node Definition"
description: "The compressed 8× smaller tensor representation where diffusion sampling happens before VAE decoding. Learn how Latent Space & LATENT Pin works inside ComfyUI node workflows on Windows."
canonical: https://comfy.ink/words/latent-space
updated: 2026-10-17
---

# Latent Space & LATENT Pin

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

## Facts (2026-10-17)

- **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](https://comfy.ink/studio).

New to node graphs? Grab the Windows installer at [/download](https://comfy.ink/download) and open a built-in template from the workflow menu.

## FAQ

### 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](https://comfy.ink/nodes/ksampler) widget in your active workflow graph.

## Related

- [ComfyUI Glossary](https://comfy.ink/words)
- [KSampler & KSampler (Advanced)](https://comfy.ink/nodes/ksampler)
- [ComfyUI Studio Workspace](https://comfy.ink/studio)
- [ComfyUI VRAM Requirements for SDXL, Flux & Video (6GB–24GB)](https://comfy.ink/guides/comfyui-vram-requirements-guide)
- [CFG Scale (Classifier-Free Guidance)](https://comfy.ink/words/cfg-scale)

## Download

Free desktop app: [Download Comfy](https://comfy.ink/download)

Markdown mirror: https://comfy.ink/words/latent-space.md
