Skip to content
GPU-assistedUpload required

Remove Scratches From a Photo

Scratches, creases, and dust are damage to the surface of a print rather than to the scene it recorded. That makes them a good candidate for repair: the model can be asked to rebuild a narrow line of missing emulsion using the picture on either side of it. This pass is deliberately restrained, and it always produces the same result for the same photograph, which is a decision worth explaining rather than a limitation to work around.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free

Drop an image here, or click to browse

Up to 25 MB. Uploaded temporarily, deleted after processing.

GPU-assisted — results vary slightly between runs.

What it does

  • Restrained repair pass that keeps the scene
  • Repeatable output for the same photograph
  • Works on surface damage rather than scene content
  • Written to preserve faces and composition

How to use Remove Scratches

  1. 1

    Scan at the highest resolution you have

    Repair quality follows the surrounding detail. A scratch crossing a sharp scan has good material either side of it; the same scratch in a low-resolution scan does not.

  2. 2

    Run the repair

    The photograph is read at about one megapixel and rebuilt with a low-strength pass instructed to fix surface marks and leave everything else alone.

  3. 3

    Compare faces first

    Any change to a face is the change that matters. Check it against the scan before looking at whether the scratches went.

How it works

The scan is scaled to roughly one megapixel and passed to an image-editing model together with a written instruction: repair fine scratches and surface marks, preserve the people, objects, and composition.

The pass runs at a low edit strength. In a generative model, that setting controls how far the output is allowed to move from the input — a high value produces a reinterpretation, a low one produces a corrected copy. Style tools on this site run high. This one runs low on purpose, because the goal is a photograph that has been mended rather than a new photograph of the same scene.

There is also a negative instruction listing what the result must not contain: changed identity, altered composition, plastic skin, added or missing objects.

Why surface damage is the tractable case

Not all photograph damage is equally repairable, and the distinction is about evidence rather than severity.

A scratch is a narrow line where the emulsion was removed. The picture continues on both sides of it, usually only a few pixels apart. Rebuilding it is a question of continuing a pattern across a small gap, and both the model and a human retoucher do the same thing: read what is on either side and extend it.

Fading, color shift, and low contrast are also tractable, because the information is still present and merely compressed into a narrow range.

What is not tractable is a region that is gone. A torn-off corner, a section bleached to white, a face obscured by mould — there is no surrounding evidence for what was there. A model asked to fill it will fill it, plausibly, and you have a photograph of something that never happened.

The fixed seed

This is the decision most likely to look like a bug, so it is worth being direct about it.

Generative models start from random noise. Change the noise and you get a different image. Most tools on this site take a fresh random value each run, so that a result you dislike can be replaced by pressing the button again.

This one does not. The same photograph always produces the same repair.

The reason is that a repair makes a claim about what was there. If two runs rebuilt the same damaged cheek two different ways, both would be guesses and you would be choosing the more flattering one — which is exactly the failure mode photograph restoration should avoid. One answer per input keeps the tool accountable to the original.

Reading the result

Look at people first, before checking whether the scratches went. Damage crossing a face is where a plausible reconstruction is most likely and least acceptable, so compare the eyes, mouth, and jawline against the scan at full size.

Then look at a flat area — sky, a wall, a plain garment — to see whether grain and paper texture survived, and whether the repair introduced smoothness that was not there before.

Publication gate

This page ships once the workflow has been run against a creased scan, a scratch crossing a face, and a print with heavy grain, with faces and flat areas compared against their sources at full size.

Examples

Creased family portrait

family.jpg - 2000x1400, a scan with a fold across one corner
prathom-remove-scratches.png - 1360x952, fold rebuilt

A crease running through background and clothing is the ideal case. There is plenty of predictable material on both sides for the model to continue.

Scratch across a face

portrait.jpg - 1600x2000, a white line over the cheek and eye
portrait-repaired.png - 904x1360, line removed, features to check

Damage crossing a face is where the model has to invent part of a person. The repair is usually convincing and is exactly the case that needs comparing against the original.

Frequently asked questions

Why do I get the same result every time I run it?

Because this workflow uses a fixed starting seed rather than a random one. For a creative tool, a new result on each run is the point. For a repair, two attempts producing two different reconstructions of the same damaged cheek would mean neither is trustworthy — you would be picking the one you liked rather than the one that is right. A repeatable output makes the tool answerable for what it produced.

Does it rebuild the photograph or just the scratches?

The whole image passes through the model, but at a low edit strength, so most of it comes back close to what went in. The instruction asks specifically for surface marks to be repaired and for people, objects, and composition to be preserved. That combination keeps the change concentrated where the damage is, though it is a tendency rather than a guarantee.

Will it remove the grain or texture of the original print?

Sometimes, and that is worth deciding about before you use the result. Film grain and paper texture look similar to fine surface damage, so a pass aimed at one can soften the other. If the character of the print matters to you, compare a flat area of the original and the output at full size and judge whether the trade was worth it.

Is this the right tool for a torn or missing corner?

Not really. Scratches and creases are narrow, with intact picture on both sides, which is what makes them repairable. A missing region has no surrounding evidence for what belonged there, so anything produced is invention rather than reconstruction, and it will look convincing without being right.

Is the AI Remove Scratches tool free, and do I need an account?

It is free and there is nothing to register for. No account is created, no address is collected, and no reduced-quality preview is withheld for a plan that does not exist. The constraints that do apply come from the workflow itself rather than from billing: 25 MB in, a shared GPU queue, and a thirty-minute window to collect the output.