SwapAnything: Enabling Arbitrary Object Swapping in Personalized Visual Editing
Not on the map. Why?
Abstract (arXiv)
Effective editing of personal content holds a pivotal role in enabling individuals to express their creativity, weaving captivating narratives within their visual stories, and elevate the overall quality and impact of their visual content. Therefore, in this work, we introduce SwapAnything, a novel framework that can swap any objects in an image with personalized concepts given by the reference, while keeping the context unchanged. Compared with existing methods for personalized subject swapping, SwapAnything has three unique advantages: (1) precise control of arbitrary objects and parts rather than the main subject, (2) more faithful preservation of context pixels, (3) better adaptation of the personalized concept to the image. First, we propose targeted variable swapping to apply region control over latent feature maps and swap masked variables for faithful context preservation and initial semantic concept swapping. Then, we introduce appearance adaptation, to seamlessly adapt the semantic concept into the original image in terms of target location, shape, style, and content during the image generation process. Extensive results on both human and automatic evaluation demonstrate significant improvements of our approach over baseline methods on personalized swapping. Furthermore, SwapAnything shows its precise and faithful swapping abilities across single object, multiple objects, partial object, and cross-domain swapping tasks. SwapAnything also achieves great performance on text-based swapping and tasks beyond swapping such as object insertion.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 46 of its 49 references that are in the map. First posted on arXiv 8 Apr 2024.
Builds on
46 of 49 references.
References · 46
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2023Segment Anythingcited by 8,234
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
34 more
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
- 2022Null-text Inversion for Editing Real Images using Guided Diffusion Modelscited by 1,179
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
- 2018Multimodal Unsupervised Image-to-Image Translationcited by 795
- 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 781
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
- 2022Paint by Example: Exemplar-based Image Editing with Diffusion Modelscited by 489
- 2023BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editingcited by 442
- 2024InstantID: Zero-shot Identity-Preserving Generation in Secondscited by 436
- 2022Blended Latent Diffusioncited by 432
- 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesiscited by 388
- 2023InstantBooth: Personalized Text-to-Image Generation without Test-Time Finetuningcited by 345
- 2023Diffusion Self-Guidance for Controllable Image Generationcited by 305
- 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
- 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 212
- 2023Key-Locked Rank One Editing for Text-to-Image Personalizationcited by 194
- 2021StyTr2: Image Style Transfer with Transformerscited by 187
- 2022ReCo: Region-Controlled Text-to-Image Generationcited by 179
- 2021AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfercited by 178
- 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Modelscited by 142
- 2017Visual Attribute Transfer through Deep Image Analogycited by 123
- 2023Taming Encoder for Zero Fine-tuning Image Customization with Text-to-Image Diffusion Modelscited by 117
- 2020Cross-domain Correspondence Learning for Exemplar-based Image Translationcited by 116
- 2023DisenBooth: Identity-Preserving Disentangled Tuning for Subject-Driven Text-to-Image Generationcited by 75
- 2023VideoSwap: Customized Video Subject Swapping with Interactive Semantic Point Correspondencecited by 69
- 2023Custom-Edit: Text-Guided Image Editing with Customized Diffusion Modelscited by 54
- 2023Photoswap: Personalized Subject Swapping in Imagescited by 47
- 2022SceneComposer: Any-Level Semantic Image Synthesiscited by 43
- 2023DreamEdit: Subject-driven Image Editingcited by 37
- 2021High-Resolution Complex Scene Synthesis with Transformerscited by 31
- 2019Example-Guided Style Consistent Image Synthesis from Semantic Labelingcited by 29
- 2023LIME: Localized Image Editing via Attention Regularization in Diffusion Modelscited by 27
- 2022MIDMs: Matching Interleaved Diffusion Models for Exemplar-based Image Translationcited by 22
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 5.
13 papers.
Sort:
By area:
- 2024Zero-shot Image Editing with Reference Imitationcited by 65
- 2025Multi-turn Consistent Image Editingcited by 18
- 2024FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusioncited by 12
- 2025In-Context Brush: Zero-shot Customized Subject Insertion with Context-Aware Latent Space Manipulationcited by 7
- 2026StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image Referencescited by 2
- 2024Layout-and-Retouch: A Dual-stage Framework for Improving Diversity in Personalized Image Generationcited by 1
- 2026LooseRoPE: Content-aware Attention Manipulation for Semantic Harmonizationcited by 1
- 2026Towards Source-Aware Object Swapping with Initial Noise Perturbationcited by 1
- 2026MoKus: Leveraging Cross-Modal Knowledge Transfer for Knowledge-Aware Concept Customizationcited by 1
- 2025Single Image Iterative Subject-driven Generation and Editingcited by 0
- 2025PartStickers: Generating Parts of Objects for Rapid Prototypingcited by 0
- 2025SPG: Style-Prompting Guidance for Style-Specific Content Creationcited by 0
- 2026AlbumFill: Album-Guided Reasoning and Retrieval for Personalized Image Completion4 May 2026
- 2026MoKus: Leveraging Cross-Modal Knowledge Transfer for Knowledge-Aware Concept Customization13 Mar 2026
- 2026StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image References11 Mar 2026
- 2026Towards Source-Aware Object Swapping with Initial Noise Perturbation27 Feb 2026
- 2026LooseRoPE: Content-aware Attention Manipulation for Semantic Harmonization8 Jan 2026
- 2025SPG: Style-Prompting Guidance for Style-Specific Content Creation15 Aug 2025
- 2025In-Context Brush: Zero-shot Customized Subject Insertion with Context-Aware Latent Space Manipulation26 May 2025
- 2025Multi-turn Consistent Image Editing7 May 2025
- 2025PartStickers: Generating Parts of Objects for Rapid Prototyping7 Apr 2025
- 2025Single Image Iterative Subject-driven Generation and Editing20 Mar 2025
- 2024FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion27 Nov 2024
- 2024Layout-and-Retouch: A Dual-stage Framework for Improving Diversity in Personalized Image Generation13 Jul 2024
1 more
- 2024Zero-shot Image Editing with Reference Imitation11 Jun 2024
- 2024FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusioncited by 12
- 2025In-Context Brush: Zero-shot Customized Subject Insertion with Context-Aware Latent Space Manipulationcited by 7
- 2026StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image Referencescited by 2
- 2026LooseRoPE: Content-aware Attention Manipulation for Semantic Harmonizationcited by 1
- 2025SPG: Style-Prompting Guidance for Style-Specific Content Creationcited by 0
- 2026StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image References11 Mar 2026
- 2026LooseRoPE: Content-aware Attention Manipulation for Semantic Harmonization8 Jan 2026
- 2025SPG: Style-Prompting Guidance for Style-Specific Content Creation15 Aug 2025
- 2025In-Context Brush: Zero-shot Customized Subject Insertion with Context-Aware Latent Space Manipulation26 May 2025
- 2024FAM Diffusion: Frequency and Attention Modulation for High-Resolution Image Generation with Stable Diffusion27 Nov 2024
- 2024Zero-shot Image Editing with Reference Imitationcited by 65
- 2025Multi-turn Consistent Image Editingcited by 18
- 2024Layout-and-Retouch: A Dual-stage Framework for Improving Diversity in Personalized Image Generationcited by 1
- 2026Towards Source-Aware Object Swapping with Initial Noise Perturbationcited by 1
- 2026MoKus: Leveraging Cross-Modal Knowledge Transfer for Knowledge-Aware Concept Customizationcited by 1
- 2025Single Image Iterative Subject-driven Generation and Editingcited by 0
- 2025PartStickers: Generating Parts of Objects for Rapid Prototypingcited by 0
- 2026AlbumFill: Album-Guided Reasoning and Retrieval for Personalized Image Completioncited by 0
- 2026AlbumFill: Album-Guided Reasoning and Retrieval for Personalized Image Completion4 May 2026
- 2026MoKus: Leveraging Cross-Modal Knowledge Transfer for Knowledge-Aware Concept Customization13 Mar 2026
- 2026Towards Source-Aware Object Swapping with Initial Noise Perturbation27 Feb 2026
- 2025Multi-turn Consistent Image Editing7 May 2025
- 2025PartStickers: Generating Parts of Objects for Rapid Prototyping7 Apr 2025
- 2025Single Image Iterative Subject-driven Generation and Editing20 Mar 2025
- 2024Layout-and-Retouch: A Dual-stage Framework for Improving Diversity in Personalized Image Generation13 Jul 2024
- 2024Zero-shot Image Editing with Reference Imitation11 Jun 2024