How to use from the
Use from the
Diffusers library
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("dvyio/flux-lora-pro-headshot")

prompt = "a woman, contoured lighting on a solid white background, in the style of PROHEADSHOT"
image = pipe(prompt).images[0]

Pro Headshot

Prompt
a woman, contoured lighting on a solid white background, in the style of PROHEADSHOT
Prompt
a 40-year-old man, contoured lighting on a solid white background, in the style of PROHEADSHOT
Prompt
a 40-year-old Asian woman, wearing glasses and a sweater, contoured lighting on a solid white background, in the style of PROHEADSHOT

Trigger words

You should use in the style of PROHEADSHOT to trigger the image generation.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
188
Inference Providers NEW
Examples

Model tree for dvyio/flux-lora-pro-headshot

Adapter
(39802)
this model

Spaces using dvyio/flux-lora-pro-headshot 2

Collection including dvyio/flux-lora-pro-headshot