ostris's picture
Upload folder using huggingface_hub
72c972b verified
metadata
license: other
license_name: bespoke-lora-trained-license
license_link: >-
  https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - template:sd-lora
  - migrated
  - hair
  - tool
  - slider
  - hair length
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: null
widget:
  - text: >-
      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 
    parameters:
      negative_prompt: >-
        white collar, cartoon, cgi, render, illustration, painting, drawing, bad
        quality, grainy, low resolution
    output:
      url: 1674051.jpeg
  - text: photo of a redhead  woman with black rim glasses
    parameters:
      negative_prompt: >-
        white collar, cartoon, cgi, render, illustration, painting, drawing, bad
        quality, grainy, low resolution
    output:
      url: 1674079.jpeg
  - text: photo of a redhead  woman with black rim glasses
    parameters:
      negative_prompt: >-
        white collar, cartoon, cgi, render, illustration, painting, drawing, bad
        quality, grainy, low resolution
    output:
      url: 1674081.jpeg
  - text: >-
      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 
    parameters:
      negative_prompt: >-
        white collar, cartoon, cgi, render, illustration, painting, drawing, bad
        quality, grainy, low resolution
    output:
      url: 1674091.jpeg
  - text: >-
      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 
    parameters:
      negative_prompt: >-
        white collar, cartoon, cgi, render, illustration, painting, drawing, bad
        quality, grainy, low resolution
    output:
      url: 1674093.jpeg

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