Diffusers How to use Nishitbaria/ghibli-stlye-lora 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("Nishitbaria/ghibli-stlye-lora")
prompt = "An ghibli enchanting rural sunset scene with vibrant orange and pink clouds glowing above a quiet countryside road. A vintage van is parked by the overgrown path, surrounded by lush green foliage and illuminated by the soft, golden rays of the setting sun"
image = pipe(prompt).images[0]