RealCraft: Attention Control as A Tool for Zero-Shot Consistent Video Editing
Shutong Jin, Ruiyu Wang, Florian T. Pokorny
TL;DR
RealCraft tackles zero-shot real-video editing by introducing an attention-control pipeline that requires no extra inputs or model fine-tuning. It swaps cross-attention maps for editing prompts (CrossBlender) and relaxes spatial-temporal attention in feature-heavy areas (SpatialBlender), enabling significant shape edits with strong temporal coherence across up to 64 frames, implemented within a latent-diffusion framework using DDIM inversion. The approach leverages latent diffusion models with a deterministic inversion and a two-step attention-control loop, guided by a parameter-free process and a fixed editing prompt. Quantitative and qualitative evaluations against six baselines demonstrate improved editing fidelity, background transformation, and pose preservation, highlighting RealCraft’s practical impact for edit-centric video applications. The method paves the way for robust, prompt-driven editing of real videos and suggests future extensions to multi-modal guidance for broader control over object motion and semantics.
Abstract
Even though large-scale text-to-image generative models show promising performance in synthesizing high-quality images, applying these models directly to image editing remains a significant challenge. This challenge is further amplified in video editing due to the additional dimension of time. This is especially the case for editing real-world videos as it necessitates maintaining a stable structural layout across frames while executing localized edits without disrupting the existing content. In this paper, we propose RealCraft, an attention-control-based method for zero-shot real-world video editing. By swapping cross-attention for new feature injection and relaxing spatial-temporal attention of the editing object, we achieve localized shape-wise edit along with enhanced temporal consistency. Our model directly uses Stable Diffusion and operates without the need for additional information. We showcase the proposed zero-shot attention-control-based method across a range of videos, demonstrating shape-wise, time-consistent and parameter-free editing in videos of up to 64 frames.
