# Real-ESRGAN MCP and API - Upscaling by Tencent ARC | FlyMy.AI

> 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.

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

MCP / Models / Image editing

# Real-ESRGAN MCP: upscale images 2x to 8x with no API key

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 from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Real-ESRGAN](https://flymy.ai/mcp/models/real-esrgan/#start) [Inputs and price](https://flymy.ai/mcp/models/real-esrgan/#inputs)

No API key, $5.00 / hr, Upscaling, Tencent ARC, Commercial use

$ 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/mcp/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/mcp/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/mcp/models/real-esrgan/#input-image) `image` | file required Allowed: image file, as a URL or upload |
| [#](https://flymy.ai/mcp/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.

[See usage pricing →](https://flymy.ai/pricing/)

## Call Real-ESRGAN from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

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

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

### From your code, over HTTP

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"
```

## 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-09.

**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, or its resolution.

### GPT Image 2.6 Edit

OpenAI's current editor: fix packaging text or swap a product while the rest stays put.

Image editing / from $0.009 / run

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

### GPT Image 2.6 Sunburst Edit

The 2.6 precision editor for brand assets and retouching that must not drift.

Image editing / from $0.009 / run

Link: https://flymy.ai/mcp/models/gpt-image-2-6-sunburst-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/mcp/models/gpt-image-2-5-edit/

### GPT Image 2.5 Sunburst Edit

The 2.5 precision editor that holds composition steady across many rounds of changes.

Image editing / from $0.009 / run

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

### Wan 2.7 Image Edit

Alibaba's editor for local and style changes, with layout boxes and color palettes.

Image editing / $0.03 / image

Link: https://flymy.ai/mcp/models/wan-2-7-edit/

### 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/mcp/models/gpt-image-2-0-edit/

## Go to the source

[Real-ESRGAN in the playground →](https://app.flymy.ai/models/flymyai/real-esrgan), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Image editing guide →](https://docs.flymy.ai/guides/generate-images), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-09: inputs from the 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.
