Abstract
We propose a unified approach for video-controlled generation, enabling text-based guidance and manual annotations to control the generation of videos, similar to camera direction guidance. Specifically, we designed a two-stage algorithm. In the first stage, we convert all control information into frame-by-frame motion flows. In the second stage, we use these motion flows as guidance to control the final video generation. Additionally, to reduce instability in the generated videos caused by large motion variations (such as those from camera movement, object motion, or manual inputs), which can result in flickering or the intermittent disappearance of objects, we transform the temporal feature computation in the video model into frequency-domain feature computation. This is because frequency-domain signals better capture the essential characteristics of an image, and by ensuring consistency in the video's frequency-domain features, we can enhance temporal coherence and reduce flickering in the final generated video.
Introduction
The field of AI video generation has seen remarkable progress with models like Sora, yet achieving precise control over both global camera movements and local object dynamics remains a significant hurdle. Current image-to-video (I2V) models often struggle with "modality conflict," where simultaneous instructions—such as a specific camera pan combined with a local object trajectory—lead to physical inconsistencies or temporal artifacts like flickering. AnimateAnything addresses these challenges by introducing a unified framework that translates diverse control signals into a common motion representation.
Methodology
AnimateAnything employs a two-stage pipeline that decouples motion planning from visual synthesis.
Unified Flow Generation
The first stage converts various control signals into a dense optical flow. User-provided "drags" or motion arrows are treated as explicit sparse points, which a Flow Generation Model (FGM) expands into a dense map. Simultaneously, camera trajectories are processed via a Camera Reference Model (CRM) using Plücker embeddings to predict global pixel shifts based on scene geometry.
Video Generation and Stabilization
The generated dense optical flow serves as a motion blueprint for a Video Diffusion Transformer based on the CogVideoX architecture. By providing a pre-calculated motion guide, the model can focus on rendering high-fidelity frames that strictly adhere to the intended movement. To mitigate flickering, the framework incorporates a Frequency Stabilization Module. By applying a Fast Fourier Transform (FFT) to attention weights, the model operates in the frequency domain to suppress high-frequency temporal noise, ensuring smoother transitions and better object permanence.
Results and Discussion
The model was trained on extensive datasets, including Real10K and DL3DV10K for motion priors, and WebVid10M and OpenVid for general video synthesis. Quantitative evaluations demonstrate that AnimateAnything significantly outperforms existing state-of-the-art models. On the WebVid10M benchmark, it achieved a Frechet Video Distance (FVD) of 380, compared to 470 for Pyramid-Flow and 685 for DynamiCrafter. Furthermore, the model reduced camera control errors by approximately 50% relative to methods like CameraCtrl.
Qualitative results highlight the framework's ability to maintain structural integrity and identity consistency even during complex animations, avoiding the "melting" or warping effects prevalent in previous approaches.
Conclusion
AnimateAnything provides a robust solution for controllable video generation by unifying motion signals into optical flow and stabilizing output through frequency-domain analysis. While the approach requires substantial computational resources and high-quality metadata for training, it sets a new standard for precision and consistency in the I2V domain. Future work will explore integrating additional control modalities such as audio and skeletal landmarks.
Summary updated