Skip to content

TreHack/StableHoudini

 
 

Repository files navigation

Stable Diffusion Houdini Toolset

Works with Houdini 19.5 with Python 3.9.

Tested with Automatic1111 and ControlNet version as of 10.05.2023 (may 2023).

Developed by Stanislav Demchenko (stassius) for EVR Systems.

https://www.linkedin.com/in/stanislav-demchenko/

https://evr.systems/

Our Discord: https://discord.gg/bfdzAWQwct

controlnet-small.mp4

Professional set of Houdini digital assets for Stable Diffusion image processing.

Features:

  1. Automatic1111 in Houdini
  2. All main A1111 features, including TI, Loras, Hypernetworks, face restoration, tiling, hires fix
  3. ControlNet 1.1, whole set of preprocessors and models
  4. Animateable Image2Image alternative test
  5. Upscale
  6. Prompt from file, prompt animation
  7. Bulk processing in i2i, mask, i2i alt test, ControlNet
  8. Full PDG integration
  9. Bulk ControlNet preprocessing
  10. Work on a remote server with http authorization

Installation

  1. Install Automatic1111
  2. Add --api command line key to the webui-user.bat
  3. Run A1111 with webui-user.bat
  4. Install asset libraries from /hda/ and use assets inside Houdini
  5. Make sure the Python folder is located next to the top_stable_diffusion.hda file
  6. After the first time you created an SD node, /hda/Config/config.ini file will be created. In it you can change the default URL and also turn on http authorization for remote server if you use it. Restart Houdini for changes to take effect.

If you got errors, try to find them in this document: https://github.com/stassius/StableHoudini/wiki/Common-Errors

Recommended TOP Network parameters

In localscheduler node:

  1. Scheduler/Slot count - Custom slot count=1
  2. Job params/Single - On

Houdini Nodes included:

  1. SD Switch Model (PDG) - switch to any A1111 checkpoint
  2. SD Dream (PDG) - t2i, i2i, control net, all the A1111 features
  3. SD Prompt (PDG) - create and animate prompts
  4. SD Upscaler (PDG) - upscale an image with various neural networks
  5. Image Preview (PDG) - easily switch and save generation batches
  6. Image Process (PDG) - process images in COPs
  7. Depth map (Obj) - instant depth-map for ControlNet generation
  8. SD Preprocessor (PDG) - get preprocessed images (depth, normal and other maps) from ControlNet
  9. SD Png Info (PDG) - parses generation parameters stored in PNG-file and stores them in attributes for reuse.
  10. SD Set Option (PDG) - lets you set any A1111 option. You can find the internal name of the option and its type in config.json file in A1111 folder.

When you're using ControlNet in image2image, add as many ControlNets as there are set up in the A1111 settings due to a bug in the ControlNet extension API. This bug was fixed in A1111 update from 01.05.2023 (May the first).

Video tutorials:

Additional demo videos:

controlnet-interior_1.mp4
rts-small.mp4

Support me: https://www.donationalerts.com/r/houdinirus

About

Stable Diffusion Houdini Toolset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%