Transform text into images and images into new ones using AI. Our user-friendly web app, built with Diffusion, Python, and Streamlit, offers customizable outputs in various styles and formats
A Web ui for Stable Diffusion Models.
In this version, we've added two major features to the project:
We've also made the following improvements and bug fixes:
We hope these updates will improve the overall functionality and user experience of the project. As always, please feel free to reach out to us if you have any questions or feedback.
If something doesnt work as expected, or if you need some features which are not available, then create request using github issues
To install bleeding edge version of StableFusion, clone the repo and install it using pip.
git clone https://github.com/NeuralRealm/StableFusion
cd StableFusion
pip install -e .
Installation using pip:
pip install stablefusion
To run the web app, run the following command:
For Local Host
stablefusion app
or
For Public Shareable Link
stablefusion app --port 10000 --ngrok_key YourNgrokAuthtoken --share
❯ stablefusion app --help
usage: stablefusion <command> [<args>] app [-h] [--output OUTPUT] [--share] [--port PORT] [--host HOST]
[--device DEVICE] [--ngrok_key NGROK_KEY]
✨ Run stablefusion app
optional arguments:
-h, --help show this help message and exit
--output OUTPUT Output path is optional, but if provided, all generations will automatically be saved to this
path.
--share Share the app
--port PORT Port to run the app on
--host HOST Host to run the app on
--device DEVICE Device to use, e.g. cpu, cuda, cuda:0, mps (for m1 mac) etc.
--ngrok_key NGROK_KEY
Ngrok key to use for sharing the app. Only required if you want to share the app
If you want to use private models from huggingface hub, then you need to login using huggingface-cli login
command.
Note: You can also save your generations directly to huggingface hub if your output path points to a huggingface hub dataset repo and you have access to push to that repository. Thus, you will end up saving a lot of disk space.
I would like to express my gratitude to the following individuals and organizations for sharing their code, which formed the basis of the implementation used in this project:
I am grateful for their contributions to the open source community, which made this project possible.
StableFusion is an open-source project, and we welcome contributions from the community. Whether you're a developer, designer, or user, there are many ways you can help make this project better. Here are a few ways you can get involved: