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
- Draw Things
- DiffusionBee
Where can I find an official prompt guide for Qwen Image?
#81
by GfGHugging - opened
Hey there,
compared to many other image and video models, I was unfortunately unable to find detailed instructions on how to formulate the text prompts. Of course, I have seen the individual examples, but I would really like to have a deeper understanding.
Is there simply nothing official? If not, can anyone recommend a good alternative source?
Thanks for any tips / 感谢您的每一条建议
Update: this should be the official guide, or?
https://help.aliyun.com/zh/model-studio/text-to-image-prompt