KeyoAPI

Real-ESRGAN API — Real-World Image Super-Resolution

Real-ESRGAN is KeyoAPI’s general image upscaling api for photos that need more pixels and cleaner detail.

Real-ESRGAN is a vision model on KeyoAPI, a prepaid AI API gateway: call it at POST /v1/images/upscaling, billed at $0.00685 / request from the same balance that covers chat, vision, OCR and video models.

Listed price: $0.00685 / request · Live catalog: Model Square · Static list: pricing list.

Get API key Open Model Square Compare API prices

Overview

Marketplaces, print shops, and UGC apps call this super resolution api instead of maintaining ESRGAN GPUs. Real-world photos suffer from compression and blur. Real-ESRGAN restores usable resolution for zoom, crop, and print. On the same AI API relay you can unwarp with UVDoc then upscale before OCR. Per-request ~$0.00685—cheap enough to run on every upload or only when users hit “Enhance.” Gate with file-size heuristics to control spend. Listing image polish, archival scans, social media quality boosts, and pre-OCR enhancement. Anime content should prefer AnimeSharp. Keyo upscaling paths with model=Real-ESRGAN. Keys at the full pricing list. Real-ESRGAN upscales real photos on /v1/images/upscaling when marketplace or mobile captures need sharper pixels before OCR or publishing. Upscaling helps marketplace photos and OCR preprocessors more than it helps already-sharp DSLR shots. Detect low resolution before calling Real-ESRGAN to avoid wasting requests. Compare SSIM or a simple sharpness score pre/post. For text-heavy scans, upscale then OCR; for portraits, upscale then RMBG. Image upscaling API costs add up in user-generated content apps—cache by content hash. Keyo’s /v1/images/upscaling path keeps this step next to other vision tools. Skip upscale when the short side already exceeds your publish threshold. Prefer 2x then quality check before 4x. Image upscaling API spend correlates with UGC spikes—rate limit per user.

How to call it

Base URL: https://www.keyoapi.xyz/v1

Endpoint: POST /v1/images/upscaling

Model: model=Real-ESRGAN

curl https://www.keyoapi.xyz/v1/images/upscaling \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F model=Real-ESRGAN \
  -F image=@./photo.png

Auth uses the same Bearer API key as chat. Full notes: Keyo docs.

FAQ

Photo vs anime upscaling?

Use Real-ESRGAN for general photos; switch to AnimeSharp for illustrations and anime line art.

Will it invent faces?

Super-resolution can hallucinate detail—review outputs for identity-sensitive apps and keep originals.

Pricing?

About $0.00685 per request on the full pricing list.

Related models

AnimeSharp API UVDoc API RMBG-2.0 API

Guide for Real-ESRGAN. Catalog: the pricing page · Rates: the full pricing list.