Initial upload for squireflux c35331a
lifehaverdev commited on
How to use ms2stationthis/squireflux 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("ms2stationthis/squireflux")
prompt = "This image is a digitally created artwork featuring a fantasy scene with a squire artistic style. At the center stands a muscular, humanoid figure wearing medieval-style armor, including a helmet adorned with a whimsical unicorn mask. In the squire style, the armor is primarily silver with red accents. The figure's face is obscured by the mask, and the figure is positioned in a confident stance with its arms crossed."
image = pipe(prompt).images[0]