Upres Cli

io.github.auroracapital由 GitHub 帳號 auroracapital 發布v0.2.0更新於 Oct 24, 2026

UpRes MCP: list models, credits, submit 4K image and video upscale jobs.

已驗證STDIO僅桌面媒體與設計AI 與機器學習

概覽

AI 產生的概覽

upres.ai 的本機 MCP 伺服器,讓助理列出放大模型、查詢額度,並提交影像、影片與語音修復工作。

可以做什麼
透過 upres.ai API 列出可用的放大與修復模型、查詢帳戶額度資訊,並查看已提交工作的狀態。提交影像放大工作,支援本機檔案或 URL,可選擇模型別名與最高 8 倍的放大倍率。提交影片放大工作,適用於 AI 生成影片或影視素材,以及語音降噪工作。超過 50 MB 的檔案會先以可續傳協定上傳再處理。
適用情境
適合希望助理在對話中直接透過 upres.ai 放大、修復或降噪照片、影片片段與語音的場合,例如批次處理商品圖、老照片掃描檔或 AI 生成的影片片段。
執行需求
以本機程序執行,通常透過 npx 從 GitHub 儲存庫啟動或安裝為 npm 套件,需要 Node.js。需要 upres.ai 帳戶與 API 金鑰,可透過 UPRES_API_KEY 環境變數、--api-key 參數或設定檔提供。需要連線至 upres.ai 的網路存取。
安裝前請注意
API 金鑰(UPRES_API_KEY)是付費服務憑證,需妥善保管。工作會消耗方案額度,API 存取、批次處理與去浮水印輸出需要付費方案,使用可能產生費用。本機檔案或 URL 會傳送至 upres.ai 處理,工作會在遠端建立紀錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Upres Cli,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

upres-cli

[npm version] [PyPI version] [License: MIT]

Star this repo if UpRes helps you. [GitHub stars]

Official CLI + SDK for upres.ai — image, video, and speech restoration. One API, 14 public aliases, up to 8K output.

$ upres upscale photo.jpg --model flare --scale 4Submitting job... model=flareJob created: 550e8400-e29b-41d4-a716-446655440000 (status: pending)Waiting for result.......Downloading to photo_upscaled.jpg... done.
Result: photo_upscaled.jpg

Why we built this

  • Topaz is $200/yr, desktop-only, no API, no automation
  • Upscayl is great for one-offs but can't handle bulk exports or CI pipelines
  • Every other SaaS upscaler either watermarks your output, caps resolution at 2K, or charges per image with no monthly plan

upres.ai gives you a clean REST API, 14 public aliases, batch processing, and predictable pricing starting at $9/mo on the Creator launch deal.


Quickstart

Node.js

bash
npx upres-cli upscale photo.jpg

Or install globally:

bash
npm install -g upres-cliupres upscale photo.jpg --model lumen --scale 8 --output photo_8k.jpg

Python

bash
pip install upres-aiupres upscale photo.jpg --model flare --scale 4

Authentication

  1. Sign up at upres.ai (free — 5 upscales/month)
  2. Go to upres.ai/account/api-keys
  3. Generate a key — it's shown once
bash
export UPRES_API_KEY=upres_yourkey

Or save permanently:

bash
mkdir -p ~/.config/upresecho '{"apiKey":"upres_yourkey"}' > ~/.config/upres/config.json

Key resolution order: --api-key flag → UPRES_API_KEY env var → ~/.config/upres/config.json


Commands

bash
# Upscale a single image (local file or URL)upres upscale photo.jpg --model flare --scale 4upres upscale photo.jpg --model lumen --scale 8 --output out.jpgupres upscale https://example.com/photo.jpg --model prism
# Upscale video (AI-generated video from Sora, Kling, Runway etc.)upres upscale clip.mp4 --model motion --scale 4
# Batch upscale a folderupres batch ./photos/ --model flare --output ./upscaled/ --concurrency 5
# List available modelsupres models
# List recent jobsupres jobs --limit 20 --status completed
# Account / quota infoupres account

Node.js SDK

typescript
import { UpresClient } from "upres-cli";
const client = new UpresClient(); // reads UPRES_API_KEY from env
// Upscale a local fileconst job = await client.createJobFromFile("photo.jpg", {  model: "flare",  scale: 4,});
// Wait for completionconst completed = await client.waitForJob(job.id);
// Download resultawait client.downloadResult(completed, "photo_4k.jpg");console.log("Done:", completed.result_url);

Files over 50 MB are automatically uploaded via TUS resumable protocol.


Python SDK

python
from upres import UpresClient
with UpresClient() as client:                        # reads UPRES_API_KEY from env    job = client.create_job_from_file(        "photo.jpg",        model="flare",        scale=4,    )    completed = client.wait_for_job(job["id"])    client.download_result(completed, "photo_4k.jpg")    print("Done:", completed["result_url"])

The Python SDK uses httpx — async-ready, no heavy dependencies.


Examples

ExampleWhat it does
batch-upscale-folder.jsUpscale all images in a folder with configurable concurrency
restore-photo-folder.pyRestore old/scanned photos with Lumen
ecommerce-pipeline.jsProduct image pipeline: raw shots → 4K → publish-ready
lightroom-export-hook.mdAuto-upscale Lightroom exports via post-processing hook
figma-plugin-stub.mdFigma plugin integration guide

Models

14 public aliases across image, video, and speech. Each one tells you up front whether it invents detail or leaves your file alone. Aliases that do not enlarge ignore --scale.

AliasKindBest for
flareImageEveryday photos, fastest default
prismImageText, logos, product shots — keeps edges true
lumenImageMaximum detail recovery for print, up to 8x
mirageImageInvents new detail — art and hero images
hushImageFaithful denoise, same size as the source
keenImageDeblur and sharpen, same size
visageImageFaces only, does not enlarge
atelierImageHush, Visage if a portrait, then Lumen
motionVideoFast 4K finish for AI video
motion-xVideoCinema-grade, for film and commercials
stillVideoTemporal denoise, resolution stays put
cadenceVideoFrame interpolation, does not enlarge
atelier-xVideoStill, then Motion X
voiceSpeechSpeech denoise to 48 kHz. Not for music

Full model catalogue: upres.ai/models · Live spec: api.upres.ai/v1/openapi.json


Pricing

PlanPriceIncludesAPIWatermark
Free$05 upscales/mo—Yes
Creator$9/mo50 stills + 20 min 4K video/mo—No
Studio$39/mo250 stills + 90 min 4K video/moYesNo

Studio tier unlocks the full API, batch processing, and no output watermark.

Compare plans → · vs. Topaz → · vs. Upscayl →


MCP (Claude, Cursor, Hermes)

bash
claude mcp add upres -- npx -y github:auroracapital/upres-cli mcp

Or in claude_desktop_config.json / Cursor:

json
{  "mcpServers": {    "upres": {      "command": "npx",      "args": ["-y", "github:auroracapital/upres-cli", "mcp"],      "env": { "UPRES_API_KEY": "upres_yourkey" }    }  }}

Tools: upres_list_models, upres_get_credits, upres_upscale_image, upres_upscale_video, upres_enhance_audio, upres_get_job.


Free tier for open-source projects

If you're building something open-source on top of the API, email [email protected] with your repo link. We offer 500 ops/month for qualifying OSS projects.


Error handling

The SDK handles these errors automatically:

StatusBehavior
401Prints API key error + link to key management, exits
402Prints quota exceeded + link to pricing, exits
429Prints rate limit message (60 req/min), exits
5xxThrows UpresError with message

In Python: raises AuthError, QuotaExceededError, or UpresError.


Contributing

See CONTRIBUTING.md. Tests run with:

bash
# Nodenpm test
# Pythonpip install -e ".[dev]"pytest tests/test_client.py -v

License

MIT — see LICENSE

來源:README.md,提交 3756fa4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Sep 19, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分