Diffusers How to use YuLexuan30/Feng_Long_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("YuLexuan30/Feng_Long_Flux")
prompt = "FNGLN, the image is a selfie featuring a 30 years old asian man with a toned physique and long hair walking on a polished wooden floor inside an ancient Chinese temple. The asian man has long hair and is wearing a purple hanfu, he is staring at the viewer with a slightly provocative and sensual smile, and the image accentuates his manliness, his clothing appears to be made of silk or a similar fabric, and has an elaborate embroidery pattern, selfie, <lora:fenglongfluxv1:1>"
image = pipe(prompt).images[0]