top of page
justthetipwithdani

How to install DeForum a Text to Video Tool into your Stable Diffusion in 30 seconds!

Updated: Nov 20, 2022


UPDATE!!!!! There is a new way to install DeForum. Just open up Stable Diffusion and then click on the extensions tab. Then click on "Load From:" and it will give you some extensions to install, choose DeForum and click on install. It may ask you to restart but your done. If you don't see the Extensions tab that means you have an outdated version and you can continue with the tutorial down below to do the install manually.


Let me just start by setting expectations. It takes me 30 seconds and it will probably take you a minute or two, but lets get into it.


First and foremost here is some links you might need. (Links are in the descriptions of the tool)



Alls you got to do is...


Grab the repository zip files for DeForum by clicking on the drop down arrow next to the code button and grab the zip file. There is also a link to the files if you want to Git Clone it into your Stable Diffusion Folder.










Click on Extract all...
















Click on Browse....













Choose your Stable Diffusion > Extensions folder this is what mine looks like.

Note: Once you extract it, you will have to rename the folder to DeForum as it will have a pretty long name. Just make sure the DeForm folder for the extensions is in the Stable Diffusion Extension folder just my image above.


That's all Folks.... you installed it. Now just go into your Stable Diffusion.


If this is your first time using Stable Diffusion, you access the program by clicking on webui-user.bat file

For first timers this will take a while to set up at it is gathering the necessary requirements but you should of done this already using my install guide


Any who, you will know it is done when you see the notice "Running on local URL: http://127.0.0.1:7860.


Note: just copy and paste that link 127.0.0.1:7860 and put it in your browser to run Stable Diffusion and Deforum. The 127.0.0.1 is your PC's local IP and the number after the parenthesis is your port is being accessed from it can sometimes be a different number such as 7861.



Great now copy and paste the URL it gives you in the browser by highlighting it and pressing Ctrl+C then click in your browser and press Ctrl +V


Note for most users: Once you get to global Step:840000 your computer will slow down significantly but your almost done loading. Just don't click around and crash your PC.



The first thing you will notice is that you have a new Deforum Tab if you did this correct. YAY! Rejoice! If you did it wrong, then sucks for you. Do it again lol.


All jokes aside here is a wiki for the most common problems that might help. There is so many possible scenarios so I won't go over this.


If you really struggle you can run this though a google Colab found here.


If you have the deforum Tab then AWESOME! lets get started.


First thing you need to do is change your model to one that will work with DeForum well at the top left there is a Stable Diffusion CheckPoint (this is after v1.5) . Select the V1.5 pruned-emaonly.ckpt or whatever you use for regular diffusion.

Now click on the DeForum Tab.


Now I will only go over the basics right now to get this thing running, but here is the complete guide on how to master this tool. This is from the Developer themselves and they break everything down nicely.




First up is the Run Tab. Normal StableD users should know 90% of whats on here.


Everything can remain as default but pay close attention to the batch settings the bottom. Currently it says DeForum.


You should change this name everytime you create something because it creates a folder under that name that will create 100's of images to render your video using image2image interpolation.






My Batch folder Documents > Stable Diffusion > Stable Diffusion-WebUI > outputs > img2img-images>DeForum


The image above shows where my Batch folder named "DeForum" was placed. You can see I put a number at the end of each run to change the name.




It's not the end of the world if you forget. The video is generated inside the folder anyways and you can just pull that out but you will have to look through 100's of pictures. May I recommend using list settings to find the .MP4 files.




Now the KeyFrames Tab I will only go over the super basics. Remember the link to the guide???




This is what controls the camera. I am only going to show you 2D mode, you can actually skip this and still get a pretty good video but here we go:


You will see 0:(0) in translation X. So the first 0 is the time for your command to occur and the 2nd zero in parenthesis (0) is the direction you want it to go. For X, negative numbers will go left and positive numbers will go right. For Y, negative will go down and positive will go up.


For example: Translation_x = 10:(20) means that at the 10 second mark the camera will go 20 degrees to the right. Now if you want to change again at the 30second mark you will type 10:(20), 30:(20). Notice they are separated by a comma.


By the way don't worry about that crazy mathematical formula there, it is not needed and it will just confuse you right now. When you do get the kiwis to try it out, here is the full guide on it.


Here is a breakdown on it real quickly


Like I said... I would skip this as you should learn to Crawl before you can Walk.


Here is some info directly from the manual


Now I'm jumping all the way to the bottom


Diffusion Cadence is the amount of times a picture will render per frame. A setting of 2 will render an image every other frame. This is great if your PC is slow or you are just creating concept video to see what the output can look like, but it will make the video choppy.


The last tab I will show you is the Prompts tab



For now you can just replace some of the words in this prompt or erase the whole thing and keep it simple for now. Try just replacing the fruit names with something else and then clicking generate so you have an idea of what this does. By the way the -neg command will take out most some thing you don't want. A good example would be -neg nudity, because you will find out quick that Stable Diffusion is uncensored as I did when my coconuts turned into boobies.



Once you get something down on the prompt, go ahead and click generate. That's it! You should have your picture now.


Check out my Installation tutorial to see what type of video it creates!


The video example starts at 53 seconds.





188 views0 comments

Comments


bottom of page