How to Use Solarize in Devin
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 Devin
Copy an example into Devin, or ask in your own words.
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 Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Devin 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.
Settings you can ask for
Solarize works from your image URL. Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Solarize threshold | 0 to 1 | 0.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 Devin?
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.
More on Solarize and Devin
Overview
Solarize in other agents
Questions about Solarize in Devin
Can Devin use Solarize?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Solarize like any built-in tool.
How much does Solarize cost in Devin?
$0.0013 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need a fal account to use Solarize in Devin?
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 Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while Solarize runs?
Solarize runs in the background. Devin 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.
Start using Solarize in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


