Media
Collection
12 items • Updated
How to use treeshark/oilpaintz-v4.safetensors with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("treeshark/oilpaintz-v4.safetensors")
prompt = "-"
image = pipe(prompt).images[0]











OilpaintZ loras are designed to add an oil painted style to generations. They are not designed to be used too strongly between 0.25 and 0.65. They are intended to be mixed but if you have two then 0.35 or 0.45 will work with three arouund 0.35 works better. V4 is aimed at incidental figures so people in groups rather then the hero. It will also add dramatic backlighting and shadows if you prompt for it. See examples for what it will do.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev