Requirements and installation - JasonS09/comfy_sd_krita_plugin GitHub Wiki
Requirements:
To install this plugin, you'll need the following requirements.
The dependency nodes repo contains the three necessary nodes for this plugin to work. LoadBase64Image, LoadBase64ImageMask, and GetPrompt node (credits to https://github.com/bmad4ever). The first two nodes are constantly used by the plugin send image data to the server, as it needs to base64 encode the images on each request. It does not use the default LoadImage node and it doesn't upload the inputs to Comfy. The last one, GetPrompt, is more of an utility node which can be used to extract current prompt info in API format so you're able to import it as your custom workflow.
The controlnet preprocessor nodes are also necessary if you want to be able to use preprocessors for controlnet.
Installation:
The custom nodes
- Simply open a command line prompt and go to your ComfyUI's custom nodes directory.
- Run the following:
git clone https://github.com/JasonS09/comfy_sd_krita_plugin_nodes - Then run the following:
git clone https://github.com/Fannovel16/comfyui_controlnet_aux
The plugin
- Clone this repo somewhere:
git clone https://github.com/JasonS09/comfy_sd_krita_plugin --recursive - Locate
pykritafolder (Open Krita -> Settings -> Manage Resources -> Open Resource Folder).pykritashould be in that directory. - Open a new command prompt as Admin.
- Make a symlink of
krita_comfyandkrita_comfy.desktoppresent in this repository (in the frontends/krita directory). Windows commands example:
mklink /d your-pykrita-dir\krita_comfy "your-local-repo-dir\frontends\krita\krita_comfy"
mklink your-pykrita-dir\krita_comfy.desktop "your-local-repo-dir\frontends\krita\krita_comfy.desktop"
After following these steps, restart Krita and your plugin should be able to use. If not, make sure it's enabled (Preferences -> Configure Krita -> Python Plugin Manager tab).