AIBrushManga, an open-source engine that lets an LLM ink manga stroke by stroke with G-pens and screentone
AIBrushManga, now on GitHub, is an engine where an LLM inks manga by moving pen nibs in Python, with no image generation model involved. It comes with G-pens, maru pens, screentone, hatching and focus lines, and every stroke is logged so the page can be redrawn later at a higher resolution. Mapte's post introducing it around noon JST had 383 likes and 467 bookmarks by about 8 p.m.

Drawing, not generating
It grew out of aibrush, an open-source engine in which an LLM paints in oils one brushstroke at a time with simulated brushes and paint. AIBrushManga is a fork that leaves the oil engine untouched and adds a separate manga mode for black-and-white pages.
Under the hood it is a Python library that needs only Python 3.10+, NumPy, SciPy and Pillow. The LLM writes code that places pressure-sensitive lines, tone, solid blacks and white-out on the page. There is no diffusion model anywhere in the loop.
A full kit of manga tools
Pens taper in and out automatically, and the G-pen flares under pressure. Hatching stacks directions as the tone gets darker, and screentone is set in real print lines per inch. Focus lines, speed lines, flashes, panel layouts and borders are each one function call.
There is even a set of face parts: brows, iris highlights, open mouths, blush hatching, the vertical gloom lines of dread and sweat drops. The first image in Mapte's post is one of the repository's examples, the same girl drawn with eight expressions such as laughing, angry, surprised and embarrassed. The second lays out samples of the pens, hatching, tones and focus lines.
Redraw it bigger later
Every call goes into a JSONL journal. A B4 page drafted at 8 pixels per millimeter can be re-rendered at 16 or 24 with identical strokes, or exported as pure black and white for a 600 dpi laser printer. Another command turns the journal into a video of the page being drawn, stroke by stroke.
Line weight, hatch spacing, tone levels, the way eyes are drawn and more can be tuned in a settings file to match your own style. The README says it works best from a reference image, and that figures drawn from coordinates alone come out stiff.





