Skip to main content
Inpainting reconstructs the artwork beneath source text. A precise removal area usually matters more than a larger model.

Review automatic cleanup

Detection gives each text block a mask over its source glyphs, reaching a few pixels past them but never into another text’s box. Inpainting fills each mask and stores the result as the block’s clean-up, shown under its translation. Rerunning inpainting replaces the clean-up. Most lettering sits on plain paper or a gradient, so Koharu fills it without the model when the surrounding pixels allow: On a flat color, each separate part of a mask is read on its own, so a stray part takes the color around it. Where a mask covers a bubble border or art, the model redraws only that part. See cleanup for how each tier decides. The model redraws each text with 256 pixels of context around it, at the page’s own scale, and never across two panels. LaMa’s fill stays inside the mask. FLUX.3 Klein and Qwen-Image 2.1 Turbo redraw the whole window, and the clean-up keeps it around the text, shown through the block’s mask, so painting the mask larger shows more of their redraw. Inspect the result at normal reading size and high zoom. Look for glyph fragments, missed punctuation or furigana, erased bubble borders, repeated textures, and smeared screentone.

Repair a missed region

1

Paint the area

Choose Remove, set the brush size, and cover only the source marks that need reconstruction. Use controlled strokes and avoid neighboring line art.
2

Let inpainting run

Release the stroke. Koharu inpaints that area at once with the selected inpainting model. The result goes onto the raster layer selected in Layers, or a new one that stays selected for the next strokes. With a text block’s clean-up selected, it goes there instead, under the translation, and the block’s mask opens to show it. It works from the page as it looks now, without the translated text, so another stroke over a result refines it.
3

Touch up and inspect

Use Color picker, Brush, and Eraser for small deterministic corrections. Check the result again at normal zoom.
To start a text over, delete its text block: its clean-up goes with it and the original lettering shows again.

Choose a model

Choose the inpainting model in Settings → Pipeline. LaMa is the default and takes no prompt. FLUX.3 Klein and Qwen-Image 2.1 Turbo are generative alternatives that follow the Prompt there and need more memory and time. See vision and inpainting models.
Brush and Remove strokes land on the selected raster layer. Clear the selection first to start a new one. Rerunning inpainting replaces a clean-up, strokes on it included.