PracharFlow
Low-latency localized rendering engine serving automated bots. Replaced unpredictable image models with a deterministic parametric canvas engine built in Java 21 and Spring Boot 3 using Skia (Skija). Achieved <150 ms layout compilation for complex Devanagari and Gujarati scripts with zero GPU overhead.
Generative diffusion models hallucinate Devanagari and Gujarati ligatures, distort official brand and political party logos, and take 8+ seconds per generation. Campaigns required guaranteed typography accuracy and sub-second generation.
Rejected generative image pipelines in favor of a deterministic parametric canvas engine. Built in Java 21 / Spring Boot 3 using Google's Skia (via Skija), rendering structured layout trees with typed slot constraints directly to PNG buffers.
Consequence & Verified Outcome
Pixel-perfect regional typography and exact logo rendering in under 150ms with zero GPU infrastructure costs, serving automated Telegram bot workflows.
| Dimension | Generative Diffusion | Deterministic Skia |
|---|---|---|
| Devanagari / Gujarati | Hallucinates ligatures & broken conjuncts | Native HarfBuzz font shaping (100% accurate) |
| Brand & Emblems | Distorts official party logos & vectors | Bit-exact rasterization into typed layout slots |
| Execution Latency | 8–15s per image on GPU infrastructure | <150ms on standard CPU JVM container |
| Reproducibility | Stochastic output across random seeds | 100% deterministic, bit-exact rendering |