Empty Latent Color JK๐
Empty Latent Color JK
- SD15
- SDXL
- SD3
- FLUX
Here's an honest one: Empty Latent Color JK is deprecated, and you should probably not build anything new on it. But if you've loaded an older JakeUpgrade workflow and found a node with no inputs that spits out four integers named SD15, SDXL, SD3, and FLUX, this is what it is - a lookup table for the "empty latent color" of each model family.
The concept is older than ComfyUI. A VAE encodes an image into latent space, but a flat, neutral color does not encode to a zero latent - it lands on some non-zero point that bakes a faint tint into everything decoded from it. People used this trick to seed img2img and inpainting from a colored base instead of noise, or to compute the right "empty" color to subtract. The four values this node returns are those per-architecture constants, packed as RGB integers:
- SD15 -
8548961(โ RGB 130,114,97, a warm gray) - SDXL -
9077127(โ RGB 138,129,135, a gray-violet) - SD3 -
9214099(โ RGB 140,152,147, a gray-green) - FLUX -
8618319(โ RGB 131,129,79, an olive)
Different numbers because different VAEs map their "neutral" latent point to different pixels. The outputs are plain INTs, so you'd historically feed one into a node that turns an RGB int into an image or into latent arithmetic.
Why it's deprecated: the workflows that needed this - the old noise-free/color-seeded starts - fell out of practice, and Jake marked it deprecated in the v2.x cleanup. Modern pipelines start from proper noise or use dedicated latent manipulation nodes; hard-coding a color for a model you might swap later is exactly the kind of brittle magic this node represents. If you're curious, keep it; if you're building, skip it.
Install (if you must): it's in ComfyUI-JakeUpgrade:
cd ComfyUI/custom_nodes
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
cd ComfyUI-JakeUpgrade
pip install -r requirements.txt
Or ComfyUI Manager โ "JakeUpgrade". Windows portable: install.bat or ../../../python_embeded/python.exe -s -m pip install -r requirements.txt. Restart.
Gotchas: the deprecated-flag dance applies to the extreme here. If a workflow references this node and it's missing from your node list, it's not one of the config-hidden deprecated set - this one still loads - so the more likely cause is you trimmed modules in config.ini (keep latent enabled). And the README's standing advice: disable ComfyUI MultiGPU on current ComfyUI to avoid CUDA errors. If a shared workflow is old enough to use this node, it may also expect the legacy frontend versions Jake maintains - check the pack's README notes on frontend versions before chasing bugs.
Inputs (0)
No inputs
Outputs (4)
| Name | Type | Description |
|---|---|---|
| SD15 | INT | โ |
| SDXL | INT | โ |
| SD3 | INT | โ |
| FLUX | INT | โ |