Skip to content

Restore

revil-O edited this page Nov 29, 2026 · 7 revisions

Restore

Restore

An AI-made photo made old, and restored by VulKara: dust and scratches removed, details repaired, the face restored

Several pictures at once works here too, as on Enhance: every picture is restored as a whole with the steps and the note set (a painted mask and the preview belong to one picture and are left out; the faces are found in each picture). The AI model is loaded once for the whole batch: on a 16 GB Mac mini six pictures with Heavy damage took 153 s for the first and about 120 s for each of the others.

A batch of pictures on Restore

Restores old photos: colour casts, faded colours, soft and blurred pictures and faces, scratches, creases, spots, holes, and black and white. Choose the photo (or drop it onto the field) and press Restore or ⌘↩. A black-and-white or toned photo is recognised and gets Colour a black-and-white photo switched on.

A photo with a colour profile (Display P3, Adobe RGB, or HDR such as Rec. 2020 PQ, which some upscaling apps and iPhones write) is converted to sRGB first; read without its profile it would come out flat and grey. This applies to every page that takes a picture.

Steps (any combination):

Step How
Correct colour cast and contrast Without a model: white balance (a red or yellow cast is neutralised; a toned black-and-white photo becomes neutral grey), levels, and local contrast on the brightness only. Light tones are compressed instead of clipped, so a white dress keeps its folds. Strength 20–100 % (default 80 %).
Repair damage (AI) A FLUX.2 model edits the photo (Models → Recommended: FLUX.2 [klein]). Steps of the model 2–12. Without paint it repaints the whole photo: soft clothing, leaves and backgrounds get real detail, but faces may become other people's; the faces are therefore taken from the photo before the repair when Restore faces is on. Consistency LoRA (FLUX.2 [klein] 4B), on by default: lrzjason's LoRA (Apache-2.0, 0.4 GB, downloaded once) keeps the repair closer to the photo, scratches go more thoroughly; it needs about 1.7 GB more memory. Other models repair without it. With FLUX.2 [klein] 9B a black-and-white or sepia photo gets a note: 9B tints it in the repair, 4B with the consistency LoRA keeps its colour.
Remove dust and scratches Without a model of yours: small specks and thin scratches that stand out from calm surroundings are found and filled from what is around them (LaMa). Leaves and fabric are left alone, as are the eyes and the mouth. Sensitivity 0–100 % (default 50 %); a higher one finds fainter specks, now and then a small detail of the photo too (the preview shows it).
Rebuild soft details (AI) Real-ESRGAN (the Upscale helper, 64 MB) rebuilds edges and textures of the whole photo: it is made as much smaller as it is soft (Softness of the photo × 1.25–3, default × 2) and four times larger again. Strength 20–100 %. It sharpens what the photo still shows; texture that is lost entirely (fabric, leaves) only Repair damage (AI) makes up.
Restore faces (AI) CodeFormer (0.4 GB, downloaded once) restores blurred faces, taken from the photo before the AI steps. Faithful to the photo 50–100 % (default 90 %): lower values make up more detail. Strength 20–100 % (default 60 %). Faces smaller than about 14 pixels are left alone. CodeFormer's licence allows non-commercial use only. Face model: CodeFormer (default, sharper, more contrast, smooths older skin) or RestoreFormer++ (0.3 GB, downloaded once, Apache-2.0: softer, keeps more of the lines of older faces; Faithful does not apply to it). Both take about a third of a second per face.
Colour a black-and-white photo DDColor (0.9 GB, downloaded once) adds colour to the brightness of the photo, so no shape or detail can change. Colour strength 50–150 %.
Less grain, sharper details Without a model: the brightness is denoised and its edges sharpened, the colour only smoothed a little. Strength 10–100 %.

The faces CodeFormer will restore are shown as rounded frames over the photo, numbered. Drag a frame onto the face where the detection is off, or leave a face out with its ×; Find again puts the frames back. The faces are found by YuNet (a small face detector, downloaded once).

Size of the result: As the photo or Twice the size.

Preview restores only a part of the photo, quickly: what you have zoomed in on (⌘-scroll), else the largest face (or the middle), at most 768 pixels. It is not kept in the history. Above the note field, the compare slider shows the newest preview or result of the photo over the original: left of the line the change, right of it the original; drag the line (or move it with ← → when it is focused), ⌘-scroll zooms both.

On a Mac with 16 GB the AI repair works too: it paints at about one megapixel in the photo's proportions and its result is brought back to the photo's size, so a large scan needs no more memory than an ordinary FLUX.2 [klein] picture (a 768 × 1024 photo with 12 GB kept free: 5 minutes on an M2).

Paint the damage: with the brush (as in Inpainting) paint over scratches, creases, spots and holes. There the AI repairs; everywhere else the photo stays as it is. Before the AI sees the photo, the painted places are filled from their surroundings by LaMa (a small fill model, Apache 2.0, downloaded once; without it a simpler filling is used), so the model only has to refine them. Without paint the AI may touch the whole photo, within the allowed change.

Guard rails for the AI step:

  • Keep the original outside the painted damage: the result is put together from the original and the repaired places.
  • Refuse results whose faces changed: the faces of the result are compared with those of the photo.
  • Allowed change (1–30 %, default 6 %): how much the structure of the photo may change.
  • Rules for the AI: fixed rules that are always sent (only remove damage; keep composition, every person, face, expression, pose and hair, clothing, objects and writing; add, remove or invent nothing), and your own rules, e.g. Keep the house number. Own rules are kept for all restorations.

A repair that breaks a guard rail is refused with the reason.

Templates set steps, guard rails and the note for the usual kinds of old photos: Black and white, damaged, Black and white to colour, Colour cast (red or yellow), Faded colour photo, Only colour it and Heavy damage (creases, holes). Under the note field, Save as template keeps the current steps, guard rails and note under a name of your own; own templates appear after the built-in ones and are deleted with their ×.

The note is a three-line text field (it can be made taller at its lower right corner) for what the photo shows, e.g. a wedding photo from the 1950s; it helps the AI.

Scans: photos from a flatbed scan

Scans

Scans (under Restore in the menu) cuts the photos out of flatbed scans: the white of the scanner lid around them goes, each photo is straightened, and several photos on one scan become one file each. Drop PNG or JPEG scans onto the page, or choose files or a whole folder with Load scans …; the photos are found at once, without AI (about one second for an A4 scan at 600 dpi).

Each photo gets a numbered frame. Drag the frame to move it, its corners and edges to resize it, and the round handle above it to straighten it by hand. ↻ turns a photo that lay sideways or upside down by a quarter clockwise; the arrow in the middle shows which side becomes the top. × removes a frame, New frame lets you draw one over a photo that was missed (a light photo on a white lid can be). A white paper border of old prints is cut off with the lid. A photo split into two frames (a light band across it): remove both and draw one; two photos less than about a millimetre apart: draw one frame for each.

Export all saves every photo as a PNG named after its scan, e.g. Album 3 – Photo 1.png, into the export folder (Settings → Folders → Export folder, by default ~/VulKara/scans; Develop uses the same folder). The numbers follow the photos' places on the scan, row by row from the top. A 16-bit scan gives 16-bit photos; DPI and colour profile are kept. An existing file is never overwritten: the new one gets (2), (3) …

Restore them sends all exported photos to Restore as a batch, with Also into the export folder switched on: each restored photo is copied there as … – restored.png, next to the cut-out photo, which stays as it is. Restored photos have 8 bits per colour.

Develop: RAW and HEIC photos

Develop

Develop (under Scans in the menu) develops RAW photos (DNG, NEF/NRW, CR2/CR3, ARW/SRF/SR2, RAF, RW2, ORF, PEF, SRW, 3FR, IIQ, ERF, MOS, X3F) and the HEIC/HEIF photos of phones, without touching the originals: the settings of each photo are kept in VulKara's data folder, nothing is written next to your photos. It uses Apple's Core Image on the Mac, so there is no model and nothing to download. Which cameras work depends on the macOS version (macOS 27.2 knows 917 camera models); a camera macOS does not know is reported clearly. The page is only in the app, not in the remote web UI.

Drop photos onto the page, or choose files or a whole folder with Load photos … (later Add photos). Pick a photo in the list and change it with the sliders; the preview follows within a fraction of a second.

  • Auto lets macOS suggest values; they become normal slider values you can change. Reset goes back to the camera's own values, crop and turn included.
  • Light: Exposure, Contrast, Highlights, Shadows and Recover highlights (needs macOS 26 or later and a camera that offers it).
  • Colour: Temperature, Tint, Vibrance, Saturation.
  • Noise and sharpness: Noise (brightness), Noise (colour), Sharpness, Detail and Moiré, where the camera offers them. Lens: Lens correction, only where the photo supports it.
  • Crop and turn: a ratio (or Free), a quarter turn clockwise, and Straighten; the darker part is cut off.
  • Before / after compares the photo with the camera's own version.
  • Presets keep the sliders under a name (save, apply, delete), never the crop or turn.
  • Other photos: Apply to all copies this photo's settings to the others (or to the ones you ticked); crop and turn go along only with the box with crop and turn.

Export saves the photos as JPEG (sRGB, quality 92) or TIFF 16 bit (Display P3) into the export folder (Settings → Folders → Export folder, the same folder Scans uses). An existing file is never overwritten: the new one gets (2), (3) … All photo information from the camera, including the GPS location, is kept in the exported photos. While pictures are being made the export waits (Waiting until the pictures are done …) and then runs; Stop ends it.

Continue in Restore and Continue in Enhance export first and then open exactly those files there as a batch. Restore also writes its results into the export folder (like Scans); Enhance results go to the history as usual.

On a Mac mini M4 with 16 GB the first preview of a 24-megapixel photo takes about 0.3 s, each further change a fraction of that, and six photos of 24 to 61 megapixels export in 2.0 s as JPEG or 3.5 s as TIFF 16 bit (Measurements).

Clone this wiki locally