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("levbrick/dm_v1.0")

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

DM

Prompt
-

Model description

no trigger word needed, but it helps to describe the subject in detail

Download model

Download them in the Files & versions tab.

Downloads last month
28
Inference Providers NEW
Examples

Model tree for levbrick/dm_v1.0

Adapter
(726)
this model