InVi:利用现成扩散模型在视频中插入对象
InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models
AI总结:
本研究提出InVi方法,利用现成文本到图像潜在扩散模型,通过修复匹配两步流程和扩展注意力层,无需视频特定微调,实现视频中对象的可控插入与融合,提升帧间一致性,效果优于现有方法。
摘要:
我们提出了InVi,这是一种利用现成的文本到图像潜在扩散模型在视频中插入或替换对象(称为修复)的方法。与现有专注于整体风格重设或整个场景更改的视频编辑方法不同,InVi的目标是实现对象的可控操作并将其无缝融合到背景视频中。为实现这一目标,我们解决了两个关键挑战。首先,为实现高质量的控制与融合,我们采用了包含修复和匹配的两步流程。该流程首先使用基于ControlNet的修复扩散模型将对象插入单帧,然后以修复帧的特征作为锚点生成后续帧,以最小化背景与对象之间的域差距。其次,为确保时间一致性,我们将扩散模型的自注意力层替换为扩展注意力层。锚帧特征充当这些层的键和值,增强了帧间一致性。我们的方法无需针对视频进行特定微调,提供了一种高效且适应性强的解决方案。实验结果表明,InVi实现了逼真的对象插入,在帧间具有一致的融合效果和一致性,性能优于现有方法。
英文摘要:
We introduce InVi, an approach for inserting or replacing objects within videos (referred to as inpainting) using off-the-shelf, text-to-image latent diffusion models. InVi targets controlled manipulation of objects and blending them seamlessly into a background video unlike existing video editing methods that focus on comprehensive re-styling or entire scene alterations. To achieve this goal, we tackle two key challenges. Firstly, for high quality control and blending, we employ a two-step process involving inpainting and matching. This process begins with inserting the object into a single frame using a ControlNet-based inpainting diffusion model, and then generating subsequent frames conditioned on features from an inpainted frame as an anchor to minimize the domain gap between the background and the object. Secondly, to ensure temporal coherence, we replace the diffusion model's self-attention layers with extended-attention layers. The anchor frame features serve as the keys and values for these layers, enhancing consistency across frames. Our approach removes the need for video-specific fine-tuning, presenting an efficient and adaptable solution. Experimental results demonstrate that InVi achieves realistic object insertion with consistent blending and coherence across frames, outperforming existing methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。