# Real-ESRGAN - API, Playground & Pricing

> Run Real-ESRGAN by Tencent via API, Playground, or MCP from $5.00 per hour of run time - no provider API key needed. The open upscaler: enlarge a photo up to 8x and clean up compression artifacts.

Page: https://flymy.ai/models/real-esrgan/

Models / Image editing

Real-ESRGAN upscales a photo or illustration 2x to 8x and restores detail, running on FlyMy.AI GPUs and billed by the second of run time. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Tencent ARC API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/real-esrgan) [<> Get API](https://flymy.ai/models/real-esrgan/#api)

**Provider**

[Tencent](https://flymy.ai/models/provider/tencent/)

**Category**

[Image editing](https://flymy.ai/models/image-editing/) / Upscaling

**Price**

$5.00 / hr

**Returns**

`output`

**Commercial use**

Allowed

**Model ID**

`flymyai/real-esrgan`

![Real-ESRGAN by Tencent: upscaling sample, upscale images 2x to 8x](https://flymy.ai/img/models/real-esrgan.jpg)

Real-ESRGAN sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Real-ESRGAN in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/real-esrgan.md. Help me connect the FlyMy.AI MCP to this assistant, then run Real-ESRGAN (flymyai/real-esrgan) for this task: Upscale the image I attach 4x with Real-ESRGAN and send me the link.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/real-esrgan.md)

## What Real-ESRGAN does

Real-ESRGAN is the widely used open restoration model from Tencent ARC: it enlarges an image while cleaning compression artifacts and noise. Send image and a scale_factor from 2 to 8 and get the larger file back.

## Real-ESRGAN inputs

Every input of `flymyai/real-esrgan` as its live schema lists them. Returns `output` (file).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/real-esrgan/#input-image) `image` | file required Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/models/real-esrgan/#input-scale_factor) `scale_factor` | number optional Allowed: 2.0 to 8.0 Default: `2.0` |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Upscale the image I attach 4x with Real-ESRGAN and send me the link.”** runs `flymyai/real-esrgan`

**“Enlarge this old product photo 2x with Real-ESRGAN and clean up the compression artifacts.”** runs `flymyai/real-esrgan`

**“Run Real-ESRGAN on these three thumbnails at 4x so I can print them.”** runs `flymyai/real-esrgan`

## Real-ESRGAN price

$5.00 per hour of run time, billed per second. Billed per second of run time on RTX4090x1, $5.00 an hour. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Real-ESRGAN vs similar models

Popular image editing models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run |
|---|---|---|---|---|
| **Real-ESRGAN** | Tencent | Upscaling | $5.00 / hr | $5.00 / hr |
| [Topaz Image Upscale Precision](https://flymy.ai/models/topaz-image-upscale-precision/) | Topaz Labs | Upscaling | from $0.08 / run | $0.08 |
| [MAI-Image 2.7 Edit](https://flymy.ai/models/mai-image-2-7-edit/) | Microsoft | Image editing | from $0.0349 / run | $0.0431 |
| [SeedVR2 Image Upscale](https://flymy.ai/models/seedvr2-image-upscale/) | ByteDance | Upscaling | from $0.001 / run | $0.004 |

## Real-ESRGAN API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/real-esrgan/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/real-esrgan/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F "image=@photo.jpg"
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/real-esrgan",
    payload={
        "image": "https://example.com/photo.jpg"
    },
)
print(response.output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "image": "https://example.com/photo.jpg"
  },
  "flymyai/real-esrgan",
);
console.log(response.output_data);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/real-esrgan",
  "input": {
    "image": "https://example.com/photo.jpg"
  }
}
```

## Questions about Real-ESRGAN

**Do I need a Tencent ARC API key for Real-ESRGAN?**

No. Real-ESRGAN runs on FlyMy.AI GPUs, so you need no Tencent ARC key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Real-ESRGAN cost?**

$5.00 per hour of run time, billed per second. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try Real-ESRGAN before I write code?**

Yes. Open Real-ESRGAN in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/real-esrgan, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use Real-ESRGAN in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Upscale the image I attach 4x with Real-ESRGAN and send me the link." Your agent reads the inputs with get_model_schema and runs flymyai/real-esrgan with run_model.

**What does Real-ESRGAN need as input?**

Real-ESRGAN requires image; it also takes 1 optional input, each listed on this page with its allowed values and default.

**Can I call Real-ESRGAN from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/real-esrgan/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More image editing models

Change a picture you already have: background, objects, style, text in the frame, its resolution, or turn it into a vector graphic.

### Topaz Image Upscale Precision

Gigapixel-grade enlargement for product shots, portraits and scans that must stay true.

Upscaling / from $0.08 / run

Link: https://flymy.ai/models/topaz-image-upscale-precision/

### MAI-Image 2.7 Edit

Microsoft's editor: one to five pictures changed or combined from a plain instruction.

Image editing / from $0.0349 / run

Link: https://flymy.ai/models/mai-image-2-7-edit/

### SeedVR2 Image Upscale

Cheap upscales in volume for renders, product photos and screenshots.

Upscaling / from $0.001 / run

Link: https://flymy.ai/models/seedvr2-image-upscale/

### Seedream 5.5 Layers

Seedream 5.5 that takes a poster or banner apart: a base image plus transparent layers with names and boxes.

Image to layers / from $0.02 / image

Link: https://flymy.ai/models/bytedance-seedream-5-5-layers/

### GPT Image 2.0 Edit

OpenAI's 2.0 editor, kept for pipelines that already depend on its output.

Image editing / from $0.009 / run

Link: https://flymy.ai/models/gpt-image-2-0-edit/

### GPT Image 2.5 Edit

The 2.5 Flare editor: swap a product, background or headline and leave the rest alone.

Image editing / from $0.009 / run

Link: https://flymy.ai/models/gpt-image-2-5-edit/

## Go to the source

[Real-ESRGAN in the playground →](https://app.flymy.ai/models/flymyai/real-esrgan), [Image editing models →](https://flymy.ai/models/image-editing/), [Tencent models →](https://flymy.ai/models/provider/tencent/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
