Edit model card

Hair Length Slider - LoRA

Prompt
photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater
Negative Prompt
white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a redhead woman with black rim glasses
Negative Prompt
white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a redhead woman with black rim glasses
Negative Prompt
white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater
Negative Prompt
white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a brunette woman reading a book at a coffee shop, sitting on a sofa, wearing short jean shorts, wearing a blue wool sweater
Negative Prompt
white collar, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution

Model description

  • weight: -8.0 to 8.0 (or more)

  • positive: longer hair

  • negative: shorter hair


Simple LoRA to help with adjusting the length of a characters hair. You can swing it both ways pretty far out from -8 to +8 without much distortion. I have taken it out both ways 20 and still got an somewhat decent image, but it was starting to become nonsense.

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ostris/hair-length-slider-lora', weight_name='hair_length_slider_v1.safetensors')
image = pipeline('photo of a brunette  woman reading a book at a coffee shop, sitting on a sofa, wearing short  jean shorts, wearing a blue wool sweater ').images[0]

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers

Downloads last month
21
Inference Examples
Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Adapter for