Extension for Automatic1111's Stable Difussion Web UI
This extension allows you to download models from CivitAi without leaving WebUI!
This modified extension is based on v1.1.0 from SignalFlagZ's Fork
(If you'd like to be able to filter search results on Base Model version, please upvote my feature request here!)
- Explore a wide range of models at your fingertips.
- Easily spot new updates and identify already installed models while browsing.
- Get the specific model version and file you need hassle-free.
- Assign tags by scanning all installed models for automatic use in image generation.
- Maximize your bandwidth for lightning-fast downloads.
- Feel free to send me your feature requests, and I'll do my best to implement them!
If you're experiencing issues with broken or frozen downloads, there are two possible solutions you can try:
-
Disable Async DNS for Aria2: If you're using any DNS manager program like PortMaster, try turning on the "Disable Async DNS for Aria2" option.
-
Revert to the old download method: Another solution could be to disable the "Download models using Aria2" feature.
This will switch back to the old download method, which may resolve the issue.
These settings can be found under the "Settings" tab in Web-UI and then under the "Civit AI" tile.
CivitAI_Browser.mp4
(Theme used: Lobe)
- Fixed pathing for Unix systems
- Added extra check to make sure only the selected model gets deleted when pressing delete.
- Models get moved to trash instead of fully deleted.
- Added extra Aria2 RPC startup check for Windows Linux sub-systems
- Added new feature which can update Tags for all installed models!
- Added tabs for Browsing and updating Tags.
- Added Buttons to select which folders to update tags in.
- Added Civit AI settings tab
- Option to disable downloading with Aria2. (will use old download method instead)
- Option to disable using Async DNS. (can fix issues for some users who use DNS managing programs)
- Option to show Aria2 logs in the CMD.
- Option to set the amount of connections when downloading a model with Aria2.
(The optimal connection count is different per user, try to find the lowest option which still gives you full bandwidth speed)
- Included Motrix Aria2 version.
- Max connections per server set to 64 and split file set 64.
- Aria2 is now shipped with this extension for Linux as well. (no need to manually install anymore!)
- Split up script into multiple files for improved oversight/readability.
- Centered model icons
- Added back old download function if aria2 fails.
- Integrated Aria2 into the download_file function for faster downloading.
- Added more info about current download: Speed, ETA, File Size and % completion.
- Sub Folder list now contains 2 default options:
/{Model name}
&/{Model name}/{Version name}
- Added ability to download different file types per version.
- Downloading models now uses file ID instead of names.
- NSFW Toggle is now dynamic.
- NSFW Toggle no longer hides images tagged as "Soft".
- Rearranged/Resized UI elements.
- Version list now dynamically updates after download.
- Fixed bug where each model load ran twice.
- Fixed a bug where Download button did not get re-enabled properly.
- Fixed a bug where tile status did not get updated properly when download failed.
- Dynamic changing of tile status after installation & deletion now correctly detects other versions.
- Base Model filtering dims tiles instead of hiding.
- NSFW Blur increases with tile size.
- Introduced seperate download progress bar, allows to keep browsing whilst downloading.
- Removed force refresh after installing, cancelling and deleting.
- Removed 'Automatically delete old version' option since this relied on a reload after installation.
- Added toggle to sort Tiles by date, this adds a header with the update date and groups models.
- Dynamic changing of tile borders after installation & deletion (doesn't detect old versions yet).
- LoCon models now get saved in the Lora folder if A1111's version is 1.5 or higher.
- improved page_count detection.
(You can fill in the page number you'd like to visit and press refresh to go to that page) - Added 'Filter Base Model' dropdown box to dynamically hide any unselected Base models.
(Please note: This does not impact search results, since the CivitAI API does not yet support this)
- Added slider to change tile size
- Added Download Folder textbox which can be used to define a custom download path.
- Added Sub Folder Dropdown to select any available subfolder(s) as download location.
- Any nested files can now be detected as installed or outdated.
- Automatically selects corresponding folder of any installed models.
- Improved cancellation logic to prevent downloads from continuing.
- Display a timed out message instead of an error icon.
- Download progress load bar is now on web page instead of CMD.
- Better margin fixes with theme detection.
- Delete option now also removes .json files.
- Buttons are now disabled during download. (except cancel button)
- Added Cancel and Delete buttons.
- Download button will now change according to circumstances:
- Cancel button if there's a current download.
- Delete button if the selected version is installed.
- Fixed new tag saving bugs/oversights.
- Improved trained tags display to not include the model itself.
- Changed 'Save Text' to 'Save Tags' the button now saves tags to a .json file which gets used in image creaton.
(If a LORA with saved tags is used it will automatically input all tags into the txt box in image creation) - Improved padding based on if Lobe theme is being used.
- Added 'Save tags after download' toggle to automatically save .json tags.
- Removed "Get model info" button, click any tile to reload model info instead.
- Removed download link box. (felt unnecessary since there is a Download button)
- Removed "No" from search options, leave the search term empty to not use Search instead.
- Added border radius to cards.
- Made the 'Version' tab show the installed version by default when selecting a model.
- Automatically saves preview image when downloading a model.
- Added [installed] text suffix for any versions that are installed in the 'Version' tab.
- Changed 'Model Filename' from a dropbox to a textbox.
- Made bottom textboxes non typeable.
- Disabled bottom buttons when no model is selected.
- Fixed margin error on the latest tile.
- Fixed error where some old model version(s) did not get removed.
- Improved version checking to be case sensitive.
- Added dropdown box which can filter by time period.
- Changed 'Content type' from buttons to a dropdown box.
- Made selecting a tile always trigger a load, also when the same tile is selected twice.
- Changed 'Get List' to 'Refresh', the button now reloads the current page unless any options have been changed.
- Removed new folder option and removed the function that puts downloads in their own seperate folders.
- Made the glow around frames always visible without hovering.
- Added orange glow for any outdated installed packages.
- Added 'Delete old version after download' option.
- Added ability to manually fill in a page number to load the corresponding page.
- Made the page refresh after a download and made it load during one.