How to Use Photo Restoration in Grok
Photo Restoration repairs imperfections in old or damaged photographs. It also adds color while aiming to retain the original character and image details.
Prompts to try with Photo Restoration in Grok
Copy an example into Grok, or ask in your own words.
Use Photo Restoration on this old portrait and show the result beside the original for review.
Use Photo Restoration on this wedding photograph for an anniversary album draft, and keep the original available for comparison.
Use Photo Restoration on this damaged photograph and help me compare recognizable details before I keep the edit.
Use Photo Restoration on this historical photograph, then prepare a caption identifying the result as an edited copy.
Use Photo Restoration on this reunion photograph and make a checklist for reviewing faces, clothing, and the background.
How to set up Photo Restoration in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Photo Restoration
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": "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: Grok finds Photo Restoration on Spiral, shows the price and runs it.
Photo Restoration providers and prices
Spiral runs Photo Restoration through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Photo Restoration works from your image URL. Ask Grok for any of these in your prompt.
| 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. |
| Number of inference steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| Safety tolerance | 1 to 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| Output format | jpeg or 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 and 1 more | The aspect ratio of the generated image. | |
| Seed | a whole number | The same seed and the same prompt given to the same version of the model will output the same image every time. |
Every API field of Image Editing Photo Restoration is on its tool page: open its card above.
What can you do with Photo Restoration in Grok?
Prepare restored photographs for albums, presentations, and personal histories with Photo Restoration. Ask the chat agent to show the original alongside the result and help you organize your review.
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.
More on Photo Restoration and Grok
Overview
Photo Restoration in other agents
Questions about Photo Restoration in Grok
Can Grok use Photo Restoration?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Photo Restoration like any built-in tool.
How much does Photo Restoration cost in Grok?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a fal account to use Photo Restoration in Grok?
No. Spiral runs Photo Restoration on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Photo Restoration in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while Photo Restoration runs?
Photo Restoration runs in the background. Grok 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.
Start using Photo Restoration in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


