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.

No API key$5.00 / hrUpscalingTencent ARCCommercial use
Real-ESRGAN sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny 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.AIDownload brief

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

InputType, values and default
# image
file required Allowed: image file, as a URL or upload
# 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.

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.

Go to the source

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.