LOVECon: Text-driven Training-Free Long Video Editing with ControlNet
Zhenyi Liao, Zhijie Deng
TL;DR
LOVECon presents a training-free, text-driven approach for long video editing by operating on windowed segments and enforcing global coherence through cross-window attention, while preserving source content via DDIM inversion-guided latent fusion and reducing frame flicker with a frame interpolation model. Built on pre-trained Stable Diffusion and ControlNet, it introduces a practical pipeline with a four-frame cross-window context, a mask-based latent fusion mechanism, and dual-stage interpolation to handle hundreds of frames efficiently. Empirical results on object attribute edits, style transfer, and background replacement show improved fidelity and temporal consistency over baselines, with strong performance in long sequences (up to 128 frames). The work enables accessible, training-free long video editing while highlighting limitations related to shape changes and content-motion complexity, pointing to avenues for enhanced temporal robustness and broader editing capabilities.
Abstract
Leveraging pre-trained conditional diffusion models for video editing without further tuning has gained increasing attention due to its promise in film production, advertising, etc. Yet, seminal works in this line fall short in generation length, temporal coherence, or fidelity to the source video. This paper aims to bridge the gap, establishing a simple and effective baseline for training-free diffusion model-based long video editing. As suggested by prior arts, we build the pipeline upon ControlNet, which excels at various image editing tasks based on text prompts. To break down the length constraints caused by limited computational memory, we split the long video into consecutive windows and develop a novel cross-window attention mechanism to ensure the consistency of global style and maximize the smoothness among windows. To achieve more accurate control, we extract the information from the source video via DDIM inversion and integrate the outcomes into the latent states of the generations. We also incorporate a video frame interpolation model to mitigate the frame-level flickering issue. Extensive empirical studies verify the superior efficacy of our method over competing baselines across scenarios, including the replacement of the attributes of foreground objects, style transfer, and background replacement. Besides, our method manages to edit videos comprising hundreds of frames according to user requirements. Our project is open-sourced and the project page is at https://github.com/zhijie-group/LOVECon.
