Manuscript Offprint

arXiv:2608.25479

4DStreamCtrl: Interactive Video Generation with Online 4D Control

Shiqian Li, Chenguo Lin, Zhiguang Liu, Yu Tang, Jiarong Ou, Rui Chen, Yixin Zhu

Shiqian Li 1,2^{1,2}, Chenguo Lin 1^{1}, Zhiguang Liu 2^{2}, Yu Tang 2^{2}, Jiarong Ou 2^{2}, Rui Chen 2^{2}, Yixin Zhu 1^{1}, ⊗\otimes

1^{1} Peking University 2^{2} Tencent Hunyuan ⊗\otimes Corresponding author

https://4dstreamctrl.github.io/

(a) Motion transfer

Figure

(b) Joint 4D control

(c) Real-time streaming control

(d) Long-term video generation

Figure 1: Overview of 4DStreamCtrl capabilities. (a) Motion transfer. Given a source video (top row), we extract decomposed 4D representations of camera motion, human motion, and background structure (middle row), which transfer to a new scene via image style transfer while preserving the original 3D-consistent motion (bottom row). (b) Joint 4D control. 3D point tracks, camera parameters, and depth are unified into a single representation, enabling simultaneous control of camera and object motion. (c) Real-time streaming control. Users steer the generation with control signals (e.g., dragging objects) as the video streams. (d) Long-term video generation. Through causal autoregressive distillation, 4DStreamCtrl generates arbitrarily long, temporally coherent videos at a memory cost independent of length.

ABSTRACT

Generative video models now synthesize footage nearly indistinguishable from reality. Their promise as interactive tools hinges on fine-grained control of how objects and the camera move over time, yet each existing approach captures only part of this: camera-parameter methods steer the viewpoint but cannot move objects, 2D-trajectory methods act in the image plane and ignore depth and occlusion, and recent 3D methods add geometry but run only offline at a fixed length. In particular, none combines 3D-consistent control of both camera and objects with real-time, streaming generation. Here we show that camera motion, object trajectories, and depth can be unified into a single 3D point-track representation, from which one model performs joint camera and object control, depth editing, and motion transfer in a single forward pass. To learn this interface at scale, we mine in-the-wild video for 3D motion supervision, yielding OpenVidHD-Motion3D, and encode it with a lightweight Geometric Motion Head that plugs into a pretrained video diffusion model. Because this encoder is temporally separable, we distill the model into a causal streaming student that generates arbitrarily long video in four denoising steps at memory independent of length. This unified design surpasses prior camera-only, 2D, and offline-3D methods in motion-control precision while covering modalities they address only in isolation. 4DStreamCtrl runs at 20 FPS on a single high-end GPU for 480p video and stays temporally coherent over hundreds of frames, enabling, to our knowledge, interactive 4D-controllable streaming generation for the first time. More broadly, grounding generation in explicit 3D geometry with efficient causal inference points toward interactive world models with closed-loop spatiotemporal control, from controllable simulators to real-time visual imagination for embodied agents.

1 INTRODUCTION

The ultimate goal of controllable video generation is to give users precise command over how objects move, how the camera behaves, and how these dynamics evolve, all in real time. Diffusion-based video models have advanced rapidly (Ho et al., 2022; Peebles & Xie, 2023), and open-weight systems such as Wan (Wan et al., 2025) and HunyuanVideo (Kong et al., 2024) now produce footage of striking realism. Yet their dominant interface, natural language with an optional reference image, underspecifies motion: “the camera orbits the object while the cup slides left” admits many unintended renderings, leaving practitioners in “render-and-wait” loops (Kong et al., 2024; Wan et al., 2025; Gu et al., 2025; Lee et al., 2026). Work that injects explicit motion cues splits across two fronts that no method has united. The first is what the control signal can express: camera-parameter methods (He et al., 2024; Wang et al., 2024b) steer the viewpoint but cannot move objects; 2D-trajectory methods (Wu et al., 2024b; Geng et al., 2025; Teng et al., 2023; Li et al., 2025) add object drag but, confined to the image plane, cannot encode depth or occlusion and break under parallax; only recent 3D-aware methods (Gu et al., 2025; Wang et al., 2025) restore full geometry via 3D point tracks. The second is how generation runs: most of them, 3D-aware included (Gu et al., 2025; Lee et al., 2026), are offline and fixed-length, producing a clip in one slow pass with no way to respond mid-generation. Missing is a method complete on the first front and interactive on the second: 3D-consistent control of both camera and objects, delivered as a real-time, steerable stream.

These shortfalls share one cause: no motion representation is at once geometrically complete and incrementally constructible. We present 4DStreamCtrl, built on the insight that 3D point tracks and camera geometry can be unified into a single conditioning interface expressing object trajectories, camera motion, and depth together. Projecting camera extrinsics onto background point tracks and encoding per-point depth alongside spatial coordinates makes this interface subsume camera, object, and depth control as special cases of one 3D-track signal, resolving both fronts. For expressiveness, a signal that jointly carries geometry, per-track identity, and depth dispels the ambiguity that defeats image-plane methods, letting one model, in a single forward pass, perform joint camera and object manipulation, cross-subject motion transfer, and depth-aware editing. For interactivity, the same representation admits lossless segment-by-segment encoding, the property that makes streaming possible.

To learn this interface at scale, we build OpenVidHD-Motion3D, the first large-scale 3D motion dataset for in-the-wild video, by mining OpenVid-1M (Nan et al., 2025) and annotating it with SpatialTrackerV2 (Xiao et al., 2025); after filtering it retains roughly 0.4M clips, each with video up to 1080p, a 32×3232 \times 32 grid of 3D point tracks, and per-frame camera intrinsics and extrinsics. A lightweight Geometric Motion Head encodes each trajectory's coordinates (x,y,z)(x, y, z), a sinusoidal point-identity embedding, and monocular depth into dense features on the VAE latent grid, fused with noisy latents by channel concatenation before the Wan2.2 TI2V-5B DiT backbone (Wan et al., 2025). Because its scatter-add rasterization and strided Conv3D run independently per chunk, encoding one segment is bit-identical to encoding the full sequence, so the offline teacher and streaming model share one motion pathway with no architectural change.

Sharing the encoder is necessary but not sufficient: the teacher's 50-step bidirectional denoising sees the whole clip at once, making it slow and unable to honor signals that arrive mid-playback. We therefore distill it into a causal autoregressive student following the self-forcing (Huang et al., 2025) and DMD (Yin et al., 2024b;a) paradigm adapted to our 3D-track interface. The student replaces bidirectional with block-wise causal attention (Chen et al., 2024), keeps a fixed attention sink (Xiao et al., 2024) on the first-frame latents for global coherence and a local sliding window over recent chunks, and denoises each chunk in 4 steps, a 12.5×12.5\times reduction. With KV-cache reuse and memory independent of video length, it streams arbitrarily long 480p video at 20 FPS on a single high-end GPU: a user supplies an initial image and optional prompt, edits 3D trajectories on the fly, and the backend ingests the updated signals and returns decoded frames at interactive speed, closing the loop between human intent and generation for the first time in a 4D-controllable setting.

Extensive experiments show that 4DStreamCtrl attains state-of-the-art motion-control precision and 3D consistency, outperforming prior trajectory- and camera-conditioned methods (Wang et al., 2024b; Shin et al., 2026; Burgert et al., 2025; Gu et al., 2025; Wang et al., 2025; Li et al., 2025), while its streaming student sustains coherent 350-frame clips (14.6 s at 24 FPS) at memory independent of length. Our contributions are threefold:

• A unified 3D-track conditioning interface expressing camera motion, object trajectories, and depth as one signal, subsuming camera, object, and depth control and enabling joint control, cross-subject motion transfer, and depth-aware editing in a single forward pass.

• OpenVidHD-Motion3D, the first large-scale in-the-wild 3D motion dataset (roughly 0.4M clips with 3D tracks and per-frame camera parameters), with a lightweight, temporally separable Geometric Motion Head that injects these signals into a pretrained video diffusion backbone.

• A causal streaming distillation converting the 50-step teacher into a 4-step student with constant-memory, arbitrarily long generation, yielding, to our knowledge, the first real-time 4D-controllable interactive video generation on a single GPU.

References (43)

  • $π_0$: A Vision-Language-Action Flow Model for General Robot Control
  • Genie: Generative interactive environments
  • Go-with-the-flow: Motion-controllable video diffusion models using real-time warped noise
  • Diffusion forcing: Next-token prediction meets full-sequence diffusion
  • Learning universal policies via text-guided video generation
  • Controlling video generation with motion trajectories
  • Diffusion as shader: 3d-aware video diffusion for versatile video generation control
  • Recurrent world models facilitate policy evolution
  • Cameractrl: Enabling camera control for text-to-video generation (opens arXiv in a new tab)
  • Video diffusion models
  • Lora: Low-rank adaptation of large language models
  • Difftaichi: Differentiable programming for physical simulation
  • Self forcing: Bridging the train-test gap in autoregressive video diffusion
  • Cotracker3: Simpler and better point tracking by pseudo-labelling real videos
  • Videopoet: A large language model for zero-shot video generation
  • HunyuanVideo: A Systematic Framework For Large Video Generative Models
  • Generative video motion editing with 3d point tracks
  • Image conductor: Precision control for interactive video synthesis
  • Learning particle dynamics for manipulating rigid bodies, deformable objects, and fluids
  • Openvid-1m: A large-scale high-quality dataset for text-to-video generation
  • Scalable diffusion models with transformers
  • A benchmark dataset and evaluation methodology for video object segmentation
  • Progressive distillation for fast sampling of diffusion models
  • Structure-from-motion revisited
  • Mvdream: Multi-view diffusion for 3d generation
  • Motionstream: Real-time video generation with interactive motion controls
  • Drag-a-video: Non-rigid video editing with point-based interaction (opens arXiv in a new tab)
  • Wan: Open and Advanced Large-Scale Video Generative Models
  • Ati: Any trajectory instruction for controllable video generation (opens arXiv in a new tab)
  • Dust3r: Geometric 3d vision made easy
  • Motionctrl: A unified and flexible motion controller for video generation
  • 4d gaussian splatting for real-time dynamic scene rendering
  • Draganything: Motion control for anything using entity representation
  • Efficient streaming language models with attention sinks
  • Spatialtrackerv2: 3d point tracking made easy
  • Learning interactive real-world simulators
  • Improved distribution matching distillation for fast image synthesis
  • One-step diffusion with distribution matching distillation
  • From slow bidirectional to fast autoregressive video diffusion models
  • Metric3d: Towards zero-shot metric 3d prediction from a single image
  • Magvit: Masked generative video transformer
  • The unreasonable effectiveness of deep features as a perceptual metric
  • H2o: Heavy-hitter oracle for efficient generative inference of large language models