Downloads · 30 days
5.8K
79% of all-time downloads
zimengxiong/Qwen-Image-Layered-6bit
Qwen-Image-Layered-6bit is a image-text-to-image model from zimengxiong. Use it for the image-text-to-image task on the model card, and read the license before you ship it in a product. It is set up for mflux. The card lists the license as apache-2.0.
<p align="center" <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/layered/qwen-image-layered-logo.png" width="600"/ </p
Downloads · 30 days
5.8K
79% of all-time downloads
All-time downloads
7.4K
Public
Repo size
31 GB
Likes
2
Public
Click a slice to open those files.
.safetensors31 GB · 100%
From the Hugging Face model README
6-bit quantized version of Qwen/Qwen-Image-Layered optimized for Apple Silicon via MFLUX.
| Version | Size | VRAM |
|---|---|---|
| BF16 (original) | ~55 GB | ~55 GB |
| 6-bit (this) | ~31 GB | ~29 GB |
Qwen-Image-Layered decomposes any image into multiple RGBA layers with transparency. Each layer can be independently edited, moved, resized, or recolored—enabling high-fidelity, consistent image editing.
<p align="center"> <img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/layered/layered.JPG" width="800"/> </p>Requires MFLUX with Qwen-Image-Layered support (PR #302):
# Install from the PR
git clone https://github.com/zimengxiong/mflux.git
cd mflux
uv sync
uv run flux-generate-qwen-layered \
--image input.png \
--layers 4 \
--steps 50 \
-q 6 \
--output-dir ./layers
Output: 4 RGBA PNG files (layer_0.png, layer_1.png, etc.) with transparency.
| Parameter | Description | Default |
|---|---|---|
--image | Input image path | Required |
--layers | Number of layers to decompose | 4 |
--steps | Inference steps | 50 |
-q | Quantization (4, 6, or 8-bit) | None (BF16) |
--resolution | Resolution bucket (640 or 1024) | 640 |
--output-dir | Output directory for layers | ./ |
Input image:
[layer, height, width])Apache 2.0 (same as original model)
@misc{yin2025qwenimagelayered,
title={Qwen-Image-Layered: Towards Inherent Editability via Layer Decomposition},
author={Shengming Yin, Zekai Zhang, Zecheng Tang, Kaiyuan Gao, Xiao Xu, Kun Yan, Jiahao Li, Yilei Chen, Yuxiang Chen, Heung-Yeung Shum, Lionel M. Ni, Jingren Zhou, Junyang Lin, Chenfei Wu},
year={2025},
eprint={2512.15603},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2512.15603},
}