Real-ESRGAN

AI Image Editing Model

Image $ · 0.2¢

Practical algorithm for general image restoration that upscales images while reducing artifacts, with optional face enhancement

Example outputs coming soon

Supported Modes
Upscale
Active

Details

Model ID
real-esrgan
Also known as: realesrgan
Creator
Released
July 2021
Max Input Images
1
Tags
image-upscaling super-resolution image-enhancement open-weights
// Get Started

Ready to integrate?

Access real-esrgan via our unified API.

Create Account
Available at 1 provider

Starting from

$0.0025 /image via Replicate

Prices shown are in USD

Full pricing details

Providers & Pricing (1)

Real-ESRGAN is available exclusively through Replicate, starting at $0.0025/image.

Replicate
replicate/real-esrgan
Provider Model ID: nightmareai/real-esrgan

Output

Image
$0.0025 per image
Pricing Notes (1)
  • Replicate bills by hardware seconds; ~$0.0025 per typical run.
View official pricing • As of

realesrgan API OpenAI-compatible

Base URL
https://api.lumenfall.ai/openai/v1
Model
real-esrgan

Code Examples

Upscale

/v1/images/edits
curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/edits \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -F "model=real-esrgan" \
  -F "[email protected]" \
  -F "prompt=Add a starry night sky to this image" \
  -F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Parameter Normalization

How we handle parameters across different providers

Not every provider speaks the same language. When you send a parameter, we handle it in one of four ways depending on what the model supports:

Behavior What happens Example
passthrough Sent as-is to the provider style, quality
renamed Same value, mapped to the field name the provider expects prompt
converted Transformed to the provider's native format size
emulated Works even if the provider has no concept of it n, response_format

Parameters we don't recognize pass straight through to the upstream API, so provider-specific options still work.

Real-ESRGAN FAQ

How much does Real-ESRGAN cost?

Real-ESRGAN starts at $0.0025 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.

How do I use Real-ESRGAN via API?

You can use Real-ESRGAN through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "real-esrgan". Code examples are available in Python, JavaScript, and cURL.

Which providers offer Real-ESRGAN?

Real-ESRGAN is available through Replicate on Lumenfall. Lumenfall automatically routes requests to the best available provider.

Try Real-ESRGAN in Playground

Generate images with custom prompts — no API key needed.

Open Playground