alt.freeweights.qwen / Qwen-Image-Layered
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen-Image-Layered

Date: 2026-11-15Commit: 8f0ca70Signed: 2DC28CC7B26A283B ✓

Image text to image model with 20.4B parameters. Safetensors weights, 57.7 GB in all. Published by Qwen under Apache-2.0.

20.4B params57.7GBQwen-Image-Layeredsafetensorspermissive
FactsParams20.4BSize57.7 GBFormatssafetensorsTaskimage text to imageLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen-Image-Layered
# manifest sha256 43a668c20d99… · 57.7 GB · 33 files
$ fw verify ./Qwen-Image-Layered Qwen/Qwen-Image-Layered
From sourceHosted (signed)Qwen/Qwen-Image-LayeredLast check: 2026-11-15 02:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen-Image.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
57.7 GB
Weights
57.7 GB (safetensors)
Parameters
20.4B
Formats
safetensors
Task
image text to image
License
Apache-2.0 (permissive)
Files
33, each with a sha256
Publisher
Qwen
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen-Image

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:30 UTCpassed

Model card

From the publisher at commit 8f0ca70. Shown as plain text with links; images open at the publisher.

Image: image

&nbsp&nbsp🤗 HuggingFace&nbsp&nbsp | &nbsp&nbsp🤖 ModelScope&nbsp&nbsp | &nbsp&nbsp 📑 Research Paper &nbsp&nbsp | &nbsp&nbsp 📑 Blog &nbsp&nbsp | &nbsp&nbsp 🤗 Demo &nbsp&nbsp

Image: image

Introduction#

We are excited to introduce Qwen-Image-Layered, a model capable of decomposing an image into multiple RGBA layers. This layered representation unlocks inherent editability: each layer can be independently manipulated without affecting other content. Meanwhile, such a layered representation naturally supports high-fidelity elementary operations-such as resizing, reposition, and recoloring. By physically isolating semantic or structural components into distinct layers, our approach enables high-fidelity and consistent editing.

Quick Start#

  1. Make sure your transformers>=4.51.3 (Supporting Qwen2.5-VL)
  2. Install the latest version of diffusers
pip install git+https://github.com/huggingface/diffusers
pip install python-pptx
from diffusers import QwenImageLayeredPipeline
import torch
from PIL import Image

pipeline = QwenImageLayeredPipeline.from_pretrained("Qwen/Qwen-Image-Layered")
pipeline = pipeline.to("cuda", torch.bfloat16)
pipeline.set_progress_bar_config(disable=None)

image = Image.open("asserts/test_images/1.png").convert("RGBA")
inputs = {
    "image": image,
    "generator": torch.Generator(device='cuda').manual_seed(777),
    "true_cfg_scale": 4.0,
    "negative_prompt": " ",
    "num_inference_steps": 50,
    "num_images_per_prompt": 1,
    "layers": 4,
    "resolution": 640,      # Using different bucket (640, 1024) to determine the resolution. For this version, 640 is recommended
    "cfg_normalize": True,  # Whether enable cfg normalization.
    "use_en_prompt": True,  # Automatic caption language if user does not provide caption
}

with torch.inference_mode():
    output = pipeline(**inputs)
    output_image = output.images[0]

for i, image in enumerate(output_image):
    image.save(f"{i}.png")

Showcase#

Layered Decomposition in Application#

Given an image, Qwen-Image-Layered can decompose it into several RGBA layers: Image: Example Image

After decomposition, edits are applied exclusively to the target layer, physically isolating it from the rest of the content, and thereby fundamentally ensuring consistency across edits.

For example, we can recolor the first layer and keep all other content untouched: Image: Example Image

We can also replace the second layer from a girl to a boy (The target layer is edited using Qwen-Image-Edit): Image: Example Image

Here, we revise the text to "Qwen-Image" (The target layer is edited using Qwen-Image-Edit): Image: Example Image

Furthermore, the layered structure naturally supports elemetary operations. For example, we can delete unwanted objects cleanly: Image: Example Image

We can also resize an object without distortion: Image: Example Image

After layer decomposition, we can move objects freely within the canvas: Image: Example Image

Flexible and Iterative Decomposition#

Qwen-Image-Layered is not limited to a fixed number of layers. The model supports variable-layer decomposition. For example, we can decompose an image into either 3 or 8 layers as needed:

Image: Example Image

Moreover, decomposition can be applied recursively: any layer can itself be further decomposed, enabling infinite decomposition.

Image: Example Image

License Agreement#

Qwen-Image-Layered is licensed under Apache 2.0.

Citation#

We kindly encourage citation of our work if you find it useful.

@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}, 
}

Files

33 files · 57.7 GBWeights 57.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 33 files with their sha256
FileSizesha256
.gitattributes1.58 KB2159b96f67a348657f1224be06c151b4a3202ad865cbb4723a61f1f49baa736f
README.md5.49 KBd1d02ddf6cae45a07f1c0fa2996529d04c4b1bf77b219d7131135c38c623a2ea
model_index.json515 Bbf93009713ea70899267db47ae7fa06b540236733c82d57908fe7ec47d28507a
processor/added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
processor/chat_template.json1.05 KB94174d7176c52a7192f96fc34eb2cf23c7c2059d63cdbfadca1586ba89731fb7
processor/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
processor/preprocessor_config.json572 B29d27c703e5186231bc2ca07a876738a9f67ef5cb300ea2f72cf4048170d090d
processor/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
processor/tokenizer.json11.4 MB9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
processor/tokenizer_config.json7.30 KB25b69e8537bdfad786fe0830bc02d33d9daffdb9186cfb71c86805703abb8465
processor/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
scheduler/scheduler_config.json482 B62feb23bf1a8a59695435a23caed6cd073d6ed5b1175e15d1e937ec8c055ef1a
text_encoder/config.json1.49 KBdd3751d7ec57b72c4ec75a7fdd700da066222904640001954fa1448b4b3271fe
text_encoder/generation_config.json244 B17cc73e9565fe274e743aab774d5cae090b8a9d2e90079cf1b6cd1c79885baa7
text_encoder/model-00001-of-00004.safetensors4.97 GBd725335e4ea2399be706469e4b8807716a8fa64bd03468252e9f7acf2415fee4
text_encoder/model-00002-of-00004.safetensors4.99 GBb1830db6908dcc76df3a71492acbcf2b8cac130114cf1f3c2d9edae8de8c6de3
text_encoder/model-00003-of-00004.safetensors4.93 GB09c1807c6d00d7cab94f7db39d4c02ebb8537225ccde383861ac48db97945aa6
text_encoder/model-00004-of-00004.safetensors1.69 GB5dd068336d14d45ffb43cef374d286cc6ba9d8741b028f90a7d040d847961f4a
text_encoder/model.safetensors.index.json57.6 KB3067e9b0f35596ff3426a0d0ec8c982a51fa1e110c4fc30dcf3be9ea37409df6
tokenizer/added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
tokenizer/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
tokenizer/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer/tokenizer_config.json7.26 KB2f58f4bbd7bbce15d683f525954ef3a92cd82f5e06415a9c513859bf8ab72436
tokenizer/vocab.json3.38 MB87a257b04b17642a0688c98cd1df89c398bda4fee532d6f88b38a659ecb4ac8d
transformer/config.json424 B74f0a7be28597c3331c7fd1198a6094f64470281d380d7b7d66e14582a1ef3e2
transformer/diffusion_pytorch_model-00001-of-00005.safetensors9.97 GB87ae7a48b40c19a5892561a7a85db6b0ecdd7511d7f22c5e3858e9b3d989f0b7
transformer/diffusion_pytorch_model-00002-of-00005.safetensors9.99 GBe6c0ceb312b751cdbe223df67c1418d9034842498366259839c0be9d3823e785
transformer/diffusion_pytorch_model-00003-of-00005.safetensors9.99 GB06209de9a20b09e8614cea33f977d5f1b11971d830bffaf62d699a72910d434f
transformer/diffusion_pytorch_model-00004-of-00005.safetensors9.93 GB24170259dd8c0f6720cae06a545108125f4fa41079f12f49ac3ce05d16806f85
transformer/diffusion_pytorch_model-00005-of-00005.safetensors982 MB54095afda4f5b117d66bb6db14123b069678aeff7c665f485524c4fea5e8c1ce
transformer/diffusion_pytorch_model.safetensors.index.json199 KB5f9621e56b8b12188786a787cbb1420c5b5aaf6096ff80031fad6d68681b7107
vae/config.json753 B438ecd28c4c248b83d1d3adfbf8e6c9405ec3c4e0a20539cd43e28a830430a2b
vae/diffusion_pytorch_model.safetensors254 MB06520463778e64dca1039c7447890065ee220bc408d15412182e5c3e06f304f1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
8f0ca708df pinned now2026-11-15 02:30 UTC33 files · 57.7 GB

Use it

$ fw get Qwen/Qwen-Image-Layered
# manifest sha256 43a668c20d99… · 57.7 GB · 33 files
$ fw verify ./Qwen-Image-Layered Qwen/Qwen-Image-Layered
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen-Image-Layered.json --dir ./Qwen-Image-Layered $ python3 fw.py verify ./Qwen-Image-Layered ./Qwen__Qwen-Image-Layered.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen-Image-Layered --revision 8f0ca708dfff6ba1dd5f2d85d78f8c108a040bcf --local-dir ./Qwen-Image-Layered
diffusersRun the pipeline with diffusers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Layered", revision="8f0ca708dfff6ba1dd5f2d85d78f8c108a040bcf")
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
d1d02ddf6cae45a07f1c0fa2996529d04c4b1bf77b219d7131135c38c623a2ea
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject: Qwen-Image-LayeredDate: 2026-11-15Commit: 8f0ca70Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen-Image-Layered
Pinned commit
8f0ca708dfff6ba1dd5f2d85d78f8c108a040bcf
Manifest
Qwen-Image-Layered.json · .minisig
Manifest sha256
43a668c20d99ea120c853ad3b725ba0854c756e725d11a03841b6cd574a23183
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen-Image-Layered.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen-Image-Layered.json.minisig $ minisign -Vm Qwen-Image-Layered.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen-Image · this model is a finetune of it

2 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
1
Fine-tunes 1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen-Image-Layered
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen-Image-Layered.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Qwen-Image-Layered. Each has its own license check and page.

From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF