
UpscaleX
io.github.The-Open-Source-Founder由 GitHub 帳號 The-Open-Source-Founder 發布v0.1.2更新於 Nov 7, 2026
Production 16K image upscaler and model gateway via RealESRGAN and Vulkan.
概覽
本機 MCP 伺服器兼命令列工具,透過 RealESRGAN 與 Vulkan GPU 加速將圖片放大至 8K/16K,並提供印刷尺寸分析。
- 可以做什麼
- 讀取圖片中繼資料,並依 300、150、72 DPI 計算實際印刷尺寸
- 評估印刷可行性,並依硬體與影像內容推薦合適的模型
- 以 4 倍深度學習模型放大至 16K,或以 4 倍推論加 Lanczos 超取樣輸出 8K
- 依自訂尺寸或印刷長寬比縮放,並採用記憶體安全的分塊處理
- 列出可用模型,並視需要下載額外的社群模型
- 適用情境
- 適合為大圖輸出、海報、藝術複製品準備低解析度素材,也適合讓助理先判斷來源圖片是否足以印刷,再直接在對話用戶端內完成放大。
- 執行需求
- 以本機程序執行,可從 PyPI 安裝(pip install upscalex)或從原始碼安裝,透過 upscalex-mcp 或 upscalex serve 以 stdio 啟動。有支援 Vulkan 的 GPU 時會使用,否則改用 CPU。首次使用時需連網下載引擎二進位檔與額外模型。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 UpscaleX,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
UpscaleX MCP/CLI
[PyPI: Version] [License: MIT] [Python: 3.10+] [MCP: Enabled] [Acceleration: Vulkan GPU]
UpscaleX is a production-grade 8K and 16K image upscaler CLI and Model Context Protocol (MCP) server powered by RealESRGAN, Vulkan GPU hardware acceleration, and Lanczos supersampling.
Engineered for digital print workflows, large-format poster production, fine art reproductions, and autonomous AI coding agents in Claude Desktop, Antigravity, and Cursor.
Looking for quick setup? Read the Installation Guide for a copy-paste AI Agent setup prompt and manual instructions, or provide your AI coding assistant with the UpscaleX Agent Skill.
Table of Contents
- Key Features
- Installation Guide
- AI Agent Skill
- Visual Quality Comparison
- Documentation Directory
- Quickstart with uv
- Command-Line Interface
- Model Context Protocol (MCP) Integration
- Model Matrix
- Testing and Verification
- Contributing
- License
Key Features
- Dual-Mode Operation: Interactive command-line interface (
upscalex) and standard Model Context Protocol server (upscalex-mcp). - 8K and 16K Presets:
- 16K: Native 4x RealESRGAN deep-learning model upscale producing master files up to 400+ Megapixels.
- 8K: 4x deep-learning inference followed by Lanczos-3 downsampling (Supersampling Anti-Aliasing / SSAA) for sharp edges and zero noise.
- Custom Dimensions: Proportional scaling to arbitrary resolutions or physical print aspect ratios.
- Cross-Platform Architecture: Tested and supported across Windows, Linux (Ubuntu, Debian, Fedora), and macOS (Apple Silicon arm64 & Intel x86_64).
- GPU Acceleration with Seamless CPU Fallback: Automatically discovers and utilizes discrete Vulkan GPUs (NVIDIA RTX/GeForce, AMD Radeon, Intel Arc/Iris, Apple Silicon via MoltenVK). In headless Docker containers or environments without GPU drivers, the engine falls back to multi-threaded CPU Lanczos super-resolution with zero crashes.
- Hardware Diagnostics: Integrated
upscalex doctorcommand inspects system compute devices, Vulkan support, and recommended tile dimensions. - Memory-Safe Tiling: Sliding-window spatial tile decomposition (
--tile-size 256) processes ultra-gigapixel images without Out-Of-Memory (OOM) failures on 4GB to 8GB GPUs. - Automated Engine Provisioning: Downloads and validates the precompiled platform binary automatically if not found locally.
- Print Fidelity Analysis: Automatically calculates physical print dimensions in inches and centimeters at 300 DPI, 150 DPI, and 72 DPI.
Visual Quality Comparison
Below is an empirical comparison demonstrating UpscaleX 4x super-resolution reconstruction on a low-resolution pixelated source (663 × 531 px, 0.35 MP) upscaled to high-definition print fidelity (2,652 × 2,124 px, 5.63 MP) using the realesrgan-x4plus model.
Documentation Directory
Comprehensive technical guides are available in the docs/ directory and repository root:
- Installation Guide: AI Agent autonomous copy-paste prompt and manual installation procedures.
- AI Agent Skill Specification: Standard agent skill definition for Claude, Cursor, and Antigravity.
- CLI Reference Guide: Complete flag documentation, tiling strategies, and execution examples.
- Model Context Protocol (MCP) Guide: JSON-RPC tool contracts, parameter schemas, and multi-client configuration.
- Architecture & Mathematics Specification: Deep-learning foundations, RRDB networks, Lanczos kernels, and memory bounds.
- Error Handling & Troubleshooting: Known failure modes, pre-flight sanitization, and recovery procedures.
- Contributing Guide: Code standards, test procedures, and pull request workflow.
Quickstart
Option 1: Install from PyPI (Simplest for CLI & MCP)
Option 2: Clone and Install from Source (with uv)
Inspect Available Models
Command-Line Interface
16K Upscale (Default 4x Model)
8K Supersampled Upscale
2D Illustration / Anime Artwork
Image and Print Sizing Inspection
Hardware and Content-Aware Model Recommendation
For complete options and arguments, see the CLI Guide.
Model Context Protocol (MCP) Integration
UpscaleX runs as a native MCP server over stdio, enabling AI agents (Claude Desktop, Cursor, Antigravity, Windsurf, Zed) to inspect image metadata, evaluate print viability, and execute upscaling autonomously.
Server Invocation
Client Configuration
Method 1: Using Pip (pip install upscalex)
A. Claude Desktop
Configuration file paths:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Note: If your environment does not have global pip binaries in PATH, use explicit Python:
B. Default / Common MCP Clients (Cursor, Antigravity, Windsurf, Claude Code)
Configuration file: mcp_config.json or .cursor/mcp.json
Method 2: Using Git Clone & Source Checkout
A. Claude Desktop (with uv or virtualenv)
Direct virtual environment alternative (Windows / Linux / macOS):
(On Windows, use C:\\absolute\\path\\to\\upscalex\\.venv\\Scripts\\python.exe)
B. Default / Common MCP Clients (Cursor, Antigravity, Windsurf)
Configuration file: mcp_config.json or .cursor/mcp.json
For complete tool schemas and JSON-RPC contracts, see the MCP Guide.
Model Matrix and Catalog
UpscaleX supports both pre-packaged core models and on-demand downloadable community models:
Download Additional Models
Download models through the CLI or via the download_model MCP tool:
Testing and Verification
Run the test suite to verify model resolution calculation, CLI exit codes, and live GPU inference:
All tests must pass prior to submitting changes.
Contributing
Contributions to UpscaleX are welcome. Please read CONTRIBUTING.md for coding standards, pull request processes, and development guidelines.
License
This project is licensed under the MIT License. See the LICENSE file for details.
來源:README.md,提交 6310bdf
工具
0版本歷史
1- v0.1.2最新Nov 7, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分