Skip to content
Learn Motion
ExploreHow it worksMembership
Log in
Learn Motion

How Text-to-Video AI Works Under the Hood

1From Prompt to Conditioning Signal2Latent Diffusion: Generating Video in Compressed Space3Spatio-Temporal Attention: Keeping Frames Consistent4Where the Pipeline Breaks: Failure Modes and Their Causes
Spatio-Temporal Attention: Keeping Frames Consistent

Two Ways to Combine Space and Time

3 / 5
You can wire those two attentions together in more than one way. The common arrangement is factorized: run a spatial pass inside each frame, then a temporal pass down the stack. Two separate, cheaper operations.
0:00 / 0:00

Spatial and temporal attention can be arranged in two ways. Factorized attention runs them as separate passes: first each frame attends over its own patches, then each location attends over frames. Joint spatio-temporal attention instead lets every position attend to every other position across both space and time in a single operation. Joint attention can capture relationships that factorized attention misses, but its cost grows with the square of the total number of positions — frames multiplied by patches — so doubling the frame count roughly quadruples the work. Factorized attention keeps the two passes linear in their own dimension, which is why many video models use it.

References

  1. [1]Video Diffusion Modelsarxiv.org
Previous3 / 5Next

Learn Motion

Generate a course. Learn it properly.

Operated by Wuhan Daoyin Technology Co., Ltd.

Contact: [email protected]
Privacy PolicyTerms of Service

© 2026 Learn Motion