Configs2026年7月22日·1 分钟阅读

SUPIR — Photo-Realistic Image Restoration and Upscaling

A diffusion-based image restoration system that upscales and enhances low-quality photos to high-resolution results with realistic detail synthesis.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
SUPIR
直接安装命令
npx -y tokrepo@latest install e05af3e7-8586-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

SUPIR (Scaling Up to Photo-Realistic Image Restoration) combines large-scale diffusion models with a vision-language understanding module to restore degraded images with photo-realistic detail. It generates plausible textures and structures that traditional upscalers cannot recover.

What SUPIR Does

  • Restores and upscales low-resolution or degraded photographs
  • Synthesizes realistic textures and fine details from low-quality input
  • Uses language-guided restoration for semantic-aware enhancement
  • Handles various degradation types including noise, blur, and compression
  • Supports up to 4x upscaling with high perceptual quality

Architecture Overview

SUPIR builds on SDXL as its generative backbone, adding a degradation-aware encoder that maps low-quality images into the diffusion latent space. A CLIP-based vision-language module provides semantic understanding of the image content, guiding the diffusion process to generate contextually appropriate details during the denoising steps.

Self-Hosting & Configuration

  • Requires Python 3.10+ with PyTorch 2.x and CUDA
  • GPU with at least 24 GB VRAM due to SDXL backbone
  • Download SDXL base model and SUPIR adapter weights separately
  • Adjust denoising strength and upscale factor via command-line arguments
  • Batch processing supported for multiple images

Key Features

  • Diffusion-based restoration producing photorealistic output
  • Semantic guidance via vision-language model for context-aware detail
  • Handles real-world degradations beyond synthetic benchmarks
  • Significant quality improvement over traditional upscaling methods
  • Compatible with SDXL ecosystem and community extensions

Comparison with Similar Tools

  • Real-ESRGAN — GAN-based upscaler; SUPIR produces more detailed and realistic textures
  • StableSR — earlier diffusion approach; SUPIR adds language guidance for better semantics
  • Upscayl — desktop app using Real-ESRGAN; SUPIR offers higher quality at more compute cost
  • SwinIR — transformer-based; SUPIR leverages generative diffusion for richer detail synthesis

FAQ

Q: How much VRAM does it require? A: At least 24 GB due to the SDXL backbone; 40 GB+ recommended for large images.

Q: Is it suitable for batch processing? A: Yes, though each image takes 30-60 seconds on a high-end GPU.

Q: Does it work on faces? A: Yes, it handles face restoration well thanks to the semantic guidance module.

Q: Can I reduce VRAM usage? A: Tiled processing and fp16 precision can lower requirements at some quality cost.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产