PAINITE — Photo Brilliance PAINITE — Photo Brilliance

AI photo enhancement that runs on your own GPU server, or on your Mac. Remove noise, sharpen, fix camera shake and missed focus, restore faces and upscale, from a Mac app, from Lightroom, from the command line, or by asking an AI agent such as Claude.

New in 1.2: the server runs on a Mac, face restoration changes only the face, and previews are faster. What's new

Original photo
The same photo enhanced by PAINITE
BEFOREAFTER
Drag the handle to compare. Denoise, sharpen and 2× upscale in one pass.

How it works

1. Run the server on your GPU

The PAINITE server runs the AI models on an NVIDIA GPU machine on your network. It was built for the NVIDIA DGX Spark, and also runs on a Mac with Apple silicon. Your photos never leave your network.

2. Enhance from your Mac, terminal or agent

The Mac app shows a live before/after preview of the area you choose, then exports the full photo. The painite command runs batches on macOS or Linux, and its MCP server lets AI agents like Claude Code and Claude Desktop preview and enhance photos for you.

3. Keep your workflow

Use PAINITE as a Lightroom desktop “Edit in” editor. Results are written beside the original, which is never changed.

What it can do

Each example is a crop at 100%. Drag across a photo to compare. Details and tips are on the Enhancements page.

Denoise

High-ISO noise · denoise, strength 1.0

Denoise: before
Denoise: after PAINITE
BEFOREAFTER
Grain and color speckle are removed while the lettering, roof tiles and chain links stay sharp. The noise here was simulated (like ISO 6400). Photo: DimiTalen, CC0.

Sharpen

Softened photo · sharpen, strength 0.8

Sharpen: before
Sharpen: after PAINITE
BEFOREAFTER
Restores crisp brick edges, mortar lines and window bars without halos. The softness here was simulated with a slight blur. Photo: Jebulon, CC0.

Unblur: Motion

Camera shake · unblur_motion

Unblur: Motion: before
Unblur: Motion: after PAINITE
BEFOREAFTER
Removes a smear in one direction, from camera shake or a moving subject. The shake here was simulated (21 px). Photo: Jebulon, CC0.

Unblur: Focus

Missed focus · unblur_focus

Unblur: Focus: before
Unblur: Focus: after PAINITE
BEFOREAFTER
Recovers a photo that is evenly soft because the focus missed. The defocus here was simulated (7 px). Photo: Bernard Gagnon, CC0.

Face

1927 magazine scan · face, strength 1.0 · shown at 2×

Face: before
Face: after PAINITE
BEFOREAFTER
Restores faces it detects (128 px or larger) and leaves the rest of the photo alone. Real 1927 print scan. Photo: Harris & Ewing, public domain.

Upscale 2×

800 px photo enlarged to 1600 px · upscale2x

Upscale 2×: before
Upscale 2×: after PAINITE
BEFOREAFTER
Doubles the width and height with real detail. Before is a standard (bicubic) enlargement of the same crop. Photo: Wilfredor, CC0.

Several steps at once

Noisy, soft, small portrait · denoise 0.8 → upscale 2× → faces 0.8

Several steps at once: before
Several steps at once: after PAINITE
BEFOREAFTER
Up to four steps run in order in one pass on the server. Before is a bicubic enlargement. Noise, blur and size were simulated. Photo: Josh Valcarcel, NASA, public domain.

Get PAINITE

ComponentRuns onDownload
ServerNVIDIA DGX Spark, or a Linux PC with an NVIDIA GPU such as the RTX 4070 (Ubuntu, Docker, NVIDIA Container Toolkit), or a Mac with Apple siliconpainite-server_1.2.0.tar.gz
Mac appmacOS 14 or later, Apple siliconPAINITE_1.2.0_macos_arm64.zip
Command line and MCP serverUbuntu 24.04+ (x86-64, ARM64).deb amd64 · .deb arm64
Command line and MCP servermacOS (Apple silicon), other LinuxmacOS · Linux x86-64 · Linux ARM64

Then follow the installation guide. Checksums are listed on the release page.

Open source

PAINITE is written by Yuan Lin and released under the Apache License 2.0. If you redistribute PAINITE or build on it, keep its NOTICE file with your copy. The AI models come from their authors under their own licenses. Some allow only non-commercial use; see model licenses.