Developer builds full-resolution AI photo inpainting tool using Next.js and Cloudflare Workers
A developer has created an AI-powered tool called People Remover that lets users erase unwanted individuals from photos without degrading image quality. Unlike most AI photo editing tools that silently downscale images during processing, this tool preserves the original resolution by running the inpainting model only on the brushed area and compositing the result back onto the untouched original pixels in the browser. The architecture uses Next.js 15 deployed on Cloudflare Workers, with D1 for database storage, R2 for file storage, Stripe for payments, and Google OAuth for authentication. All pixel-level processing happens client-side, while the server handles job creation, polling the model provider, and storing results. The tool offers two processing modes — Standard at 1K and HD Repair at 2K — with the higher mode providing finer detail within the edited region on large, high-resolution images.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in