Diffusers How to use Jonjew/FLUXDoubleExposureMagic 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("Jonjew/FLUXDoubleExposureMagic")
prompt = "A surreal and evocative double exposure portrait of a human figure, integrating a breathtaking sunset sky with fluffy clouds in warm hues of orange, pink, and purple filling the chest area. The silhouette of a person swinging on a swing hangs in the center, evoking a sense of nostalgia and freedom. In the head area, a small silhouette of a person is seen scaling or sitting on a rocky cliff, highlighting a theme of adventure and exploration. The figure's body is rendered in muted, monochrome tones, contrasting with the vivid colors of the landscape within. The overall aesthetic leans towards hyperrealism with a touch of surrealism, emphasizing emotional depth and introspection through the interplay of light and shadow. The background is softly blurred, enhancing focus on the vibrant imagery within the silhouette. bo-exposure, double exposure,"
image = pipe(prompt).images[0]