AVID: Any-Length Video Inpainting with Diffusion Model
Authors:
Preprint
Abstract
Recent advances in diffusion models have successfully enabled text-guided image inpainting. While it seems straightforward to extend such editing capability into video domain, there has been fewer works regarding text-guided 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 level, 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 an 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 range, with high quality. More visualization results is made publicly available at https://zhang-zx.github.io/AVID/ .Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Negative-Prompt Inversion: Fast Image Inversion for Editing with Text-Guided Diffusion Models2025
- Grounding DINO: Marrying DINO with Grounded Pre-training for Open-Set Object Detection2024
- StyleGAN-Fusion: Diffusion Guided Domain Adaptation of Image Generators2024
- SVDiff: Compact Parameter Space for Diffusion Fine-Tuning2023
- FateZero: Fusing Attentions for Zero-shot Text-based Video Editing2023
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators2023
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation2023
- Imagic: Text-Based Real Image Editing with Diffusion Models2023
- More Control for Free! Image Synthesis with Semantic Diffusion Guidance2023
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation2022