ferroxlabs/wayland/ai-image-upscaling

Claude Code and agent skill by ferroxlabs/wayland

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Produces AI image upscaling and detail enhancement specifications for Midjourney upscale variants, DALL-E edit mode, and Stable Diffusion img2img with model-specific parameters. Use when the user asks to upscale an AI-generated image, enhance detail, increase resolution, or improve quality of an existing AI image. Do NOT use for initial image generation (use model-specific prompting skills), style transfer (use ai-image-style-transfer), or prompt debugging (use ai-image-prompt-debugging).

Install

npx vskill@latest install ferroxlabs/wayland/ai-image-upscaling

SKILL.md

The same SKILL.md was published earlier as ferroxlabs/wayland/ai-image-upscaling.

AI Image Upscaling

When to Use

Use this skill when:

  • The user has an existing AI-generated image (from Midjourney, DALL-E, Stable Diffusion, Flux, or similar models) and wants to increase its pixel dimensions
  • The user needs to prepare an AI image for print at a specific DPI target (300 DPI for commercial print, 150 DPI for large format, 72-96 DPI for web)
  • The user wants to enhance fine detail -- sharpening textures, recovering edge definition, or adding micro-detail -- without regenerating from scratch
  • The user has a Midjourney grid (512x512 per cell) or unupscaled generation and needs to get to a usable working resolution
  • The user wants to chain multiple upscaling passes (model-native upscale then external AI upscale then manual touchup) for maximum output quality
  • The user has Stable Diffusion img2img capabilities and wants guidance on denoising strength, tile configuration, and upscaler model selection
  • The user is comparing upscaling options (Real-ESRGAN vs. Topaz vs. SD HiRes Fix vs. Controlnet tile) and needs a concrete recommendation
  • The user is targeting a specific deliverable resolution: social media crop, print file for a commercial printer, large-format banner, or product mockup

Do NOT use when:

  • The user wants to generate a new image from a text prompt -- use the appropriate model-specific prompting skill instead
  • The user wants to change the visual style of an image (adding painterly look, switching to anime aesthetic, applying color grading) -- use ai-image-style-transfer
  • The user's image is not AI-generated but is a photograph or scanned artwork -- photographic upscaling has different tools and considerations outside this skill's scope
  • The user's prompt is producing low-quality outputs and they want to fix the generation logic -- use ai-image-prompt-debugging
  • The user wants to create a series of images with consistent character or style -- use midjourney-consistency or equivalent
  • The user wants to remove specific objects, fill regions with new content, or inpaint large areas -- that is generative inpainting, not upscaling
  • The user's core problem is aspect ratio or composition cropping rather than resolution increase -- outpainting skills apply instead

Process

Step 1: Assess the Source Image and Establish Requirements

Before selecting any method, gather the four critical variables that determine every downstream decision.

  • Source model and version: Midjourney v5.2, v6, v6.1, or v7; DALL-E 2, DALL-E 3, or GPT-image-1; Stable Diffusion 1.5, SDXL 1.0, SDXL Turbo, SD 3.0, or Flux.1; each has different native resolutions and built-in upscale capabilities
  • Current pixel dimensions: Ask the user to confirm exact width x height. Common native outputs: Midjourney grid cells are 512x512 (v4) or 512x512--1024x1024 (v5+); DALL-E 3 outputs 1024x1024, 1024x1792, or 1792x1024; SDXL native is 1024x1024 with optimal latent space at that resolution
  • Target use case: Screen (social media at 1080x1080, 4K monitor at 3840x2160), print (300 DPI at stated physical dimensions), large format (150 DPI or even 100 DPI acceptable), or digital editorial (72-96 DPI at pixel dimensions matching layout)
  • Style category of the image: Photorealistic, illustrative/painterly, anime/flat-color, graphic/typographic, abstract -- this determines which upscaler model and denoising setting to use
  • Acceptable deviation from original: Some users want pixel-perfect upscaling (no new content added); others want enhancement with plausible new detail; establish this before touching a setting
  • Compute environment: Does the user have access to Stable Diffusion locally (GPU VRAM: 6 GB, 8 GB, 12 GB, 24 GB or more), Automatic1111/ComfyUI, cloud inference, or only browser-based tools?

Step 2: Calculate Target Pixel Dimensions

Never let the user proceed without a confirmed pixel target. Vague targets like "higher resolution" cause wasted iterations.

  • Print resolution formula: Target pixels = physical dimension (inches) x DPI. A 16x20 inch print at 300 DPI requires 4800 x 6000 pixels. At 150 DPI (poster, viewed from 3+ feet), the same print needs only 2400 x 3000 pixels -- a 4x difference in total pixel count.
  • DPI thresholds by application:
  • Commercial print (books, magazines, photo prints): 300 DPI minimum
  • Fine art Giclée print: 360-400 DPI (many printers use a 360 DPI grid)
  • Large format poster (viewed 1-3 feet): 150-200 DPI
  • Billboard and trade show graphics (viewed 6+ feet): 72-100 DPI
  • Retina screen display (72 PPI physical but 2x device ratio): 144 effective PPI
  • Standard web/social: 72-96 DPI at native pixel dimensions
  • Pixel dimension reference table:
Print Size300 DPI150 DPI100 DPI
4x6 in1200 x 1800600 x 900400 x 600
5x7 in1500 x 2100750 x 1050500 x 700
8x10 in2400 x 30001200 x 1500800 x 1000
11x14 in3300 x 42001650 x 21001100 x 1400
16x20 in4800 x 60002400 x 30001600 x 2000
18x24 in5400 x 72002700 x 36001800 x 2400
24x36 in7200 x 108003600 x 54002400 x 3600
A4 (8.27x11.69 in)2480 x 35081240 x 1754827 x 1169
A3 (11.69x16.54 in)3508 x 49611754 x 24801169 x 1654
  • Determine scale factor: Divide the target dimension by the source dimension. A 1024x1024 source targeting 4800x6000 requires 4.69x horizontal and 5.86x vertical -- this is an uneven scale that requires a crop decision. Always flag when source and target aspect ratios differ significantly.
  • Identify the practical ceiling: Beyond 8x upscale from the original, any AI upscaler is largely synthesizing new content rather than recovering existing detail. At 2x-4x, the upscaler is interpolating and enhancing real content. At 4x-8x, it is guided hallucination. At 8x+, it is essentially generation. Set expectations accordingly.

Step 3: Select the Upscaling Method by Source Model

The source model determines which native tools are available. Always use the native tool first, then chain external upscalers.

Midjourney Upscaling (v5.2, v6, v6.1, v7)
  • Grid output resolution: v5.2 grids are 2048x2048 total (four 1024x512 ish cells depending on aspect ratio). v6 and v6.1 grids are 2048x2048 total (512x512 per cell at 1:1). v7 grids maintain the same grid structure but with improved base detail.
  • U1-U4 base upscale (first click): Generates a single image at ~1024x1024 (1:1) or proportionally scaled for non-square. This is the starting point for all further upscaling.
  • Upscale (Subtle): Increases to ~2048x2048 at 1:1. Uses a conservative detail-preserving interpolation with minimal hallucination. Preservation score is high. Color and composition remain nearly identical to the selected grid cell. Best for: graphic art, logos, character consistency, illustrations with deliberate style, any case where "no surprises" matters.
  • Upscale (Creative): Increases to ~2048x2048 at 1:1. Runs a secondary diffusion pass informed by the original, adding plausible new micro-detail (pores in skin, individual strands of hair, fabric weave texture). Best for: photorealistic portraits, landscapes, detailed objects where the extra synthesis reads as genuine enhancement. Risk: can introduce incorrect detail (extra fingers, distorted text, changed patterns).
  • Vary (Strong) vs. Vary (Subtle): These are variation tools, not upscalers -- do not conflate with the upscale buttons. Vary generates new compositions; upscale increases resolution of existing composition.
  • Redo upscale: Midjourney allows regenerating the upscale pass. If the first Creative upscale introduced an artifact, re-running it will produce a different result from the same base. Use this before resorting to external repair.
  • Native resolution ceiling: 2048x2048 (or proportional). For anything beyond this, Midjourney images must be exported as PNG and processed externally.
DALL-E / GPT-image-1 Upscaling
  • DALL-E 3 native resolution limits: 1024x1024, 1024x1792, 1792x1024. No built-in upscale button exists. There is no equivalent of Midjourney's U-buttons.
  • Edit/inpainting as a quality enhancement tool: DALL-E 3 and GPT-image-1 support edit mode where you provide an image, a mask, and a prompt. You can regenerate soft or blurry regions while keeping others intact. This is not true upscaling but is the primary native enhancement path.
  • Re-prompting at maximum resolution: For DALL-E, the highest-quality path is to request the image again at the largest supported size with a prompt that reinforces detail: "extremely detailed, sharp focus, professional photograph, high resolution" and matching the original prompt closely. Accept that the result will differ compositionally.
  • GPT-image-1 specifics: Supports 1024x1024 as the standard output. Edit mode enables localized regeneration. Use the same mask-and-prompt technique for weak areas.
  • Effective path for DALL-E images needing print resolution: Export at 1024x1024, then apply Real-ESRGAN x4plus for a 4096x4096 output, then optionally a second 2x pass for 8192x8192. This provides 300 DPI quality up to approximately 13x13 inches.
  • Do not attempt to "prompt-upscale" DALL-E by asking for "the same image but at 8K": The model generates a new image at the same fixed resolutions regardless of resolution language in the prompt.
Stable Diffusion Upscaling

SD has the richest upscaling toolkit. Choose the method based on available VRAM, desired control, and style of image.

Method 1: SD img2img with resolution scaling

  • Load the original image into img2img
  • Set the target resolution (e.g., 2x the original: 1024 to 2048, or 1024 to 2048x1365 for non-square)
  • Denoising strength controls the balance between preservation and regeneration:
  • 0.10-0.20: Near-lossless upscale. Adds minimal new detail. Safe for any image. Output will be slightly sharper than pure interpolation.
  • 0.20-0.35: Low-detail enhancement. The sweet spot for most upscaling tasks. Adds believable micro-texture without altering composition.
  • 0.35-0.50: Moderate regeneration. Useful for photorealistic images where you want enhanced skin texture, fabric detail, or foliage complexity. Risk of minor compositional shifts.
  • 0.50-0.65: High regeneration. Significant new content. Elements may shift position. Use only when original has major quality defects to repair.
  • 0.65+: Near-full regeneration. Effectively a new image guided by the original. Not upscaling -- use img2img variation skills instead.
  • Always use the same checkpoint model and LoRAs that generated the original image if known. Mismatched models introduce style drift even at low denoising.
  • Prompt should match the original generation prompt. Include detail-encouraging suffixes: "masterpiece, best quality, ultra-detailed, 8k uhd, sharp focus" for photorealistic; "linework, clean lines, sharp" for illustration.
  • Negative prompt should include: "blurry, soft focus, low quality, jpeg artifacts, compression artifacts, upscaling artifacts, haloing"
  • CFG scale: keep same as original (typically 7.0 for SD 1.5, 4.0-7.0 for SDXL). Do not increase CFG to try to force more detail -- this introduces saturation artifacts.
  • Sampler: DPM++ 2M Karras or DPM++ SDE Karras work well for upscaling at 20-30 steps. DDIM at 50 steps is effective for lower denoising (<0.3). Do not use Euler a above 0.4 denoising -- it is too stochastic.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
608
Repository forks
113
7-day trend score
37

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ferroxlabs/wayland/ai-image-upscaling/badge)](https://verified-skill.com/skills/ferroxlabs/wayland/ai-image-upscaling)

Something wrong with this skill or its page? Tell us.