← Back to Leaderboard
KAcly

Acly/krita-ai-diffusion

Krita plugin for controlled canvas editing with ComfyUI generation

AI Plugin
Engineering Health (Methodology)
A · 81/100
Maintenance Activity
● Updated today
Latest Release
v1.53.0
Commercial License Check
GPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence17/20
License Clarity11/20
Local AIGPU
Total Stars
★ 10,988
24h Growth
+2
7d Growth
+29
Forks
672

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Acly/krita-ai-diffusion Star History (2023-09-10 - 2026-12-04) ALL-TIME STAR HISTORY (2023-09 – 2026-12) +11k in 1181d · avg +9/day 11.6k 5.8k 0 2023-09-10: ★ 12023-11-25: ★ 2,1202024-02-10: ★ 3,5002024-04-27: ★ 4,3522024-07-13: ★ 5,4402024-09-28: ★ 6,1902024-12-14: ★ 7,0102025-03-01: ★ 7,7502025-05-17: ★ 8,3072025-08-02: ★ 8,6802025-10-18: ★ 9,0362026-01-03: ★ 9,3812026-03-21: ★ 9,7232026-06-06: ★ 10,0642026-08-22: ★ 10,4252026-12-04: ★ 10,988 ★ 11k 2023-09 2025-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Krita AI Diffusion is a Python plugin, not a standalone inference application. Its AI Image Generation docker is a dockable Krita panel, not a container. The plugin turns canvas context, selections, layer-defined regions, prompts, and visual guides into generation requests for ComfyUI. Artists queue jobs, cancel them, and preview previous results without leaving the editor. ComfyUI handles inference and can run as a plugin-managed local server or as a separately configured local or remote service.

The tree contains the Krita plugin descriptor ai_diffusion.desktop and the ai_diffusion/ source directory. pyproject.toml declares Python >=3.10 for the project, but the installed plugin runs in Krita's embedded Python. The requirements file describes the Krita 5-era runtime as standard library plus Qt5 and lists tools such as ruff, pyright, and pytest for development and testing; those entries are not workstation runtime prerequisites. The Krita 6 prerelease moves the host integration to Qt6.

Key Capabilities & Differentiators

The core workflow is editing an existing image rather than relying on a prompt for the entire frame. Selections constrain inpainting and object replacement; outpainting extends the canvas; adjustable refinement strength controls how much existing content changes. Layer-defined regions can carry separate prompts. ControlNet supports guides including scribble, line art, Canny edges, pose, depth, normals, and segmentation, while IP-Adapter adds reference-based style and composition guidance.

The supported model list includes Flux 2, Z-Image, Stable Diffusion 1.5, XL, and Illustrious, as well as edit models driven by text instructions. Style presets expose checkpoints, LoRAs, and samplers without making every painting session a configuration exercise. Live painting gives feedback as the canvas changes, while queued jobs and history support less interactive iteration. The upscaling workflow targets 4K, 8K, and beyond; treat those as output sizes, not a memory guarantee for every model and GPU.

Trade-offs & Limitations

Compared with working in ComfyUI directly, the plugin trades direct access to the node graph for controls that map to painting tasks: selections, layers, presets, and guides. This is a good exchange when the image is the work in progress. Use ComfyUI directly when the workflow graph itself is the artifact you need to inspect or redesign. A custom server preserves the option to manage the backend separately, but you must keep the required extensions and models compatible.

Local execution avoids sending canvas inputs to a remote inference service, but shifts model storage, GPU sizing, and maintenance to the operator. CPU support is a slow fallback, not a practical substitute for a GPU when using live painting. Remote or cloud execution reduces workstation compute requirements but adds network dependence and makes it important to decide where canvas content may be sent. GPL-3.0 applies to the plugin; check the terms of individual model weights and other assets before adopting them in a commercial pipeline.

Hardware & Deployment Guide

Install the release ZIP from Krita's Tools → Scripts → Import Python Plugin from File, restart, open a document, and enable Settings → Dockers → AI Image Generation. Use Configure to install the managed local server or connect to ComfyUI. An existing local or remote server needs compatible extensions and models for the chosen workflows. Cloud generation is a separate option when you do not want to provision local inference hardware.

The local recommendation is an NVIDIA GPU with at least 6 GB of VRAM. CUDA, ROCm, and XPU are listed for Windows/Linux, and MPS is supported on macOS 14+ with Apple Silicon. Match the plugin ZIP to the host: v1.53.0 recommends Krita 5.3.2.1 and adds Anima segmentation control. v1.54.0-pre recommends Krita 6.0.4, moves to Qt6, and does not run on Krita 5. That prerelease has had limited testing and is known to perform poorly on macOS, so evaluate that combination before committing production work to it.

Execution split: Krita handles canvas interaction; ComfyUI runs generation on a managed local, existing local, or remote server.
Spatial control: Selections bound edits, layer-defined regions carry separate prompts, and ControlNet accepts inputs such as line art, pose, depth, and segmentation.
Model coverage: Flux 2, Z-Image, Stable Diffusion 1.5, XL, and Illustrious are listed alongside instruction-based edit models and custom checkpoint and LoRA presets.
Iteration: Live painting feeds back on canvas changes, while the queue supports cancellation and history preserves access to results and prompts.
Hardware paths: CUDA, ROCm, and XPU on Windows/Linux; MPS on macOS 14+ with Apple Silicon; slow CPU fallback.
Host compatibility: v1.53.0 targets Krita 5; v1.54.0-pre moves to Krita 6/Qt6 and drops Krita 5 compatibility.
Best For

Krita artists and studios that want selection-based retouching, outpainting, or guided generation without leaving the canvas, with the option to own the inference setup.

Skip If

The node graph is your primary workspace, you need a standalone generation service, or you need responsive live painting on CPU-only hardware and cannot use a remote backend.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Acly/krita-ai-diffusion.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Acly/krita-ai-diffusion Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about krita-ai-diffusion

Can I reuse an existing ComfyUI installation?

Yes. Configure the AI Image Generation docker to use a local or remote ComfyUI server. If a local server is already running when Krita starts, the plugin tries to connect automatically. Check that the server has the extensions and models required for the workflows you intend to use; the ability to connect does not establish workflow compatibility.

How should I size a workstation for local inference?

The local hardware guidance recommends an NVIDIA GPU with at least 6 GB of VRAM. That is a starting point, not a guarantee for every model or image size. Size the system around the models and canvas sizes you actually use, and test live painting separately if interactive feedback matters. CPU execution is supported but very slow.

Can a studio self-host it for commercial work?

Yes. The plugin is GPL-3.0, which permits commercial use and does not require you to publish modifications merely because you run them internally. If you distribute the original or a modified plugin, meet the applicable GPL-3.0 obligations. Review the licenses of checkpoints, LoRAs, and other components separately; the plugin's license does not grant rights to those assets.

When is it preferable to using ComfyUI directly?

Choose the plugin when selections, layers, regional prompts, and iterative edits on the canvas are central to the job. Use ComfyUI directly when inspecting or rebuilding the node graph is the main task. These approaches can share a backend: the plugin integrates generation into Krita rather than replacing ComfyUI.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Acly/krita-ai-diffusion? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Acly/krita-ai-diffusion on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare