Duplicated from prithivMLmods/Flux-Realism-FineDetailed
How to use RedbeardNZ/Flux-Realism-FineDetailed 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("RedbeardNZ/Flux-Realism-FineDetailed") prompt = "Fine Detailed, A half Body Photo of a beautiful brunette Scottish girl, green eyes, messy beehive hair style, natural skin complexion, slim with curves, tartan shirt, outdoor background, soft lighting, captured by {randomly selected} photographer. This image looks glamorous and elegant in style and outdoor background that was recognized as a contest winner. It has been featured on CG Society. Cinematic" image = pipe(prompt).images[0]