Search by

ethanbrooks5827 / upscaylai-toolkit

ethanbrooks5827

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

Homepage

Language:Go

pkg:composer/ethanbrooks5827/upscaylai-toolkit

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-12-03 01:54 UTC

This package is auto-updated.

Last update: 2026-12-03 01:59:09 UTC


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

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