Style Aligned Image Generation via Shared Attention

Amir Hertz, Andrey Voynov, Shlomi Fruchter, D. Cohen-Or
2/14/2026

No official code found. Best implementation: google/style-aligned (1,316 stars, Apache-2.0, last commit 2023-12-29).

Abstract

Large-scale Text-to-Image (T2I) models have rapidly gained prominence across creative fields, generating visu- ally compelling outputs from textual prompts. However, controlling these models to ensure consistent style remains challenging, with existing methods necessitating fine-tuning and manual intervention to disentangle content and style. In this paper, we introduce StyleAligned, a novel technique de- signed to establish style alignment among a series of gener- ated images. By employing minimal ‘attention sharing’ during the diffusion process, our method maintains style con- sistency across images within T2I models. This approach allows for the creation of style-consistent images using a reference style through a straightforward inversion operation. Our method's evaluation across diverse styles and text prompts demonstrates high-quality synthesis and fidelity, underscoring its efficacy in achieving consistent style across various inputs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code for "Style Aligned Image Generation via Shared Attention"

1,31696Python, Jupyter NotebookNov 20, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{hertz2026style,
  title  = {Style Aligned Image Generation via Shared Attention},
  author = {Amir Hertz and Andrey Voynov and Shlomi Fruchter and D. Cohen-Or},
  year   = {2026},
  eprint = {2312.02133},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.02133},
  journal = {CVPR 2023 2023}
}

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/2312.02133.svg)](https://codeofpaper.com/paper/2312.02133)

Discussion