db-storage1111 is an extension for AUTOMATIC1111's Stable Diffusion Web UI.
It allows to store pictures to databases.At the moment it only supports MongoDB.
- Store images on a MongoDB instance
- Visit the Extensions tab of Automatic's WebUI.
- Visit the Install from URL subtab.
- Paste this repo's URL into the first field: `https://github.com/takoyaro/db-storage1111
- Click Install.
Set environment variables if needed before starting the app:
Variable | Default |
---|---|
DB_HOST |
'localhost' |
DB_PORT |
27017 |
DB_USER |
"" |
DB_PASS |
"" |
Then, simply check the Save to DB
checkbox and generate!
I barely write any python, I have no doubt this extension could be improved and optimized. Feel free to submit PRs!