How to use strangerzonehf/Anime-Z 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-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("strangerzonehf/Anime-Z") prompt = "Anime-Z, An animated animated image of a girl with long red hair and yellow eyes. She is wearing a light green long-sleeved button-down shirt with a black tie and black pants. Her hair is tied back in a ponytail. The sky is a light blue with a few white fluffy clouds. She has a smile on her face. Her left hand is raised in the air." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!