[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Topaz Sharpen Image](https://spiral.ai/integrations/codex/topaz-sharpen-image)

# How to Use Topaz Sharpen Image in Codex

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.

|  |  |
| --- | --- |
| Model | Topaz Sharpen Image |
| Available through | fal |
| Category | Image |
| Price | Up to $0.104 per run at the default inputs. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Topaz Sharpen Image in Codex

- 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.
- 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 Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Topaz Sharpen Image**: 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": "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: Codex finds Topaz Sharpen Image on Spiral, shows the price and runs it.

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

## Topaz Sharpen Image tools and prices

- [Topaz Sharpen Image](https://spiral.ai/tools/fal/topaz/sharpen/image) (fal): Up to $0.104 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| output_format | jpeg, png | jpeg | Output format of the processed image. |
| model | Standard, Strong, Lens Blur V2, Motion Blur, Natural, Refocus, Wildlife, Portrait, Auto Sharpen, Super Focus V3, Super Focus V2 | Standard | Sharpen model tuned per blur type (defocus, motion, portrait, wildlife, …). Super Focus is Topaz's generative deblur for severely blurred images. |

## What can you do with Topaz Sharpen Image in Codex?

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.

## Overview

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

## Topaz Sharpen Image in other agents

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

## More Codex guides

- [Topaz Restore Image](https://spiral.ai/integrations/codex/topaz-restore-image)
- [Topaz Transparent Image Upscale](https://spiral.ai/integrations/codex/topaz-transparent-image-upscale)
- [Topaz Generative Upscale](https://spiral.ai/integrations/codex/topaz-generative-upscale)
- [Topaz Upscale Precision](https://spiral.ai/integrations/codex/topaz-upscale-precision)
- [Topaz Denoise Image](https://spiral.ai/integrations/codex/topaz-denoise-image)
- [Vidu Q2 Reference to Image](https://spiral.ai/integrations/codex/vidu-q2-reference-to-image)

## Questions about Topaz Sharpen Image in Codex

**Can Codex use Topaz Sharpen Image?**

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

**How much does Topaz Sharpen Image cost in Codex?**

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 Codex plan is separate.

**Do I need a fal account to use Topaz Sharpen Image in Codex?**

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 Codex?**

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

**Does Codex wait while Topaz Sharpen Image runs?**

Topaz Sharpen Image runs in the background. Codex 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.

