alexandersokol / sd-model-organizer

model organizer extension for stablediffusion-web-ui
97 stars 13 forks source link

SD Model Organizer

SD Model Organizer is a Stable Diffusion WebUI extension that allows to store and manage own model collections, add information, own notes, previews about model. Easily download from any external direct link or shared file link from Google Drive. Share own models collection with json file or use remote Firestore database to make it available and synced on several devices.

logo.png



🚀 Core features



Readme file will be updated soon regarding to 1.1 updates.

Use --mo-show-dir-settings param to show models path parameters in seettings menu

1. Home Screen

home.png The main screen of the extension. Displays already added records. May be configured to display content as cards or table layout in the webui settings.



1.1 Controls

home_controls.png



1.2 Display Options

home_display_options.png Display options is an accordion that hides sorting and filtering options to be applied for records to show on home screen.



1.3 Cards

home_cards.png After mouse hovering above record card, card options will be displayed:



1.4 Import/Export

home_import_export.png Import/Export Accordion is placed in the bottom of the home screen, click to expand it.



2. Add/Edit Record screen

2.1 Input Fields

edit_fields.png



2.2 Groups

edit_groups.png Groups dropdown allows to add groups to the current record from already existing records or add new ones by expanding Add Groups accordion. Type comma-separated group names in the textbox and press Add Group button to add new groups.



2.3 Download options

edit_download_options.png Download options section allows to configure download destination of model's file.



2.4 Prompts

edit_prompts.png Prompts sections allows to note positive and negative prompts of the model record.



2.5 Description

edit_description.png Description is textfield that support Rich Text editing with TinyMCE editor. Supports different text-styles, links, images, videos, tables and pasting text from clipboard with styles.



3. Record Details screen

details.png Screen that displays all record's information available:



4. Download screen

Download screen contains cards with records selected for downloading. Each card contains current state of download progress for each separate record.

download_pending.png download_in_progress.png download_completed.png



5. Record Removal screen

removal.png Removal screen allows to remove record itself or with files if record was downloaded and files are available.



6. Extension settings

settings.png SD Model Organizer's settings in the webui Settings Tab -> Model Organizer Menu.



7. Command Line Arguments ✨

This extension adds these command line arguments to the webui:



8. Firestore setup

firestore_setup.png

Note: Keep this file safe and don't use service account keys from projects that contains any sensitive data.



📦 Installation

The SD Model Organizer can be installed from the Stable Diffusion WebUI. Simply navigate to the Extensions tab, click on Install from URL, paste link to this repository, click Install button and reload webui.

Manually:

Clone repository into your extensions folder, install bs4 and firebase-admin==4.5.0 if you are going to use Firebase storage type packages with pip, restart webui if needed.



🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check out the issues page if you want to contribute. Please keep in mind I'm not a Python/JS/Gradio developer. I'm new to these technologies stack and my overall experience with it is about one month only.



📝 License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as you wish.



Models on screenshots