---
title: "Repair a damaged photo"
description: "Fix noise, blur, damage and colour."
sidebar:
  label: restore
---

{/* Generated by scripts/generate-commands.ts. Do not edit. */}

## Synopsis

```sh
motif restore [image] [options]
```

## Example

A soft, blurred photograph brought back into focus.

```sh
motif restore damaged.jpg
```

<div class="docs-pictures docs-pictures-2">
  <figure>
    <img src="/docs/images/commands/damaged.jpg" alt="A blurred photograph of a green jug on a shelf" loading="lazy" />
    <figcaption>Before</figcaption>
  </figure>
  <figure>
    <img src="/docs/images/commands/restored.jpg" alt="The same photograph, sharp again" loading="lazy" />
    <figcaption>After</figcaption>
  </figure>
</div>

## Options

| Flag | What it does |
| --- | --- |
| `--colour` | Colourise a black-and-white photograph. |
| `--dark` | Brighten a dark or underexposed photo. |
| `--noise` | Remove noise. |
| `--scratches` | Repair scratches, tears and damage. |
| `--softness` | Sharpen a soft or blurred image. |
| `--tone` | Fix exposure, white balance and colour. |
| `--tier <tier>` | Trade cost against quality: fast, balanced, quality. |
| `--dry-run` | Validate and price the call without running it. |

It also takes the [common options](/docs/commands#common-options).

## Models and price

Motif picks the Model for the Tier. Prices are per image where a Model has one; any other shows how it is billed. A rate that depends on the size of the file or the length of the clip is a rate, not a total, so check it with a dry run.

| Model | Chosen at | Price |
| --- | --- | ---: |
| Topaz Restore | Balanced | $0.48 per 24 output megapixels at the default Recover 3 |
| DDColor Colourisation | Balanced, with `--colour` | $0.001/megapixel |
| Control Light | Balanced, with `--dark` | $0.03/megapixel |
| Topaz Denoise | Balanced, with `--noise` | $0.08 per 24 output megapixels at the default Normal model |
| Topaz Restore | Balanced, with `--scratches` | $0.48 per 24 output megapixels at the default Recover 3 |
| Topaz Sharpen | Balanced, with `--softness` | $0.08 per 24 output megapixels at the default Standard model |
| Topaz Adjust | Balanced, with `--tone` | $0.08 per 24 output megapixels |

## Dry run

Check the cost before you spend. The output path is where the file would go.

```sh
motif restore damaged.jpg --dry-run --fields cost,costBasis,output
```

```json
{
  "cost": 0.48,
  "costBasis": "projected",
  "output": "damaged-restore.png"
}
```
