{
  "id": 5924709,
  "title": "Upscaling guest photos with a local model instead of an API",
  "url": "https://urgent.news/2026/09/06/upscaling-guest-photos-with-a-local-model-instead-of-an-api",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-06T06:24:30.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/theill/upscaling-guest-photos-with-a-local-model-instead-of-an-api-17a6"
  },
  "original_language": "en",
  "account": "Knipsmig is a QR-code photo sharing service for weddings and parties where guests upload photos directly from their phones using a QR code. Many of these uploads are not of high quality, such as photobooth captures, WhatsApp forwards, and screenshots. To address this, Knipsmig added an \"Improve resolution\" option to their editor that upscales the images by up to 4x the pixels. This feature runs entirely on the Knipsmig server without the need for an API or vendor. The developer chose to implement this feature instead of using a generative model like Gemini or OpenAI due to concerns about regenerating the images and altering the faces of the guests. Additionally, running the upscaling locally eliminates the need for a Data Processing Agreement for a third-party service and saves on costs. The upscaling model used is realesr-general-x4v3 from the Real-ESRGAN project, which is faster and more cost-effective than a full RRDBNet x4plus model. To optimize the performance, the developer tiled the images and ran them through the model in chunks, avoiding the need for large Ruby arrays. The feature is limited to photos with a longest edge at or below 2048 pixels, and the UI provides a preview of the upscaled image before the user commits the changes.",
  "summary": "I run Knipsmig , a QR-code photo sharing service for weddings and parties. Guests scan a code and upload straight from the phone, no app. Most of those uploads are 12 MP and print fine. A meaningful slice are not: photobooth captures at 1080x810, WhatsApp forwards at 1600x1200, screenshots, old scans someone re-uploaded. Those end up in the printed photo book looking soft. So I added an \"Improve…",
  "key_points": [
    "Knipsmig adds upscales photos by up to 4x pixels without API",
    "Local server runs upscaling model to avoid third-party agreements",
    "Real-ESRGAN realesr-general-x4v3 model used for cost-effective upscaling"
  ],
  "editors_take": "Knipsmig's decision to upscale guest photos locally rather than via an API means it avoids third-party costs and data agreements while maintaining control over image processing and guest privacy.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}