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

Google Antigravity · Image

How to Use Chromatic Aberration in Google Antigravity

Chromatic Aberration adds color separation to an existing image by shifting its red, green, and blue channels. Use it as a finishing effect for retro posters, music artwork, and deliberately distorted photos.

Prompts to try with Chromatic Aberration in Google Antigravity

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

Use Chromatic Aberration on the project's poster background. Compare horizontal red shifts of 1, 2, and 4 with green and blue unchanged, and save a labeled comparison.

Chromatic AberrationGoogle Antigravity
Try asking
  • Use Chromatic Aberration on the cover artwork in this repository. Try horizontal red and blue shifts of 2 and -2, leave green unchanged, and preview it beside the original.

  • Use Chromatic Aberration on the game's promotional screenshot. Compare a red shift of 3 horizontally with a red shift of 3 vertically, keeping the other colors unchanged.

  • Use Chromatic Aberration to prepare three treatments of the project's portrait asset: red shifted horizontally by 1, 2, and 3. Keep green and blue unchanged and show close-ups of facial edges.

  • Use Chromatic Aberration on the campaign images in the project's assets directory with horizontal red and blue shifts of 2 and -2. Keep green unchanged and build a review sheet with each original beside its result.

How to set up Chromatic Aberration 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 Chromatic Aberration

    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/chromatic-aberration",
        "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 Chromatic Aberration on Spiral, shows the price and runs it.

Chromatic Aberration providers and prices

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

falImage
Post Processing Chromatic Aberration · Chromatic Abberation
fal-ai/post-processing/chromatic-aberration

Settings you can ask for

Chromatic Aberration works from your image URL. Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Red shift-20 to 200

Red channel shift amount

Red directionhorizontal or verticalhorizontal

Red channel shift direction

Green shift-20 to 200

Green channel shift amount

Green directionhorizontal or verticalhorizontal

Green channel shift direction

Blue shift-20 to 200

Blue channel shift amount

Blue directionhorizontal or verticalhorizontal

Blue channel shift direction

Every API field of Post Processing Chromatic Aberration · Chromatic Abberation is on its tool page: open its card above.

What can you do with Chromatic Aberration in Google Antigravity?

Create color-separated treatments of images already in your project for posters, covers, and promotional graphics. Use your agent to prepare comparisons and record the settings behind the chosen result.

Retro event posters

Try an RGB split on an existing poster background. Add the event details afterward so you can judge the photographic treatment separately from the typography.

Music cover artwork

Compare restrained and pronounced color separation on a finished cover image. Review both at thumbnail size before choosing the treatment.

Game promotional stills

Apply color separation to a game screenshot for a deliberately distorted promotional image. Check character outlines and interface text before using the result.

Editorial portrait treatments

Test a small RGB split on an existing portrait for a stylized editorial treatment. Compare facial details with the original before increasing the separation.

Abstract photo studies

Experiment with color separation on existing photos of bubbles, reflections, or geometric objects. Compare sideways and vertical treatments as separate studies.

Social campaign artwork

Test the same color-separation recipe across a set of finished campaign images. Review each image individually before adopting a consistent treatment.

Questions about Chromatic Aberration in Google Antigravity

Can Google Antigravity use Chromatic Aberration?

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

How much does Chromatic Aberration 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 Chromatic Aberration in Google Antigravity?

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

How long does it take to set up Chromatic Aberration in Google Antigravity?

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

Does Google Antigravity wait while Chromatic Aberration runs?

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

What does Chromatic Aberration do to a photo?

It shifts the photo's red, green, and blue channels to create color separation. Use it when you want visible color fringes around shapes and edges.

Can Chromatic Aberration create artwork from a description?

Its documented purpose is to apply an effect to an existing image. Start with finished artwork or a photo, then ask your agent for the color separation you want.

Is Chromatic Aberration a good choice for realistic photo finishing?

Choose it when visible color fringing is part of the intended look. For a natural finish, compare carefully with the original because the effect introduces colored outlines.

What should I ask for to get a retro effect?

Ask for a small RGB split, then compare it with a stronger treatment. Treat that as a starting experiment rather than a preset that suits every image.

What should I inspect before choosing a result?

Zoom into high-contrast edges to judge the colored fringes. Also compare the result at its intended display size before deciding how much separation to keep.

Get started

Start using Chromatic Aberration 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