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

Grok Build · Image

How to Use NAFNet Denoise in Grok Build

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 Grok Build

Copy an example into Grok Build, 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.

NAFNet DenoiseGrok Build
Try asking
  • 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 Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 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: Grok Build 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.

falImage

Settings you can ask for

NAFNet Denoise works from your image URL. Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda 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 Grok Build?

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.

Questions about NAFNet Denoise in Grok Build

Can Grok Build use NAFNet Denoise?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run NAFNet Denoise like any built-in tool.

How much does NAFNet Denoise cost in Grok Build?

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 Grok Build plan is separate.

Do I need a fal account to use NAFNet Denoise in Grok Build?

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 Grok Build?

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

Does Grok Build wait while NAFNet Denoise runs?

NAFNet Denoise runs in the background. Grok Build 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.

Get started

Start using NAFNet Denoise in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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