FramePainter: Endowing Interactive Image Editing with Video Diffusion Priors

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Yabo, Zhou, Xinpeng, Zeng, Yihan, Xu, Hang, Li, Hui, Zuo, Wangmeng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913649584504832
author Zhang, Yabo
Zhou, Xinpeng
Zeng, Yihan
Xu, Hang
Li, Hui
Zuo, Wangmeng
author_facet Zhang, Yabo
Zhou, Xinpeng
Zeng, Yihan
Xu, Hang
Li, Hui
Zuo, Wangmeng
contents Interactive image editing allows users to modify images through visual interaction operations such as drawing, clicking, and dragging. Existing methods construct such supervision signals from videos, as they capture how objects change with various physical interactions. However, these models are usually built upon text-to-image diffusion models, so necessitate (i) massive training samples and (ii) an additional reference encoder to learn real-world dynamics and visual consistency. In this paper, we reformulate this task as an image-to-video generation problem, so that inherit powerful video diffusion priors to reduce training costs and ensure temporal consistency. Specifically, we introduce FramePainter as an efficient instantiation of this formulation. Initialized with Stable Video Diffusion, it only uses a lightweight sparse control encoder to inject editing signals. Considering the limitations of temporal attention in handling large motion between two frames, we further propose matching attention to enlarge the receptive field while encouraging dense correspondence between edited and source image tokens. We highlight the effectiveness and efficiency of FramePainter across various of editing signals: it domainantly outperforms previous state-of-the-art methods with far less training data, achieving highly seamless and coherent editing of images, \eg, automatically adjust the reflection of the cup. Moreover, FramePainter also exhibits exceptional generalization in scenarios not present in real-world videos, \eg, transform the clownfish into shark-like shape. Our code will be available at https://github.com/YBYBZhang/FramePainter.
format Preprint
id arxiv_https___arxiv_org_abs_2501_08225
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FramePainter: Endowing Interactive Image Editing with Video Diffusion Priors
Zhang, Yabo
Zhou, Xinpeng
Zeng, Yihan
Xu, Hang
Li, Hui
Zuo, Wangmeng
Computer Vision and Pattern Recognition
Interactive image editing allows users to modify images through visual interaction operations such as drawing, clicking, and dragging. Existing methods construct such supervision signals from videos, as they capture how objects change with various physical interactions. However, these models are usually built upon text-to-image diffusion models, so necessitate (i) massive training samples and (ii) an additional reference encoder to learn real-world dynamics and visual consistency. In this paper, we reformulate this task as an image-to-video generation problem, so that inherit powerful video diffusion priors to reduce training costs and ensure temporal consistency. Specifically, we introduce FramePainter as an efficient instantiation of this formulation. Initialized with Stable Video Diffusion, it only uses a lightweight sparse control encoder to inject editing signals. Considering the limitations of temporal attention in handling large motion between two frames, we further propose matching attention to enlarge the receptive field while encouraging dense correspondence between edited and source image tokens. We highlight the effectiveness and efficiency of FramePainter across various of editing signals: it domainantly outperforms previous state-of-the-art methods with far less training data, achieving highly seamless and coherent editing of images, \eg, automatically adjust the reflection of the cup. Moreover, FramePainter also exhibits exceptional generalization in scenarios not present in real-world videos, \eg, transform the clownfish into shark-like shape. Our code will be available at https://github.com/YBYBZhang/FramePainter.
title FramePainter: Endowing Interactive Image Editing with Video Diffusion Priors
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2501.08225