English

Magic Insert: Style-Aware Drag-and-Drop

Computer Vision and Pattern Recognition 2024-07-03 v1 Artificial Intelligence Graphics Human-Computer Interaction Machine Learning

Abstract

We present Magic Insert, a method for dragging-and-dropping subjects from a user-provided image into a target image of a different style in a physically plausible manner while matching the style of the target image. This work formalizes the problem of style-aware drag-and-drop and presents a method for tackling it by addressing two sub-problems: style-aware personalization and realistic object insertion in stylized images. For style-aware personalization, our method first fine-tunes a pretrained text-to-image diffusion model using LoRA and learned text tokens on the subject image, and then infuses it with a CLIP representation of the target style. For object insertion, we use Bootstrapped Domain Adaption to adapt a domain-specific photorealistic object insertion model to the domain of diverse artistic styles. Overall, the method significantly outperforms traditional approaches such as inpainting. Finally, we present a dataset, SubjectPlop, to facilitate evaluation and future progress in this area. Project page: https://magicinsert.github.io/

Keywords

Cite

@article{arxiv.2407.02489,
  title  = {Magic Insert: Style-Aware Drag-and-Drop},
  author = {Nataniel Ruiz and Yuanzhen Li and Neal Wadhwa and Yael Pritch and Michael Rubinstein and David E. Jacobs and Shlomi Fruchter},
  journal= {arXiv preprint arXiv:2407.02489},
  year   = {2024}
}

Comments

Project page: https://magicinsert.github.io/

R2 v1 2026-06-28T17:26:57.112Z