Instructions to use PrunaAI/Pruna-Q-Image-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/Pruna-Q-Image-2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/Pruna-Q-Image-2.1") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download NOTICE from PrunaAI/Pruna-Q-Image-2.1: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/PrunaAI/Pruna-Q-Image-2.1/resolve/main/NOTICE
- Command line
-
hf download hf://PrunaAI/Pruna-Q-Image-2.1/NOTICE
-
curl -L -o NOTICE https://huggingface.co/PrunaAI/Pruna-Q-Image-2.1/resolve/main/NOTICE
207 Bytes
| Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) 2026 Hangzhou Tongyi Laboratory Technology Co., Ltd. All Rights Reserved. | |
| The adapter weights are a modification of Qwen Image 2.1. | |