- Dropping compatibility for webui versions less than 1.6.0
- The branch v1.5-compatible has been added for users of versions before 1.6.0, but it will no longer be updated.
- The v1.6ONLY branch has been merged into the main project, which includes JS optimizations and some JS sandboxing intended to reduce the potential for extension conflicts.
- Model scanning and duplicate scanning now have progress bars.
- Replaced the preview file selection dropdown when downloading a model with a gallery.
- This feature is intended to be extended if webui's internal Gradio version is updated to one that allows changing the currently selected gallery image from Python, as currently it's "sticky" and will keep the same preview index when you switch to a different model URL. IE: if you are downloading a model and pick Preview Image #3, the next model you download will have its third preview image selected by default. You can still change it by selecting a different image yourself, but the extension currently cannot do it automatically.
- Editing proxies should no longer require a UI restart.
- Fixed a bug where the model downloader wouldn't download Max Size Previews even if the option was enabled in settings.
** HOTFIX: Fixed a small bug where a non-standard NSFW value for preview images from Civitai's API could error out model scanning.
- New Feature: Scan for Duplicate Models
- Models that have no metadata files (from civitai or generated by the normal model scanner) will not be checked.
- Fixed a bug where models with
'
in their name would cause buttons to be no-op. - Changed layout of Civitai Helper tab to be more compact
- Model Downloader has received signifiant updates that add the following features:
- Preview Image selection
- Per-file Download selection
- Model Renaming now works with Download All Files
- Models that include a recommended VAEs will now have their VAE placed in the appropriate VAE directory.
- Preferred VAE will also be added to the model metadata so that it will be used if your VAE settings are set to
Automatic
.
- Preferred VAE will also be added to the model metadata so that it will be used if your VAE settings are set to
- Downloader fixes from Milly.
- Model Downloader now supports changing the filename before downloading.
- If a download cannot be resumed, it will now be restarted.
- Implemented authentication via API Key.
- This allows the user to download models that require authentication.
- Downloader rewrite:
- Downloading models will now show download progress in webui.
- Download errors will now be displayed in webui, with more detailed information still in console output.
- The current model filename will now be included when renaming models.
- Extension should now at least run in Vladmandic's stable diffusion webui thanks to #32.
- I do not run Vladmandic and have not personally tested functionality. Users who would like to address issues with Vladmandic compatibility may send a Pull Request.
- Missing image generation info in civitai.info files can now be retrieved from civitai by downloading the image and parsing its EXIF data. Most people should not need this, but it can be helpful if you're trying to recreate an image or more like it from the model's preview page. This will only work if the model author left metadata in the image.
- Added some compatibility code for the Lobe theme extension
- Reduce timeout errors, retry failed downloads.
- Added an option to use sd webui's SHA256 hashing function instead of our own.
- Added "Remove Model" button. From butaixianran's repo.
- Added "Rename Model" button.
- New
.json
files will now have their descriptions surrounded by HTML comments as to not break model cards when card descriptions are enabled. If you want to display these descriptions on cards, you can remove the leading<!--
and tailing-->
, but you will be responsible for any issues that arise. - Card buttons can now be hidden individually. By default, the "insert trigger words" button is hidden on newer versions of sdwebui, where this functionality happens automatically if the metadata
JSON
exists, which is created when models are scanned with default settings. - Model names on cards now have a maximum height when not hovered, which should prevent the model name from occupying the whole card.
- Fix downloading size check issue. From butaixianran's repo.
- NSFW previews can now be blocked by severity, from Soft, Mature, X, and Allow All. From sdy623's repo. These don't seem to be documented on Civitai's end, but here's what I've been able to gather by pinging the API and seeing what images were returned.
- Soft images do not appear to contain explicit nudity, but may have implicitly suggestive elements or clothing that outline the underlying body closely enough that details underneath poke out or have their silhoutte visible.
- Mature images may contain nudity, but could just as easily show a little too much cleavage or are otherwise actively sexually suggestive.
- X are explicitly pornographic.
- Downloading webui model information (
[model_name].json
) is now optional and can be configured in the webui settings. - When a model is not found on Civitai, this extension will attempt to read the model header for activation keywords. This only works with safetensors files with kohya_ss metadata and may be inaccurate depending on how the model was trained. This method assumes the model was trained with each trained concept having its own training folder. This is not always the case.
- This information can also be found in webui without any extensions by clicking the ℹ️ button and reading the
"ss_tag_frequency":
section. This section may prove more helpful on models that are trained on multiple concepts but with all the training data under one directory. For instance, if it was trained for certain characters, search the list for that character's name. Often model authors will use a name plus a unique identifier as to not cause the character to "bleed into" other characters with the same name. For instance, we can the All The Mothers lora has all of its trained characters as tagged images under one dataset:
- This information can also be found in webui without any extensions by clicking the ℹ️ button and reading the
- Better HTML sanitization/removal from Descrition/Note fields.
- CivitAI Anti-DDOS false-positive delay lowered. This may be reverted if it causes issues, tho <5 API hits a second shouldn't be too bad.
- CivitAI Anti-DDOS false-positive delay added to all models, not just embeddings, when performing model scans.
- However, delay has been removed when a scanned model does not need to perform an API hit to CivitAI.
- Enabled functionality to re-download model data if the current data is from an older version of SD-Webui-Civitai-Helper.
- For many people, this will not be necessary. For those migrating from the original extension, missing data for WebUI is handled separately and will be downloaded on scan anyways.
- For more details, see the wiki.
- HOTFIX: if a model has been deleted from Civitai, the
Replace Old Metadata Formats
option will no longer overwrite working data with dummy data.
- Settings are now in the settings menu.
- Model previews following the name format
[model name].preview.[format]
in JPEG, GIF, and WEBP formats are now checked before downloading model previews from civitai. - HTML in the model description and version information should be removed and replaced more eloquently.
- Improved layout of Model Update interface.
- Added options for behaviors when downloading a model with the same filename as one already existing.
- The new default is to skip downloading, replacing the old default of renaming the new model.
- Post-release Hotfix: fixed skeleton JSON generation for models not found on CivitAI.
- Added compatibility with Stable Diffusion WebUI v1.5.0-v1.6.0.
- Downloading metadata from Civitai should now include more exhaustive data, including correct description and tags.
- NSFW preview detection should be accurate.
- Native and Extension LyCoris support should function.
- Buttons added by this extension no longer require a separate button to add to UI.
- Extension populates Stable Diffusion WebUI's new metadata editor with description, Checkpoint model version, version information, and activation prompt(s).
- This should allow simply clicking a card to add model activation prompts.
- Model Download UI requires fewer clicks to download a model.
- Add "Download All files" checkbox for downloading model section. Uncheck means only download 1 file.
- Support downloading multiple files, not avaiable when checking new version.
- when parsing civitai url, remove query string by PR
- When downloading, re-name file if file already exists
- Support bilingual localization extension by PR
- Fix Localization issue for 4 addtional buttons on cards. (Forgot that again...)
- Fix some UI issues to work with gradio 3.23.0
- Support Proxy when connecting to civitai. Check document for detail.
- check realpath when opening file, to fix error when using junction
- Fix multiple addtional buttons issue after switching tabs.
- Fix Localization issue for 4 addtional buttons on cards
- update error msg when can not connect to civitai API service
- update thumb mode for SD webui new version's metadata button
- update SHA256 function, now it just use the code from pip
- set sys.stdout to utf-8
- Add default header for requests to prevent from being blocked by civitai.
- merge other v1.5.x change log to v1.5.4
- When downloading a model by url, check if target model version is already existed in user selected sub-folder.
- Support scanning only selected model types.
- Force TI scanning delay 1 second to prevent from civitai treating this extension's requests as attacking.
- Download a model by Civitai model page's url
- Resume downloading from break-point
- Download new version into SD Webui's model folder
- Addtional button now works on thumbnail mode
- Option to always show addtion button, for touch screen.
- ignore .vae file in model folder when scanning
- When checking new versions, also searching and ignore already existed ones.
- Add version number to the bottom of this extension's tab
- Support checking model's new version, display the result in UI and offer download url
- Remove addintional sub tabs on extension tab. make ui simpler.
- Open url at client side
- Link selected model to civitai by url or model id
- Save and load extension setting to file
- Show button action's output to UI
- Code refactoring
- Add more error checking to work with different versions of SD webui.
- Support customer model folder
- Support readable model info file
- Support download preview image with max size
- Remove card buttons when extra network is in thumbnail mode
- Support subfolders
- Check if refresh is needed when clicking "Refresh Civitai Helper"
- Add space when adding trigger words
- Add memory Optimized sha256 as an option