Diffusers How to use Seanwang1221/Angelababy_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("Seanwang1221/Angelababy_FLUX")
prompt = "angelababy, Nikon Z7 II and a NIKKOR Z 50mm f,1girl, 20yo,(wearing a black cheongsam),(in london city),(RAW photo, best quality), (realistic, photo-realistic), masterpiece, an extremely delicate and beautiful, extremely detailed, 2k wallpaper, Amazing, finely detail, extremely detailed CG unity 8k wallpaper, ultra-detailed, highres, soft light, beautiful detailed girl, extremely detailed eyes and face, beautiful detailed nose, beautiful detailed eyes,cinematic lighting,perfect anatomy,(slim body),long hair,(black hair),city lights at night,smiling "
image = pipe(prompt).images[0]