Image Upscaler API: 6 Options Compared (2026)

Image upscaler API compared: Real-ESRGAN, Pruna, Topaz, Recraft, Clarity and Fermat on one API.market key. Real prices, batch code and cost per 1,000 images.
Image Upscaler API: 6 Options Compared (2026)
Image Upscaler API: 6 Options Compared (2026)

If you need an image upscaler API to turn a small image into a big one from code, you have a lot of choices and they price very differently. A single Real-ESRGAN call costs well under a cent. A single Recraft Creative Upscale call costs $0.375. That is a 55x gap, and the right pick depends on what you are upscaling.

This guide compares six image upscaler APIs you can call with one API.market key. It only covers these six listings, so it says nothing about upscalers sold elsewhere. Pricing, parameters and sample requests come from each listing's documentation, re-read in the live catalog on 2026-11-17 (an earlier pass was on 2026-10-31 and 2026-11-02). All six are pay-as-you-go with no monthly fee and no free allowance, and failed predictions are not billed. The request examples below follow the listing docs and were not run for this post, and the quality notes repeat what each listing says about its model, so try a sample of your own images before you commit a batch.

Below you will find a quick comparison table, a section on each API, a batch script that works with all of them, the cost of upscaling 1,000 and 10,000 images on each, a method for testing quality on your own images, error handling, and an FAQ.

Quick comparison

API Price Scale control Best for
Real-ESRGAN (cjwbw) $0.0068 per unit (up to 27s of processing) 2x, 4x, 8x Cheap bulk enlargement
Pruna P-Image Upscale From $0.0063 per image, rises with output size Target megapixels (1 to 128) or factor (1 to 8) Predictable output size, very large outputs
Topaz Labs Image Upscale $0.10 per unit None, 2x, 4x, 6x Portraits, text, digital art
Recraft Creative Upscale $0.375 per image None, the model decides Adding detail to generated images
Clarity Upscaler (philz1337x) $0.02 per unit (up to 15s of processing) scale_factor, default 2 Detail-adding upscales you can steer with prompts
Fermat ControlNet Tile $0.024 per unit (up to 22s of processing) Output size 2048, 2560 or 4096 Large, prompt-guided redraws of renders and photos

Two kinds of image upscaler API

Before the details, one distinction saves a lot of confusion. There are two families here.

Enlargers make the picture bigger and try to keep it faithful. Real-ESRGAN, Pruna and Topaz sit in this group. If you feed in a product photo, you expect the same product photo at a larger size, with edges cleaned up.

Re-detailers redraw the picture with a generative model, so they add texture that was not in the original. Recraft Creative Upscale, Clarity Upscaler and Fermat ControlNet Tile belong here. They can make a soft AI-generated image look sharp and rich, and they can also change a face, a logo or a line of text. Clarity and Fermat expose creativity and resemblance settings so you decide how far from the original the model may wander.

Close-up of a pixelated mosaic wall turning into smooth sharp glass, a picture of what upscaling does to a low-resolution image

If your images carry legal or brand weight, such as packaging, logos or ID photos, stay with the enlargers. If your images are illustrations or generated art headed for a poster, the re-detailers may give a better result.

How all six work (async pattern)

Every listing here uses the same asynchronous flow. You POST to /predictions and get back a 201 with an id. Then you poll GET /predictions/{id} until status is succeeded, failed or canceled. Polling is free. A 201 on the POST is the normal success response, not an error.

Auth is one header, x-api-market-key. The rate limit is 10 requests per second on the listings that state it, and polling counts toward it, so poll every second or two instead of in a tight loop. The Clarity listing only says requests are rate limited and to back off on a 429.

One detail that trips people up: the shape of output differs. Clarity returns a list with one URL. The other five listings return a single URL string. Treat both as possible in your code and normalize them, as the batch script below does. And treat succeeded as a claim to check, not a result: if output is empty or is not a URL, you do not have an upscaled image, whatever the status says.

1. Real-ESRGAN (cjwbw): the cheap default

Listing: https://api.market/store/magicapi/real-world-image-upscaler-cjwbw-real-esrgan

Real-ESRGAN is a blind super-resolution model, meaning it enlarges an image without needing to know how it was degraded. The only required field is image (a URL). upscale takes 2, 4 (default) or 8.

Pricing is $0.0068 per API unit, where one unit covers up to 27 seconds of processing. The listing's own example took 4.4 seconds, so one unit. Bigger inputs and the 8x setting run longer and can use more units.

curl -X POST "https://prod.api.market/api/v1/magicapi/real-world-image-upscaler-cjwbw-real-esrgan/predictions" \
  -H "Content-Type: application/json" \
  -H "x-api-market-key: YOUR_API_MARKET_KEY" \
  -d '{
    "version": "d0ee3d708c9b911f122a4ad90046c5d26a0293b99476d697f6bb7f2e251ce2d4",
    "input": {
      "image": "https://blog.api.market/wp-content/uploads/2026/10/real-esrgan-input-api-market.jpg",
      "upscale": 4
    }
  }'

Good fit: thumbnails to full size, old archive photos, small generator outputs. It has no face or text modes, so it is a plain enlarger.

2. Pruna P-Image Upscale: pick the output size

Listing: https://api.market/store/magicapi/fastest-image-upscaler-prunaai-p-image-upscale

Pruna describes this as the fastest image upscaler in the world (under a second) with outputs up to 128 megapixels. That is the vendor's claim, and this post did not measure it. The unusual part is upscale_mode. In target mode you ask for a size in megapixels (1 to 128, default 4). In factor mode you multiply each side by 1 to 8, and the output is capped at 128 MP. You can also switch on enhance_details and enhance_realism; the docs recommend realism for AI-generated images and warn both can drift from the original.

Price is a base of $0.0063 multiplied by an output size bracket:

Output size Price per image
1 to 4 MP $0.0063
4 to 8 MP $0.0126
8 to 16 MP $0.0252
16 to 32 MP $0.0504
32 to 64 MP $0.0756
64 to 128 MP $0.1512

In target mode the bracket follows the target you ask for, so the price is known before you send the request. In factor mode it follows the upscaled output size, so a modest-looking factor on a large input can land in a pricier bracket. The listing also says that if the model reports no bracket for a request, it is billed at the top rate of $0.1512. That is one more reason to check your first few bills against the numbers above.

import time
import requests

API_KEY = "YOUR_API_MARKET_KEY"
BASE_URL = "https://prod.api.market/api/v1/magicapi/fastest-image-upscaler-prunaai-p-image-upscale"
headers = {"Content-Type": "application/json", "x-api-market-key": API_KEY}

resp = requests.post(
    f"{BASE_URL}/predictions",
    headers=headers,
    json={
        "version": "prunaai/p-image-upscale",
        "input": {
            "image": "https://blog.api.market/wp-content/uploads/2026/10/p-image-upscale-input-api-market.jpg",
            "upscale_mode": "target",
            "target": 4,
            "output_format": "jpg",
            "output_quality": 80,
        },
    },
    timeout=30,
)
resp.raise_for_status()
prediction_id = resp.json()["id"]

deadline = time.monotonic() + 120
while time.monotonic() < deadline:
    remaining = deadline - time.monotonic()
    r = requests.get(f"{BASE_URL}/predictions/{prediction_id}", headers=headers, timeout=min(30, max(0.001, remaining)))
    r.raise_for_status()
    p = r.json()
    if p.get("status") == "succeeded":
        output = p.get("output")
        url = output[0] if isinstance(output, list) and output else output
        if not isinstance(url, str) or not url.startswith(("https://", "http://")):
            raise RuntimeError(f"prediction {prediction_id} succeeded but has no output URL")
        print(url)
        break
    if p.get("status") in ("failed", "canceled"):
        raise RuntimeError(f"prediction {prediction_id}: {p.get('error') or p['status']}")
    time.sleep(min(1, max(0, deadline - time.monotonic())))
else:
    raise TimeoutError(f"keep prediction {prediction_id} and resume polling later; do not resubmit")

3. Topaz Labs Image Upscale: the controllable one

Listing: https://api.market/store/magicapi/professional-image-upscaler-topazlabs-image-upscale

Topaz gives you the most knobs among the enlargers. enhance_model is one of Standard V2 (default), Low Resolution V2, CGI, High Fidelity V2 or Text Refine. upscale_factor is None, 2x, 4x or 6x. Note that the default is None, which enhances without enlarging, so set a factor if you want a bigger image. There is also subject_detection and optional face enhancement with face_enhancement_creativity and face_enhancement_strength (0 to 1).

Price is $0.10 per API unit, and the unit count is whatever the model reports for the request, rounded up. It depends on the size of the output image, which grows with the input size and the factor. The listing's 4x example reported one unit, $0.10. The listing does not publish a units-per-megapixel table, so for large inputs, budget from your first real bills.

const apiKey = "YOUR_API_MARKET_KEY";
const baseUrl =
  "https://prod.api.market/api/v1/magicapi/professional-image-upscaler-topazlabs-image-upscale";

const delay = (ms) => new Promise((r) => setTimeout(r, ms));

async function upscale(input) {
  const res = await fetch(`${baseUrl}/predictions`, {
    method: "POST",
    headers: { "Content-Type": "application/json", "x-api-market-key": apiKey },
    body: JSON.stringify({ version: "topazlabs/image-upscale", input }),
    signal: AbortSignal.timeout(30000),
  });
  if (res.status !== 201) throw new Error(`${res.status} ${await res.text()}`);
  const { id } = await res.json();

  if (typeof id !== "string" || !id) throw new Error("create response has no prediction id");
  const deadline = Date.now() + 120000;
  while (Date.now() < deadline) {
    const poll = await fetch(`${baseUrl}/predictions/${id}`, {
      headers: { "x-api-market-key": apiKey },
      signal: AbortSignal.timeout(Math.max(1, Math.min(30000, deadline - Date.now()))),
    });
    if (!poll.ok) throw new Error(`poll ${id}: HTTP ${poll.status}; keep id, do not resubmit`);
    const p = await poll.json();
    if (p.status === "succeeded") {
      const url = Array.isArray(p.output) ? p.output[0] : p.output;
      if (typeof url !== "string" || !/^https?:\/\//.test(url)) throw new Error(`prediction ${id} has no output URL`);
      return url;
    }
    if (p.status === "failed" || p.status === "canceled") throw new Error(p.error);
    await delay(Math.min(1000, Math.max(0, deadline - Date.now())));
  }
  throw new Error(`poll deadline: keep prediction ${id}; do not resubmit`);
}

upscale({
  image: "https://blog.api.market/wp-content/uploads/2026/10/image-upscale-input-api-market.webp",
  enhance_model: "Low Resolution V2",
  upscale_factor: "4x",
  face_enhancement: true,
}).then(console.log);

Good fit: portraits, digital art (CGI model), and images where lettering has to stay legible (Text Refine). Those are the use cases the listing names for each model; test them on your own files.

4. Recraft Creative Upscale: detail first

Listing: https://api.market/store/magicapi/creative-image-upscaler-recraft-ai-recraft-creative-upscale

This one has a single input, image. No scale, no strength. Recraft says the model refines textures, fine details and facial features while it upscales, and the output size is chosen by the model, so check the dimensions of what comes back. The listing's example took about 42 seconds and returned a WebP file.

It costs $0.375 per output image. That only makes sense when you want the model to invent plausible detail, such as AI-generated images headed for publication.

curl -X POST "https://prod.api.market/api/v1/magicapi/creative-image-upscaler-recraft-ai-recraft-creative-upscale/predictions" \
  -H "Content-Type: application/json" \
  -H "x-api-market-key: YOUR_API_MARKET_KEY" \
  -d '{
    "version": "recraft-ai/recraft-creative-upscale",
    "input": {
      "image": "https://blog.api.market/wp-content/uploads/2026/10/recraft-creative-upscale-input-api-market-1.jpg"
    }
  }'

5. Clarity Upscaler (philz1337x): steer the detail with a prompt

Listing: https://api.market/store/magicapi/high-resolution-image-upscaler

Clarity re-renders the image with a Stable Diffusion checkpoint, so it adds detail rather than only enlarging pixels. Only image is required. scale_factor defaults to 2, and the output width and height are multiplied by it. The listing does not state a maximum scale factor.

The settings that matter most:

  • creativity (0 to 1, default 0.35). Its developer suggests 0.3 to 0.9. Higher means more new detail.
  • resemblance (0 to 3, default 0.6, suggested 0.3 to 1.6). Higher keeps the result closer to the input.
  • dynamic (1 to 50, default 6) adds an HDR look. Suggested range 3 to 9.
  • prompt and negative_prompt steer what kind of detail gets added.
  • sd_model chooses between three checkpoints. Send the full value from the listing, hash included: epicrealism_naturalSinRC1VAE.safetensors [84d76a0328], juggernaut_reborn.safetensors [338b85bc4f] (default) or flat2DAnimerge_v45Sharp.safetensors. The last one suits flat illustration and anime styles. A shortened name is not in the list of allowed values, so expect a 400.
  • handfix can be disabled (default), hands_only or image_and_hands, aimed at generated portraits.
  • mask takes an image that marks areas to preserve, and pattern set to true upscales a seamless tile.
  • downscaling shrinks a large but low quality input to downscaling_resolution (default 768) before upscaling, which the developer says can help.
  • sharpen from 0 to 10, and output_format of png (default), jpg or webp.

Pricing is $0.02 per API unit. One unit is one successful request covering up to 15 seconds of processing, and longer requests use one unit per started 15 seconds. A 20 second request is 2 units, $0.04. Processing time grows with input size, scale_factor and num_inference_steps (default 18). The other settings do not change the price. The listing's example request costs $0.02 when it finishes inside 15 seconds.

payload = {
    "version": "dfad41707589d68ecdccd1dfa600d55a208f9310748e44bfe35b4a6291453d5e",
    "input": {
        "image": "https://blog.api.market/wp-content/uploads/2026/10/docs-027c520bd6ac-13_before-4.png",
        "scale_factor": 2,
        "creativity": 0.35,
        "resemblance": 0.6,
        "sd_model": "juggernaut_reborn.safetensors [338b85bc4f]",
        "output_format": "webp",
    },
}

Send that to https://prod.api.market/api/v1/magicapi/high-resolution-image-upscaler/predictions. The result output is a list with one URL.

A practical note: lowering creativity and raising resemblance is the first thing to try when the output drifts from the original. Both settings change the look but not the price, so tuning them on a handful of images costs very little.

6. Fermat ControlNet Tile: big, prompt-guided redraws

Listing: https://api.market/store/magicapi/high-quality-image-upscaler-fermatresearch-high-resolution-controlnet-tile

Featured API from this guide
Prompt-Guided Image Upscaler API (Fermat High-Resolution ControlNet Tile)Upscale an image to a 2048, 2560 or 4096 resolution with prompt-guided detail from a ControlNet 1.1 tile pipeline.
Image upscalingBy MagicAPI
Lowest plan: $0.024 per API unit

This is Fermat's open-source ControlNet 1.1 tile pipeline. It redraws the input at a larger size and adds detail guided by a text prompt. You describe the image in prompt ("a nordic livingroom, 4k interior photography, uhd" in the listing example) and pick a resolution of 2048, 2560 (default) or 4096. The target is an output size, not a multiplier. The schema marks no field as required, but you do need to send an image.

Controls:

  • creativity (0.1 to 1, default 0.35) is denoising strength. At 1 the original is fully replaced.
  • resemblance (0 to 1, default 0.85) is the ControlNet conditioning scale. Higher follows the input more closely.
  • hdr (0 to 1), lora_details_strength (-5 to 3) and lora_sharpness_strength (-5 to 10; the developer does not recommend values above 2).
  • steps (default 8), four schedulers (DDIM default), an optional seed and format of jpg (default) or png.
  • guidance_scale should stay at 0, the developer's recommendation.

Pricing is $0.024 per API unit, where one unit is a successful request finishing within 22 seconds of processing. Longer requests bill one unit per started 22 seconds. The listing's example took 26.4 seconds and cost $0.048 (2 units). Higher resolution and more steps take longer, so they can push the unit count up. One request returns one image, as a single URL string.

Good fit: interior and architecture renders, generated images going to print or large banners, and creative re-detailing where a prompt can describe what you want. Poor fit: anything where the content must not change.

A batch script that works with all six

The asynchronous pattern is identical, so one small client covers every listing. This script submits many images in parallel, polls each one, retries polling on 429 and 5xx, and normalizes output. It follows the request and response shapes in the listing docs and has not been run against the live APIs.

Two choices in it are about money. The create call (POST) is sent once. A timeout or a 5xx on the create call leaves you not knowing whether a billed job exists, so the script stops and reports instead of submitting the image again. And a succeeded status with no usable output URL is treated as an error that carries the prediction id.

import time
from concurrent.futures import ThreadPoolExecutor, as_completed

import requests

API_KEY = "YOUR_API_MARKET_KEY"
HEADERS = {"Content-Type": "application/json", "x-api-market-key": API_KEY}


class UpscaleError(Exception):
    def __init__(self, message, prediction_id=None):
        super().__init__(message)
        self.prediction_id = prediction_id


class Upscaler:
    def __init__(self, base_url, version):
        self.base_url = base_url
        self.version = version

    def _create(self, input_data):
        # No automatic retries of a potentially billed create request.
        r = requests.post(
            f"{self.base_url}/predictions",
            headers=HEADERS,
            json={"version": self.version, "input": input_data},
            timeout=30,
        )
        if r.status_code != 201:
            raise UpscaleError(f"create failed {r.status_code}: {r.text[:300]}")
        pid = r.json().get("id")
        if not isinstance(pid, str) or not pid:
            raise UpscaleError("create response has no prediction id; investigate before resubmitting")
        return pid

    def _get(self, pid, retries=3):
        # Reading a prediction is free, so retrying is safe.
        for attempt in range(retries + 1):
            r = requests.get(f"{self.base_url}/predictions/{pid}", headers=HEADERS, timeout=60)
            if r.status_code == 200:
                return r.json()
            if r.status_code in (429, 500, 503) and attempt < retries:
                time.sleep(2 ** attempt)
                continue
            raise UpscaleError(f"poll failed {r.status_code}: {r.text[:300]}", pid)

    def run(self, input_data, timeout=600, poll=2):
        pid = self._create(input_data)
        deadline = time.time() + timeout
        try:
            while time.time() < deadline:
                p = self._get(pid)
                if p["status"] == "succeeded":
                    out = p.get("output")
                    url = out[0] if isinstance(out, list) and out else out
                    if not isinstance(url, str) or not url.startswith(("https://", "http://")):
                        raise UpscaleError("succeeded but no output URL", pid)
                    return url
                if p["status"] in ("failed", "canceled"):
                    raise UpscaleError(f"{p['status']}: {p.get('error')}", pid)
                time.sleep(poll)
        except requests.RequestException as err:
            raise UpscaleError(f"network error while polling: {err}", pid)
        raise UpscaleError(f"not finished in {timeout}s, still polling-eligible", pid)


def upscale_many(upscaler, inputs, workers=4):
    results = {}
    with ThreadPoolExecutor(max_workers=workers) as pool:
        futures = {pool.submit(upscaler.run, item): item["image"] for item in inputs}
        for fut in as_completed(futures):
            src = futures[fut]
            try:
                results[src] = fut.result()
            except UpscaleError as err:
                results[src] = f"ERROR: {err} (prediction id: {err.prediction_id})"
            except Exception as err:
                results[src] = f"ERROR: {err}"
    return results


if __name__ == "__main__":
    esrgan = Upscaler(
        "https://prod.api.market/api/v1/magicapi/real-world-image-upscaler-cjwbw-real-esrgan",
        "d0ee3d708c9b911f122a4ad90046c5d26a0293b99476d697f6bb7f2e251ce2d4",
    )
    jobs = [{"image": url, "upscale": 4} for url in ["https://example.com/a.jpg", "https://example.com/b.jpg"]]
    print(upscale_many(esrgan, jobs))

Why four workers? Every poll counts toward the 10 requests per second limit. With a poll interval of 2 seconds, four workers send roughly 2 requests per second, with room left for retries. If you raise the worker count, raise the poll interval too. Ten workers polling every second would sit right at the ceiling and start collecting 429 responses.

Three more habits for batches. First, save the prediction id for every job as soon as the POST returns. If your process crashes you can resume polling that id instead of paying to submit the same image again. Second, if a job times out or a poll fails, keep polling the same id later. Do not create a new job for the same image until you know what happened to the first one. Third, download the output files right away. The listings return URLs and do not say how long they stay available, so copy results to your own storage and do not keep the provider link as your only copy.

What it costs: 1,000 and 10,000 images

These figures assume one unit per image, which is the best case, and use the listed prices. Every listing here is pay-as-you-go with no monthly free allowance, so a recurring monthly workload costs images per month times the per-image figure below. Check the last column for how fast cost climbs when requests run long.

API 1,000 images 10,000 images Where cost grows
Real-ESRGAN $6.80 $68 Over 27s per image adds units
Pruna (1 to 4 MP out) $6.30 $63 Output of 4 to 8 MP doubles it to $12.60 per 1,000
Clarity $20 $200 Each started 15s adds $0.02
Fermat $24 $240 Each started 22s adds $0.024
Topaz $100 $1,000 Unit count depends on output size
Recraft $375 $3,750 Flat per image

Take Fermat's own example. At 26.4 seconds it used 2 units, so the real cost was $0.048 per image, and 1,000 such images would cost $48, not $24. For Clarity, a 20 second request is 2 units at $0.04, so 1,000 of those would cost $40. The only way to know your average is to run 20 or 30 representative images first and divide the bill by the count.

The spread tells you how to build a pipeline. A common pattern is a two-tier flow: send everything through Real-ESRGAN or Pruna, then send only the images a human flags (hero shots, ad creatives) through Topaz or Recraft. If 95 percent of images take the cheap path at $0.0068 and 5 percent go to Topaz at $0.10 (one unit each), the average is about $0.0115 per image, so 10,000 images cost roughly $115. That is arithmetic on list prices, not a measured bill.

Test quality on your own images

Spec pages cannot tell you which upscaler looks best on your pictures. A small test is worth doing, and it costs more than people expect when you include the expensive models. Run all six on 20 images at one unit each and the list prices add up to about $10.70: $0.0068 + $0.0063 + $0.10 + $0.375 + $0.02 + $0.024 is $0.536 per image, times 20. Recraft alone is $7.50 of that and Topaz $2. Slow Clarity or Fermat requests cost more, and so does any second variant you try. To keep it cheap, run the two expensive models on only 5 of the 20.

  1. Pick 20 images that represent your real workload: some easy, some bad (blurry, compressed, small).
  2. Run each through every candidate with default settings. For Clarity and Fermat, also run one variant with lower creativity and higher resemblance.
  3. Compare at 100% zoom, side by side, on the parts that matter to you: faces, text, edges, fabric, skin texture.
  4. Check for damage. Look for changed faces, warped text, invented logos and plastic-looking skin. Re-detailers are the usual culprits.
  5. Record seconds per image from the prediction timestamps (started_at and completed_at) so you can compute the real unit count.
  6. Write down the cost and pick the cheapest option that passed step 4.

For automated checks, you can compare output dimensions against what you asked for. The Pruna target mode gives a predictable size, scale_factor and upscale multiply width and height, and Recraft chooses its own size, so check what you got. Also open every output file once: a URL that returns nothing, or a file that will not decode, is a failed job even when the status said succeeded.

Which image upscaler API should you pick?

  • Thousands of product photos: Real-ESRGAN, or Pruna in target mode if you need every output to be the same size.
  • Print-size or very large output: Pruna, which goes to 128 MP. Fermat goes to 4096 pixels.
  • Portraits, text-heavy images, digital art: Topaz, because the model choice matters for those.
  • AI-generated art that needs more detail, not just more pixels: Clarity if you want control and a low price, Recraft if you want a single-call result and can pay $0.375.
  • Renders and interiors going to large banners: Fermat, guided by a prompt that describes the scene.
  • Anything where the content must not change: an enlarger, never a re-detailer.

Error handling

All six listings document the same status codes for the create call:

Code Meaning Action
201 Prediction accepted Poll with the returned id.
400 Invalid input, such as a missing image, a creativity out of range or a resolution that is not allowed Fix the input. Do not retry unchanged.
401 Missing or invalid key Check the x-api-market-key header.
404 No prediction with that ID Check you are polling the same listing you posted to.
429 Over the rate limit Back off and retry.
500, 503 Temporary server problem The listings say to retry with exponential backoff. For the create call, first consider whether a billed job might already exist (see below).

A prediction can also finish with status of failed or canceled, with the reason in error. Failed and cancelled predictions are not billed. Set an overall timeout (the listings suggest 600 seconds) so one stuck job does not hold a worker forever.

Three cases deserve their own handling:

  • succeeded with an empty or non-URL output. Treat it as a failure. The listings do not say how a billed prediction with no image is handled, so log the prediction id and ask support instead of resubmitting in a loop.
  • A poll that keeps failing, or a timeout. The job may still be running and billed. Poll the same id again later. Do not create a second job automatically.
  • A create call that errors out on the network, or returns 500 or 503. You do not know whether a job was created. Check your logs for an id, and resubmit by hand rather than by retry loop if you need that image.

Other things that fail in practice: an image URL that is not publicly reachable, a URL that redirects to a login page, and files in a format the model cannot read. Pruna's and Fermat's docs list jpeg, png, gif and webp as accepted. Check that the URL returns the image directly with a plain GET before you blame the API.

FAQ

Which upscaler is best for AI-generated images? The re-detailers: Clarity, Fermat and Recraft. They add texture that generated images often lack. Pruna's enhance_realism option is documented for AI-generated images too. Start with Clarity because it is the cheapest of the group and lets you tune the result.

Which is the cheapest? Pruna in the 1 to 4 MP bracket at $0.0063 per image and Real-ESRGAN at $0.0068 per unit are the lowest listed prices.

Can I upscale to 8K? Pruna's target mode accepts up to 128 megapixels, which is well past 8K (about 33 MP). Real-ESRGAN offers an 8x factor, and output size depends on your input.

Do I pay for failed jobs? No. Every listing here says failed or cancelled predictions are not billed. Status checks (GET) are free too. The listings do not cover what happens when a job reports success but returns no image, so check outputs and raise it with support if it happens.

Is there a free tier? Not on these six. All of them are pay-as-you-go from the first call, so budget for your test run.

Why did my request cost more than the listed price? Clarity and Fermat bill per started block of processing time (15 and 22 seconds), and Real-ESRGAN bills per 27 seconds. Topaz bills the units the model reports for the output size, and Pruna bills by output size bracket. Large inputs, high scale factors and more steps take longer or land in bigger brackets.

Is the 201 response an error? No. It means the prediction was accepted. Poll until the status is final.

Can I send a file instead of a URL? The docs describe the image field as a URL. Host the file somewhere reachable and send the link.

Do these keep my images? The listings do not say. If your images are sensitive, ask the provider before you send them.

Try them

Each listing above gives you a key and a playground. Start with the cheapest options and work up: