The latent video is a four-dimensional tensor: frames, channels, height, and width. The frame axis is the temporal dimension — how many latent frames the clip contains, which after decoding becomes the number of visible frames. The channel axis holds the learned feature dimensions the VAE chose to represent the video. Height and width are the spatial dimensions of each latent frame, smaller than the pixel resolution by the VAE's compression factor. Every denoising step operates on this whole tensor, so the denoiser sees all frames and all spatial positions together. When the loop finishes, the VAE decoder expands the tensor back into pixel frames.
How Text-to-Video AI Works Under the Hood
Latent Diffusion: Generating Video in Compressed Space
The Shape of the Latent
5 / 5
So what is actually inside that latent cube the whole loop has been sharpening? It is a four-dimensional tensor, and each axis means something specific.
0:00 / 0:00