Upscale models increase the pixel resolution of a comic image while simultaneously restoring scan quality. A low-resolution scan or a heavily compressed image loses fine linework detail, introduces softness at edges, and compresses tonal gradients. The upscale models are trained to reconstruct that lost detail — producing sharp, clean output at 2×, 3×, or 4× the input size — rather than simply interpolating pixels. Because the training pairs are generated procedurally in Krita using real comic-style brushes and artwork, the models learn the specific visual characteristics of comic imagery rather than natural photographs.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ollm/opencomic-ai-training/llms.txt
Use this file to discover all available pages before exploring further.
Scale Factors
Three output resolutions are supported:- 2× — doubles the linear resolution (4× pixel count). The starting point for the 3× and 4× models.
- 3× — triples the linear resolution (9× pixel count). Fine-tuned from the 2× checkpoint.
- 4× — quadruples the linear resolution (16× pixel count). Fine-tuned from the 2× checkpoint.
Datasets
Dataset sizes vary by scale factor, reflecting the amount of new training signal needed when fine-tuning from a larger pretrained base:| Scale | Image Pairs | Degraded Variants per Image |
|---|---|---|
| 2× | 25,000 | 5 |
| 3× | 100,000 | 5 |
| 4× | 100,000 | 5 |
Key Dataset Design: disableBrushesWithPixelatedEdges
All upscale dataset presets set disableBrushesWithPixelatedEdges: true. This flag excludes Krita brushes that produce hard pixel-level aliasing in the clean images. Without this exclusion, the model would learn to sharpen already-pixelated strokes in an inconsistent way, producing staircase artefacts in the output. Disabling those brushes ensures that every linework edge in the training data is clean and sub-pixel smooth, so the model learns a consistent sharpening prior.
All Upscale Models
| Model | Architecture | Pre-trained From | Scale | Iterations |
|---|---|---|---|---|
opencomic-ai-upscale-2x | ESRGAN | artifact-removal | 2× | 1,000,000 |
opencomic-ai-upscale-2x-lite | ESRGAN Lite | artifact-removal-lite | 2× | 1,000,000 |
opencomic-ai-upscale-2x-compact | Compact | artifact-removal-compact | 2× | 450,000 |
opencomic-ai-upscale-3x | ESRGAN | upscale-2x | 3× | 500,000 |
opencomic-ai-upscale-3x-lite | ESRGAN Lite | upscale-2x-lite | 3× | 500,000 |
opencomic-ai-upscale-3x-compact | Compact | upscale-2x-compact | 3× | 450,000 |
opencomic-ai-upscale-4x | ESRGAN | upscale-2x | 4× | 500,000 |
opencomic-ai-upscale-4x-lite | ESRGAN Lite | upscale-2x-lite | 4× | 500,000 |
opencomic-ai-upscale-4x-compact | Compact | upscale-2x-compact | 4× | 450,000 |
.bin + .param pairs under: