MotionStream: Real-Time Video Generation with Interactive Motion Controls
Joonghyuk Shin, Zhengqi Li, Richard Zhang, Jun-Yan Zhu, Jaesik Park, Eli Shechtman, Xun Huang
TL;DR
The paper introduces MotionStream, a streaming autoregressive framework for motion-conditioned video generation that achieves sub-second latency and real-time interactivity by distilling a bidirectional motion-controlled teacher into a causal student. Central to the approach are attention sink mechanisms and rolling KV caches that enable stable, infinite-length generation, along with Self Forcing-style distribution matching distillation and joint text-motion guidance to preserve both trajectory fidelity and natural dynamics. A lightweight track-head and a Tiny VAE accelerate inference, delivering up to 29 FPS on a single GPU while maintaining state-of-the-art motion transfer and camera control performance. Extensive ablations illuminate the importance of track encoding, guidance fusion, and sparse attention settings for long-horizon stability. The work enables interactive use cases like motion transfer, drag-based controls, and real-time camera manipulation, representing a significant step toward open-domain, real-time video generation.
Abstract
Current motion-conditioned video generation methods suffer from prohibitive latency (minutes per video) and non-causal processing that prevents real-time interaction. We present MotionStream, enabling sub-second latency with up to 29 FPS streaming generation on a single GPU. Our approach begins by augmenting a text-to-video model with motion control, which generates high-quality videos that adhere to the global text prompt and local motion guidance, but does not perform inference on the fly. As such, we distill this bidirectional teacher into a causal student through Self Forcing with Distribution Matching Distillation, enabling real-time streaming inference. Several key challenges arise when generating videos of long, potentially infinite time-horizons -- (1) bridging the domain gap from training on finite length and extrapolating to infinite horizons, (2) sustaining high quality by preventing error accumulation, and (3) maintaining fast inference, without incurring growth in computational cost due to increasing context windows. A key to our approach is introducing carefully designed sliding-window causal attention, combined with attention sinks. By incorporating self-rollout with attention sinks and KV cache rolling during training, we properly simulate inference-time extrapolations with a fixed context window, enabling constant-speed generation of arbitrarily long videos. Our models achieve state-of-the-art results in motion following and video quality while being two orders of magnitude faster, uniquely enabling infinite-length streaming. With MotionStream, users can paint trajectories, control cameras, or transfer motion, and see results unfold in real-time, delivering a truly interactive experience.
