Real esrgan

From awesome-genmedia/skills · View interactive version

Real esrgan is an AI agent skill from the GitHub repository awesome-genmedia/skills. Real Esrgan - Face Enhancer | Image Upscaling and Face Enhancement. Upscale images and enhance faces using Real-ESRGAN with GFPGAN. Triggers: real esrgan, face enhancer, upscale, image enhance, super resolution

How to use this skill

Skill file

Real Esrgan - Face Enhancer

Upscale images and optionally enhance faces using Real-ESRGAN with GFPGAN face enhancement. Simple and effective image upscaling with configurable scale factor.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/low-res-photo.jpg",
      "scale": 4,
      "face_enhance": true
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| face_enhance | boolean | false | Run GFPGAN face enhancement along with upscaling |

| image | string | - | Input image |

| scale | number | 4 | Factor to scale image by |

Examples

Upscale with face enhancement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/old-family-photo.jpg",
      "scale": 4,
      "face_enhance": true
    }
  }'

Simple 2x upscale without face enhancement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/landscape-thumbnail.jpg",
      "scale": 2,
      "face_enhance": false
    }
  }'

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.