Krita Random Exporter

Krita Scripter exporter for generating large batches of layered variations with rarity control and optional animation output.

Krita Script Python
GitHub Repo

Overview

Krita Random Exporter is a Python script for exporting large amounts of varying images from Krita, with support for rarity weighting and as many random traits as you want to define.

Setup

Load the massExporter script through Krita's built-in Scripter plugin. It works best if you save a local copy, edit the settings you need, and run it from there.

How it works

Configure the attributes inside the script to match the traits you want to generate. The default example uses color, but the system is built for broader trait combinations.

Layer hierarchy in the Krita file needs to mirror the attribute setup in the script, with names formatted as traitName_variationName.

Animation export

If you want animation output, set up the animation timeline in Krita and point the script at your ffmpeg install. If you only want still images, leave animation export disabled.