cli-anything-krita
CLI harness for Krita, the professional open-source digital painting application.
Prerequisites
- Krita installed on the system
- Python 3.10+
Install the CLI:
Command Reference
Project Management
Layer Management
Layer types: paintlayer, grouplayer, vectorlayer, filterlayer, filllayer, clonelayer, filelayer
Filters
Available: blur, sharpen, desaturate, levels, curves, brightness-contrast, hue-saturation, color-balance, unsharp-mask, posterize, threshold
Canvas Operations
Export
Presets: png, png-web, jpeg, jpeg-web, jpeg-low, tiff, tiff-lzw, psd, pdf, svg, webp, gif, bmp
Session (Undo/Redo)
Status
Agent Usage (JSON Mode)
All commands support --json for machine-readable output:

