[Integrations](https://spiral.ai/integrations) › [Instinct](https://spiral.ai/integrations/instinct) › [Photo Restoration](https://spiral.ai/integrations/instinct/photo-restoration)

# How to Use Photo Restoration in Instinct

Photo Restoration repairs imperfections in old or damaged photographs. It also adds color while aiming to retain the original character and image details.

|  |  |
| --- | --- |
| Model | Photo Restoration |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Photo Restoration in Instinct

- Each Monday, use Photo Restoration on newly submitted genealogy photographs and prepare original-and-result pairs for review.
- Every Friday, use Photo Restoration on new anniversary album submissions and group the results by submission date.
- Each morning, use Photo Restoration on newly approved local history photographs and add the edited copies to a reviewer queue.
- Once a week, use Photo Restoration on new school reunion photographs and prepare a comparison gallery.
- Each month, use Photo Restoration on selected historical photo submissions and draft labels identifying the restored copies.

## How to set up Photo Restoration in Instinct

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Instinct this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Photo Restoration**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/image-editing/photo-restoration",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/ProUb4C1PYWpyGe7BXd0n_d575ba7693584c0ddf733f77dcdb8963.jpg"
    }
  }'
```

Then paste one of the prompts above: Instinct finds Photo Restoration on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/instinct

## Photo Restoration tools and prices

- [Image Editing Photo Restoration](https://spiral.ai/tools/fal/fal-ai/image-editing/photo-restoration) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| guidance_scale | 0 to 20 | 3.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| num_inference_steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| aspect_ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 | — | The aspect ratio of the generated image. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |

## What can you do with Photo Restoration in Instinct?

Prepare restoration candidates from an ongoing stream of old photographs with Photo Restoration. Have the scheduled agent organize original-and-result pairs into a review queue.

### Genealogy album copies

Try restoring scanned ancestor portraits for a genealogy album. Keep each edited image beside its original scan.

### Anniversary photo books

Prepare restoration candidates from old wedding photographs, then review faces and clothing before placing them in a photo book.

### Local history displays

Create restored copies of old neighborhood photographs for an exhibition draft. Have a reviewer compare buildings and other recognizable details.

### Memorial slideshows

Restore selected older portraits for a memorial slideshow, with a relative reviewing each result before inclusion.

### School reunion galleries

Try restoration on scanned class photographs and compare the results with the originals before assembling a reunion gallery.

### Colorized history illustrations

Explore colorized treatments of old photographs for a history presentation. Label the edited images and retain the originals for comparison.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Instinct guides](https://spiral.ai/integrations/instinct)

## Photo Restoration in other agents

- [Amp](https://spiral.ai/integrations/amp/photo-restoration)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/photo-restoration)
- [Claude](https://spiral.ai/integrations/claude-desktop/photo-restoration)
- [Claude Code](https://spiral.ai/integrations/claude-code/photo-restoration)
- [Cline](https://spiral.ai/integrations/cline/photo-restoration)
- [Codex](https://spiral.ai/integrations/codex/photo-restoration)
- [Cursor](https://spiral.ai/integrations/cursor/photo-restoration)
- [Devin](https://spiral.ai/integrations/devin/photo-restoration)
- [dots](https://spiral.ai/integrations/dots/photo-restoration)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/photo-restoration)
- [Gemini](https://spiral.ai/integrations/gemini/photo-restoration)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/photo-restoration)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/photo-restoration)
- [goose](https://spiral.ai/integrations/goose/photo-restoration)
- [Grok](https://spiral.ai/integrations/grok/photo-restoration)
- [Grok Build](https://spiral.ai/integrations/grok-build/photo-restoration)
- [Hermes](https://spiral.ai/integrations/hermes/photo-restoration)
- [Manus](https://spiral.ai/integrations/manus/photo-restoration)
- [Muse](https://spiral.ai/integrations/muse/photo-restoration)
- [Muse Code](https://spiral.ai/integrations/muse-code/photo-restoration)
- [n8n](https://spiral.ai/integrations/n8n/photo-restoration)
- [Notion](https://spiral.ai/integrations/notion/photo-restoration)
- [OpenClaw](https://spiral.ai/integrations/openclaw/photo-restoration)
- [opencode](https://spiral.ai/integrations/opencode/photo-restoration)
- [Perplexity](https://spiral.ai/integrations/perplexity/photo-restoration)
- [Raycast](https://spiral.ai/integrations/raycast/photo-restoration)
- [VS Code](https://spiral.ai/integrations/vscode/photo-restoration)
- [Windsurf](https://spiral.ai/integrations/windsurf/photo-restoration)
- [Zapier](https://spiral.ai/integrations/zapier/photo-restoration)

## More Instinct guides

- [Phota Text to Image](https://spiral.ai/integrations/instinct/phota-text-to-image)
- [Photo Restoration fal](https://spiral.ai/integrations/instinct/photo-restoration-fal)
- [Phota Image Editing](https://spiral.ai/integrations/instinct/phota-image-editing)
- [Photography Effects](https://spiral.ai/integrations/instinct/photography-effects)
- [Phota Enhance](https://spiral.ai/integrations/instinct/phota-enhance)
- [Pixelcut Background Remover](https://spiral.ai/integrations/instinct/pixelcut-background-remover)

## Questions about Photo Restoration in Instinct

**Can Instinct use Photo Restoration?**

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Photo Restoration like any built-in tool.

**How much does Photo Restoration cost in Instinct?**

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Instinct plan is separate.

**Do I need a fal account to use Photo Restoration in Instinct?**

You need no fal account. Instinct uses one Spiral API key for every tool, and Spiral runs Photo Restoration on its own fal account.

**How long does it take to set up Photo Restoration in Instinct?**

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while Photo Restoration runs?**

Photo Restoration runs in the background. Instinct starts the run, checks on it and gives you the image when it's ready.

**What is Photo Restoration good at?**

Its stated purpose is removing imperfections from old or damaged photographs. Try it on scanned portraits, wedding photos, or historical photographs, then compare the result with the scan.

**Can Photo Restoration add color?**

Yes. Adding color is part of its stated restoration capabilities; review the result against any known references before using it in a historical project.

**Will Photo Restoration preserve the original appearance?**

Preserving the original character and details is a stated goal. Compare faces, clothing, and background objects before accepting an edit.

**How should I prompt an agent to use Photo Restoration?**

Identify the photograph and tell the agent how to organize and review the result. The published restoration schema has no text prompt parameter, so treat your instructions as directions for the agent's workflow.

**What should I check before keeping a restored photo?**

Compare the original and restored images side by side, concentrating on details you recognize. Keep the original scan and save the restoration separately.

