Image-to-Image
Diffusers
Safetensors
image-decomposition
layered-image-editing
diffusion
flux
lora
transparent-rgba
Instructions to use SynLayers/synlayers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SynLayers/synlayers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("SynLayers/synlayers") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,16 +1,18 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
tags:
|
| 3 |
- diffusion
|
| 4 |
- image-decomposition
|
| 5 |
- rgba
|
| 6 |
- layered-image-editing
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
-
# SynLayers Stage 2
|
| 10 |
|
| 11 |
-
This repository
|
| 12 |
|
| 13 |
-
The main assets in this repo
|
| 14 |
|
| 15 |
- `SynLayers_checkpoints/FLUX.1-dev`
|
| 16 |
- `SynLayers_checkpoints/FLUX.1-dev-Controlnet-Inpainting-Alpha`
|
|
@@ -19,29 +21,28 @@ The main assets in this repo are:
|
|
| 19 |
- `ckpt/pre_trained_LoRA`
|
| 20 |
- `ckpt/prism_ft_LoRA`
|
| 21 |
|
| 22 |
-
These assets are used by
|
| 23 |
[SynLayers/synlayers](https://huggingface.co/spaces/SynLayers/synlayers)
|
| 24 |
|
| 25 |
-
The full
|
| 26 |
|
| 27 |
-
1.
|
| 28 |
-
2.
|
| 29 |
|
| 30 |
-
This
|
| 31 |
|
| 32 |
-
|
| 33 |
[https://arxiv.org/abs/2605.15167](https://arxiv.org/abs/2605.15167)
|
| 34 |
|
| 35 |
If you find our work useful, please consider citing:
|
| 36 |
|
| 37 |
```bibtex
|
| 38 |
-
@
|
| 39 |
title={Does Synthetic Layered Design Data Benefit Layered Design Decomposition?},
|
| 40 |
-
author={Kam Man
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
archivePrefix={arXiv},
|
| 44 |
-
primaryClass={cs.CV},
|
| 45 |
-
url={https://arxiv.org/abs/2605.15167},
|
| 46 |
}
|
| 47 |
```
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
tags:
|
| 4 |
- diffusion
|
| 5 |
- image-decomposition
|
| 6 |
- rgba
|
| 7 |
- layered-image-editing
|
| 8 |
+
- synlayers
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# SynLayers Stage 2 Checkpoints
|
| 12 |
|
| 13 |
+
This repository hosts the **Stage 2 checkpoints and runtime assets** for SynLayers, our real-world image layer decomposition system.
|
| 14 |
|
| 15 |
+
The main assets in this repo include:
|
| 16 |
|
| 17 |
- `SynLayers_checkpoints/FLUX.1-dev`
|
| 18 |
- `SynLayers_checkpoints/FLUX.1-dev-Controlnet-Inpainting-Alpha`
|
|
|
|
| 21 |
- `ckpt/pre_trained_LoRA`
|
| 22 |
- `ckpt/prism_ft_LoRA`
|
| 23 |
|
| 24 |
+
These assets are used by our public Space:
|
| 25 |
[SynLayers/synlayers](https://huggingface.co/spaces/SynLayers/synlayers)
|
| 26 |
|
| 27 |
+
The full SynLayers system has two stages:
|
| 28 |
|
| 29 |
+
1. bbox + whole-caption prediction from [`SynLayers/Bbox-caption-8b`](https://huggingface.co/SynLayers/Bbox-caption-8b)
|
| 30 |
+
2. layer decomposition into transparent RGBA outputs using this repository
|
| 31 |
|
| 32 |
+
This repository is intended for the SynLayers decomposition pipeline. It is not meant to be loaded as a single generic `DiffusionPipeline(prompt)` model.
|
| 33 |
|
| 34 |
+
For more details, please check our paper:
|
| 35 |
[https://arxiv.org/abs/2605.15167](https://arxiv.org/abs/2605.15167)
|
| 36 |
|
| 37 |
If you find our work useful, please consider citing:
|
| 38 |
|
| 39 |
```bibtex
|
| 40 |
+
@article{wu2026does,
|
| 41 |
title={Does Synthetic Layered Design Data Benefit Layered Design Decomposition?},
|
| 42 |
+
author={Wu, Kam Man and Yang, Haolin and Chen, Qingyu and Tang, Yihu and Chen, Jingye and Chen, Qifeng},
|
| 43 |
+
journal={arXiv preprint arXiv:2605.15167},
|
| 44 |
+
year={2026}
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
```
|
| 47 |
+
|
| 48 |
+
Thanks for trying SynLayers.
|