Giter Club home page Giter Club logo

deforum-for-automatic1111-webui's Introduction

Deforum Stable Diffusion โ€” official extension for AUTOMATIC1111's webui

Last Commit GitHub issues GitHub stars GitHub forks

Before Starting

Important note about versions updating:
As auto's webui is getting updated multiple times a day, every day, things tend to break with regards to extensions compatability. Therefore, it is best recommended to keep two folders:

  1. "Stable" folder that you don't regularly update, with versions that you know work together (we will provide info on this soon).
  2. "Experimental" folder in which you can add 'git pull' to your webui-user.bat, update deforum every day, etc. Keep it wild - but be prepared for bugs.

Getting Started

  1. Install AUTOMATIC1111's webui.
    If the repo link doesn't work, please use the alternate official download source: https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui. To change your existing webui's installation origin, execute git remote set-url origin https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui in the webui starting folder.

  2. Now two ways: either clone the repo into the extensions directory via git commandline launched within in the stable-diffusion-webui folder

git clone https://github.com/deforum-art/deforum-for-automatic1111-webui extensions/deforum

Or download this repository, locate the extensions folder within your WebUI installation, create a folder named deforum and put the contents of the downloaded directory inside of it. Then restart WebUI. Warning: the extension folder has to be named 'deforum' or 'deforum-for-automatic1111-webui', otherwise it will fail to locate the 3D modules as the PATH addition is hardcoded

  1. Open the webui, find the Deforum tab at the top of the page.

  2. Enter the animation settings. Refer to this general guide and this guide to math keyframing functions in Deforum. However, in this version prompt weights less than zero don't just like in original Deforum! Split the positive and the negative prompt in the json section using --neg argument like this "apple:`where(cos(t)>=0, cos(t), 0)`, snow --neg strawberry:`where(cos(t)<0, -cos(t), 0)`"

  3. To view animation frames as they're being made, without waiting for the completion of an animation, go to the 'Settings' tab and set the value of this toolbar above zero. Warning: it may slow down the generation process. If you have 'Do exactly the amount of steps the slider specifies' checkbox selected in the tab, unselect it as it won't allow you to use Deforum schedules and you will get adrupt frame changes without transitions. Then click 'Apply settings' at the top of the page. Now return to the 'Deforum' tab.

adsdasunknown

  1. Run the script and see if you got it working or even got something. In 3D mode a large delay is expected at first as the script loads the depth models. In the end, using the default settings the whole thing should consume 6.4 GBs of VRAM at 3D mode peaks and no more than 3.8 GB VRAM in 3D mode if you launch the webui with the '--lowvram' command line argument.

  2. After the generation process is completed, click the button with the self-describing name to show the video or gif result right in the GUI!

  3. Join our Discord where you can post generated stuff, ask questions and more: https://discord.gg/deforum.

  • There's also the 'Issues' tab in the repo, for well... reporting issues ;)
  1. Profit!

Known issues

  • This port is not fully backward-compatible with the notebook and the local version both due to the changes in how AUTOMATIC1111's webui handles Stable Diffusion models and the changes in this script to get it to work in the new environment. Expect that you may not get exactly the same result or that the thing may break down because of the older settings.

Screenshots

Amazing raw Deforum animation by Pxl.Pshr:

  • Turn Audio ON!
RumbleByPxlPshr.mp4

Main extension tab:

maintab

Keyframes tab:

keyframes

Math evaluation:

math-eval

Benchmarks

3D mode without additional WebUI flags

image

3D mode when WebUI is launched with '--lowvram'

image

deforum-for-automatic1111-webui's People

Contributors

hithereai avatar kabachuha avatar deforum avatar matissesprojects avatar enzymezoo-code avatar pharmapsychotic avatar funofabot avatar rewbs avatar reallybigname avatar doggettx avatar nicolai256 avatar kitchenn3 avatar pesser avatar rromb avatar patrickvonplaten avatar aredden avatar zarxrax avatar nousr avatar viztopia avatar yyahav avatar owenvincent avatar phi-line avatar blackneoo avatar thorsthunder04 avatar rwscarb avatar chenxwh avatar sxela avatar bardia323 avatar carriemorrison avatar georgenance avatar

Watchers

 avatar

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.