Image Upscale

RealESRGAN x4

Free Playground & API · $5 to Start

Upscales images with AI enhancement, increasing resolution up to 4x while preserving textures and details.

No subscription
No credit card required
HuggingFace

Sample Outputs

Real outputs generated with RealESRGAN x4 on deAPI.

Original source image — Beauty portrait upscaled 4x with enhanced skin texture RealESRGAN x4 AI output — Beauty portrait upscaled 4x with enhanced skin texture
256×256
1024×1024 4x
Original source image — Stone gargoyle upscaled 4x preserving weathered texture RealESRGAN x4 AI output — Stone gargoyle upscaled 4x preserving weathered texture
256×256
1024×1024 4x
Original source image — Tiger photo upscaled 4x with sharp fur detail RealESRGAN x4 AI output — Tiger photo upscaled 4x with sharp fur detail
256×256
1024×1024 4x
Original source image — Food photography upscaled 4x with enhanced texture RealESRGAN x4 AI output — Food photography upscaled 4x with enhanced texture
256×256
1024×1024 4x
Original source image — Urban architecture upscaled 4x with sharp brick detail RealESRGAN x4 AI output — Urban architecture upscaled 4x with sharp brick detail
256×256
1024×1024 4x
Original source image — Butterfly macro upscaled 4x with detailed wing pattern RealESRGAN x4 AI output — Butterfly macro upscaled 4x with detailed wing pattern
256×256
1024×1024 4x
Original source image — Vintage watch upscaled 4x with enhanced engravings RealESRGAN x4 AI output — Vintage watch upscaled 4x with enhanced engravings
256×256
1024×1024 4x
Original source image — Castle landscape upscaled 4x with sharp stone detail RealESRGAN x4 AI output — Castle landscape upscaled 4x with sharp stone detail
256×256
1024×1024 4x
Source Output

"Portrait of a woman with green eyes and red lipstick, studio lighting, beauty photography"

"A detailed stone gargoyle on a Gothic cathedral, weathered texture, architectural detail photography"

"A tiger walking through tall grass, wildlife photography, detailed fur texture"

"A plate of sushi with detailed fish texture, close-up food photography, sharp details"

"An old brick building facade with fire escape, urban architecture, fine details"

"A monarch butterfly on a purple flower, macro photography, wing detail visible"

"A vintage pocket watch with intricate engravings, product photography, fine metalwork detail"

"A medieval castle on a hilltop at sunset, landscape photography, fine stone detail"

Capabilities

Model ID: RealESRGAN_x4

What you can do with RealESRGAN x4.

Image Upscale

Upscale images with AI-powered enhancement. Increase resolution up to 4x while preserving textures and fine details.

Technical Specifications

Resolution

128–2048 x 128–2048 px

How to Use in deAPI

Integrate RealESRGAN x4 into your app with a single API call.

POST https://api.deapi.ai/api/v1/client/img-upscale
curl -X 'POST' \
  'https://api.deapi.ai/api/v1/client/img-upscale' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "model": "RealESRGAN_x4",
    "image": "BASE64_OR_URL"
}'
{
    "model": "RealESRGAN_x4",
    "image": "BASE64_OR_URL"
}

Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /request-status/{'{'}request_id{'}'} for results.

Need an API key?

Sign up for free and get $5 in credits to start.

Get $5 credits
Get started with RealESRGAN x4

Frequently Asked Questions

Upscales images with AI enhancement, increasing resolution up to 4x while preserving textures and details.
RealESRGAN x4 increases image resolution by 4× using AI that intelligently fills in detail. It preserves textures, edges, and fine details rather than simply interpolating pixels. A 512×512 image becomes 2048×2048.
Input images should be between 128×128 and 2048×2048 pixels. The output will be 4× larger in each dimension — for example, a 512×512 input becomes 2048×2048.
Sign up for a free deAPI account at https://deapi.ai/register and get $5 in free credits — no credit card required. Then open the playground, select RealESRGAN x4, and generate your first result in seconds.
deAPI is pay-per-use with no subscriptions or monthly fees. Check the pricing page at https://deapi.ai/pricing for current per-generation rates.
Yes. RealESRGAN x4 is available via the deAPI REST API. Submit a request, receive a request ID, and poll for the result. See the API documentation at https://docs.deapi.ai for code examples in Python, Node.js, and cURL.

Try RealESRGAN x4 for Free

Get $5 in free credits and start generating with RealESRGAN x4.

Get $5 credits
No subscription
No credit card required
Pay only for what you use