⬇️ Scroll down for Setup Instructions - Currently available on Linux & Windows, hosted version coming soon.
Dough is a tool for crafting videos with AI. Our goal is to give you enough control over video generations that you can make beautiful creations of anything you imagine that feel uniquely your own.
To achieve this, we allow you to guide video generations with precision using a combination of images (via Steerable Motion) examples videos (via Motion Director).
Below is brief overview and some examples of outputs:
With Dough, you can makes guidance frames using Stable Diffusion XL, IP-Adapter, Fooocus Inpainting, and more:
And then animate these shots by defining parameters for each frame and selecting guidance videos via Motion LoRAs:
And here's a more complex example combining high strength guidance with a guidance video strongly influencing the motion:
We're obviously very biased think that it'll be possible to create extraordinarily beautiful things with this and we're excited to see what you make! Please share stuff you made in our Discord.
Setting up on Runpod (click to expand)
-
We recommend setting up persistent storage for a quick setup and for your projects to persist. To get it going, click into “Storage”, select “New Network Volume”. 50GB should be more than enough to start.
-
Select a machine - any should work, but we recommend a 4090.
-
During setup, open the relevant ports for Dough like below:
- When you’ve launched the pod, click into Jupyter Notebook:
-
Follow the “Setup for Linux” below and come back here when you’ve gone through them.
-
Once you’re done that, grab the IP Address for your instance:
Then form put these into this form with a : between them like this:
{Public ID}:{External Pair Value}
In the above example, that would make it:
213.173.108.4:14810
Then go to this URL, and it should be running!
Important: remember to terminate the instance once you’re done - you can restart it by following the instructions from step 3 above.
This commands sets up the app. Run this only the first time, after that you can simply start the app using the next command.
curl -sSL https://raw.githubusercontent.com/banodoco/Dough/green-head/scripts/linux_setup.sh | bash
In terminal, run:
cd Dough
you can run the app using
source ./dough-env/bin/activate && ./scripts/entrypoint.sh
Open the Start menu, type Windows PowerShell, right-click on Windows PowerShell, and then select Run as administrator.
Install MS C++ Redistributable (if not already present) - https://aka.ms/vs/16/release/vc_redist.x64.exe
Make sure you're in the documents folder by running the following command:
cd ~\Documents
iwr -useb "https://raw.githubusercontent.com/banodoco/Dough/green-head/scripts/windows_setup.bat" -OutFile "script.bat"
Start-Process "cmd.exe" -ArgumentList "/c script.bat"
In Powershell, run:
cd Dough
. .\dough-env\Scripts\activate ; .\scripts\entrypoint.bat
You can provide the path to your ComfyUI instance and Dough will use the models present there. Add the following at the bottom of the ".env" file
COMFY_MODELS_BASE_PATH="full_path_to_your_ComfyUI"
for e.g. in the case of Linux users this may look something like this
COMFY_MODELS_BASE_PATH="/home/ubuntu/my_apps/ComfyUI/"
It will also download the new models in your personal ComfyUI instance. Please note that Dough will maintain it's own copy of the nodes and packages to not cause any issues with the packages that might already be installed on your personal ComfyUI.
If you're having any issues, please share them in our Discord.
Common problems (click to expand)
Issue during installation
- Make sure you are using python3.10
- If you are on Windows, make sure permissions of the Dough folder are not restricted (try to grant full access to everyone)
- Double-check that you are not inside any system-protected folders like system32
- Install the app in admin mode. Open the powershell in the admin mode and run "Set-ExecutionPolicy RemoteSigned". Then follow the installation instructions given in the readme
- If all of the above fail, try to run the following instructions one by one and report which one is throwing the error
call dough-env\Scripts\activate.bat python.exe -m pip install --upgrade pip pip install -r requirements.txt pip install websocket pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip install -r comfy_runner\requirements.txt pip install -r ComfyUI\requirements.txt
Unable to locate credentials
Make a copy of ".env.sample" and rename it to ".env"Issue during runtime
- If a particular node inside Comfy is throwing an error then delete that node and restart the app
- Make sure you are using python3.10 and the virtual environment is activated
- Try doing "git pull origin main" to get the latest code
Generations are in progress for a long time
- Check the terminal if any progress is being made (they can be very slow, especially in the case of upscaling)
- Cancel the generations directly from the sidebar if they are stuck
- If you don't see any logs in the terminal, make sure no other program is running at port 12345 on your machine as Dough uses that port
Some other error?
Drop in our Discord.