# lllyasviel/sd-forge-layerdiffuse

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lllyasviel-sd-forge-layerdiffuse).**

4,114 stars · 352 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/lllyasviel/sd-forge-layerdiffuse
- awesome-repositories: https://awesome-repositories.com/repository/lllyasviel-sd-forge-layerdiffuse.md

## Description

This project is a Stable Diffusion WebUI extension for the Forge interface that implements a latent layer diffusion model. It serves as an AI transparent image generator designed to produce images with alpha channels, allowing for the automatic separation of foreground elements from their backgrounds.

The software enables the generation of compatible foreground and background layers that can be composited for post-production editing. It supports the creation of transparent foregrounds based on a provided background, the generation of backgrounds to fit an existing transparent foreground, and the simultaneous production of foreground, background, and blended images.

## Tags

### Graphics & Multimedia

- [Latent Transparency Generation](https://awesome-repositories.com/f/graphics-multimedia/image-transparency-support/latent-transparency-generation.md) — Creates images with latent transparency to automatically produce separate foreground and background layers. ([source](https://github.com/lllyasviel/sd-forge-layerdiffuse#readme))
- [Generative Layer Compositing](https://awesome-repositories.com/f/graphics-multimedia/generative-layer-compositing.md) — Simultaneously produces foreground, background, and blended images through a generative layer compositing process. ([source](https://github.com/lllyasviel/sd-forge-layerdiffuse#readme))
- [Foreground Layer Generation](https://awesome-repositories.com/f/graphics-multimedia/generative-layer-compositing/foreground-layer-generation.md) — Produces transparent foreground layers designed to blend naturally with provided background images. ([source](https://github.com/lllyasviel/sd-forge-layerdiffuse#readme))
- [Generative Foreground Isolation](https://awesome-repositories.com/f/graphics-multimedia/video-post-production-effects/ai-foreground-isolation/generative-foreground-isolation.md) — Creates transparent foreground layers designed to blend seamlessly with provided background images.

### Artificial Intelligence & ML

- [AI Transparent Image Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-transparent-image-generators.md) — Implements a system that produces images with alpha channels to separate foreground elements from backgrounds automatically.
- [Layered Diffusion Models](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-models/latent-diffusion-models/layered-diffusion-models.md) — Implements a specialized latent layer diffusion model for multi-layer image composition and transparency.
- [WebUI Extensions](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/diffusion-visual-models/generative-ai-models/diffusion-models/stable-diffusion-web-interfaces/webui-extensions.md) — Ships as an extension for the Forge web interface to add layer-based generation and blending.

### User Interface & Experience

- [Conditional Backgrounds](https://awesome-repositories.com/f/user-interface-experience/background-components/generative-backgrounds/conditional-backgrounds.md) — Generates compatible background layers using an existing transparent foreground as a visual condition. ([source](https://github.com/lllyasviel/sd-forge-layerdiffuse#readme))

### Part of an Awesome List

- [Stable Diffusion Tools](https://awesome-repositories.com/f/awesome-lists/ai/stable-diffusion-tools.md) — Provides a specialized tool for generating transparent layers within the Stable Diffusion ecosystem.
