Spiral gives your agent every tool with one account. Browse the tools →

Factory Droid · Image

How to Use Topaz Restore Image in Factory Droid

Topaz Restore Image repairs degraded photos, from dusty film scans to compressed portraits. Use Recover 3 to rebuild natural texture or Dust-Scratch V2 to remove scan debris.

Prompts to try with Topaz Restore Image in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use Topaz Restore Image with Recover 3 on the old portrait in assets/photos. Save a separate result and build a comparison page with close-ups of the face and clothing.

Topaz Restore ImageFactory Droid
Try asking
  • Use Topaz Restore Image with Dust-Scratch V2 on the scanned photographs in public/archive. Keep the originals and create a review gallery for dust removal and lost detail.

  • Use Topaz Restore Image with Recover 3 on the compressed photographic thumbnails in this project. Create a contact sheet comparing each result with its source.

  • Use Topaz Restore Image with Dust-Scratch V2 on three representative scans from the archive directory. Add them to a local review page before processing the rest.

  • Use Topaz Restore Image with Recover 3 on the soft garden photograph in the project. Show matching crops of the foliage before and after restoration.

How to set up Topaz Restore Image in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Topaz Restore Image

    One request; the result comes back by polling or a webhook.

    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": "topaz/restore/image",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/model_tests/codeformer/codeformer_poor_1.jpeg"
        }
      }'

Then paste one of the prompts above: Factory Droid finds Topaz Restore Image on Spiral, shows the price and runs it.

Topaz Restore Image providers and prices

Spiral runs Topaz Restore Image through fal. Open a card for today's price, with every fee included.

falImage
Topaz Restore Image
topaz/restore/image

Settings you can ask for

Topaz Restore Image works from your image URL. Ask Factory Droid for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Output formatjpeg or pngjpeg

Output format of the processed image.

ModelRecover 3 or Dust-Scratch V2Recover 3

Restoration. Recover 3 rebuilds natural detail; Dust-Scratch V2 cleans up film dust and scratches.

Every API field of Topaz Restore Image is on its tool page: open its card above.

What can you do with Topaz Restore Image in Factory Droid?

Restore degraded photographs used in a website, archive, or content repository with Topaz Restore Image. Have the coding agent prepare comparison pages so you can review faces and fine detail before replacing project assets.

Restore old portraits

Use Recover 3 to reconstruct facial features, hair, and clothing texture in small or blurry portraits. Compare faces with the original before choosing a result.

Clean film scans

Use Dust-Scratch V2 to remove dust and scratch marks from scanned photographs. Check fine image detail after cleanup.

Prepare archival photos for publication

Clean surface damage on digitized prints before further enhancement. Keep the original scan beside the restored copy for editorial review.

Recover compressed photographs

Use Recover 3 on older JPEG photographs whose faces and natural textures have degraded through compression. Review the reconstruction before replacing a published image.

Restore foliage texture

Try Recover 3 on degraded garden and landscape photographs where leaves and other organic detail look soft. Compare the recovered texture against the source.

Recover fabric detail

Use Recover 3 to rebuild fabric texture in degraded clothing photographs. Inspect patterns and seams before approving the restored image.

Clean a digitization backlog

Apply Dust-Scratch V2 to scanned-photo batches as an early cleanup pass. Review samples for lost detail before continuing with the remaining scans.

Questions about Topaz Restore Image in Factory Droid

Can Factory Droid use Topaz Restore Image?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Topaz Restore Image like any built-in tool.

How much does Topaz Restore Image cost in Factory Droid?

Up to $0.104 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

Do I need a fal account to use Topaz Restore Image in Factory Droid?

No. Spiral runs Topaz Restore Image on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Topaz Restore Image in Factory Droid?

About two minutes: add the server, then sign in, then check it.

Does Factory Droid wait while Topaz Restore Image runs?

Topaz Restore Image runs in the background. Factory Droid starts the run, checks on it and gives you the image when it's ready.

What is Topaz Restore Image good at?

It handles two common restoration jobs: rebuilding natural detail in degraded photos and removing dust or scratches from scans. Portraits, old prints, and compressed photographs are useful starting points.

When should I choose Recover 3 or Dust-Scratch V2?

Choose Recover 3 when faces, hair, fabric, or foliage need detail reconstruction. Choose Dust-Scratch V2 when the main problem is dust, specks, or scratches on a scanned photograph.

Does restoration guarantee that every original detail stays intact?

Recover 3 generates reconstructed detail, so review faces and textures against the source. Dust-Scratch V2 can remove wanted detail during cleanup; inspect fine features before accepting the result.

Is Recover 3 suitable for logos and text-heavy images?

Topaz says Recover 3 is not ideal for images dominated by text or logos. Avoid using it to recover lettering that must remain exact.

Should I remove dust before rebuilding detail?

Yes. Topaz recommends blemish cleanup before upscaling or sharpening because later enhancement can amplify the damage.

Get started

Start using Topaz Restore Image in Factory Droid

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Factory Droid:

Set up Factory Droid

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options