Text-to-Image
Pruna AI
English
qwen
qwen-image
image-generation
image-editing
decoder-free
vae-free
dwd
Instructions to use PrunaAI/P-Q-Image-2.1-DWD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pruna AI
How to use PrunaAI/P-Q-Image-2.1-DWD with Pruna AI:
from pruna import PrunaModel model = PrunaModel.from_pretrained("PrunaAI/P-Q-Image-2.1-DWD") - Notebooks
- Google Colab
- Kaggle
Download NOTICE from PrunaAI/P-Q-Image-2.1-DWD: direct link, hf CLI and curl.
- Browser
- Download file 994 Bytes
-
https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD/resolve/main/NOTICE
- Command line
-
hf download hf://PrunaAI/P-Q-Image-2.1-DWD/NOTICE
-
curl -L -o NOTICE https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD/resolve/main/NOTICE
994 Bytes
| Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved. | |
| The DWD tail and head weights are a modification of Qwen-Image-2.1-Turbo. | |
| P-Q-Image-2.1-DWD | |
| Copyright 2026 Pruna AI | |
| dwd_tail.safetensors | |
| The DWD tail and head, based on Qwen-Image-2.1-Turbo by the Qwen team | |
| (https://huggingface.co/Qwen/Qwen-Image-2.1-Turbo), under the Qwen RESEARCH LICENSE AGREEMENT, see LICENSE. | |
| A copy of the last 4 transformer blocks, the time embedding, the shared modulation and norm_out was fine-tuned, | |
| and a pixel head was added. | |
| src/, scripts/ and tests/ | |
| The pq_image_dwd code, Copyright 2026 Pruna AI, under the Apache License 2.0, see LICENSE-APACHE. | |
| It does not contain model weights. | |
| src/pq_image_dwd/color.py | |
| The normalized Oklab colour encoding follows AsymFlow's OklabColorEncoder (LakonLab), Apache License 2.0. | |
| The Oklab matrices are by Bjorn Ottosson (public domain). | |