Hormouz AIHormouzSign in

real-esrgan: image generation model

Real-ESRGAN is an image upscaler that sharpens and enlarges photos, with optional face enhancement. Served asynchronously from inside Iran through Hormouz.

Pricing:
$0.002500 / run
Type:
image
  • Image generation

Real-ESRGAN is a widely used image super-resolution model. It enlarges an image while restoring detail and reducing artefacts, turning small or soft pictures into sharper, higher-resolution ones.

It is served through Hormouz behind an asynchronous predictions API. Submit a prediction with your image, then poll until the upscaled result is ready. The required input is image; optional controls include scale, the upscale factor (default 4), and face_enhance, which cleans up faces (default off).

Pricing is a flat $0.005 per run, making it a very cheap way to upscale at scale. Hormouz provides stable access to Real-ESRGAN from inside Iran, with no foreign credit card or circumvention tooling required.

Quickstart

# Create the prediction, then poll until succeeded
curl -s https://api.hormouz.net/v1/predictions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version":"nightmareai/real-esrgan","input":{"image":"https://example.com/input.jpg"}}'

Specs

VendorNightmareAI
TypeImage
Context window—
Pricing$0.002500 / run
APIpredictions

Code example

cURL
# Create the prediction, then poll until succeeded
curl -s https://api.hormouz.net/v1/predictions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version":"nightmareai/real-esrgan","input":{"image":"https://example.com/input.jpg"}}'
Python
import requests
BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json"}
r = requests.post(f"{BASE}/predictions", headers=H,
    json={"version": "nightmareai/real-esrgan", "input": {"image":"https://example.com/input.jpg"}})
print(r.json()["id"])
JavaScript
const BASE = "https://api.hormouz.net/v1";
const res = await fetch(`${BASE}/predictions`, {
  method: "POST",
  headers: { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ version: "nightmareai/real-esrgan", input: {"image":"https://example.com/input.jpg"} }),
});
const { id } = await res.json();

Buy the real-esrgan API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches real-esrgan and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does Real-ESRGAN cost?
Billing is a flat $0.005 per run on Hormouz. One of the cheapest ways to upscale images, so it fits high-volume batches. Current rates are shown in the Hormouz dashboard.
How do I call Real-ESRGAN?
It runs on Hormouz's asynchronous predictions API: submit a prediction with your image, then poll until the upscaled result is ready. Point your base URL at Hormouz and use a Hormouz API key.
What inputs does Real-ESRGAN accept?
The required input is image. Optional parameters include scale, the upscale factor (default 4), and face_enhance, which cleans up faces (default off).
What is Real-ESRGAN good for?
It suits photo upscaling and restoration. Enlarging small images, sharpening soft ones, cleaning up compression artefacts and improving portraits with face enhancement.
How do I access Real-ESRGAN from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to Real-ESRGAN from inside Iran, with no foreign credit card or circumvention tooling required.

Updated 2026-10-13