Upscaler logo

Upscaler

Community
Mikefluff
upscaler

Image upscaling utility — image in, upscaled image out (2× / 4× / 8×). Wraps Replicate upscalers (Real-ESRGAN default; GFPGAN for faces, SwinIR, clarity-upscaler). Optional --face-enhance for portrait restoration. Use when: 'upscale', 'enhance resolution', 'sharpen low-res image', 'make this bigger', 'улучши разрешение', 'увеличь фотку', 'апскейл'.

Overview

PublisherMikefluff
Repositoryskills
Skill nameupscaler
Stars
26
Forks
2
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Mikefluff on GitHub. Read the source before you install it.

Installation

Install the Upscaler AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Mikefluff/skills/tree/main/skills/upscaler
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/upscaler .claude/skills/upscaler
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Upscaler in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Upscaler on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Upscaler is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

This skill does NOT:

  • Generate new content — it ENHANCES existing pixels via super-resolution models
  • Magic-restore an image from junk-tier (16×16 thumbnail to 4K HD) — input quality matters; garbage in, garbage out
  • Handle video — one frame at a time only
  • Vectorize — output remains raster PNG
  • Remove background (chain with bg-remover)
  • Fix major artifacts (deep blur, motion blur, JPEG mosquito noise at extreme levels) — works best on mildly low-res / soft images

ROLE

Read input image → call a Replicate-hosted upscaler → save the upscaled output at the requested scale factor.

PIPELINE

  1. Resolve input:

    • --image <path-or-url> (required)
  2. Pick provider:

    • Default: nightmareai/real-esrgan (popular general-purpose, ~$0.005/image at 4×)
    • Alternatives via --replicate-model <id>:
      • nightmareai/real-esrgan — default; best general
      • tencentarc/gfpgan — face-focused (best for portraits)
      • jingyunliang/swinir — alternative general
      • philz1337x/clarity-upscaler — high-fidelity preservation, slower
    • Other Replicate upscalers: pass via --replicate-model <slug>
  3. Scale: --scale 2|4|8 (default 4).

  4. Face enhance (optional): --face-enhance enables face restoration (Real-ESRGAN supports GFPGAN-style face restoration as a flag).

  5. Execute via the Replicate router (REPLICATE_API_TOKEN required).

  6. Save:

    • Default: ./generated/upscaled/<input-stem>-4x.png (or -2x.png / -8x.png)
    • Custom: --output <path>

MODES

Required

  • upscaler --image <path-or-url>

Options

  • --scale 2|4|8 — upscaling factor (default 4)
  • --output <path> — explicit output path
  • --replicate-model <id> — override default upscaler model
  • --face-enhance — enable face restoration (works with Real-ESRGAN, GFPGAN)
  • --yes — skip cost confirmation
  • --check — verify REPLICATE_API_TOKEN + connectivity

REFERENCES (load on demand)

FileWhen to load
references/providers.mdReplicate upscaler model comparison + when to pick which
references/use-cases.mdReal-world scenarios (old photo restoration, product shots, low-res AI gen output)
references/troubleshoot.mdWhen output is blurry, faces get distorted, artifacts appear

EXAMPLES

See examples/before-after.md — 3 calibration runs: AI-gen image at higher resolution, old family photo restoration, product shot enhancement.

CONSTRAINTS

  • Single image per call. For batch: run in a shell loop.

  • Replicate API key required. Set via /skills-keys add REPLICATE_API_TOKEN r8_....

  • Cost: ~$0.005-0.02 per image depending on model and scale. 4× cheapest; 8× ~3× more expensive.

  • Input quality matters. Models can enhance mildly-low-res images (480p → 1920p, soft → sharp). They CANNOT magic-restore severely degraded images.

  • Face preservation: use --face-enhance or switch to --replicate-model tencentarc/gfpgan for portraits. Without this, generic upscalers may distort facial features.

  • Output dimensions = input × scale factor. A 512×512 input at --scale 4 → 2048×2048 output. Plan disk space.

  • Output format is PNG by default. Source format preserved when possible; transparent backgrounds maintained.

  • Default 4× is the most-supported scale across all upscalers. Some models don't support 8×.

  • No re-encoding to JPEG by skill. If you need JPEG: convert after via magick or Photoshop / Affinity.

  • Never print API keys.

  • Output dir is ./generated/upscaled/ by default.

INVOCATION HINTS

When the user says any of:

  • "upscale this image", "enhance the resolution"
  • "make this bigger / sharper", "fix this low-res image"
  • "4x upscale", "8x upscale"
  • "улучши разрешение", "увеличь фотку", "апскейл", "повысь разрешение"
  • "сделай четче"

Defaults: --image <path> (required); 4× via Real-ESRGAN; saves to ./generated/upscaled/<stem>-4x.png.

For portrait / face photos: prefer --face-enhance or --replicate-model tencentarc/gfpgan.

For AI-gen output to upscale: default (Real-ESRGAN) works well; the model is trained on a mix of real + AI imagery.

This skill is distinct from:

  • image-prompt / cover-maker / etc. — they GENERATE new images. This ENHANCES existing.
  • bg-remover — that's segmentation (transparent BG). This is super-resolution.
  • style-transfer (planned) — that's stylization. This is resolution.
  • style-check etc. — those are text linters, not visual utilities.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Upscaler AI skill do?

Image upscaling utility — image in, upscaled image out (2× / 4× / 8×). Wraps Replicate upscalers (Real-ESRGAN default; GFPGAN for faces, SwinIR, clarity-upscaler). Optional --face-enhance for portrait restoration. Use when: 'upscale', 'enhance resolution', 'sharpen low-res image', 'make this bigger', 'улучши разрешение', 'увеличь фотку', 'апскейл'.

Why use Upscaler on TypingMind?

Because you install it once and use it with any model. Upscaler is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Upscaler in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mikefluff/skills/tree/main/skills/upscaler. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Upscaler?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Upscaler?

As many as you like. As long as a model supports skills, you can use Upscaler with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Upscaler AI skill free?

Yes. It is published on GitHub by Mikefluff under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇