Stable Diffusion built-in to Blender
GPL-3.0 License
Bot releases are hidden (Show)
This update adds support for Blender 4, ControlNet pre-processors, some new UI, and lots of bug fixes.
Separate versions are available depending on your GPU and Blender version.
Click on the link to download the correct version:
Blender 4.1+ | Blender 3.6 → 4.0 | |
---|---|---|
Windows | ||
NVIDIA | dream_textures-windows-cuda-4-1.7z | dream_textures-windows-cuda.7z |
AMD/Other | dream_textures-windows-directml-4-1.zip | dream_textures-windows-directml.zip |
macOS | ||
Apple Silicon (M1+) | dream_textures-macos-arm-4-1.zip | dream_textures-macos-arm.zip |
Linux | ||
Any GPU | Install Manually | Install Manually |
[!IMPORTANT]
Windows Installation Instructions
Due to file size limits on GitHub, the add-on ZIP file is contained in a 7-Zip archive.
- Install 7-Zip
- Right-click on the downloaded
dream_textures-windows-cuda-*.7z
archive- Select "7-Zip" > "Extract Here" to get the
dream_textures-windows-cuda-*.zip
file.- In Blender preferences open "Add-ons" > "Install..."
- Choose the
dream_textures-windows-cuda-4-1.zip
file.
After installing the appropriate add-on ZIP file, enable the add-on and expand its preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
Builds are now provided for Blender 4.1+, and Blender 3.6-4.0.
[!NOTE]
Blender 4.1 upgraded to Python 3.11, which requires separate builds to be distributed for Blender 4.1 and higher.
Select a processor to convert a color image into a control image.
Processors are provided for OpenPose, depth maps, edge detection, and more.
By default, the processor will run every time the "Generate" button is pressed. You can press the "Bake Control Image" button next to the selector processor to cache the control image. This will create an image datablock for the control image, which you can further modify.
A new interface was also implemented for adding ControlNet models to a generation, based on Blender's new modifier selector.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.3.1...0.4.0
Published by carson-katri 12 months ago
This release fixes bugs found in the initial release of v0.3.0.
For a full list of new features in this major version, see the release notes for v0.3.0.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Note
If you get the errorModuleNotFoundError: No module named '...'
, you will need to copy the files into Blender manually:
- Delete the dream textures folder here:
C:\Users\YOUR_USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\dream_textures
- Manually unzip the add-on folder to that same path. After doing that there should be a file
__init__.py
inC:\Users\YOUR_USER\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\dream_textures\__init__.py
- Restart Blender
Dream Textures is not currently available for Intel Macs.
Installation must be completed manually. Follow the instructions to install manually for more details.
You can optionally purchase it for a small fee on Blender Market.
The version on Blender Market is identical to the free download available here. It is simply a way to support my work on this tool.
After installing the appropriate add-on ZIP file, enable the add-on and expand its preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.3.0...0.3.1
Published by carson-katri 12 months ago
This update adds support for SDXL, safetensors
and ckpt
files, a new API for extending Dream Textures with new backends, and more.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Dream Textures is not currently available for Intel Macs.
Installation must be completed manually. Follow the instructions to install manually for more details.
You can optionally purchase it for a small fee on Blender Market.
The version on Blender Market is identical to the free download available here. It is simply a way to support my work on this tool.
After installing the appropriate add-on ZIP file, enable the add-on and expand its preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
Use the model stabilityai/stable-diffusion-xl-base-1.0
for higher resolution 1024x1024 images. Include the refiner model stabilityai/stable-diffusion-xl-refiner-1.0
to improve the results even further.
.safetensors
and .ckpt
file supportLink individual files or entire folders of models. You can configure linked models from Dream Textures' preferences.
A new API is available for extending Dream Textures. This can be used to add custom generation backends.
For example, a backend that connects to ComfyUI could be created as a standalone addon.
Dream Textures has built-in support for a HuggingFace Diffusers backend. If you are interested in contributing a new backend, this backend can be used as a reference.
Dream Textures backend addons are kept in the community_backends
folder. If you make a useful backend, feel free to open a PR adding it to this folder.
load_model
by @carson-katri in https://github.com/carson-katri/dream-textures/pull/716
AutoPipeline.from_pipe
lookup workaround by @carson-katri in https://github.com/carson-katri/dream-textures/pull/720
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.2.0...0.3.0
Published by carson-katri over 1 year ago
This update brings ControlNet, optimization, and nodes!
Check out the new render engine to get started with the node system.
Join the Dream Textures Discord server to discuss the add-on, share your art, and get help from other users.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Dream Textures is not currently available for Intel Macs.
Installation must be completed manually. Follow the instructions to install manually for more details.
You can optionally purchase it for a small fee on Blender Market.
The version on Blender Market is identical to the free download available here. It is simply a way to support my work on this tool.
Note DreamStudio builds will no longer be released. Please see the official Stability for Blender addon for DreamStudio integration.
After installing the appropriate add-on ZIP file, enable the add-on and expand its preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
ControlNet gives you a lot more control over image generation. It has been fully integrated into the new render engine, as well as in the Image Editor and texture projection panel.
Here are some things you can do with it.
PyTorch 2.0 is now bundled with the release. This brings the new SDP attention which reduces memory and generates faster. This new optimization is enabled by default.
A new CFG End optimization is also included which can be used to disabled classifier-free guidance after a certain percentage of steps. This can be great for quick prototyping.
The optimization UI is also improved to provide a better overview of what each option does. The time each generation takes is now displayed below the "Generate" button.
A dedicated "Dream Textures" render engine is now available. It provides the node system and acts as an alternative to engines like Cycles or Eevee.
Learn more about the render engine and node system in the wiki.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.1.0...0.2.0
Published by carson-katri over 1 year ago
This update has so many bug fixes. It also includes AMD support, seamless axis detection, projection baking, optimizations and UI enhancements, and more.
Join the Dream Textures Discord server to discuss the add-on, share your art, and get help from other users.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Note Local generation is not available for Intel Macs.
Installation must be completed manually. Follow the instructions to install manually for more details.
You can optionally purchase it for a small fee on Blender Market.
The version on Blender Market is identical to the free download available here. It is simply a way to support my work on this tool.
After installing the appropriate add-on ZIP file, enable the add-on and expand its preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
The axes the open image is seamless along is automatically detected for better upscaling and image to image results.
Increase the batch size for significantly faster generation of multiple iterations, file batch, or upscaling.
Enable the "Bake" option to project back onto the mesh's original UV map.
Dream Textures will now preserve your original UV map instead of overwriting it.
All DirectX 12-capable GPUs are now compatible with Dream Textures! Download the directml
version of the add-on if you have a non-NVIDIA GPU.
Image names now include the prompt alongside the seed.
Many common issues are now caught before you ever press "Generate".
Size options are now disabled by default, and will use the model's preferred size.
fp16
branches by @carson-katri in https://github.com/carson-katri/dream-textures/pull/479
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.0.9...0.1.0
Published by carson-katri almost 2 years ago
This update includes texture projection, inpainting model support, depth to image for the render pass, and a lot more. The internals have also been reimplemented to use 🤗 Diffusers.
Join the Dream Textures Discord server to discuss the add-on, share your art, and get help from other users.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Note Local generation is not available for AMD GPUs.
Note Local generation is not available for Intel Macs.
Installation must be completed manually. Follow the instructions under Contributing for more details.
You can optionally purchase it for a small fee on Blender Market.
The version on Blender Market is identical to the free download available here. It is simply a way to support my work on this tool.
After installing the appropriate add-on ZIP file, enable the add-on and expand it's preferences. There you will find further instructions for setup.
See the setup guide for more detailed instructions.
Texture an entire scene at once using the depth to image model.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.0.8...0.0.9
Published by carson-katri almost 2 years ago
This update includes seamless upscaling, an improved render pass, a redesigned "Source Image" panel, model switching, DreamStudio integration, and more!
Join the Dream Textures Discord server to discuss the add-on, share your art, and get help from other users.
You can get the add-on for free here. If you would like to support my work on this tool, you can purchase it on Blender Market or become a GitHub sponsor.
Several versions are available. Find the one that will work for you.
dream_textures-windows-cuda.7z
archive, select "7-Zip" > "Extract Here" to get the dream_textures-windows-cuda.zip
file.dream_textures-windows-cuda.zip
file.Note Local generation is not available for AMD GPUs.
Note Local generation is not available for Intel Macs.
Installation must be completed manually. Follow the instructions under Contributing for more details.
After installing the appropriate add-on ZIP file, enable the add-on and expand it's preferences. There you will find further instructions for setup.
To setup local generation, you will need a model checkpoint file, such as:
sd-v1-4.ckpt
, and import it in the add-on preferencesv1-5-pruned-emaonly.ckpt
, and import it in the add-on preferencesTo setup DreamStudio integration, find your API key and enter it in the add-on preferences.
Check "Seamless" to ensure tileable results from the AI upscaler.
Color Management settings are now correctly applied when using the Dream Textures render pass. This change is automatically applied, and ensures results match between manual runs of Dream Textures and automated runs via the render pass.
Choose defaults and create your own presets for advanced configuration.
Use a text file to run multiple prompts in a row, and set Iterations above 1 to try multiple seeds without interacting with the UI.
The redesigned "Source Image" panel makes manipulating images easier to use. Various bugs regarding the "Mark Inpaint Area" brush have been resolved. Outpainting allows images to be extended beyond their original size. The "Prompt" mask source when inpainting allows you to choose a region to inpaint with a simple text prompt instead of a manual alpha-channel mask.
Tile along a single axis, or both for the original behavior. This can give interesting results for images such as infinitely scrolling backgrounds, decals, and more.
Connect your DreamStudio account to generate in the cloud. This is optional, and separate lighter builds with the DreamStudio backend only are provided for users with incompatible hardware.
Import multiple models and switch between them quickly to experiment with fine-tuned and updated checkpoints.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.0.7...0.0.8
Published by carson-katri about 2 years ago
Please update for the best experience.
This version contains some awesome new features:
See the list of guides for more information on every feature of the addon.
If you want to discuss the addon, join the Dream Textures Discord server.
Note Blender 3.1 or higher is required for the addon to function properly
If you had a previous version of the addon, click Remove
in Blender to delete it before installing the update. Then restart Blender to ensure the old modules are unloaded.
dream_textures-win32-cuda.7z
from the Assets section below..zip
file is contained in the 7-Zip archive. Download 7-Zip if you don't have it already.7-Zip
> Extract Here
dream_textures-win32-cuda.zip
extracted from the 7z previously. The addon may take a minute to be copied into Blender.Note Blender 3.1 or higher is required for the addon to function properly
dream_textures-darwin-arm64.zip
from the Assets section below.Other platforms are not officially supported by this addon. However, you can install it manually by following the steps under Contributing in the README.
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.0.6...0.0.7
Published by carson-katri about 2 years ago
Please update for the best experience.
Dependencies are now packaged with the addon, making installation much simpler! Just download the correct file for your platform below, and install it in Blender.
A Dream Textures Discord server has also been created.
If you had a previous version of the addon, click Remove
in Blender to delete it before installing the update. You may need to run Blender as an administrator to remove the old version of the addon successfully.
dream_textures-win32-cuda.7z
from the Assets section below..zip
file is contained in the 7-Zip archive. Download 7-Zip if you don't have it already.7-Zip
> Extract Here
dream_textures-win32-cuda.zip
extracted previously. The addon may take a minute to be copied into Blender.If you want to remove the old dependencies to free up space on your computer, navigate to
C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages
and delete the addon's previous packages, but ensure you leave any preinstalled Blender packages. You can also simply delete the fullBlender 3.3
folder and reinstall Blender.
dream_textures-darwin-arm64.zip
from the Assets section below.Other platforms are not officially supported by this addon. However, you can install it manually by following the steps under Contributing in the README.
Dream Textures has moved to the side panel of the Image Editor and Shader Editor:
Full Changelog: https://github.com/carson-katri/dream-textures/compare/0.0.5...0.0.6
Published by carson-katri about 2 years ago
Please update for the best experience.
This update includes troubleshooting steps for Windows (#15 by @gregnr) and fixes an error with macOS installation.
See the latest additions from v0.0.4.
Published by carson-katri about 2 years ago
Please update for the best experience.
One week later, and we already have some awesome additions!
If you already had
dream-textures
installed, you shouldn’t need to install dependencies again. You may need to put themodel.ckpt
file back, however. I would recommend moving the weights out of the current addon, then moving them into the new one after installation.
Check the 'Seamless' box to get a perfectly tileable result with no seams.
Prompt: "fall leaves texture" with seamless checked
Open an image in the Image Editor and switch to Paint mode. Then select the "Inpaint Area" brush, or use the normal Draw brush with the "Erase Alpha" blend mode to paint out an area.
Dream Textures now keeps track of every prompt you've given it across .blend
files. This lets you recall a previous prompt to tweak and run it again.
The Shader Editor and Image Editor both have the "Dream Textures" menu now.
Download the dream_textures.zip
file below.
Published by carson-katri about 2 years ago
This release adds a step to the installation process to install Git before attempting to install dependencies.
To install the addon, download the dream_textures.zip
file in the Assets section below, and install it in the Blender preferences window. Then follow the instructions under "Dream Textures" in Blender to finish the installation.
Published by carson-katri about 2 years ago
This is a minor change to the first release of the dream textures addon, which adds more documentation to the addon preferences to ensure Windows setup goes smoothly. Versions 0.0.1 and 0.0.2 provide:
Known Issues:
Validate Installation
in preferences will cause the Dream Texture
operation to fail until Blender is restartedIterations
advanced configuration option does not work as expected (keep it at 1
)This is made possible by the amazing work by Stability AI, Runway, and the lstein fork of Stable Diffusion
Published by carson-katri about 2 years ago
This is the first release of the dream textures addon. It provides:
Known Issues:
Validate Installation
in preferences will cause the Dream Texture
operation to fail until Blender is restartedIterations
advanced configuration option does not work as expected (keep it at 1
)This is made possible by the amazing work by Stability AI, Runway, and the lstein fork of Stable Diffusion