Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.
✨Features | ⭳ Download | 🛠️Installation | 🎞️ Video | 🖼️Screenshots | 📖Wiki | 💬Discussion
Generate images from within Krita with minimal fuss: Select an area, push a button, and new content that matches your image will be generated. Or expand your canvas and fill new areas with generated content that blends right in. Text prompts are optional. No tweaking required!
This plugin seeks to provide what "Generative Fill/Expand" do in Photoshop - and go beyond. Adjust strength to refine existing content (img2img) or generate images from scratch. Powerful customization is available for advanced users.
Local. Open source. Free.
Features are designed to fit an interactive workflow where AI generation is used as just another tool while painting. They are meant to synergize with traditional tools and the layer stack.
See the Plugin Installation Guide for instructions.
A concise (more technical) version is below:
apt install python3-venv
To run locally a powerful graphics card with at least 6 GB VRAM is recommended. Otherwise generating images will take very long!
NVIDIA GPU | supported via CUDA |
AMD GPU | supported via DirectML on Windows, ROCm on Linux (only custom server) |
Apple M1/M2 | supported via MPS on macOS |
CPU | supported, but very slow |
[!NOTE] If you encounter problems please check the FAQ / list of common issues for solutions.
The plugin uses ComfyUI as backend. As an alternative to the automatic installation, you can install it manually or use an existing installation. If the server is already running locally before starting Krita, the plugin will automatically try to connect. Using a remote server is also possible this way.
Please check the list of required extensions and models to make sure your installation is compatible.
If you're looking for a way to easily select objects in the image, there is a separate plugin which adds AI segmentation tools.
You can also rent a GPU instead of running locally. In that case, step 6 is not needed. Instead use the plugin to connect to a remote server.
There is a step by step guide on how to setup cloud GPU on runpod.io or vast.ai or sailflow.ai.
Inpainting on a photo using a realistic model
Reworking and adding content to an AI generated image
Adding detail and iteratively refining small parts of the image
Using ControlNet to guide image generation with a crude scribble
Modifying the pose vector layer to control character stances (Click for video)
Upscaling to improve image quality and add details
Server installation
Style preset configuration
Contributions are very welcome! Check the contributing guide to get started.