Models About & Code

Standalone App & PWA

Install Colorize & Manga Ink Studio from its dedicated origin as an offline desktop or mobile PWA with direct OS image/* file_handlers support and zero camera or microphone permissions.

Open ink.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so ink.webai.show caches its own ONNX weights (~130 MB DDColor, ~17 MB Informative Drawings, ~8 MB AnimeGANv2 Hayao). Staying on webai.show shares those cached weights directly with their individual model pages.

Pahalgam Valley · Loading… Desaturated Vintage B&W Plate

Interactive Colorize and Manga Ink Studio canvas displaying the active vintage grayscale or manga plate.

Loading desaturated vintage grayscale plate… Choose Vintage Photo Colorize (DDColor ~130 MB) or Manga Ink & Cel-Paint (Informative Drawings + AnimeGAN ~25 MB).

Starter plate: KennyOMG — Pahalgam Valley.jpg — via Wikimedia Commons — CC BY-SA 3.0

Darkroom & Print Exports

Run DDColor to enable exports

Vintage Lab Colorize (DDColor)

CIE-Lab · 130 MB

DDColor predicts CIE-Lab chrominance only while keeping 100% of your photo's original luminance detail. Adjust saturation, archival warm/cool sepia toning, and B&W blend in real time off-thread.

100%
Neutral
0%

On-Device Pipeline Layers

Tier 1 CPU WASM
  • 1. DDColor Lab Colorizer 130 MB
  • 2. Informative Drawings Ink 17 MB
  • 3. AnimeGANv2 Hayao Cel 8 MB

Keyboard on canvas: ←/→ wipe divider · Shift+←/→ 10% jump · V Vintage · M Manga · Drop or paste any image anywhere.

Local AI Engine

Three audited Tier 1 CPU WASM image-to-image ONNX models (~155 MB full pack, ~25 MB for Manga Mode alone), cached privately in browser Cache Storage and auto-initialized on return visits.

Stage 1 · DDColor Image Colorization (130 MB fp16 · Apache-2.0)

edgetools/ddcolor · onnxruntime-web 1.21.0 · shared models/ddcolor-image-colorization/worker.js

Stage 2 · Informative Drawings Line-Art (17 MB fp32 · MIT)

rocca/informative-drawings-line-art-onnx · onnxruntime-web 1.21.0 · shared models/informative-drawings-lineart/worker.js

Stage 3 · AnimeGANv2 Hayao Cel-Paint (8 MB fp32 · Apache-2.0)

vumichien/AnimeGANv2_Hayao · onnxruntime-web 1.21.0 · shared models/animegan-cartoonization/worker.js

DDColor (130 MB) Not loaded
Line-Art (17 MB) Not loaded
AnimeGAN Hayao (8 MB) Not loaded
Off-Thread Composite Standby
Integrity & Runtime 0 NaN · WASM

How Colorize & Manga Ink Studio Works

Three complementary image-to-image ONNX models run off the main thread in CPU WebAssembly and feed a dedicated real-time darkroom & halftone compositor worker — preserving every pixel on your device.

1. DDColor (Lab Chroma)

edgetools/ddcolor (130 MB fp16 weights with fp32 I/O, Apache-2.0) consumes a [1, 3, 512, 512] luminance-only plate and predicts [1, 2, 512, 512] CIE-Lab ab chrominance, upsampled and recombined with full-res original luminance so every edge stays razor sharp.

2. Informative Drawings

rocca/informative-drawings-line-art-onnx (17 MB fp32, MIT upstream) takes plain RGB [1, 3, H, W] and outputs a continuous [1, 1, H, W] geometric ink map that thresholds cleanly into manga ink or printable coloring-book line sheets.

3. AnimeGANv2 Hayao

vumichien/AnimeGANv2_Hayao (8 MB fp32, Apache-2.0) accepts NHWC [1, H, W, 3] in [-1, 1] and synthesizes painterly cel-shaded color fills that slip seamlessly underneath the extracted ink contours.

4. Off-Thread Compositor

A dedicated compositor-worker.js runs CIE-Lab chrominance saturation, archival warm/cool sepia curves, grayscale-preserve blending, and rotated 45° Ben-Day screentone dot halftones off the main thread using transferable ImageBitmap frames.

Show the code — gradeVintageColorize() CIE-Lab chrominance saturation, sepia balance & B&W blend
Show the code — computeScreentoneDot() procedural 45° rotated manga halftone dot matrix
Show the code — compositeMangaInk() neural ink contours + Hayao cel fills + coloring-book line sheet
Show the code — compositor-worker.js off-main-thread Lab grading & halftone ImageBitmap worker
Show the code — StageWorkerClient FIFO lifecycle manager across 3 ONNX workers + compositor
Show the code — registerInkColorWebMcpTools() imperative WebMCP tools with AbortController cleanup

Export Artwork & Layered JSON Preset

Lossless .PNG, compact .WebP, or reproducible layered JSON recipe.

{}