⬇️ 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:
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_1.png)
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_2.png)
- When you’ve launched the pod, click into Jupyter Notebook:
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_3.png)
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_4.png)
-
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:
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_5.png)
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_6.png)
![](/giantmonster/Dough/raw/a9d27b1e23e054cd45ed5f15125fbbe17219e154/sample_assets/sample_images/runpod_7.png)
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.
git clone --depth 1 -b staging https://github.com/banodoco/Dough.git
Create a visual environment using:
python3 -m venv dough-env
source ./dough-env/bin/activate
cd Dough
NOTE: the app will break for python versions other than python3.10 and using the app without the virtual environment can cause issues/conflicts with other packages.
apt-get update
apt install libpq-dev python3.10-dev -y
install requirements
pip install -r requirements.txt
copy the “.env.sample” file and rename it to “.env”
cp .env.sample .env
you can run the app using
sh entrypoint.sh
git clone --depth 1 -b staging https://github.com/banodoco/Dough.git
- Install MS C++ Redistributable (if not already present) - https://aka.ms/vs/16/release/vc_redist.x64.exe
Create a virtual environment and install dependencies
python -m venv venv # don't use python3
.\venv\Scripts\activate
pip install -r requirements.txt
pip install websocket # extra dependency
install torch dependencies (if not already present)
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
copy .env.sample .env
.\entrypoint.bat
If you're having any issues, please share them in our Discord.