Upscale Images

VerifiedCaution

Upscale rendered images to 4K+ resolution using fal.ai Clarity Upscaler. Use when the user wants to upscale, enhance resolution, sharpen images, or increase image size.

Sby Skills Guide Bot
Data & AIIntermediate
7/24/2026
Claude Code
#image-upscaling#ai-enhancement#fal-ai#interior-design

Recommended for

Automated summary

Upscales rendered interior design images to 4K+ resolution using fal.ai's Clarity Upscaler with tunable resemblance and creativity parameters.

Strengths

  • Automatically detects optimal scale factor to target 4K resolution
  • High resemblance parameter preserves original details
  • Simple integration with fal.ai API
  • Saves upscaled images with clear naming convention

Limitations

  • Requires a fal.ai API key and Python dependencies (fal_client, Pillow)
  • Large output files (15-25 MB) may consume disk space
  • The prompt is hardcoded for interior design; may not generalize well to other image types
When to use it

When you need to upscale rendered interior design images to higher resolution while preserving details.

When not to use it

When you need real-time upscaling or when working with images that are not interior design renders.

Security analysis

Caution
Quality score88/100

The skill instructs Python scripts that upload files to an external API (fal.ai) and download results, which involves network and file system operations—legitimate but requires appropriate caution.

Findings
  • •Uses network API calls and file I/O operations.
How this analysis is made

Examples

Upscale most recent render
Upscale the most recent render to 4K.
Upscale with specific file
Upscale the image at projects/myproject/renders/living_room.png to 4K.
Upscale with custom scale
Upscale the last rendered image by 2x.

name: upscale description: Upscale rendered images to 4K+ resolution using fal.ai Clarity Upscaler. Use when the user wants to upscale, enhance resolution, make images sharper, or increase image size.

Upscale Images

Upscale rendered interior design images to 4K+ resolution using fal.ai's Clarity Upscaler — tunable resemblance/creativity for architectural photography.

Prerequisites

  • fal.ai API key configured in CLAUDE.local.md
  • Python with fal_client and Pillow installed

Input

Accept via $ARGUMENTS or ask:

  • Image path: path to the image to upscale (relative to project renders, or absolute)
  • Scale factor: 2x or 4x (default: auto — pick scale so output is ~4K)

If the user says "upscale" without specifying an image, use the most recently created file in projects/${PROJECT_NAME}/renders/.

API Details

Provider: fal.ai Model: fal-ai/clarity-upscaler Capability: 1-4x upscale, adjustable resemblance (0-1) and creativity (0-1), prompt-guided

Workflow

Step 1: Resolve Image

import os, glob

# If no image specified, find most recent render
renders_dir = f"projects/{project_name}/renders"
files = sorted(glob.glob(os.path.join(renders_dir, "*.png")), key=os.path.getmtime, reverse=True)
# Exclude already-upscaled files
files = [f for f in files if "_4k_" not in os.path.basename(f) and "_upscaled_" not in os.path.basename(f)]
input_path = files[0]

Step 2: Auto-detect Scale

from PIL import Image

img = Image.open(input_path)
w, h = img.width, img.height
target = 3840  # 4K width

if w >= target:
    scale = 2  # already large, 2x is enough
elif w * 4 <= target * 1.5:
    scale = 4
else:
    scale = 2

Step 3: Upload & Upscale

import fal_client
from datetime import datetime

# Read API key from CLAUDE.local.md
os.environ["FAL_KEY"] = "<fal_api_key_from_claude_local_md>"

image_url = fal_client.upload_file(input_path)

result = fal_client.subscribe("fal-ai/clarity-upscaler", arguments={
    "image_url": image_url,
    "scale": scale,
    "resemblance": 0.9,   # high = faithful to original
    "creativity": 0.2,     # low = minimal hallucination
    "prompt": "photorealistic interior design, architectural photography, sharp details, high resolution",
})

# Download result
import urllib.request
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
basename = os.path.splitext(os.path.basename(input_path))[0]
out_path = os.path.join(renders_dir, f"{basename}_4k_{timestamp}.png")

urllib.request.urlretrieve(result["image"]["url"], out_path)

w = result["image"].get("width", "?")
h = result["image"].get("height", "?")
size_mb = os.path.getsize(out_path) / (1024 * 1024)
print(f"Upscaled: {w}x{h} ({size_mb:.1f} MB)")
print(f"Saved: {out_path}")

Step 4: Output

  • Save upscaled image to same renders/ directory with _4k_ suffix
  • Display the upscaled image to the user
  • Report: original resolution → new resolution, file size

Output Naming Convention

{original_name}_4k_{timestamp}.png

Tuning Parameters

| Param | Default | Range | Effect | |-------|---------|-------|--------| | scale | auto | 1-4 | Upscale factor — auto-picks based on input size to target ~4K | | resemblance | 0.9 | 0-1 | How faithful to original — 0.9 for interior design (preserve colors/layout) | | creativity | 0.2 | 0-1 | How much AI "enhances" — keep low for architecture to avoid hallucination | | prompt | (interior design) | text | Guides the upscaler — include relevant style keywords |

Gotchas

  • Clarity Upscaler is the correct model — fal-ai/clarity-upscaler. Controllable scale, resemblance, creativity.
  • Auto-scale logic — If input is already large (≥3840px wide), use scale=2. For ~1200px inputs, use scale=4. Prevents absurdly large outputs.
  • Large output files — 4K PNGs can be 15-25 MB. Warn the user if disk space is a concern.
  • Skip already-upscaled images — Filter out files with _4k_ or _upscaled_ in the name.
  • API key — Read from CLAUDE.local.md, field fal.ai.
  • Fallback — If Clarity fails, fall back to fal-ai/aura-sr (fast GAN-based, fixed 4x, no params needed).

Session Relevant Skills

  • /render — generate images first, then upscale the best ones
  • /compare-models — upscale the winning image after comparison
  • /refine — if the upscaled image reveals quality issues not visible at low res, refine the prompt and re-render

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/upscale-images-mryiqfv8/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/upscale-images-mryiqfv8' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/upscale-images-mryiqfv8/download' --output '.skill-downloads/upscale-images-mryiqfv8/SKILL.md.part' && mv '.skill-downloads/upscale-images-mryiqfv8/SKILL.md.part' '.skill-downloads/upscale-images-mryiqfv8/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Original excerpt: Prerequisites
  • fal.ai API key configured in CLAUDE.local.md
  • Python with fal_client and Pillow installed

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/upscale-images-mryiqfv8/SKILL.md' && test -s '.skill-downloads/upscale-images-mryiqfv8/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/upscale' && cp -R '.skill-downloads/upscale-images-mryiqfv8' '.claude/skills/upscale'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/upscale-images-mryiqfv8'

openskills read 'upscale-images-mryiqfv8'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/upscale-images-mryiqfv8/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills