banodoco / Dough

Dough is a open source tool for steering AI animations with precision.
https://banodoco.ai/
Other
464 stars 33 forks source link
ai-art-tool

Dough is an open-source art tool for steering video with precision

⬇️ Scroll down for Setup Instructions - Currently available on Linux & Windows computers with more than 12GB of VRAM, 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) and examples videos (via Motion Director) with granular motion settings for each frame.

To start, with Dough, you generate hundreds of images in the right style and theme using the Inspiration Engine:

images (2)
You can then assemble these frames into shots that you can granularly edit:

edit (1)

And then animate these with granular settings for each frame and Motion LoRAs:

animate (1)

As an example of it in action, here's 4 images steering, alongside a LoRA trained on a video:

While here are four abstract images animated by each of the different workflows available inside Dough:

basic workflows

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.

Artworks created with Dough

You can see a selection of artworks created with Dough here.

Setup Instructions

Recommended Setup for Linux & Windows - Pinokio:

Pinokio is a web browser for launching and managing AI apps. We recommend you use it for installing Dough.

Instructions:

1) Download Pinokio Browser

2) Click into Discover, search "Dough" select the option by "Banodoco" and press the download button

3) Once it's downloaded, press the Install button. This will take a few minutes

4) Once it's installed, press the Run button and it should launch

Other Setup Instructions:

Setting up on Runpod 1) 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. 2) Select a machine - any should work, but we recommend a 4090. 3) During setup, open the relevant ports for Dough like below: 4) When you’ve launched the pod, click into Jupyter Notebook: 5) Follow the “Setup for Linux” below and come back here when you’ve gone through them. 6) 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.
Manual installation instructions for Linux ### Install the app This commands sets up the app. Run this only the first time, after that you can simply start the app using the next command. ```bash curl -sSL https://raw.githubusercontent.com/banodoco/Dough/green-head/scripts/linux_setup.sh | bash ``` ### Enter the folder In terminal, run: ```bash cd Dough ``` ### Run the app you can run the app using ```bash source ./dough-env/bin/activate && ./scripts/entrypoint.sh ```
Manual installation instructions for Windows ### Open Powershell in Administrator mode Open the Start menu, type Windows PowerShell, right-click on Windows PowerShell, and then select Run as administrator. Then run this command ```Set-ExecutionPolicy RemoteSigned``` **NOTE:** Make sure you have Python3.10 installed and set as the default Python version ### Install the app Install MS C++ Redistributable (if not already present) - https://aka.ms/vs/16/release/vc_redist.x64.exe ### Navigate to Documents Make sure you're in the documents folder by running the following command: ```bash cd ~\Documents ``` ### Run the setup script ```bash 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" ``` ### Enter the folder In Powershell, run: ```bash cd Dough ``` ### Run the app ```bash . .\dough-env\Scripts\activate ; .\scripts\entrypoint.bat ```

Troubleshooting

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 ```bash 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](https://discord.com/invite/8Wx9dFu5tP).

Interested in joining a community of people who are pushing open AI art models to their technical and artistic limits?

Drop in our Discord.