Recently, diffusion-based methods have achieved great improvements in the video inpainting task. However, these methods still face many challenges, such as maintaining temporal consistency and the time-consuming issue. This paper proposes an advanced video inpainting framework using optical Flow-guided Efficient Diffusion, called FloED. Specifically, FloED employs a dual-branch architecture, where a flow branch first restores corrupted flow and a multi-scale flow adapter provides motion guidance to the main inpainting branch. Additionally, a training-free latent interpolation method is proposed to accelerate the multi-step denoising process using flow warping. Further introducing a flow attention cache mechanism, FLoED efficiently reduces the computational cost brought by incorporating optical flow. Comprehensive experiments in both background restoration and object removal tasks demonstrate that FloED outperforms state-of-the-art methods from the perspective of both performance and efficiency.
Our method employs a dual-branch architecture implemented through a two-stage training approach:
"Forest with a stream running through it." "Fire burning in a fireplace, with a log burning."
source
source
source
source
source
source
"A series of staircases, 8K."
"A living room with the white tall bookshelf."
"A body of sea with a setting sun.“
“Billowing dust and sandy terrain.”
“A green lake with sparkling surface.”
“A large outdoor area with a dirt track.”
source
source
source
source
source
source
source
“The golden lake surface at sunset.“
“The blue sky filled with huge clouds.“
“Sea waves crashing against the cliffs.“
“Water appers to be flowing with iced rock.“
“Large fire burning on logs in the fireplace.“
"Mist draping the mountains like snow.“
“Beautiful starry sky accompanied by a shooting star“
"Water appears to be flowing, the rock is covered in ice."
"A series of staircases, 8K."
VideoComposer
CoCoCo
Propainter
Ours
@article{gu2024advanced,
title={Advanced Video Inpainting Using Optical Flow-Guided Efficient Diffusion},
author={Gu, Bohai and Luo, Hao and Guo, Song and Dong, Peiran},
journal={arXiv preprint arXiv:2412.00857},
year={2024}
}