koi is an open source plug-in for Krita that allows you to use AI to accelerate your art workflow!
In the interest of getting the open source community on board--I have released this plug-in early. In its current state you may run into issues (particularly during the setup process). If you do, I encourage you to open an issue here on GitHub and describe your problems so that it can be fixed it for you and others!
The goal of this repository is to serve as a starting point for building increasingly useful tools for artists of all levels of experience to use.
Link to original twitter thread
This plug-in serves as a working example of how new A.I. models like Stable Diffusion can lower the barrier of entry to art so that anyone can enjoy making their dreams a reality!
Because this is an open source project I encourage you to try it out, break things, and come back with suggestions!
If you are new to git, or get stuck during the installation process, Lewington made a nice step-by-step video.
The easiest way to get started is to follow the plug-in installation process for krita. Then use the google colab backend server (button at the top of this readme)! This should give you a good introduction to the setup process and get you up and running fast!
pykrita folder referencekoi folder and koi.desktop to pykrita. (restart krita now if it is open)koi plugin and restart Krita to load the plug-in.Step 0: Ensure you have a GPU-accelerated installation of pytorch. (You can skip this step if you are using Colab or already have it)
Step 1: Get the latest version of HuggingFace's diffusers from source by going to the GitHub repo
git clone https://github.com/huggingface/diffusers.git & cd diffusers to move into the directory.pip install -e .Step 2: Install this package! I recommend moving out of the diffusers folder if you haven't already (eg. cd ..)
git clone https://github.com/nousr/koi.git, then cd koi and pip install -e .Note :raising_hand:
Before continuing, make sure you accept the terms of service for the
diffusersmodel link to do so here.Next, inside your terminal run the
huggingface-cli logincommand and paste a token generated from here. If you don't want to repeat this step in the future you can then rungit config --global credential.helper store. (note: only do this on a computer you trust)
python server.py
endpoint field of the plugin
/api/img2imghttp://127.0.0.1:8888/api/img2imgThis part is easy!
koi panel (default location is somewhere on the right of your screen).dream!koi stand for?
HTML
69.0%
Jupyter Notebook
16.2%
Python
14.8%
koi is an open source plug-in for Krita that allows you to use AI to accelerate your art workflow!
In the interest of getting the open source community on board--I have released this plug-in early. In its current state you may run into issues (particularly during the setup process). If you do, I encourage you to open an issue here on GitHub and describe your problems so that it can be fixed it for you and others!
The goal of this repository is to serve as a starting point for building increasingly useful tools for artists of all levels of experience to use.
Link to original twitter thread
This plug-in serves as a working example of how new A.I. models like Stable Diffusion can lower the barrier of entry to art so that anyone can enjoy making their dreams a reality!
Because this is an open source project I encourage you to try it out, break things, and come back with suggestions!
If you are new to git, or get stuck during the installation process, Lewington made a nice step-by-step video.
The easiest way to get started is to follow the plug-in installation process for krita. Then use the google colab backend server (button at the top of this readme)! This should give you a good introduction to the setup process and get you up and running fast!
pykrita folder referencekoi folder and koi.desktop to pykrita. (restart krita now if it is open)koi plugin and restart Krita to load the plug-in.Step 0: Ensure you have a GPU-accelerated installation of pytorch. (You can skip this step if you are using Colab or already have it)
Step 1: Get the latest version of HuggingFace's diffusers from source by going to the GitHub repo
git clone https://github.com/huggingface/diffusers.git & cd diffusers to move into the directory.pip install -e .Step 2: Install this package! I recommend moving out of the diffusers folder if you haven't already (eg. cd ..)
git clone https://github.com/nousr/koi.git, then cd koi and pip install -e .Note :raising_hand:
Before continuing, make sure you accept the terms of service for the
diffusersmodel link to do so here.Next, inside your terminal run the
huggingface-cli logincommand and paste a token generated from here. If you don't want to repeat this step in the future you can then rungit config --global credential.helper store. (note: only do this on a computer you trust)
python server.py
endpoint field of the plugin
/api/img2imghttp://127.0.0.1:8888/api/img2imgThis part is easy!
koi panel (default location is somewhere on the right of your screen).dream!koi stand for?
HTML
69.0%
Jupyter Notebook
16.2%
Python
14.8%