TINY DREAM - An embedded, Header Only, Stable Diffusion Inference C++ Library
pixlab.io/tiny-dream
For the extensive list of features, please refer to the official documentation here.
- OpenCV Dependency Free: Only stb_image_write.h from the excellent stb single-header, public domain C library is required for saving images to disk.
- Smallest, Run-Time Memory Footprint for Running Stable Diffusion in Inference.
- Straightforward to Integrate on Existing Codebases: Just drop tinydream.hpp and stb_image_write.h on your source tree with the Pre-trained Models & Assets.
- Reasonably fast on Intel/AMD CPUs (Benchmarks): With TBB threading and SSE/AVX vectorization.
- Support Real-ESRGAN, A Super Resolution Network Upscaler.
- Full Support for Words Priority: Instruct the model to pay attention, and give higher priority to word (keywords) surrounded by parenthesis ().
- Support for Output Metadata: Link meta information to your output images such as copyright notice, comments, or any other meta data you would like to see linked to your image.
- Support for Stable Diffusion Extra Parameters: Adjust Seed resizing & Guidance Scale.