OmniPSD: Layered PSD Generation with Diffusion Transformer
Cheng Liu, Yiren Song, Haofan Wang, Mike Zheng Shou
TL;DR
OmniPSD presents a unified diffusion-transformer framework for layered PSD generation and decomposition with explicit alpha-channel handling. It introduces a shared RGBA-VAE latent space and two task-specific branches (text-to-PSD and image-to-PSD) within the Flux ecosystem, enabling in-context learning and iterative editing. A large Layered Poster Dataset supports training and evaluation, and extensive experiments show high fidelity, structural coherence, and accurate transparency in editable PSD outputs. The work establishes a new paradigm for design-aware, layered graphic generation and reconstruction using diffusion transformers.
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 image-to-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, progressively extracting and erasing textual and foreground components to reconstruct editable PSD layers from a single flattened image. An RGBA-VAE is employed as an auxiliary representation module to preserve transparency without affecting structure learning. Extensive experiments on our new RGBA-layered dataset demonstrate that OmniPSD achieves high-fidelity generation, structural consistency, and transparency awareness, offering a new paradigm for layered design generation and decomposition with diffusion transformers.
