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", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("den123/Caricature_zimage")

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

Caricature_zimage

Prompt
-

Download model

Download them in the Files & versions tab.

Downloads last month
77
Inference Providers NEW
Examples

Model tree for den123/Caricature_zimage

Adapter
(155)
this model