InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models
<|reference_start|>InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models: We introduce InVi, an approach for inserting or replacing objects within videos (referred to as inpainting) using off-the-shelf, text-to-image latent diffusion models. InVi targets controlled manipulation of objects and blending them seamlessly into a background video unlike existing video editing methods that focus on comprehensive re-styling or entire scene alterations. To achieve this goal, we tackle two key challenges. Firstly, for high quality control and blending, we employ a two-step process involving inpainting and matching. This process begins with inserting the object into a single frame using a ControlNet-based inpainting diffusion model, and then generating subsequent frames conditioned on features from an inpainted frame as an anchor to minimize the domain gap between the background and the object. Secondly, to ensure temporal coherence, we replace the diffusion model's self-attention layers with extended-attention layers. The anchor frame features serve as the keys and values for these layers, enhancing consistency across frames. Our approach removes the need for video-specific fine-tuning, presenting an efficient and adaptable solution. Experimental results demonstrate that InVi achieves realistic object insertion with consistent blending and coherence across frames, outperforming existing methods.<|reference_end|>
@article{saini2024invi:,
    title={InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models},
    author={Nirat Saini, Navaneeth Bodla, Ashish Shrivastava, Avinash
  Ravichandran, Xiao Zhang, Abhinav Shrivastava, Bharat Singh},
    journal={arXiv preprint arXiv:2407.10958},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.10958},
    primaryClass={cs.CV}
}