Awesome
Civitai Extension for Automatic 1111 Stable Diffusion Web UI
Manage and interact with your Automatic 1111 SD instance right from Civitai
https://user-images.githubusercontent.com/607609/234462691-ecd578cc-b0ec-49e4-8e50-a917395a6874.mp4
Features
- Automatically download preview images for all models, LORAs, hypernetworks, and embeds
- Automatically download a model based on the model hash upon applying pasted generation params
- Resources in Metadata: Include the SHA256 hash of all resources used in an image to be able to automatically link to corresponding resources on Civitai
- Flexible Resource Naming in Metadata: Hashify the names of resources in prompts to avoid issues with resource renaming and make prompts more portable
- Civitai Link (Alpha): Optional websocket connection to be able to add/remove resources and more in your SD instance while browsing Civitai or other Civitai Link enabled sites.
Installation
Through the Extensions UI (Recommended)
- Open the Extensions Tab in Automatic1111 SD Web UI
- In the Extension Tab Open the "Instal from URL" tab
- Paste
https://github.com/civitai/sd_civitai_extension.git
into the URL input - Press install and wait for it to complete
- Restart Automatic1111 (Reloading the UI will not install the necessary requirements)
note: for the correct usage of this extension, make sure to remove the --no-hashing
launch option from Automatic 1111 (if you are using it) as this extension relies on hash information provided it.
Manually
- Download the repo using any method (zip download or cloning)
git clone https://github.com/civitai/sd_civitai_extension.git
- After downloading the repo, open a command prompt in that location
cd C:\path\to\sd_civitai_extension
- Then run the included install.py script
py install.py
# OR
python install.py
note: for the correct usage of this extension, make sure to remove the --no-hashing
launch option from Automatic 1111 (if you are using it) as this extension relies on hash information provided it.
Frequently Asked Questions
What the Civitai Link Key? Where do I get it?
The Civitai Link Key is a short 6 character token that you'll receive when setting up your Civitai Link instance (you can see it referenced here in this Civitai Link installation video). The Link Key acts as a temporary secret key to connect your Stable Diffusion instance to your Civitai Account inside our link service.
Since Civitai Link is still in alpha, it is currently only available to Supporters as part of the Civitai Early Access program. You can get access to Civitai Link today by becoming a supporter 🥰 or you can wait until we've gotten it to a state that we're ready for a full release.
Contribute
Hop into the development channel in our Discord server and let's chat!