Painting in Krita with AI: brushes, shapes and fills

Updated 2026-11-28 · MCP Pro for Krita 1.0.0

MCP Pro for Krita does not generate images. The AI paints the way a script would drive Krita: real brush presets, real strokes on real layers, so the result behaves like anything you painted yourself. This guide shows the painting tools and a working pattern for using them.

What painting means here

The model picks coordinates, colours, presets and pressure; Krita renders the strokes. That is good for layouts, flat colour, shapes, line work, gradients, backgrounds, UI elements, diagrams, title cards and block-ins you refine by hand. It will not replace a painter's hand on a detailed illustration, and it does not try to.

Brush strokes, a rectangle, ellipse, triangle, path, fills and the text MCP Pro for Krita
Live test output (Krita 6.0.5): a tapered stroke with b) Basic-5 Size, a pressure-per-point stroke, line, rectangle, ellipse, polygon, SVG path, bucket fill, a radial gradient in an elliptical selection, a pattern fill, editable text, a vector badge, and an eraser stroke through it all.

Brush presets and settings

Strokes and pressure

paint_stroke(points=[[20, 200], [80, 40], [160, 180], [300, 30]],
             preset="b) Basic-5 Size", size=14, pressure="taper",
             color="#2050ff", layer="Ink")

pressure is a number, a list per point, or a curve: taper (thin-thick-thin), taper_in, taper_out, pen, constant. Points can also carry their own pressure: [[30, 30, 0.2], [60, 40, 1.0], [90, 30, 0.2]]. Pressure-sensitive presets respond like a tablet. smooth=true draws a smooth curve through the points; eraser=true erases.

Lines, shapes and paths

Fills and selections

Text and vector shapes

add_text creates editable Krita text (font, size, bold, italic, alignment, line height, outline). measure_text returns the width and height first, so the model can fit a title before placing it. add_vector_shapes adds editable SVG shapes to a vector layer.

Filters and adjustments

apply_filter runs any Krita filter by id with a config (see list_filters and get_filter_config); adjust_hsv, blur_layer, sharpen_layer and adjust_levels are shortcuts. For non-destructive work, create_layer(type="filter") and add_mask(type="filter") create filter layers and masks you can still change by hand.

The look-and-fix loop

The tools return what they did (bounds, layers), but the reliable check is the picture. A prompt pattern that works:

"Block in the scene on separate layers: sky gradient, ground, a tapered horizon line. After each layer, call get_canvas_preview, tell me what you see, and fix anything that is off before moving on."

Every call is one undo step, so "that stroke is wrong, undo it and try a softer preset" is cheap.

Get MCP Pro for Krita
$15 once on itch.io, free updates.

itch.io · $15

More guides