Norod78/but-the-old-gods-are-rising
Viewer • Updated • 30 • 324
How to use Norod78/but-the-old-gods-are-rising-flux 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("Norod78/but-the-old-gods-are-rising-flux")
prompt = "Batman is having a bath but the old gods are rising"
image = pipe(prompt).images[0]


(CivitAI)
It's just like your regular prompt "but the old gods are rising" in addition
An attempt to mimic this SDXL LoRA
You should use but the old gods are rising to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Norod78/but-the-old-gods-are-rising-flux', weight_name='But_the_old_gods_are_rising_FLUX-000004.safetensors')
image = pipeline('A photo of a Death's-head hawkmoth but the old gods are rising').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
black-forest-labs/FLUX.1-dev