Real-ESRGAN image upscaler — best for illustration, anime and hand-drawn / painted artwork: enlarge to 4x, 8K or 10K with crisp lines and clean flats. Image-to-image (an image, no prompt), with optional GFPGAN face enhancement. On real photos it only enlarges — it does not repair blur, damage or noise.
Authorization: Bearer YOUR_API_KEY| Model | model | Price | Notes |
|---|---|---|---|
| Real-ESRGAN Upscaler | real-esrgan | $0.004/image | Image upscaling, scale 1-10, optional face enhance |
# ─── Upscale an image (Real-ESRGAN) ───────────────────────
curl -X POST https://apimodels.app/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "real-esrgan",
"image_url": "https://example.com/artwork.png",
"scale": 4,
"face_enhance": false
}'
# Response (async — a task is created):
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending" } }
# ─── Poll for the upscaled result ─────────────────────────
curl "https://apimodels.app/api/v1/images/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed", "resultUrls": ["https://r2.apimodels.app/..."] } }| Field | Required | Type | Description |
|---|---|---|---|
| model | Yes | string | real-esrgan |
| image_url | Yes | string | URL of the image to upscale (publicly reachable). Or use image_base64 for a local image. No prompt needed. |
| image_base64 | No | string | Base64/data-URI of a local image (alternative to image_url) |
| scale | No | number | Upscale factor 1-10 (default 4) |
| face_enhance | No | boolean | Enable GFPGAN face enhancement (default false) |
| callback_url | No | string | Webhook URL called when task completes |
Try it in the Playground
Flat $0.004 per image, including any scale factor (1-10) and optional face enhancement. Charged only on success.
It only enlarges real photos — it does not repair blur, damage or noise. It shines on illustration, anime and hand-drawn artwork, where lines stay crisp and flats stay clean.