Diffusers How to use StrategyAI/strategy-neon-krea 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-Krea-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("StrategyAI/strategy-neon-krea")
prompt = "A dolphin glowing with neon orange light leaping gracefully from dark midnight waters under a starry sky. The sea reflects shimmering orange neon trails, symbolizing strategy and flow futuristic and mysterious."
image = pipe(prompt).images[0]