zoom-slider-lora / README.md
ostris's picture
Upload folder using huggingface_hub
5389fa2 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
  - portrait
  - tool
  - zoom
  - slider
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: null
widget:
  - text: 'photo of a woman, blonde hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680148.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680193.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680194.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680197.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680210.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680230.jpeg
  - text: 'photo of a woman, red hair, smiling, in the woods '
    parameters:
      negative_prompt: >-
        cartoon, cgi, render, illustration, painting, drawing, bad quality,
        grainy, low resolution
    output:
      url: 1680232.jpeg

Zoom Slider - LoRA

Prompt
photo of a woman, blonde hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
Prompt
photo of a woman, red hair, smiling, in the woods
Negative Prompt
cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution

Model description

  • weight: -7.0 to 7.0

  • positive: zoom in (face close up)

  • negative: zoom out (full body)

This is NOT perfect. I have tried to make this for a very long time using a dozen different methods and nothing worked. My slider training script was finally able to kick something out that is decently functional. I will continue to work on it because this is the slider I want more than anything else.

The slide in and out is not always smooth, it will hit points that "hang" where the clothing mostly changes for 1-3 weight steps without changing zoom, but it will break through if you keep pushing it. Let me know if you find any thing that can use improvement.

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/zoom-slider-lora', weight_name='zoom_slider_v1.safetensors')
image = pipeline('photo of a woman, red hair, smiling, in the woods ').images[0]

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