Instructions to use Qwen/Qwen-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Qwen/Qwen-Image 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", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Add text-to-image tag
#11
by multimodalart HF Staff - opened
README.md
CHANGED
|
@@ -4,6 +4,7 @@ language:
|
|
| 4 |
- en
|
| 5 |
- zh
|
| 6 |
library_name: diffusers
|
|
|
|
| 7 |
---
|
| 8 |
<p align="center">
|
| 9 |
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" width="400"/>
|
|
|
|
| 4 |
- en
|
| 5 |
- zh
|
| 6 |
library_name: diffusers
|
| 7 |
+
pipeline_tag: text-to-image
|
| 8 |
---
|
| 9 |
<p align="center">
|
| 10 |
<img src="https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Image/qwen_image_logo.png" width="400"/>
|