NOTE: The windows installer still doesn't open after it is done installing. It does still install, so just manually open it after.
A huge requested feature is finally here! (well, kinda). Stable Diffusion support was something I've wanted to add for a while. However, I never thought I'd be able to match the experience from the AUTOMATIC1111 webui. Luckily for us, @adodge thought of a brilliant workaround for that: Just use the webui. Specifically, the webui's API. This way, we wouldn't have to set up any new dependencies or worry about integrating the code incorrectly -- it would just work. The only problem with this approach is it does require you to run the webui in api mode (by running ./webui.(sh|bat) --api
before chaiNNer starts up. This will make a new category with the SD nodes appear. At the moment adodge is looking into an internal implementation, but for now this works pretty well.
There's plenty of other new features in this update as well, such as inpainting support (both via opencv and LaMa), rembg support, a bunch of new nodes, and more. See the full changelog below:
Major Changes
- Stable Diffusion support via the AUTOMATIC1111 webui API (#1500, #1540, #1553, #1559, #1562, #1557, #1575, #1586, #1583 thanks @adodge)
- Adds Stable Diffusion support to chaiNNer by running the webui in API mode
- Supports Text-To-Image, Image-To-Image, Outpaining, and clip interrogation
- Node recatigorization (#1576, #1581)
- LaMa inpainting support (#1569)
- RemBG background removal support (#1533)
New Nodes
- The external Stable Diffusion nodes mentioned above.
- Color Levels (#1532, thanks @harisreedhar)
- Color levels adjustment similar to Gimp and Photoshop.
- Dither & _Dither (Palette) (#1502, thanks @adodge)
- Dither an image, either by number of colors or with a specified palette.
- Palette From Image (#1502, thanks @adodge)
- Generates a palette from an image, to be used with dithering.
- Convert Normal Maps
- Allows conversion between DirectX and OpenGL normal maps, as well as to and from the octahedral normal map format used by RTX Remix
- Inpaint (#1546, thanks @harisreedhar)
- Uses a mask image to inpaint. This is not an AI inpainting node, but something more similar to content aware fill.
- Create Gradient (#1544, thanks @adodge)
- Generates a grayscale gradient with a variety of options, which can then be colorized using the LUT node.
- Signed Distance Field (#1552, thanks @adodge)
- Can be used to create low-resolution textures that can be scaled up rendered at a higher resolution with fewer artifacts.
- Dilate & Erode (#1565, thanks @harisreedhar)
- These two nodes work similarly to the dilate and erode features in Gimp and Blender.
- (PyTorch) Inpaint (#1569)
- Inpaint using the LaMa model, which performs significantly better than the opencv implementation used in the normal Inpaint node.
- (ONNX) Remove Background (#1533)
- Remove the background of an image using .onnx RemBG models.
Minor Changes
- Added option to duplicate node with input connections (#1541)
- Slightly improved type error messages (#1542, #1579)
- Rearrange inputs on upscale nodes for consistency with other nodes (#1539, thanks @Zarxrax)
- Added "export viewport to clipboard" in the file menu (#1550)
- Added more DDS output format options (#1555)
- Added "Copy Audio" toggle for video iteration (#1563)
- Added "Use Pip Directly" toggle in the dependency manager (#1560)
- Changed the design of resize handles (#1584)
- Create node on enter in search pane, when only one node is an option (#1578)
Bug Fixes
- Fixed the bug that would cause TextAreas (like what is used in the Note node) to randomly get much larger (#1582)
And of course, thanks to the maintainers: @joeyballentine @RunDevelopment @theflyingzamboni