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

Google Antigravity · Image

How to Use fal Sharpen in Google Antigravity

fal Sharpen adds definition to existing images through basic unsharp masking, smart sharpening with edge preservation, or contrast adaptive sharpening. Use it for a finishing pass on soft photos and renders, with a visual check for halos.

Prompts to try with fal Sharpen in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use fal Sharpen to make a restrained basic sharpening candidate for the product photos in public/products. Save separate copies and build a comparison page with the originals.

fal SharpenGoogle Antigravity
Try asking
  • Use fal Sharpen on the portrait assets in this project with smart sharpening and edge preservation. Prepare a review sheet so I can inspect facial outlines before choosing replacements.

  • Use fal Sharpen to compare CAS amounts of 0.3 and 0.6 on the game's promotional screenshots. Show both results beside each original.

  • Use fal Sharpen on the architectural render in assets with basic sharpening at radius 1 and radius 2, keeping strength the same. Build a comparison focused on window frames and rooflines.

  • Use fal Sharpen to create basic, smart, and CAS treatments of the article's hero photo. Add a local review page with views at 100% zoom.

How to set up fal Sharpen 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:

    {
      "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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run fal Sharpen

    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/post-processing/sharpen",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/web-examples/post-process/postpro-input.jpg"
        }
      }'

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

fal Sharpen providers and prices

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

falImage
Post Processing Sharpen
fal-ai/post-processing/sharpen

Settings you can ask for

fal Sharpen works from your image URL. Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sharpen modebasic, smart, or casbasic

Type of sharpening to apply

Sharpen radius1 to 151

Sharpen radius (for basic mode)

Sharpen alpha0.1 to 51

Sharpen strength (for basic mode)

Noise radius1 to 257

Noise radius for smart sharpen

Preserve edges0 to 10.75

Edge preservation factor

Smart sharpen strength0 to 255

Smart sharpen strength

Smart sharpen ratio0 to 10.5

Smart sharpen blend ratio

Cas amount0 to 10.8

CAS sharpening amount

Every API field of Post Processing Sharpen is on its tool page: open its card above.

What can you do with fal Sharpen in Google Antigravity?

Prepare sharpening candidates for the images in your project and compare them before updating assets. The agent can organize basic, smart, and CAS treatments into a review page.

Product photo finishing

Test a restrained basic sharpening pass on product photos. Compare packaging edges and surface texture with the original before choosing the result.

Portrait finishing

Try smart sharpening with edge preservation on a mildly soft portrait. Review facial outlines and keep the original available for comparison.

Game screenshot cleanup

Test CAS on screenshots softened by temporal anti-aliasing. Compare environmental detail and object edges before accepting the pass.

Architectural render review

Compare basic sharpening and CAS on an existing architectural render. Check window frames, rooflines, and other contrasting edges for halos.

Editorial photo preparation

Prepare a restrained sharpening candidate for an article photo. Inspect the result at 100% zoom before choosing it for publication.

Sharpening comparisons

Create basic, smart, and CAS treatments from the same original image. Compare them side by side to choose the treatment that suits the subject.

Questions about fal Sharpen in Google Antigravity

Can Google Antigravity use fal Sharpen?

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

How much does fal Sharpen cost in Google Antigravity?

$0.0013 per image. 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 fal Sharpen in Google Antigravity?

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

How long does it take to set up fal Sharpen in Google Antigravity?

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

Does Google Antigravity wait while fal Sharpen runs?

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

What is fal Sharpen useful for?

Use it to add definition to an existing photo or render. Basic unsharp masking emphasizes edge contrast, while smart sharpening adds edge preservation and CAS adapts sharpening across the image.

Can fal Sharpen rescue an out-of-focus photo?

Treat it as a finishing tool for mild softness. Sharpening can improve apparent definition, but a severely blurred photo needs more than a sharpening pass.

How should I choose a sharpening radius?

Start small when fine detail matters, then compare the result with the original. Larger radii affect broader areas, so inspect object outlines before increasing the radius.

How do I avoid an over-sharpened look?

Compare a restrained pass with the original and inspect high-contrast edges for halos. Reduce the sharpening if outlines develop bright or dark fringes.

When is CAS worth trying?

Try CAS on game captures and renders with uneven softness. The algorithm adjusts sharpening per pixel and was designed to address softness from temporal anti-aliasing.

Get started

Start using fal Sharpen in Google Antigravity

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

Paste this into Google Antigravity:

Set up Google Antigravity

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