Enables the storage of pictures and their metadata in a MongoDB database.
Go to file
Jimmy 85fd218b39
Merge pull request #5 from 96NekoRS/main
Fixed crash caused by lora_hashes
2023-10-02 12:44:08 +09:00
scripts Fixed crash caused by lora_hashes 2023-08-03 20:54:17 +02:00
.gitignore first commit 2023-03-10 18:42:20 +09:00
README.md first commit 2023-03-10 18:42:20 +09:00
install.py Fixed crash caused by lora_hashes 2023-08-03 20:54:17 +02:00
preload.py first commit 2023-03-10 18:42:20 +09:00
requirements.txt first commit 2023-03-10 18:42:20 +09:00

README.md

Introduction

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.

Features

  • Store images on a MongoDB instance

Installation

  1. Visit the Extensions tab of Automatic's WebUI.
  2. Visit the Install from URL subtab.
  3. Paste this repo's URL into the first field: `https://github.com/takoyaro/db-storage1111
  4. Click Install.

Usage

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!

Contributing

I barely write any python, I have no doubt this extension could be improved and optimized. Feel free to submit PRs!