Mecha
Collection
Machines, robots and old tech. • 9 items • Updated
How to use treeshark/insectzv1.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/insectzv1.safetensors")
prompt = "-"
image = pipe(prompt).images[0]



.png)














A straightforward lora to make mechanical insects. Strength 0.35 to 0.85. It knows some common insects, but don't expect it to understand the difference between a spider and an insect... or get the number of legs right!
You should use no trigger to trigger the image generation.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev