Extension to access CivitAI via WebUI: download, delete, scan for updates, list installed models, assign tags, and boost downloads with multi-threading.
Explore a wide range of models at your fingertips.
Check for updates and installed models π
Easily spot new updates and identify already installed models while browsing.
Ability to scan all installed models for available updates.
Download any Model, any version, and any file π₯
Get the specific model version and file you need hassle-free.
Download queue to avoid waiting for finished downloads.
Automatically assign tags to installed models π·οΈ
Assign tags by scanning all installed models for automatic use in image generation.
Quick Model Info Access π
A button for each model card in txt2img and img2img to load it into the extension.
A button under each image in model info to send its generation info to txt2img.
High-speed downloads with Aria2 π
Maximize your bandwidth for lightning-fast downloads.
Sleek and Intuitive User Interface ποΈ
Enjoy a clutter-free, user-friendly interface, designed to enhance your experience.
Actively maintained with feature requests welcome π οΈ
Feel free to send me your feature requests, and I'll do my best to implement them!
Known Issues π
Unable to download / Frozen download:
**If you're experiencing issues with broken or frozen downloads, there are two possible solutions you can try:**
1. **Revert to the old download method**:
A 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.
![Revert to old download method](https://github.com/BlafKing/sd-civitai-browser-plus/assets/9644716/982b0ebb-0cac-4053-8060-285533e0e176)
2. **Disable Async DNS for Aria2**:
If you're using a DNS manager program like PortMaster, try turning on the "Disable Async DNS for Aria2" option.
![Disable Async DNS for Aria2](https://github.com/BlafKing/sd-civitai-browser-plus/assets/9644716/3cf7fab3-0df5-4995-9543-d9824b7931ff)
These settings can be found under the "Settings" tab in Web-UI and then under the "CivitAI Browser+" tile.
How to install π
Automatic Installation:
Manual Installation:
Download the latest version from this site and unpack the .zip
Navigate to your extensions folder (Your SD folder/webui/extensions)
Place the unpacked folder inside the extensions folder
Does not work in combination with the "Use local HTML file for model info" option!
New setting: Store the HTML and api_info in the custom images location
Bug fix: New HTML model info now scales with width so it should always fit.
Bug fix: Various bug fixes to the "Update model info & tags" function.
Bug fix: Auto save all images now uses correctly uses custom image path if set.
Bug fix: "Save model info" button should no longer return errors.
Bug fix: Old download method (non Aria2) should now work again.
v3.3.0
Feature: New txt2img and img2img model info overlay on CivitAI button press.
Feature: Base Model as sub folder option.
Feature: Ability to multi-download to selected folder.
Feature: Use the same folder as older versions when updating using multi-download.
Feature: txt2img and img2img CivitAI buttons can use local HTML file, toggle in settings.
Note: Save images no longer saves .html and API info, save model info does this instead now.
New setting: Save API info of model when saving model info.
New setting: Automatically save all images after download.
New setting: Use local HTML file for model info.
Bug fix: better JSON decode, now forces UTF-8
Bug fix: Now uses the proper default file when using multi-download
Bug fix: Hide early access models fix, now works when published_at does not exist in API.
Bug fix: Fix attempt for queue clearing upon download fail.
v3.2.5
Bug fix: Removed default API Key since it gets blocked after many downloads.
Because of this it's now required for some downloads to use a personal CivitAI key, this can be set in the the settings tab of SD-WebUI under the CivitAI Browser+ tab.
Bug fix: Fixed bug when selecting a model from txt2img/img2img that doesn't exist on CivitAI.
Bug fix: Changed model selection to Model ID instead of model name
This previously caused issues when 2 models were named the same.
Bug fix: Fixed an issue where the default file was not properly used by default.
Bug fix: Fixed some tiles not being selectable due to having "'" in its title
Bug fix: Now automatically removes residual Aria2 files.
v3.2.4
Bug fix: Fix version detection for non standard SD-WebUI versions.
Bug fix: Retry to fetch ModelID if previously not found in update functions.
Bug fix: Style fix for when the Lobe theme is used in SD-WebUI
Model page changes (https://github.com/BlafKing/sd-civitai-browser-plus/pull/33)
- Redesigned the look of the model page.
- Added link to model page on CivitAI. Click on model name to open.
- Added link to uploader/creator page on CivitAI. Click creator name to open.
- Added CivitAI avatar display.
- Separate description section.
- First sample image is marked with data attribute and downloaded as preview image instead of grabbing first in model HTML. This guarantees that the first sample image (not avatar or image in description) is used when downloading the model.
- Sample images are marked with data attribute so that only they are downloaded when using "Save Images" (no description images or avatar).
- Removed trained tags from info since they are displayed above.
- Each sample image has its own section.
- Sample images zoom in when clicked, zoom out when clicking anywhere.
- Forced width is removed from sample image URLs so that nice big images can be viewed.
- Metadata is arranged so that the most commonly used data is at the top, no more searching for prompts.
- Extra metadata is in accordion labeled "More details...". This is especially useful to hide insanely large ComfyUI JSON.
v1.11.1
Feature: Error detection during Aria2 downloads.
Bug fix: Avoid starting Aria2 RPC multiple times with better port check.
Bug fix: Fixed dynamic tile status updates after deleting/downloading.
v1.11
Feature: Ability to scan all installed models for available updates.
Feature: Model ID and sha256 get saved to .json after scanning or downloading a model.
Bug fix: Fixed crash when base model is not found.
Bug fix: No longer overwrite sha256 and model ID in existing .json.
v1.10.1
Bug fix: Fixed pathing for Unix systems
Bug fix: Extra checks to prevent deleting unintentional files.
Feature: Models get moved to trash instead of fully deleted.
v1.10
Feature: Update tags for all installed models!
Feature: Tabs for Browsing and updating Tags.
Feature: Buttons to select which folders to update tags in.
v1.9.4
Feature: Added Civit AI settings tab
New setting: Disable downloading with Aria2. (will use old download method instead)
New setting: Disable using Async DNS. (can fix issues for some users who use DNS managing programs)
New setting: Show Aria2 logs in the CMD.
New setting: 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)
v1.9.3
Feature: Included Motrix Aria2 version.
Feature: Max connections per server set to 64 and split file set 64.
Feature: Aria2 is now shipped with this extension for Linux as well.
v1.9.2
Cleanup: Split up script into multiple files for improved oversight/readability.
Cleanup: Centered model icons
v1.9.1
Bug fix: Added back old download function if aria2 fails.
v1.9
Feature: Faster downloads by using Aria2.
Feature: More info about current download: Speed, ETA, File Size and % completion.
v1.8.1
Feature: Sub Folder list now contains 2 default options: /{Model name} & /{Model name}/{Version name}
v1.8
Feature: Ability to download different file types per version.
Feature: NSFW Toggle is now dynamic.
Feature: Version list now dynamically updates after download.
Cleanup: Rearranged/Resized UI elements.
Bug fix: Downloading models now uses file ID instead of names.
Bug fix: NSFW Toggle no longer hides images tagged as "Soft".
Bug fix: Fixed each model load running twice.
v1.7.2
Bug fix: Download button did not get re-enabled properly.
Bug fix: Tile status did not get updated properly when download failed.
v1.7.1
Feature: Base Model filtering dims tiles instead of hiding.
Bug fix: NSFW Blur increases with tile size.
Bug fix: Dynamic tile status after installation & deletion now correctly detects other versions.
v1.7
Feature: Introduced seperate download progress bar, browse while downloading.
Feature: no more force refresh after installing, cancelling and deleting.
Feature: Added toggle to sort Tiles by date.
Feature: Dynamic changing of tile borders after installation & deletion.
Removal: 'Auto delete old version' removed since it relied on a reload.
v1.6
Bug fix: Page count is now always correclty read when refreshing.
(You can fill in the page number you'd like to visit and press refresh to go to that page)
Feature: 'Filter Base Model' to dynamically hide any unselected Base models.
(Please note: This does not impact search results, since the CivitAI API does not yet support this)
v1.5
Feature: Slider to change tile size.
Feature: Download Folder textbox which can be used to define a custom download path.
Feature: Sub Folder Dropdown to select any available subfolder(s) as download location.
Feature: Display a timed out message instead of an error icon.
Bug fix: Nested files can now be detected as installed or outdated.
Bug fix: Auto selects corresponding folder of any installed models.
Bug fix: Better cancellation logic to prevent downloads from continuing.
v1.4
Feature: Download progress bar is now on web page instead of CMD.
Feature: Added Cancel and Delete buttons.
Feature: Download button will now change according to circumstances:
Cancel button if there's a current download.
Delete button if the selected version is installed.
Cleanup: Better margin fixes with theme detection.
Bug fix: Delete option now also removes .json files.
Bug fix: Buttons are now disabled during download. (except cancel button)
v1.3.1
Bug fix: Fixed tag saving bugs/oversights.
Bug fix: Trained tags display now do not include the model itself.
v1.3
Feature: 'Save Tags' button 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)
Feature: 'Save tags after download' toggle to automatically save .json tags.
Cleanup: Removed "Get model info" button.
Cleanup: Removed download link box.
Cleanup: Removed "No" from search options.
Cleanup: Added border radius to cards.
Cleanup: Improved padding based on if Lobe theme is being used.
v1.2
Feature: Automatically saves preview image when downloading a model.
Feature: Added [installed] text suffix for any versions that are installed in the 'Version' tab.
Cleanup: Changed 'Model Filename' from a dropbox to a textbox.
Cleanup: Made bottom textboxes non typeable.
Cleanup: Disabled bottom buttons when no model is selected.
Bug fix: Margin error on the latest tile.
Bug fix: Version checking is now case sensitive.
Bug fix: Default verison in version tab shows installed version.
v1.1
Feature: Dropdown box which can filter by time period.
Cleanup: 'Content type' changed from buttons to a dropdown box.
Bug fix: Fixed tiles not reloading when already pressed.
v1.0
Feature: 'Refresh' now reloads the current page unless any options have been changed.
Feature: Made the page refresh after a download and made it load during one.
Feature: Orange glow for any outdated installed packages.
Feature: 'Delete old version after download' option.
Feature: Ability to manually fill in a page number to load the corresponding page.
Cleanup: Removed new folder option.
Cleanup: Made the glow around frames always visible without hovering.