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

n8n · Image

How to Use Solarize in n8n

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.

Prompts to try with Solarize in n8n

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

Every Monday, use Solarize on each newly supplied campaign photo with thresholds of 0.4 and 0.7. Prepare a labeled comparison with the original for review.

Solarizen8n
Try asking
  • Each Friday, use Solarize on the latest supplied performance photo with a threshold of 0.5. Prepare a concert poster artwork draft for review.

  • For each new cover concept image supplied this week, use Solarize with thresholds of 0.25, 0.5, and 0.75. Collect the results into a review set.

  • Once a month, use Solarize on the supplied photography lesson image with thresholds of 0.3 and 0.8. Prepare a comparison explaining the visible differences.

  • Each morning, use Solarize on any newly supplied editorial portraits with a threshold of 0.6. Include the originals in the review set and record the threshold.

How to set up Solarize in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Solarize in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Solarize, prices it and runs it each time the step fires.

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 Solarize

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

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

Solarize providers and prices

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

falImage
Post Processing Solarize
fal-ai/post-processing/solarize

Settings you can ask for

Solarize works from your image URL. Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Solarize threshold0 to 10.5

Solarize threshold

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

What can you do with Solarize in n8n?

Prepare recurring solarized artwork drafts from newly supplied images. A scheduled agent can collect threshold comparisons for review and keep a record of the source images and chosen treatments.

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.

Questions about Solarize in n8n

Can n8n use Solarize?

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

How much does Solarize cost in n8n?

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

Do I need a fal account to use Solarize in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Solarize on its own fal account.

How long does it take to set up Solarize in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Solarize runs?

Solarize runs in the background. n8n 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.

Get started

Start using Solarize in n8n

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

Paste this into n8n:

Set up n8n

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