[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [NAFNet Deblur](https://spiral.ai/integrations/antigravity/nafnet-deblur)

# How to Use NAFNet Deblur in Google Antigravity

NAFNet Deblur restores blurry photos while keeping their original dimensions. Unlike NAFNet-denoise, it targets motion blur and focus issues rather than sensor noise and grain.

|  |  |
| --- | --- |
| Model | NAFNet Deblur |
| Available through | fal |
| Category | Image |
| Price | Up to $0.02925 per run at the default inputs. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NAFNet Deblur in Google Antigravity

- Use NAFNet Deblur on the blurry product photos in this project's assets folder. Save separate restored copies and build a local comparison page with matching crops.
- Use NAFNet Deblur on the homepage photograph. Show the original and restored copy at the page's actual display size before changing the asset reference.
- Use NAFNet Deblur on three event photos from this project's media folder. Make a contact sheet pairing each original with its restored result.
- Use NAFNet Deblur on the selected travel photo in the repository. Compare building edges at equal zoom and leave the choice of final image to me.
- Use NAFNet Deblur on a sample of the blurry editorial photos in this project. Preserve the originals and prepare a review page before processing the rest.

## How to set up NAFNet Deblur in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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.

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

### Call the Spiral API

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

2. **Run NAFNet Deblur**: 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/nafnet/deblur",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/nafnet/blurry.png"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds NAFNet Deblur on Spiral, shows the price and runs it.

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

## NAFNet Deblur tools and prices

- [NAFNet-deblur · Image to Image](https://spiral.ai/tools/fal/fal-ai/nafnet/deblur) (fal): Up to $0.02925 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — | seed to be used for generation |

## What can you do with NAFNet Deblur in Google Antigravity?

Restore blurry project photographs and compare candidates before updating site assets. A coding agent can organize originals, build a comparison view, and help you review the results.

### Product photo review

Try deblurring a product shot affected by camera movement. Compare edges and surface details before selecting it for a listing.

### Event photo selection

Restore candidate event photos with motion blur, then review each result beside the original when choosing images for a recap.

### Travel photo restoration

Try restoring a handheld travel photo with blurred building edges. Inspect matching crops before adding the result to an album.

### Editorial image preparation

Create a restored candidate from a blurry article photo. Keep the original alongside it for editorial review.

### Website asset cleanup

Test blurry photographs intended for a website. Review the restored images at their intended display size before replacing assets.

### Photo archive review

Make restored copies of blurry archive photographs. Compare them with the originals and retain only the results you prefer.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## NAFNet Deblur in other agents

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

## More Google Antigravity guides

- [Muse Image Text to Image](https://spiral.ai/integrations/antigravity/muse-image-text-to-image)
- [NAFNet Denoise](https://spiral.ai/integrations/antigravity/nafnet-denoise)
- [Muse Image Edit](https://spiral.ai/integrations/antigravity/muse-image-edit)
- [Nano Banana](https://spiral.ai/integrations/antigravity/nano-banana)
- [MiniMax Image-01 Subject Reference](https://spiral.ai/integrations/antigravity/minimax-image-01-subject-reference)
- [Nano Banana 2](https://spiral.ai/integrations/antigravity/nano-banana-2)

## Questions about NAFNet Deblur in Google Antigravity

**Can Google Antigravity use NAFNet Deblur?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run NAFNet Deblur like any built-in tool.

**How much does NAFNet Deblur cost in Google Antigravity?**

Up to $0.02925 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 Google Antigravity plan is separate.

**Do I need a fal account to use NAFNet Deblur in Google Antigravity?**

No. Spiral runs NAFNet Deblur on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NAFNet Deblur in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while NAFNet Deblur runs?**

NAFNet Deblur runs in the background. Google Antigravity starts the run, checks on it and gives you the image when it's ready.

**What kinds of blur does NAFNet Deblur address?**

It targets motion blur and focus issues in existing photos. Try it on a blurry shot, then compare the restored image with the original before choosing it.

**Does NAFNet Deblur upscale the image?**

No. The output keeps the original dimensions, so a sharper result does not contain more pixels.

**How should I prompt an agent to use NAFNet Deblur?**

Identify the photo to restore and explain how you want to review the result. For example, ask for matching before-and-after crops of the subject rather than a description of a new scene.

**How does NAFNet Deblur differ from NAFNet-denoise?**

NAFNet Deblur targets blur and focus issues. NAFNet-denoise addresses sensor noise and grain, so choose according to the problem visible in the photo.

**Will NAFNet Deblur recover every blurry photo?**

The published benchmark results do not establish that. Treat each restoration as a candidate and inspect the details that matter before using it.

