Abstract
Video editing increasingly demands the ability to incorporate specific real-world instances into existing footage, yet current approaches fundamentally fail to capture the unique visual characteristics of particular subjects and ensure natural instance/scene interactions. We formalize this overlooked yet critical editing paradigm as "Get-In-Video Editing", where users provide reference images to precisely specify visual elements they wish to incorporate into videos. Addressing this task's dual challenges, severe training data scarcity and technical challenges in maintaining spatiotemporal coherence, we introduce three key contributions. First, we develop GetIn-1M dataset created through our automated Recognize-Track-Erase pipeline. Second, we present GetInVideo, a novel end-to-end framework that leverages a diffusion transformer architecture with 3D full attention. Finally, we establish GetInBench, the first comprehensive benchmark for Get-In-Video Editing scenario.
Introduction
While AI-driven video generation and editing have seen significant progress, most existing tools are constrained by text-based prompts. Language is often insufficient for describing specific, unique objects—such as a personal pet or a specific product. This limitation has led to the emergence of "Get-In-Video Editing," a task where a specific object from a reference image is seamlessly integrated into a target video.
The primary obstacles in this field are twofold: the lack of large-scale, high-quality paired datasets and the difficulty of maintaining spatiotemporal coherence. An inserted object must not only look like the reference but also interact naturally with the scene's lighting, shadows, and perspective across all frames.
Methodology
The Recognize-Track-Erase Pipeline
To overcome data scarcity, the authors developed an automated pipeline to generate training pairs from existing videos. This "Recognize-Track-Erase" approach involves:
- Recognize: Identifying salient objects using vision-language models like NVILA and LLaMA-2.
- Track: Generating precise temporal masks using Grounding DINO and SAM2.
- Erase: Removing the identified object using video inpainting (ProPainter) to create a "background" video.
This process creates a self-supervised training signal: the model is tasked with re-inserting the original object into the inpainted background, using the original object's image as a reference.
The GetInVideo Framework
The core of the system is a Diffusion Transformer (DiT) architecture, specifically built upon CogVideoX-2B. Unlike previous methods that rely on complex external adapters, GetInVideo concatenates the reference image, condition video, and target masks directly in the latent space. This minimalist approach allows the model to leverage the strong generative priors of the base text-to-video model.
The use of 3D Full Attention is critical. It enables the model to simultaneously attend to spatial features from the reference image and temporal dynamics from the video, ensuring that the inserted object remains stable and consistent throughout the sequence.
Datasets and Benchmarking
The research introduces GetIn-1M, a massive dataset of 1 million video editing pairs sourced from public repositories. To evaluate performance, the authors also established GetInBench, a curated benchmark of 100 test cases covering single and multi-object insertions.
Experimental Results
GetInVideo demonstrates significant improvements over state-of-the-art baselines like AnyV2V and InstructPix2Pix.
- Temporal Consistency: The model achieved a Fréchet Video Distance (FVD) of 435.22, significantly lower than AnyV2V's 660.66, indicating much smoother motion.
- Identity Preservation: Using the DINO-I metric, GetInVideo scored 0.9267, outperforming the next best competitor (0.7738).
Qualitative analysis shows that the model excels at handling complex environmental interactions, such as realistic lighting on a capybara in a forest or the integration of a fantasy creature into a dynamic sky.
Conclusion
GetInVideo represents a major step forward in personalized video editing. By combining a massive, automatically generated dataset with a streamlined DiT architecture, the framework achieves unprecedented levels of identity preservation and temporal coherence. Future work will focus on extending video length and enabling more interactive control methods like point-based editing.
Summary updated