Text-to-Image
Diffusers
lora
template:diffusion-lora
Not-For-All-Audiences
How to use from the
Use from the
Diffusers library
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("TenthWax/handjob")

prompt = "UNICODE\u0000\u0000A\u0000 \u0000b\u0000l\u0000o\u0000n\u0000d\u0000e\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000h\u0000o\u0000l\u0000d\u0000i\u0000n\u0000g\u0000 \u0000m\u0000a\u0000n\u0000'\u0000s\u0000 \u0000c\u0000o\u0000c\u0000k\u0000 \u0000o\u0000n\u0000 \u0000a\u0000 \u0000c\u0000o\u0000u\u0000c\u0000h\u0000.\u0000,\u0000 \u0000l\u0000o\u0000n\u0000g\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000l\u0000o\u0000o\u0000k\u0000i\u0000n\u0000g\u0000_\u0000a\u0000t\u0000_\u0000v\u0000i\u0000e\u0000w\u0000e\u0000r\u0000,\u0000 \u0000s\u0000m\u0000i\u0000l\u0000e\u0000,\u0000 \u0000b\u0000l\u0000u\u0000e\u0000_\u0000e\u0000y\u0000e\u0000s\u0000,\u0000 \u0000b\u0000l\u0000o\u0000n\u0000d\u0000e\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u00001\u0000b\u0000o\u0000y\u0000,\u0000 \u0000h\u0000e\u0000t\u0000e\u0000r\u0000o\u0000,\u0000 \u0000n\u0000u\u0000d\u0000e\u0000,\u0000 \u0000p\u0000e\u0000n\u0000i\u0000s\u0000,\u0000 \u0000s\u0000o\u0000l\u0000o\u0000_\u0000f\u0000o\u0000c\u0000u\u0000s\u0000,\u0000 \u0000g\u0000r\u0000i\u0000n\u0000,\u0000 \u0000l\u0000i\u0000p\u0000s\u0000,\u0000 \u0000p\u0000u\u0000b\u0000i\u0000c\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000u\u0000n\u0000c\u0000e\u0000n\u0000s\u0000o\u0000r\u0000e\u0000d\u0000,\u0000 \u0000p\u0000o\u0000v\u0000,\u0000 \u0000e\u0000r\u0000e\u0000c\u0000t\u0000i\u0000o\u0000n\u0000,\u0000 \u0000m\u0000a\u0000l\u0000e\u0000_\u0000p\u0000u\u0000b\u0000i\u0000c\u0000_\u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000h\u0000a\u0000n\u0000d\u0000j\u0000o\u0000b\u0000,\u0000 \u0000r\u0000e\u0000a\u0000l\u0000i\u0000s\u0000t\u0000i\u0000c\u0000,\u0000 \u0000f\u0000o\u0000r\u0000e\u0000s\u0000k\u0000i\u0000n\u0000,\u0000 \u0000p\u0000h\u0000o\u0000t\u0000o\u0000r\u0000e\u0000a\u0000l\u0000i\u0000s\u0000t\u0000i\u0000c\u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000t\u0000u\u0000g\u0000_\u0000d\u0000e\u0000v\u0000_\u0000f\u00001\u0000_\u0000k\u0000:\u00001\u0000>\u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000F\u0000L\u0000U\u0000X\u0000.\u00001\u0000-\u0000T\u0000u\u0000r\u0000b\u0000o\u0000-\u0000A\u0000l\u0000p\u0000h\u0000a\u0000:\u00001\u0000>\u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000O\u0000o\u0000n\u0000a\u0000_\u0000n\u0000o\u0000b\u0000o\u0000d\u0000y\u0000_\u0000d\u0000e\u0000v\u0000_\u0000f\u00001\u0000:\u00001\u0000>\u0000"
image = pipe(prompt).images[0]

Not-For-All-Audiences

This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.

View model card