Coder Social home page Coder Social logo

infinite-zoom's Introduction

Infinite Zoom

What is this?

This is an extension for AUTOMATIC1111/stable-diffusion-webui which can generate infinite loop videos in minutes.
What it does is repeatedly transformed through outpainting, transitioning from the previous version to the newly created one.

How to use it?

Step 1

To prepare an initial image, you can either generate one using txt2img or find one on the internet. Just ensure that its aspect ratio is 1:1.

Step 2

Send the image to img2img/inpaint and ensure that it has the same width and height. You can refer to my parameters listed below.
Prompt is needed, you may use the same prompt as in txt2img if you prefer.

inpaint

From the Script dropdown menu, select Infinite Zoom and leave it as default if you don't understand what it does.

Notes

  1. You may want to use inpaint model sd-v1-5-inpainting.ckpt etc.
  2. To achieve optimal results, set the Mask Width (mask_width < image_width / 2) to 1/4 of the image width. For example, if your image is 1024x1024 pixels, try setting the mask width to 256 pixels.

Known issues

You may notice a distinct frame or seam around the image, although it's less noticeable in the original diffusers version.
I'm currently investigating the cause of this issue and would greatly appreciate any assistance you can provide.

Credits

I'm just porting it to AUTOMATIC1111.
All credit goes to the original creator https://github.com/BalintKomjati/smooth-infinite-zoom.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.