How to Use NAFNet Denoise in Windsurf
NAFNet Denoise reduces noise in existing photos, with research centered on smartphone images. Unlike NAFNet Deblur, it targets image noise rather than motion blur.
Prompts to try with NAFNet Denoise in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use NAFNet Denoise on the noisy phone photos in public/photos. Save separate results and create an HTML comparison page with matching zoom levels.
Use NAFNet Denoise on one representative product photo in this project. Show matching crops of the label, surface texture, and background before proposing replacements.
Use NAFNet Denoise on the noisy interior photos selected for the property page. Keep the originals and compare furniture edges and wall areas in a review gallery.
Use NAFNet Denoise to prepare candidates for the travel article's dusk photos. Add original-versus-result previews to a local review page at the article's display width.
Use NAFNet Denoise on the three photographic assets I marked for cleanup. Record input and output dimensions and show enlarged detail crops alongside each result.
How to set up NAFNet Denoise in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 NAFNet Denoise
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/nafnet/denoise", "input": { "image_url": "https://storage.googleapis.com/falserverless/nafnet/noisy.png" } }'
Then paste one of the prompts above: Windsurf finds NAFNet Denoise on Spiral, shows the price and runs it.
NAFNet Denoise providers and prices
Spiral runs NAFNet Denoise through fal. Open a card for today's price, with every fee included.
Settings you can ask for
NAFNet Denoise works from your image URL. Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | seed to be used for generation |
Every API field of NAFNet-denoise · Image to Image is on its tool page: open its card above.
What can you do with NAFNet Denoise in Windsurf?
Prepare denoised candidates for photographic assets in your project. Have the agent preserve originals and build a comparison view before you choose replacements.
Smartphone photo cleanup
Denoise a noisy phone photo and compare enlarged crops before choosing the version to keep.
Product photo review
Try noise reduction on product photos taken with a phone. Inspect packaging text, surface texture, and edges before using the result in a listing.
Interior listing photos
Create denoised candidates from noisy room photos. Compare wall areas, furniture edges, and fabric details against the originals.
Event photo selection
Test denoising on noisy indoor event photos. Review faces, hair, and clothing details before adding results to an album.
Travel photo preparation
Try denoising phone photos taken at dusk. Review sky areas and distant details before selecting images for a travel story.
Website photo preparation
Prepare denoised candidates for noisy photographic assets. Compare them at the intended display size and inspect enlarged details before replacing an original.
More on NAFNet Denoise and Windsurf
Overview
NAFNet Denoise in other agents
Questions about NAFNet Denoise in Windsurf
Can Windsurf use NAFNet Denoise?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run NAFNet Denoise like any built-in tool.
How much does NAFNet Denoise cost in Windsurf?
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 Windsurf plan is separate.
Do I need a fal account to use NAFNet Denoise in Windsurf?
No. Spiral runs NAFNet Denoise 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 Denoise in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while NAFNet Denoise runs?
NAFNet Denoise runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.
What photos are a good starting point for NAFNet Denoise?
Start with noisy smartphone photos. The published RGB denoising evaluation uses SIDD, a dataset of real smartphone images captured under different lighting conditions.
Can NAFNet Denoise fix motion blur?
Use it for noise reduction. The official implementation uses a separate deblurring model, so deblurring results in the NAFNet paper do not establish what NAFNet Denoise can do.
Does NAFNet Denoise upscale an image?
The published denoising architecture returns the original image height and width. Treat it as restoration at the existing dimensions; super-resolution uses a separate model.
How should I prompt an agent to use NAFNet Denoise?
Identify the photo to denoise and ask for an original-versus-result comparison. The published network processes image pixels without text conditioning, so style descriptions do not steer its restoration.
How should I judge the result?
Compare the original and result at matching magnification, then zoom into fine details. Check whether the noise reduction is useful without accepting unwanted changes to texture or edges.
Start using NAFNet Denoise in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


