Instructions to use Tongyi-MAI/Z-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tongyi-MAI/Z-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("Tongyi-MAI/Z-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
плюс кошка жена спасибо спасибо
#4
by Debich - opened
Thanks tongyi!!!
你可以试试在正面提示词里加入:高质量、清晰、锐利,在负面提示词里加入:模糊、低质量
你可以试试在正面提示词里加入:高质量、清晰、锐利,在负面提示词里加入:模糊、低质量
谢谢,但我觉得问题出在sageattention上。不知为何,它会破坏所有输出结果。



