Sharpen API

topaz-labs/sharpen
Sharpening model for enhancing image clarity and reducing blur
Output
$0.13 / token

How to use Sharpen API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to topaz-labs/sharpen.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "topaz-labs/sharpen",
      "prompt": "A cat holding a sign that says hello"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "topaz-labs/sharpen",
    "prompt": "A cat holding a sign that says hello"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"topaz-labs/sharpen","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Sharpen API Pricing

TypePrice
Output
$0.13 / token

Frequently asked questions

Sharpen takes image, text as input and returns image.

Sharpen is priced at $0.13 / token.

Sharpen is billed per generation — a fixed charge per output rather than by prompt length.

Yes, Sharpen accepts image input as well as a text prompt.

Sharpen was built by Topaz Labs.

Send a request to https://api.aimlapi.com/v1/images/generations with topaz-labs/sharpen as the model id.

Yes. Sharpen is served through AI/ML API, so the same key and endpoint format used for other models applies.

Sharpen enhances image clarity and reduces blur.

Sharpen is listed as an image generation model.

Start building with Sharpen

Get API Key
1000+ models, one API.