import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Mariobilly/z-image-poster-3000")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]z image poster 3000
LoRA for Z-Image Turbo.
- File:
z-image-poster_3000.safetensors - Trigger word:
poster - Trained by: @Mariobilly
Samples
Usage
Place the .safetensors file in your models/loras/ folder and load it
in ComfyUI or your inference UI of choice. Include the trigger word poster
in your prompt to activate the LoRA.
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo")
pipe.load_lora_weights("Mariobilly/z-image-poster-3000")
image = pipe("poster, your prompt here").images[0]
- Downloads last month
- 21



