How to use from the
Use from the
Diffusers library
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("vansonel/test2")

prompt = "Screenshot"
image = pipe(prompt).images[0]

test2

Prompt
Screenshot

Download model

Download them in the Files & versions tab.

Downloads last month
21
Inference Providers NEW
Examples

Model tree for vansonel/test2

Adapter
(739)
this model