[Integrations](https://spiral.ai/integrations) › [Cline](https://spiral.ai/integrations/cline) › [Solarize](https://spiral.ai/integrations/cline/solarize)

# How to Use Solarize in Cline

Solarize turns an existing image into a color effect by inverting pixel values above a threshold. Use it for experimental photo treatments, poster artwork, and cover concepts where altered colors are part of the design.

|  |  |
| --- | --- |
| Model | Solarize |
| 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 Solarize in Cline

- Use Solarize on the concert photo in this project's assets at thresholds 0.25, 0.5, and 0.75. Build a local comparison page with the original and labeled results.
- Use Solarize on the existing cover photo at threshold 0.5. Add the result as an alternate image in the album cover preview so I can compare both treatments.
- Use Solarize on the project's editorial portrait at thresholds 0.4 and 0.7. Show both beside the original in the article mockup.
- Use Solarize to create threshold 0.5 copies of the sample training images in this repository. Keep the originals and write a manifest linking each result to its source.
- Use Solarize on the campaign photo at thresholds 0.3, 0.5, and 0.8. Put each result into the existing banner preview and label the threshold outside the artwork.

## How to set up Solarize in Cline

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

### Use Spiral's MCP server

1. **Add the server**: In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

```bash
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
```

2. **Sign in**: Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**: Spiral shows as connected on the Configure tab. In the CLI:

```bash
cline config mcp
```

### Use the Spiral skill

1. **Send Cline 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 Solarize**: 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/solarize",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/web-examples/post-process/postpro-input.jpg"
    }
  }'
```

Then paste one of the prompts above: Cline finds Solarize on Spiral, shows the price and runs it.

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

## Solarize tools and prices

- [Post Processing Solarize](https://spiral.ai/tools/fal/fal-ai/post-processing/solarize) (fal): $0.0013 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| solarize_threshold | 0 to 1 | 0.5 | Solarize threshold |

## What can you do with Solarize in Cline?

Create solarized artwork from project images and compare treatments in context. A coding agent can organize the results into a review page and record the threshold used for each image.

### Concert poster artwork

Try solarization on a performance photo to develop a poster image. Compare several thresholds before adding the event title and dates.

### Album cover concepts

Explore partially inverted treatments of an existing portrait or landscape for an album cover. Keep the original alongside the experiments for review.

### Experimental editorial portraits

Use solarization for a deliberately altered portrait treatment. Review faces closely when choosing which threshold to keep.

### Social campaign artwork

Develop solarized photo treatments for a campaign where altered colors fit the brief. Test the chosen threshold on each source image before approving the set.

### Photography lessons

Show an original photo beside several solarized copies to demonstrate how the threshold changes which pixel values are inverted.

### Image augmentation experiments

Create solarized copies of training images to test a model's response to altered colors. Keep them labeled separately and measure their effect on validation results.

## Overview

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

## Solarize in other agents

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

## More Cline guides

- [Smart Resize](https://spiral.ai/integrations/cline/smart-resize)
- [Texture Transform](https://spiral.ai/integrations/cline/texture-transform)
- [Seedream 5.5 Text to Image](https://spiral.ai/integrations/cline/seedream-5-5-text-to-image)
- [Topaz Adjust Image](https://spiral.ai/integrations/cline/topaz-adjust-image)
- [Seedream 5.5 Layerize](https://spiral.ai/integrations/cline/seedream-5-5-layerize)
- [Topaz Bloom 2](https://spiral.ai/integrations/cline/topaz-bloom-2)

## Questions about Solarize in Cline

**Can Cline use Solarize?**

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

**How much does Solarize cost in Cline?**

$0.0013 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cline plan is separate.

**Do I need a fal account to use Solarize in Cline?**

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

**How long does it take to set up Solarize in Cline?**

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

**Does Cline wait while Solarize runs?**

Solarize runs in the background. Cline starts the run, checks on it and gives you the image when it's ready.

**What does Solarize do to an image?**

Solarize inverts pixel values above a chosen threshold. Use it to explore partially inverted color treatments on an existing image.

**Does a higher threshold mean a stronger effect?**

A higher threshold restricts inversion to higher pixel values. By the documented rule, lowering the threshold makes more values eligible for inversion, so treat it as a cutoff rather than an intensity slider.

**How should I prompt Solarize?**

Tell your agent which image to process and which thresholds to compare. Solarize itself uses an image and a threshold; its documented schema has no descriptive text prompt.

**Is Solarize suitable for accurate product colors or natural skin tones?**

Avoid it when matching the original colors matters, since inversion deliberately changes pixel values. For creative portraits or product artwork, compare the result with the original before choosing a treatment.

**How do I choose a useful threshold?**

Try 0.25, 0.5, and 0.75 on separate copies of the original, then compare them side by side. This is a practical starting experiment, not a prescribed setting for every image.

