-
Notifications
You must be signed in to change notification settings - Fork 38
Install Guide
This guide is primarily written for Windows users. However, development is done on a (Gentoo) Linux laptop, so Linux users should have a smooth setup.
NOTE: Even if you have used a another/previous Krita plugin, you must follow Installing the Extension below. Our APIs are very unlikely to be compatible.
Follow the corresponding installation guide from AUTOMATIC1111's wiki:
Download or clone this repository https://github.com/Interpause/auto-sd-paint-ext into the extensions folder within AUTOMATIC1111's stable-diffusion-webui repository. Make sure to add --api to COMMANDLINE_ARGS in webui-user.bat or webui-user.sh.
Afterwards, double click webui-user.bat as per normal to run it.
Download Krita and launch it.
On the menubar, go to Settings > Manage Resources....
On the popup, click Open Resource Folder. Take note of the pykrita folder located inside (or create it if it doesn't exist).
The plugin consists of the krita_diff folder and krita_diff.desktop file located in stable-diffusion-webui\extensions\auto-sd-paint-ext\frontends\krita. To install the plugin, copy them into the pykrita folder from earlier.
A symlink is a shortcut to a file or folder that redirects to the real file or folder when read by an application, allowing for automatic updates to the plugin. However, symlinks require admin permissions and are fragile on Windows.
Open an admin prompt and run the following commands, adjusting the file/folder paths based on your own configuration:
cd <location-of-pykrita-folder>
mklink /j krita_diff <location-of-auto-fork>\stable-diffusion-webui\extensions\auto-sd-paint-ext\frontends\krita\krita_diff
mklink krita_diff.desktop <location-of-auto-fork>\stable-diffusion-webui\extensions\auto-sd-paint-ext\frontends\krita\krita_diff.desktop- Restart Krita.
- On the menubar, go to
Settings > Configure Krita... - On the left sidebar, go to
Python Plugin Manager. - Look for
Stable Diffusion Pluginand tick the checkbox. - Restart Krita again for changes to take effect.
The SD Plugin docked window should appear on the left of the Krita window. If it does not, look on the menubar under Settings > Dockers for SD Plugin.