InstantStyle-Plus: Style Transfer with Content-Preserving in Text-to-Image Generation

Haofan Wang, Peng Xing, Renyuan Huang, Hao Ai, Qixun Wang +1 more
6/30/2024
cs.CV

Official code: instantX-research/InstantStyle-Plus (156 stars, last commit 2024-07-17).

Abstract

Style transfer is an inventive process designed to create an image that maintains the essence of the original while embracing the visual style of another. Although diffusion models have demonstrated impressive generative power in personalized subject-driven or style-driven applications, existing state-of-the-art methods still encounter difficulties in achieving a seamless balance between content preservation and style enhancement. For example, amplifying the style's influence can often undermine the structural integrity of the content. To address these challenges, we deconstruct the style transfer task into three core elements: 1) Style, focusing on the image's aesthetic characteristics; 2) Spatial Structure, concerning the geometric arrangement and composition of visual elements; and 3) Semantic Content, which captures the conceptual meaning of the image. Guided by these principles, we introduce InstantStyle-Plus, an approach that prioritizes the integrity of the original content while seamlessly integrating the target style. Specifically, our method accomplishes style injection through an efficient, lightweight process, utilizing the cutting-edge InstantStyle framework. To reinforce the content preservation, we initiate the process with an inverted content latent noise and a versatile plug-and-play tile ControlNet for preserving the original image's intrinsic layout. We also incorporate a global semantic adapter to enhance the semantic content's fidelity. To safeguard against the dilution of style information, a style extractor is employed as discriminator for providing supplementary style guidance. Codes will be available at https://github.com/instantX-research/InstantStyle-Plus.

View on arXivView PDF

Code Implementations(1)

InstantStyle-Plus: Style Transfer with Content-Preserving in Text-to-Image Generation 🔥

1567PythonMay 27, 20242 years ago

Similar Papers

Cite this paper

@article{wang2024instantstyleplus,
  title  = {InstantStyle-Plus: Style Transfer with Content-Preserving in Text-to-Image Generation},
  author = {Haofan Wang and Peng Xing and Renyuan Huang and Hao Ai and Qixun Wang and Xu Bai},
  year   = {2024},
  eprint = {2407.00788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.00788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.00788.svg)](https://codeofpaper.com/paper/2407.00788)

Discussion