Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Splits one image into several transparent RGBA layers, so you can recolor, resize, move or replace one piece without touching the rest. It suits designers and developers who have a CUDA GPU.
Qwen-Image-Layered is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub
Qwen-Image-Layered is an image model from Qwen, based on Qwen-Image, that breaks one picture into several RGBA layers. Each layer has its own transparency, so you can change one piece of the image while the rest stays as it was. It has 20.4B parameters and supports English and Chinese. The number of layers is your choice, and any layer can be split again.
It suits designers, developers and tool builders who want editable layers from a flat image. You need Python, a GPU with CUDA and enough memory for large weights.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Design | Graphic designers | Split a flat poster into layers they can edit | Recoloring the first layer of a poster |
| Software | App and tool builders | Add layer separation to an editing tool | Letting users drag one object around a canvas |
| Marketing | Content teams | Reuse parts of an image in new layouts | Swapping a person in a campaign picture |
| Research | Image model researchers | Study layered image representations | Splitting an image into 3 or 8 layers |
People who only want a new picture made from a prompt should look at a plain text-to-image model instead.
| Use case | Who | What they get back |
|---|---|---|
| Layer splitting | Designers | A set of RGBA layers saved as PNG files |
| Editing one piece | Content teams | A change to one layer with the rest untouched |
| Repeated splitting | Researchers | Finer layers from splitting a layer again |
pip install -U huggingface_hub
hf download Qwen/Qwen-Image-Layered
pip install python-pptx
Load the pipeline, move it to the GPU in bfloat16, open your picture as RGBA, set the inputs and run it. Each layer comes back as an image that you save as a PNG. The card advises a resolution of 640 for this version, and the layers setting picks how many layers you get.
from diffusers import QwenImageLayeredPipeline
import torch
from PIL import Image
pipeline = QwenImageLayeredPipeline.from_pretrained("Qwen/Qwen-Image-Layered")
pipeline = pipeline.to("cuda", torch.bfloat16)
image = Image.open("asserts/test_images/1.png").convert("RGBA")
inputs = {
"image": image,
"true_cfg_scale": 4.0,
"num_inference_steps": 50,
"num_images_per_prompt": 1,
"layers": 4,
}
with torch.inference_mode():
output = pipeline(**inputs)
output_image = output.images[0]
for i, image in enumerate(output_image):
image.save(f"{i}.png")| Tool | What it does |
|---|---|
| QwenImageLayeredPipeline | Splits an image into RGBA layers |
| layers setting | Chooses how many layers to produce |
| Qwen-Image-Edit | Edits one chosen layer after the split, as in the card's showcase |
You load a poster that shows a girl, some text and a background, and ask for 4 layers. You get four PNG files. You recolor the first layer and leave the others alone. With Qwen-Image-Edit, you can also replace the girl on the second layer with a boy.
Think of the layers in a design program. Each piece sits on its own transparent sheet, so you can edit one without disturbing the others. A first small step is to run the card's example on one test picture with 4 layers.
The card says the layer count is not fixed, for example 3 or 8, and a layer can be split again without limit. It offers 640 and 1024 resolution buckets, with 640 advised here. The example uses 50 steps and a guidance scale of 4.0.
Splits one image into several transparent RGBA layers, so you can recolor, resize, move or replace one piece without touching the rest. It suits designers and developers who have a CUDA GPU.
Made by Qwen on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Qwen-Image-Layered is an image model from Qwen, based on Qwen-Image, that breaks one picture into several RGBA layers. Each layer has its own transparency, so you can change one piece of the image while the rest stays as it was. It has 20.4B parameters and supports English and Chinese. The number of layers is your choice, and any layer can be split again.
Who it suits: It suits designers, developers and tool builders who want editable layers from a flat image. You need Python, a GPU with CUDA and enough memory for large weights.
Industry | Who uses it | How they use it | Example
Design | Graphic designers | Split a flat poster into layers they can edit | Recoloring the first layer of a poster
Software | App and tool builders | Add layer separation to an editing tool | Letting users drag one object around a canvas
Marketing | Content teams | Reuse parts of an image in new layouts | Swapping a person in a campaign picture
Research | Image model researchers | Study layered image representations | Splitting an image into 3 or 8 layers
People who only want a new picture made from a prompt should look at a plain text-to-image model instead.
Where to use it:
Use case | Who | What they get back
Layer splitting | Designers | A set of RGBA layers saved as PNG files
Editing one piece | Content teams | A change to one layer with the rest untouched
Repeated splitting | Researchers | Finer layers from splitting a layer again
How to set it up:
pip install -U huggingface_hub
hf download Qwen/Qwen-Image-Layered
pip install python-pptx
How to use it: Load the pipeline, move it to the GPU in bfloat16, open your picture as RGBA, set the inputs and run it. Each layer comes back as an image that you save as a PNG. The card advises a resolution of 640 for this version, and the layers setting picks how many layers you get.
from diffusers import QwenImageLayeredPipeline
import torch
from PIL import Image
pipeline = QwenImageLayeredPipeline.from_pretrained("Qwen/Qwen-Image-Layered")
pipeline = pipeline.to("cuda", torch.bfloat16)
image = Image.open("asserts/test_images/1.png").convert("RGBA")
inputs = {
"image": image,
"true_cfg_scale": 4.0,
"num_inference_steps": 50,
"num_images_per_prompt": 1,
"layers": 4,
}
with torch.inference_mode():
output = pipeline(**inputs)
output_image = output.images[0]
for i, image in enumerate(output_image):
image.save(f"{i}.png")
Tool | What it does
QwenImageLayeredPipeline | Splits an image into RGBA layers
layers setting | Chooses how many layers to produce
Qwen-Image-Edit | Edits one chosen layer after the split, as in the card's showcase
Example: You load a poster that shows a girl, some text and a background, and ask for 4 layers. You get four PNG files. You recolor the first layer and leave the others alone. With Qwen-Image-Edit, you can also replace the girl on the second layer with a boy.
For newcomers and experts: Think of the layers in a design program. Each piece sits on its own transparent sheet, so you can edit one without disturbing the others. A first small step is to run the card's example on one test picture with 4 layers.
The card says the layer count is not fixed, for example 3 or 8, and a layer can be split again without limit. It offers 640 and 1024 resolution buckets, with 640 advised here. The example uses 50 steps and a guidance scale of 4.0.
You supply an RGBA image
The pipeline splits it into layers
You edit or move one layer
Layers combine into the final picture
Good to know:
Title: Weight size by precision in GB
BF16: 40.9 GB
4-bit, by estimate: 10.2 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen-Image-Layered
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Qwen-Image-Layered This page | 104,607 | 1,195 | 20.4B | apache-2.0 | |
| stable-diffusion-xl-base-1.0Shares diffusers · safetensors | 4,688,522 | 8,466 | 2.6B | openrail++ | |
| Animagine XL 4.0Shares diffusers · safetensors | 1,026,807 | 582 | 2.6B | openrail++ | |
| Stable Diffusion v1-5Shares diffusers · safetensors | 1,012,982 | 1,364 | 860M | creativeml-openrail-m | |
| Z-Image-TurboShares diffusers · safetensors | 765,804 | 5,594 | 6.2B | apache-2.0 | |
| FLUX.2 [klein] 4B BaseShares diffusers · safetensors | 743,055 | 195 | 3.9B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…