Skip to main content

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).

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

Metadata

Release files for upscaylai-toolkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upscaylai-toolkit 0.1.0
File Size Uploaded Provenance Actions
upscaylai_toolkit-0.1.0.tar.gz 3.8 kB Without provenance Details for upscaylai_toolkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for upscaylai-toolkit 0.1.0
File Interpreter ABI Platform Actions
upscaylai_toolkit-0.1.0-py3-none-any.whl Python 3 none any Details for upscaylai_toolkit-0.1.0-py3-none-any.whl

Total release size: 8.2 kB

Release files / upscaylai_toolkit-0.1.0.tar.gz

Download URL upscaylai_toolkit-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00a97a9de35b51352cb2f117306744a251a08fab6a6d7e91aba807a47d9bac9a
BLAKE2b-256 checksum
How to use checksums
3a13202e2fb42e12bf968ede227388fb87dda54ee0276c25fb84d7641a554725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / upscaylai_toolkit-0.1.0-py3-none-any.whl

Download URL upscaylai_toolkit-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b1806b3c345b0bc34872e77f0eacd043db7bff282468ef13ba831b7bb7223ec
BLAKE2b-256 checksum
How to use checksums
48f8200e1d8be0e22d3ff5355adb2fb8c7d7aa99f9e8c17e223f5c52b03177c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for upscaylai-toolkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page