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/drawing-ink")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Drawing ink
LoRA for Z-Image Turbo.
- File:
Drawing ink.safetensors - Trigger word:
drawingink - 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 drawingink
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/drawing-ink")
image = pipe("drawingink, your prompt here").images[0]
- Downloads last month
- 19



