Skip to content
Runstage

Xintao

RealESRGAN x4

AI-powered 4× image upscaler with built-in noise reduction. Input: 128–2048px. Output: up to 4× the original resolution. Ideal for photos, illustrations, and old or compressed images.

Published API pricing
~$0.00780 / 1024×1024
See all tiers
1024×1024~$0.00780
1536×1024~$0.00955
2048×2048~$0.0156
API model ID
4× texture restoration & micro-contrast — 4× Upscaled
4× texture restoration & micro-contrast — Low-res
Low-res4× Upscaled
4× texture restoration & micro-contrast4× super-resolution restoring crisp brushed-metal micro-contrast.

Best for

API reference

API model ID
RealESRGAN_x4
Model developer
Xintao
Modality
Image Generation & Editing
Input
Source image
Output
Image (PNG / WebP)
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/output
Infrastructure
Direct GPU fleet

Request parameters

  • modelstring · required

    Exact Runstage model slug (RealESRGAN_x4). Submit via multipart/form-data to POST /api/v2/run.

  • imagefile · required

    Source PNG, JPEG, WebP, GIF, or BMP file (up to 10 MB).

Quickstart

Copy a working request using model ID RealESRGAN_x4. Check a free pre-run quote first (final cost settles on completion), then run with your Runstage API key.

Open interactive Playground
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"RealESRGAN_x4","width":1024,"height":1024}'

# 2. Submit metered image upload job (PNG, JPEG, WebP, GIF, or BMP up to 10 MB)
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  --form-string 'model=RealESRGAN_x4' \
  -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Pricing

Billable unit and optionsRate (USD)
Standard · 1024×1024Typical product or portrait image (estimated)~$0.00780
High-res · 1536×1024Editorial wide frame (estimated)~$0.00955
Print · 2048×2048Large-format master asset (estimated)~$0.0156

Billing notes

  • 4× super-resolution upscaling.
  • Free pre-run cost estimates are available via POST /api/v2/quote before committing prepaid credits.
  • Upfront reservations automatically reconcile against settled execution cost on completion or failure, refunding any unused reserved credits.

Live catalog rates on Runstage. Prepaid USD credits with per-key spend caps.

Compare in full catalog