For now, video-input, 2D, pseudo-2D and 3D animation modes are available. Interpolation and render image batch temporary excluded for simplicity
Read the README file at the original Deforum repo
https://github.com/deforum/stable-diffusion
-
Cover yourself in oil -
Install Automatic1111's webui
-
Download this repository and put the files deforum.py and the 'deforum' folder into the 'scripts' folder inside your WebUI installation directory
-
Important: If you want to use 3D mode, launch the WebUI with the
--disable-safe-unpickle
option or else it won't let you to use the depth models! .Open the webui, switch to 'img2img' tab and select 'Deforum v0.5-webui-beta' in the 'Custom scripts' dropdown menu -
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)`"
-
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 downloads the depth models.
-
If it gives errors on missing modules, run
pip install requirements.txt
withrequirements.txt
being from this repo. -
Join our Discord where you can post generated stuff, ask questions and
infuriate the devs with 'this feature is in auto's build. When will it be in Deforum? Why can't I launch Deforum on my potato computer?'(not anymore, ha-ha) https://discord.gg/deforum. There's also the 'Issues' tab in the repo. -
Profit!
Proof that it works good enough of automatic1111's build with MATH keyframing and prompt-weighting enabled in 3D mode
'Le Grand Interface' at work:
Math evaluation: