[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Chromatic Aberration](https://spiral.ai/integrations/windsurf/chromatic-aberration)

# How to Use Chromatic Aberration in Windsurf

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.

|  |  |
| --- | --- |
| Model | Chromatic Aberration |
| Available through | fal |
| Category | Image |
| Price | $0.0013 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Chromatic Aberration in Windsurf

- 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.
- 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 Windsurf

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

### Use Spiral's MCP server

1. **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:

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

2. **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.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 Chromatic Aberration**: 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/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: Windsurf finds Chromatic Aberration on Spiral, shows the price and runs it.

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

## Chromatic Aberration tools and prices

- [Post Processing Chromatic Aberration · Chromatic Abberation](https://spiral.ai/tools/fal/fal-ai/post-processing/chromatic-aberration) (fal): $0.0013 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| red_shift | -20 to 20 | 0 | Red channel shift amount |
| red_direction | horizontal, vertical | horizontal | Red channel shift direction |
| green_shift | -20 to 20 | 0 | Green channel shift amount |
| green_direction | horizontal, vertical | horizontal | Green channel shift direction |
| blue_shift | -20 to 20 | 0 | Blue channel shift amount |
| blue_direction | horizontal, vertical | horizontal | Blue channel shift direction |

## What can you do with Chromatic Aberration in Windsurf?

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## Chromatic Aberration in other agents

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

## More Windsurf guides

- [Cartoonify](https://spiral.ai/integrations/windsurf/cartoonify)
- [City Teleport](https://spiral.ai/integrations/windsurf/city-teleport)
- [Broccoli Haircut](https://spiral.ai/integrations/windsurf/broccoli-haircut)
- [Clarity Upscaler](https://spiral.ai/integrations/windsurf/clarity-upscaler)
- [Bria Virtual Try-On](https://spiral.ai/integrations/windsurf/bria-virtual-try-on)
- [CodeFormer](https://spiral.ai/integrations/windsurf/codeformer)

## Questions about Chromatic Aberration in Windsurf

**Can Windsurf use Chromatic Aberration?**

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

**How much does Chromatic Aberration cost in Windsurf?**

$0.0013 per image. 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 Chromatic Aberration in Windsurf?**

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 Windsurf?**

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

**Does Windsurf wait while Chromatic Aberration runs?**

Chromatic Aberration runs in the background. Windsurf 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.

