🤖 AI Summary
Video relighting and background replacement suffer from temporal inconsistency, spatial distortion, and unnatural illumination. To address these challenges, this paper proposes a training-free, end-to-end video editing framework. First, a residual-corrected optical flow mechanism is introduced to ensure lossless reconstruction under input consistency while preserving temporal coherence. Second, a decoupled conditional control scheme with foreground masking is employed to separately govern foreground relighting and background generation. Third, high-frequency information transfer is integrated to enhance detail fidelity and illumination realism. The method achieves significant improvements in temporal consistency, structural fidelity, and illumination naturalness—without requiring fine-tuning—while maintaining high computational efficiency. It generalizes robustly across diverse scenes and lighting conditions.
📝 Abstract
Video relighting with background replacement is a challenging task critical for applications in film production and creative media. Existing methods struggle to balance temporal consistency, spatial fidelity, and illumination naturalness. To address these issues, we introduce FlowPortal, a novel training-free flow-based video relighting framework. Our core innovation is a Residual-Corrected Flow mechanism that transforms a standard flow-based model into an editing model, guaranteeing perfect reconstruction when input conditions are identical and enabling faithful relighting when they differ, resulting in high structural consistency. This is further enhanced by a Decoupled Condition Design for precise lighting control and a High-Frequency Transfer mechanism for detail preservation. Additionally, a masking strategy isolates foreground relighting from background pure generation process. Experiments demonstrate that FlowPortal achieves superior performance in temporal coherence, structural preservation, and lighting realism, while maintaining high efficiency. Project Page: https://gaowenshuo.github.io/FlowPortalProject/.