AVID: Any-Length Video Inpainting with Diffusion Model

Zhixing Zhang, Bichen Wu, Xiaoyan Wang, Yaqiao Luo, Luxin Zhang +4 more
2/14/2026

No official code found. Best implementation: zhang-zx/AVID (177 stars, MIT, last commit 2024-02-27).

Abstract

Recent advances in diffusion models have successfully enabled text-guided image inpainting. While it seems straightforward to extend such editing capability into the video domain, there have been fewer works regarding textguided video inpainting. Given a video, a masked region at its initial frame, and an editing prompt, it requires a model to do infilling at each frame following the editing guidance while keeping the out-of-mask region intact. There are three main challenges in text-guided video inpainting: (i) temporal consistency of the edited video, (ii) supporting different inpainting types at different structural fidelity levels, and (iii) dealing with variable video length. To address these challenges, we introduce Any-Length Video Inpainting with Diffusion Model, dubbed as AVID. At its core, our model is equipped with effective motion modules and adjustable structure guidance, for fixed-length video inpainting. Building on top of that, we propose a novel Temporal MultiDiffusion sampling pipeline with a middle-frame attention guidance mechanism, facilitating the generation of videos with any desired duration. Our comprehensive experiments show our model can robustly deal with various inpainting types at different video duration ranges, with high quality11More visualization results are made publicly available here.

View on arXivView PDF

Code Implementations(1)

zhang-zx/AVIDCommunity100%
MIT

This respository contains the code for the CVPR 2024 paper AVID: Any-Length Video Inpainting with Diffusion Model.

1771Dec 11, 20232 years agoMIT
diffusion-modelsinpaintingvideo

Similar Papers

Cite this paper

@article{zhang2026avid,
  title  = {AVID: Any-Length Video Inpainting with Diffusion Model},
  author = {Zhixing Zhang and Bichen Wu and Xiaoyan Wang and Yaqiao Luo and Luxin Zhang and Yinan Zhao and Péter Vajda and Dimitris N. Metaxas and Licheng Yu},
  year   = {2026},
  eprint = {2312.03816},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.03816},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.03816.svg)](https://codeofpaper.com/paper/2312.03816)

Discussion