my-flux-face-v2 / README.md
Scalino84
Update README with YAML metadata
b501de2
metadata
language: en
tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
  - diffusers
  - lora
license: other
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: xyz person

My Flux Face LoRA Model

This is a custom LoRA model trained for face generation using Stable Diffusion.

Model Details

  • Base Model: runwayml/stable-diffusion-v1-5
  • Training Type: LoRA
  • Resolution: 512x512
  • Trigger Word: "xyz person"

License

This model is for non-commercial use only.

Usage

from diffusers import StableDiffusionPipeline
import torch

model_id = "Scalino84/my-flux-face-v2"
pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16)
pipe.load_lora_weights(model_id)

prompt = "a photo of xyz person, professional headshot"
image = pipe(prompt).images[0]