What Stable Video Diffusion is
Stable Video Diffusion (SVD) turns a still picture into a short clip. It is an image latent diffusion model made temporal: Stable Diffusion 2.1's U-Net with temporal convolution and attention layers inserted after every spatial one, trained on a large curated video dataset, and conditioned on the picture instead of a prompt.
The page records the image-to-video model on a 256 × 256 photo of a beagle: 14 frames from a 1,525 M-parameter U-Net, a 98 M VAE and a 632 M CLIP image encoder, in 25 Euler steps with seed 0. That is far below the 576 × 1024 it was trained at, which is why the first frames and the last break up.
Conditioning on the picture
The picture enters twice. The The picture panel shows the first route: CLIP ViT-H/14 reads a blurred 224-pixel copy and returns one 1,024-number embedding. It takes the place of the text in every cross-attention, spatial and temporal, as the only key and value. With a single key the softmax is 1, so each cross-attention adds the same projected vector at every pixel: it tells the network what the picture is, not where things are.
The Its latent on every frame panel shows the second: the picture, with Gaussian noise of standard deviation 0.02 added, is encoded by the VAE, and its latent is stacked onto every frame's noisy latent as 4 more input channels, 4 + 4 = 8. This carries the layout. The small noise augmentation keeps the model from copying the latent exactly; for guidance's second pass both the vector and the latent are replaced by zeros.
Frame rate, motion and augmentation
Three numbers about the clip are fed in as micro-conditioning: the frame rate (7 frames a second, passed as 6), a motion bucket (127) and the noise augmentation level (0.02). Each becomes a 256-wide sinusoid, the three are concatenated and passed through an MLP to 1,280 numbers, and the result is added to the timestep embedding, so every ResNet block sees them:
During training these numbers describe each training clip, so at sampling time they act as controls: a higher motion bucket asks for more movement. The Frame rate, motion, augmentation panel shows each sinusoid and the first numbers of the summed embedding.
The spatio-temporal U-Net
The 14 frames ride the batch axis: every spatial layer is the image model's, applied to each frame alone. After each one sits a temporal layer that mixes along the frames, and a learned scalar blends the two, as in Blattmann et al.'s Align your Latents:
- The Spatio-temporal ResNet block follows each ResNet block with a temporal one made of 3 × 1 × 1 convolutions, which read each pixel in the frame before, the frame itself and the frame after. Its rows show the block along all 14 frames; here .
- The Spatio-temporal transformer block follows spatial self-attention over each frame's pixels with a temporal twin: each pixel alone, with its frame index's embedding added, attends over the 14 frames, then cross-attends to the picture. Here ; the panel shows one frame's spatial attention, one pixel's 14 × 14 frame attention, and every pixel's frame attention averaged over heads.
Pick a block in the U-Net panel to see its own : the learned blend varies from block to block.
EDM sampling with v-prediction
SVD uses the EDM framework of Karras et al., with a noise schedule moved towards higher noise than the image model's. The latent is , and the network is wrapped in scalings of (with data standard deviation 1) so that it predicts a velocity :
Sampling takes 25 Euler steps of the probability-flow ODE, , on Karras levels from down to , spaced evenly in :
The first latent is noise × = 700.0. The EDM sampling panel lists the five numbers at the selected step, and the Sampling loop strip shows , the guided , and the decoded of all 14 frames at every step.
Guidance that grows over the frames
Classifier-free guidance runs the U-Net twice, with the picture and with zeros, and extrapolates. SVD uses a different scale for each frame, rising linearly from 1 on the first frame to 3 on the last:
The first frame is held close to the picture by its latent and needs no push; later frames drift further from it and get more. The SVD paper found it helpful to increase the scale linearly along the frames, from small to high. The Guidance panel shows , and the mix for the selected frame.
The temporal decoder, and where SVD came from
Decoding each frame alone with an image VAE ignores the other frames, so detail can flicker from one frame to the next. SVD's decoder decodes the final latents of all 14 frames together: its ResNet blocks mix in temporal blocks, and a last 3 × 1 × 1 convolution blends each frame's colours with its neighbours'. The Temporal VAE decoder card plays both decodes and plots the mean change from each frame to the next, together and alone.
Video Diffusion Models (Ho et al., 2022) first extended a diffusion U-Net to space and time. Align your Latents turned a pretrained image latent diffusion model into a video model by inserting temporal layers with a learned blend, and SVD scaled that recipe with systematic data curation. Later open video models replaced the U-Net with a transformer over space-time tokens: see the Wan, CogVideoX and LTX tabs.
Papers
- Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets The model this tab records: SD 2.1 with temporal layers, data curation, the EDM framework, image conditioning and frame-wise guidance.
- Align your Latents: High-Resolution Video Synthesis with Latent Diffusion Models Turns an image latent diffusion model into a video model with temporal layers blended in by a learned α, the design of SVD's U-Net.
- Elucidating the Design Space of Diffusion-Based Generative Models EDM: the σ-parametrised preconditioning, the Karras noise levels and the Euler sampler SVD uses.
- High-Resolution Image Synthesis with Latent Diffusion Models Latent diffusion: the VAE latent and the U-Net with cross-attention that SVD starts from (see the SD 1.5 tab).
- Learning Transferable Visual Models From Natural Language Supervision CLIP, the contrastive image–text model whose ViT-H/14 image embedding replaces the prompt in SVD.
- Video Diffusion Models The first diffusion U-Net factorised over space and time for video.
- Classifier-Free Diffusion Guidance Guidance by mixing a conditional and an unconditional pass, which SVD applies with a scale that grows over the frames.