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
38
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for den123/Caricature_zimage

Adapter
(129)
this model