Plants
Collection
4 items • Updated
How to use treeshark/treez-v2.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/treez-v2.safetensors")
prompt = "-"
image = pipe(prompt).images[0]








A lora to do oak trees, this one is for illustration if you want realism use V1 or a mix of the two. Strength between 0.35 and 0.75. See examples for style.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev