ethanbrooks5827 / upscaylai-toolkit
Model preset registry, scale factor planner, and REST/MCP helper metadata for browser-based AI image upscaling workflows (Real-ESRGAN, waifu2x, GFPGAN, SeedVR2).
Package info
github.com/ethanbrooks5827/upscaylai-toolkit
Language:Go
pkg:composer/ethanbrooks5827/upscaylai-toolkit
Requires
- php: >=8.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Model preset registry, scale factor planner, and REST/MCP helper metadata for browser-based AI image upscaling workflows (Real-ESRGAN, waifu2x, GFPGAN, SeedVR2).
Built as a lightweight, zero-dependency reference toolkit for Upscayl AI Online.
Supported Presets
| Preset ID | Ratio / Scale | Guidance |
|---|---|---|
realesrgan-x4plus |
4x |
general photorealistic super-resolution for product shots and landscapes |
realesrgan-anime6b |
4x |
crisp line-art preservation and cel-shaded anime upscaling |
waifu2x-denoise |
2x |
JPEG compression artifact cleanup for illustrations and manga panels |
gfpgan-v14 |
2x |
facial detail recovery for low-resolution and archival portraits |
seedvr2-restore |
4x |
heavy blur and degradation restoration for difficult source frames |
Quick Usage
JavaScript / TypeScript (NPM & JSR)
import { listPresets, getPreset, buildWorkflowUrl } from 'upscaylai-toolkit'; console.log(listPresets().map((p) => p.id)); console.log(getPreset('realesrgan-x4plus')); console.log(buildWorkflowUrl());
Python (PyPI)
from upscaylai_toolkit import list_presets, get_preset, build_workflow_url print([p["id"] for p in list_presets()]) print(get_preset("realesrgan-x4plus")) print(build_workflow_url())
Go (pkg.go.dev)
package main import ( "fmt" pkg "github.com/ethanbrooks5827/upscaylai-toolkit" ) func main() { fmt.Println(pkg.HomepageURL) fmt.Println(len(pkg.ListPresets())) }
Rust (crates.io)
use upscaylai_toolkit::{HOMEPAGE_URL, list_presets, get_preset}; fn main() { println!("{}", HOMEPAGE_URL); assert!(get_preset("realesrgan-x4plus").is_some()); assert!(!list_presets().is_empty()); }
Reference Pages
- Upscayl AI Online
- Real-ESRGAN Online
- waifu2x Online
- GFPGAN Face Restoration
- SeedVR2 Restoration
- Anime Upscaler
- 4K Upscaler
- Unblur Image
- Image Enhancer
- Remote MCP Server
- Developers API
- Pricing
Disclaimer: Upscayl is a trademark of its respective owners. This independent utility package references the name solely to describe model and workflow compatibility with Upscayl AI Online.
License
MIT