How to Use fal Sharpen in Cline
fal Sharpen adds definition to existing images through basic unsharp masking, smart sharpening with edge preservation, or contrast adaptive sharpening. Use it for a finishing pass on soft photos and renders, with a visual check for halos.
Prompts to try with fal Sharpen in Cline
Copy an example into Cline, or ask in your own words.
Use fal Sharpen to make a restrained basic sharpening candidate for the product photos in public/products. Save separate copies and build a comparison page with the originals.
Use fal Sharpen on the portrait assets in this project with smart sharpening and edge preservation. Prepare a review sheet so I can inspect facial outlines before choosing replacements.
Use fal Sharpen to compare CAS amounts of 0.3 and 0.6 on the game's promotional screenshots. Show both results beside each original.
Use fal Sharpen on the architectural render in assets with basic sharpening at radius 1 and radius 2, keeping strength the same. Build a comparison focused on window frames and rooflines.
Use fal Sharpen to create basic, smart, and CAS treatments of the article's hero photo. Add a local review page with views at 100% zoom.
How to set up fal Sharpen in Cline
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
- 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.
- Check it
Spiral shows as connected on the Configure tab. In the CLI:
cline config mcp
Use the Spiral skill
- Send Cline 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 fal Sharpen
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/sharpen", "input": { "image_url": "https://storage.googleapis.com/falserverless/web-examples/post-process/postpro-input.jpg" } }'
Then paste one of the prompts above: Cline finds fal Sharpen on Spiral, shows the price and runs it.
fal Sharpen providers and prices
Spiral runs fal Sharpen through fal. Open a card for today's price, with every fee included.
Settings you can ask for
fal Sharpen works from your image URL. Ask Cline for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sharpen mode | basic, smart, or cas | basic | Type of sharpening to apply |
| Sharpen radius | 1 to 15 | 1 | Sharpen radius (for basic mode) |
| Sharpen alpha | 0.1 to 5 | 1 | Sharpen strength (for basic mode) |
| Noise radius | 1 to 25 | 7 | Noise radius for smart sharpen |
| Preserve edges | 0 to 1 | 0.75 | Edge preservation factor |
| Smart sharpen strength | 0 to 25 | 5 | Smart sharpen strength |
| Smart sharpen ratio | 0 to 1 | 0.5 | Smart sharpen blend ratio |
| Cas amount | 0 to 1 | 0.8 | CAS sharpening amount |
Every API field of Post Processing Sharpen is on its tool page: open its card above.
What can you do with fal Sharpen in Cline?
Prepare sharpening candidates for the images in your project and compare them before updating assets. The agent can organize basic, smart, and CAS treatments into a review page.
Product photo finishing
Test a restrained basic sharpening pass on product photos. Compare packaging edges and surface texture with the original before choosing the result.
Portrait finishing
Try smart sharpening with edge preservation on a mildly soft portrait. Review facial outlines and keep the original available for comparison.
Game screenshot cleanup
Test CAS on screenshots softened by temporal anti-aliasing. Compare environmental detail and object edges before accepting the pass.
Architectural render review
Compare basic sharpening and CAS on an existing architectural render. Check window frames, rooflines, and other contrasting edges for halos.
Editorial photo preparation
Prepare a restrained sharpening candidate for an article photo. Inspect the result at 100% zoom before choosing it for publication.
Sharpening comparisons
Create basic, smart, and CAS treatments from the same original image. Compare them side by side to choose the treatment that suits the subject.
More on fal Sharpen and Cline
Overview
fal Sharpen in other agents
Questions about fal Sharpen in Cline
Can Cline use fal Sharpen?
Yes. Add Spiral to Cline as an MCP server, and Cline can find and run fal Sharpen like any built-in tool.
How much does fal Sharpen 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 fal Sharpen in Cline?
No. Spiral runs fal Sharpen on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up fal Sharpen in Cline?
About two minutes: add the server, then sign in, then check it.
Does Cline wait while fal Sharpen runs?
fal Sharpen runs in the background. Cline starts the run, checks on it and gives you the image when it's ready.
What is fal Sharpen useful for?
Use it to add definition to an existing photo or render. Basic unsharp masking emphasizes edge contrast, while smart sharpening adds edge preservation and CAS adapts sharpening across the image.
Can fal Sharpen rescue an out-of-focus photo?
Treat it as a finishing tool for mild softness. Sharpening can improve apparent definition, but a severely blurred photo needs more than a sharpening pass.
How should I choose a sharpening radius?
Start small when fine detail matters, then compare the result with the original. Larger radii affect broader areas, so inspect object outlines before increasing the radius.
How do I avoid an over-sharpened look?
Compare a restrained pass with the original and inspect high-contrast edges for halos. Reduce the sharpening if outlines develop bright or dark fringes.
When is CAS worth trying?
Try CAS on game captures and renders with uneven softness. The algorithm adjusts sharpening per pixel and was designed to address softness from temporal anti-aliasing.
Start using fal Sharpen in Cline
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cline:
set up https://spiral.ai/SKILL.md


