Edit model card

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

Downloads last month
24
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