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

Gemini CLI · Image

How to Use Topaz Sharpen Image in Gemini CLI

Topaz Sharpen Image corrects soft focus and motion blur at the original image size. Standard suits mild blur, while Super Focus V3 uses generative reconstruction for severely blurred shots.

Prompts to try with Topaz Sharpen Image in Gemini CLI

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

Use Topaz Sharpen Image with Standard on the mildly soft photos in public/images/products. Save separate results and build a comparison page beside the originals.

Topaz Sharpen ImageGemini CLI
Try asking
  • Use Topaz Sharpen Image with Natural on the food photos in this project's assets directory. Prepare a gallery so I can compare texture before choosing replacements.

  • Use Topaz Sharpen Image with Motion Blur on the sports photographs I marked in the project. Save the results separately and show enlarged comparisons of the moving subjects.

  • Use Topaz Sharpen Image to compare Standard and Strong on assets/event-soft.jpg. Add both results to a local review page and keep the original available.

  • Use Topaz Sharpen Image with Wildlife on the wildlife photos in this project that are at least 5 megapixels and have low to medium blur. Leave the other images for manual review.

How to set up Topaz Sharpen Image in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Topaz Sharpen Image

    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": "topaz/sharpen/image",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/model_tests/codeformer/codeformer_poor_1.jpeg"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Topaz Sharpen Image on Spiral, shows the price and runs it.

Topaz Sharpen Image providers and prices

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

falImage
Topaz Sharpen Image
topaz/sharpen/image

Settings you can ask for

Topaz Sharpen Image works from your image URL. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Output formatjpeg or pngjpeg

Output format of the processed image.

ModelStandard, Strong, Lens Blur V2, Motion Blur, Natural, Refocus, Wildlife, Portrait and 3 moreStandard

Sharpen model tuned per blur type (defocus, motion, portrait, wildlife, …). Super Focus is Topaz's generative deblur for severely blurred images.

Every API field of Topaz Sharpen Image is on its tool page: open its card above.

What can you do with Topaz Sharpen Image in Gemini CLI?

Improve soft photographs used in your project while retaining their pixel dimensions. Ask the coding agent to prepare comparisons and let you review the images before replacing assets.

Product photo cleanup

Try Natural on slightly soft product photos, then compare surface texture against the originals before adding the results to a listing.

Sports photo deblurring

Use Motion Blur on action photos with visible movement streaks. Review the subject's edges before selecting shots for publication.

Wildlife photo finishing

Apply Wildlife to photos of at least 5 megapixels with low to medium blur. Compare the processed animal details with the source before choosing a final image.

Portrait finishing

Use Portrait as a finishing pass on portraits of at least 5 megapixels after correcting noise and blur. Check the result beside the original headshot.

Food photography refinement

Compare Natural and Standard on slightly soft menu photos. Choose the result that improves detail while meeting your expectations for food texture.

Event photo selection

Compare Standard and Strong on soft event photos. Keep the original alongside each result so an editor can decide which shots are usable.

Severely blurred keepsake recovery

Try Super Focus V3 on a severely blurred personal photo. Review reconstructed faces and textures carefully before sharing the result.

Website photo maintenance

Sharpen mildly soft photographs used on a website while keeping their pixel dimensions. Compare each result with its source before replacing an asset.

Questions about Topaz Sharpen Image in Gemini CLI

Can Gemini CLI use Topaz Sharpen Image?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Topaz Sharpen Image like any built-in tool.

How much does Topaz Sharpen Image cost in Gemini CLI?

Up to $0.104 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need a fal account to use Topaz Sharpen Image in Gemini CLI?

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

How long does it take to set up Topaz Sharpen Image in Gemini CLI?

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

Does Gemini CLI wait while Topaz Sharpen Image runs?

Topaz Sharpen Image runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

When should I choose Standard or Strong?

Standard suits low to medium blur. Strong targets medium to high blur, so compare both when the blur falls between those ranges.

Can Topaz Sharpen Image make a photo larger?

The output keeps the source resolution. A 6000 by 4000 pixel photo remains 6000 by 4000 pixels after sharpening.

Which sharpening choice suits movement streaks?

Motion Blur targets the streaked or smeared appearance caused by camera or subject movement. Use that description when asking your agent to process an action photo.

Which choice should I try for natural-looking texture?

Natural is designed to sharpen objects while keeping texture looking natural. It is a useful choice to compare on textured product or food photography.

Do Portrait and Wildlife work well on small, heavily blurred photos?

Topaz recommends Wildlife for images of at least 5 megapixels with low to medium blur. Portrait also expects at least 5 megapixels, with noise and blur already corrected.

Get started

Start using Topaz Sharpen Image in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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