Skip to content

All of the Civitai models inside Automatic 1111 Stable Diffusion Web UI

License

Notifications You must be signed in to change notification settings

civitai/sd_civitai_extension

Repository files navigation

Civitai Extension for Automatic 1111 Stable Diffusion Web UI

Manage and interact with your Automatic 1111 SD instance right from Civitai

Civitai.Link.-.March.2023.Alpha.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)

  1. Open the Extensions Tab in Automatic1111 SD Web UI
  2. In the Extension Tab Open the "Instal from URL" tab
  3. Paste https://github.com/civitai/sd_civitai_extension.git into the URL input
  4. Press install and wait for it to complete
  5. 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

  1. Download the repo using any method (zip download or cloning)
git clone https://github.com/civitai/sd_civitai_extension.git
  1. After downloading the repo, open a command prompt in that location
cd C:\path\to\sd_civitai_extension
  1. 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!

About

All of the Civitai models inside Automatic 1111 Stable Diffusion Web UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published