Text2Layer: Layered Image Generation using Latent Diffusion Model

Authors: Xinyang Zhang, Wentian Zhao, Xin Lu, Jeff Chien

Submitted to arXiv on 19 Jul. 2023
License: CC BY 4.0
Abstract

Layer compositing is one of the most popular image editing workflows among both amateurs and professionals. Motivated by the success of diffusion models, we explore layer compositing from a layered image generation perspective. Instead of generating an image, we propose to generate background, foreground, layer mask, and the composed image simultaneously. To achieve layered image generation, we train an autoencoder that is able to reconstruct layered images and train diffusion models on the latent representation. One benefit of the proposed problem is to enable better compositing workflows in addition to the high-quality image output. Another benefit is producing higher-quality layer masks compared to masks produced by a separate step of image segmentation. Experimental results show that the proposed method is able to generate high-quality layered images and initiates a benchmark for future work.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Cites this paper Uses this paper in depth
    LayerDiff: Exploring Text-guided Multi-layered Composable Image Synthesis via Layer-Collaborative Diffusion Model
    Runhu Huang, Kaixin Cai, Jian-Hua Han et al. · 2024 · European Conference on Computer Vision · cited 30 times · Not summarized yet
    Abstract

    Despite the success of generating high-quality images given any text prompts by diffusion-based generative models, prior works directly generate the entire images, but cannot provide object-wise manipulation capability. To support wider real applications like professional graphic design and digital artistry, images are frequently created and manipulated in multiple layers to offer greater flexibility and control. Therefore in this paper, we propose a layer-collaborative diffusion model, named LayerDiff, specifically designed for text-guided, multi-layered, composable image synthesis. The composable image consists of a background layer, a set of foreground layers, and associated mask layers f…

  2. Very close
    LayerFusion: Harmonized Multi-Layer Text-to-Image Generation with Generative Priors
    Yusuf Dalva, Yi-Jun Li, Qing Liu et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 21 times · Not summarized yet
    Abstract

    Large-scale diffusion models have achieved remarkable success in generating high-quality images from textual descriptions, gaining popularity across various applications. However, the generation of layered content, such as transparent images with foreground and background layers, remains an under-explored area. Layered content generation is crucial for creative workflows in fields like graphic design, animation, and digital art, where layer-based approaches are fundamental for flexible editing and composition. In this paper, we propose a novel image generation pipeline based on Latent Diffusion Models (LDMs) that generates images with two layers: a foreground layer (RGBA) with transparency i…

  3. Very close Cites this paper
    DreamLayer: Simultaneous Multi-Layer Generation via Diffusion Model
    Jun-Jia Huang, Peng-Xiang Yan, Jin Cai et al. · 2025 · IEEE International Conference on Computer Vision · cited 23 times · Not summarized yet
    Abstract

    Text-driven image generation using diffusion models has recently gained significant attention. To enable more flexible image manipulation and editing, recent research has expanded from single image generation to transparent layer generation and multi-layer compositions. However, existing approaches often fail to provide a thorough exploration of multi-layer structures, leading to inconsistent inter-layer interactions, such as occlusion relationships, spatial layout, and shadowing. In this paper, we introduce DreamLayer, a novel framework that enables coherent text-driven generation of multiple image layers, by explicitly modeling the relationship between transparent foreground and background…

  4. Very close
    LayerDiffusion: Layered Controlled Image Editing with Diffusion Models
    Pengzhi Li, Qinxuan Huang, Yikang Ding et al. · 2023 · SIGGRAPH Asia Technical Communications · cited 56 times · Not summarized yet
    Abstract

    Text-guided image editing has recently experienced rapid development. However, simultaneously performing multiple editing actions on a single image, such as background replacement and specific subject attribute changes, while maintaining consistency between the subject and the background remains challenging. In this paper, we propose LayerDiffusion, a semantic-based layered controlled image editing method. Our method enables non-rigid editing and attribute modification of specific subjects while preserving their unique characteristics and seamlessly integrating them into new backgrounds. We leverage a large-scale text-to-image model and employ a layered controlled optimization strategy combi…

  5. Very close Cites this paper
    Transparent Image Layer Diffusion using Latent Transparency
    Lvmin Zhang, Maneesh Agrawala · 2024 · ACM Transactions on Graphics · cited 146 times · Not summarized yet
    Abstract

    We present an approach enabling large-scale pretrained latent diffusion models to generate transparent images. The method allows generation of single transparent images or of multiple transparent layers. The method learns a "latent transparency" that encodes alpha channel transparency into the latent manifold of a pretrained latent diffusion model. It preserves the production-ready quality of the large diffusion model by regulating the added transparency as a latent offset with minimal changes to the original latent distribution of the pretrained model. In this way, any latent diffusion model can be converted into a transparent image generator by finetuning it with the adjusted latent space.…

  6. Very close
    LatentPS: Image Editing Using Latent Representations in Diffusion Models
    Zilong Wu, Hideki Murata, Nayu Takahashi et al. · 2025 · 2025 IEEE/CVF Winter Conference on Applications of Computer Vision Workshops (WACVW) · cited 4 times · Not summarized yet
    Abstract

    Generative image models have significantly advanced recently, enabling detailed image generation from textual prompts. However, accurately describing complex image with textual prompts alone is often challenging. To address this, we propose LatentPS, a novel method for image editing that modifies latent representations during the intermediate stages of the diffusion process. LatentPS leverages the properties of the diffusion process to maintain the structure of synthesized images while editing images through simple operations on latent representations directly. We show that LatentPS achieves promising results in various image editing tasks including moving, resizing and pasting.

  7. Very close Cites this paper
    PSDiffusion: Harmonized Multi-Layer Image Generation via Layout and Appearance Alignment
    Di Huang, Wen-Bo Li, Yi-Fei Zhao et al. · 2025 · IEEE Workshop/Winter Conference on Applications of Computer Vision · cited 16 times · Not summarized yet
    Abstract

    Transparent image layer generation plays a significant role in digital art and design workflows. Existing methods typically decompose transparent layers from a single RGB image using a set of tools or generate multiple transparent layers sequentially. Despite some promising results, these methods often limit their ability to model global layout, physically plausible interactions, and visual effects such as shadows and reflections with high alpha quality due to limited shared global context among layers. To address this issue, we propose PSDiffusion, a unified diffusion framework that leverages image composition priors from pre-trained image diffusion model for simultaneous multi-layer text-t…

  8. Very close Cites this paper
    OmniPSD: Layered Psd Generation with Diffusion Transformer
    Cheng Liu, Yi-Ren Song, Hao-Fan Wang et al. · 2025 · 2026 IEEE/CVF Conference on Computer Vision and Pattern Recognition- FINDINGS Track (CVPRF) · cited 11 times · Not summarized yet
    Abstract

    Recent advances in diffusion models have greatly improved image generation and editing, yet generating or reconstructing layered PSD files with transparent alpha channels remains highly challenging. We propose OmniPSD, a unified diffusion framework built upon the Flux ecosystem that enables both text-to-PSD generation and imageto-PSD decomposition through in-context learning. For text-to-PSD generation, OmniPSD arranges multiple target layers spatially into a single canvas and learns their compositional relationships through spatial attention, producing semantically coherent and hierarchically structured layers. For image-to-PSD decomposition, it performs iterative in-context editing-progres…

Prior work it builds on

  1. Close A method it uses
    Blended Diffusion for Text-driven Editing of Natural Images
    Omri Avrahami, D. Lischinski, Ohad Fried · 2021 · Computer Vision and Pattern Recognition · cited 1,373 times · Not summarized yet
    Abstract

    Natural language offers a highly intuitive interface for image editing. In this paper, we introduce the first solution for performing local (region-based) edits in generic natural images, based on a natural language description along with an ROI mask. We achieve our goal by leveraging and combining a pretrained language-image model (CLIP), to steer the edit towards a user-provided text prompt, with a denoising diffusion probabilistic model (DDPM) to generate natural-looking results. To seamlessly fuse the edited region with the unchanged parts of the image, we spatially blend noised versions of the input image with the local text-guided diffusion latent at a progression of noise levels. In a…

  2. Related Used in depth by this paper
    Denoising Diffusion Probabilistic Models
    Jonathan Ho, Ajay Jain, Pieter Abbeel · 2020 · Machine Learning · cited 37,492 times · AI summary available
    Abstract

    We present high quality image synthesis results using diffusion probabilistic models, a class of latent variable models inspired by considerations from nonequilibrium thermodynamics. Our best results are obtained by training on a weighted variational bound designed according to a novel connection between diffusion probabilistic models and denoising score matching with Langevin dynamics, and our models naturally admit a progressive lossy decompression scheme that can be interpreted as a generalization of autoregressive decoding. On the unconditional CIFAR10 dataset, we obtain an Inception score of 9.46 and a state-of-the-art FID score of 3.17. On 256x256 LSUN, we obtain sample quality similar…

  3. Related A method it uses
    DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation
    Gwanghyun Kim, Taesung Kwon, Jong-Chul Ye · 2021 · Computer Vision and Pattern Recognition · cited 948 times · Not summarized yet
    Abstract

    Recently, GAN inversion methods combined with Contrastive Language-Image Pretraining (CLIP) enables zeroshot image manipulation guided by text prompts. However, their applications to diverse real images are still difficult due to the limited GAN inversion capability. Specifically, these approaches often have difficulties in reconstructing images with novel poses, views, and highly variable contents compared to the training data, altering object identity, or producing unwanted image artifacts. To mitigate these problems and enable faithful manipulation of real images, we propose a novel method, dubbed DiffusionCLIP, that performs textdriven image manipulation using diffusion models. Based on …

  4. Related Used in depth by this paper A method it uses
    Denoising Diffusion Implicit Models
    Jiaming Song, Chenlin Meng, Stefano Ermon · 2020 · International Conference on Learning Representations · cited 14,360 times · Not summarized yet
    Abstract

    Denoising diffusion probabilistic models (DDPMs) have achieved high quality image generation without adversarial training, yet they require simulating a Markov chain for many steps to produce a sample. To accelerate sampling, we present denoising diffusion implicit models (DDIMs), a more efficient class of iterative implicit probabilistic models with the same training procedure as DDPMs. In DDPMs, the generative process is defined as the reverse of a Markovian diffusion process. We construct a class of non-Markovian diffusion processes that lead to the same training objective, but whose reverse process can be much faster to sample from. We empirically demonstrate that DDIMs can produce high …

  5. Related Used in depth by this paper A method it uses
    DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
    Nataniel Ruiz, Yuanzhen Li, Varun Jampani et al. · 2022 · Computer Vision and Pattern Recognition · cited 4,709 times · AI summary available
    Abstract

    Large text-to-image models achieved a remarkable leap in the evolution of AI, enabling high-quality and diverse synthesis of images from a given text prompt. However, these models lack the ability to mimic the appearance of subjects in a given reference set and synthesize novel renditions of them in different contexts. In this work, we present a new approach for “personalization” of text-to-image diffusion models. Given as input just a few images of a subject, we fine-tune a pretrained text-to-image model such that it learns to bind a unique identifier with that specific subject. Once the subject is embedded in the output domain of the model, the unique identifier can be used to synthesize n…

Papers that cite it

  1. Close
    Qwen-Image-Layered: Towards Inherent Editability via Layer Decomposition
    Sheng-Ming Yin, Ze-Kai Zhang, Ze-Cheng Tang et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 37 times · Not summarized yet
    Abstract

    Recent visual generative models often struggle with consistency during image editing due to the entangled nature of raster images, where all visual content is fused into a single canvas. In contrast, professional design tools employ layered representations, allowing isolated edits while preserving consistency. Motivated by this, we propose \textbf{Qwen-Image-Layered}, an end-to-end diffusion model that decomposes a single RGB image into multiple semantically disentangled RGBA layers, enabling \textbf{inherent editability}, where each RGBA layer can be independently manipulated without affecting other content. To support variable-length decomposition, we introduce three key components: (1) an…

  2. Close
    MagicQuillV2: Precise and Interactive Image Editing with Layered Visual Cues
    Zi-Chen Liu, Yue Yu, Hao Ouyang et al. · 2025 · Computer Vision and Pattern Recognition · cited 5 times · Not summarized yet
    Abstract

    We propose MagicQuill V2, a novel system that introduces a \textbf{layered composition} paradigm to generative image editing, bridging the gap between the semantic power of diffusion models and the granular control of traditional graphics software. While diffusion transformers excel at holistic generation, their use of singular, monolithic prompts fails to disentangle distinct user intentions for content, position, and appearance. To overcome this, our method deconstructs creative intent into a stack of controllable visual cues: a content layer for what to create, a spatial layer for where to place it, a structural layer for how it is shaped, and a color layer for its palette. Our technical …

  3. Close
    LiWi: Layering in the Wild
    Yu He, Fangya Li, Hao-Yang Tong et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet
    Abstract

    Recent advances in generative models have empowered impressive layered image generation, yet their success is largely confined to graphic design domains. The layering of in-the-wild images remains an underexplored problem, limiting fine-grained editing and applications of images in real-world scenarios. Specifically, challenges remain in scalable layered data and the modeling of object interaction in natural images, such as illumination effects and structural boundary. To address these bottlenecks, we propose a novel framework for high-fidelity natural image decomposition. First, we introduce an Agent-driven Data Decomposition (ADD) pipeline that orchestrates agents and tools to synthesize l…

  4. Close
    TAUE: Training-Free Noise Transplant and Cultivation Diffusion Model
    D. Nagai, Ryugo Morita, Shunsuke Kitada et al. · 2025 · 2026 IEEE/CVF Conference on Computer Vision and Pattern Recognition- FINDINGS Track (CVPRF) · cited 3 times · Not summarized yet
    Abstract

    Despite the remarkable success of text-to-image diffusion models, their output of a single, flattened image remains a critical bottleneck for professional applications requiring layer-wise control. Existing solutions either rely on finetuning with large, inaccessible datasets or are training-free yet limited to generating isolated foreground elements, failing to produce a complete and coherent scene. To address this, we introduce the Training-free Noise Transplantation and Cultivation Diffusion Model (TAUE), a novel framework for layer-wise image generation that requires neither fine-tuning nor additional data. TAUE embeds global structural information from intermediate denoising latents int…

  5. Close
    Generating Compositional Scenes via Text-to-image RGBA Instance Generation
    Alessandro Fontanella, Petru-Daniel Tudosiu, Yong-Xin Yang et al. · 2024 · Neural Information Processing Systems · cited 14 times · Not summarized yet
    Abstract

    Text-to-image diffusion generative models can generate high quality images at the cost of tedious prompt engineering. Controllability can be improved by introducing layout conditioning, however existing methods lack layout editing ability and fine-grained control over object attributes. The concept of multi-layer generation holds great potential to address these limitations, however generating image instances concurrently to scene composition limits control over fine-grained object attributes, relative positioning in 3D space and scene manipulation abilities. In this work, we propose a novel multi-stage generation paradigm that is designed for fine-grained control, flexibility and interactiv…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 5 November 2026.

The illustrated guide to the papers around a paper