An encoder compresses an image into a much smaller grid of numbers — the latent — that a decoder can reconstruct back into pixels. "Latent diffusion" models run the whole noise-to-image process inside that compressed space rather than on pixels, decoding to pixels only once at the very end, which is far cheaper than running the full process at full resolution.
Points that are close together in this space tend to decode into visually related images. So moving in a straight line between two latent vectors (interpolating) produces a smooth in-between image rather than a jarring cut — this is where morphing animations between two generated images come from.
The space is not really a "2D map," though — it has hundreds or thousands of dimensions. Closeness there is also not guaranteed to always track semantic similarity, so interpolation does not always land on a smooth, plausible result.
The demo below flattens the real latent space onto just two axes purely for visualization — four fixed concepts anchor the corners, and a point moving between them drives a weighted blend of color and shape, a procedural simulation, not the actual space.
When to use
Useful for morphing smoothly between two results, or exploring "somewhere between this concept and that one." For precise control, an explicit conditioning method like ControlNet fits better.