AgentSkillsCN

image-upscaling

通过 Real-ESRGAN、Thera、Topaz、FLUX Upscaler 等工具,借助 inference.sh CLI 对图像进行超分辨率增强与细节优化。模型包括:Real-ESRGAN、Thera(任意尺寸)、FLUX Dev Upscaler、Topaz Image Upscaler。适用场景:提升低分辨率图像质量、放大AI艺术作品、修复老旧照片、提高图像分辨率。触发关键词:图像超分辨率、图像放大器、图像增强、提高分辨率、Real-ESRGAN、AI放大、超分辨率、图像优化、图像放大、更高分辨率、4K超分辨率、HD超分辨率。

SKILL.md
--- frontmatter
name: image-upscaling
description: "Upscale and enhance images with Real-ESRGAN, Thera, Topaz, FLUX Upscaler via inference.sh CLI. Models: Real-ESRGAN, Thera (any size), FLUX Dev Upscaler, Topaz Image Upscaler. Use for: enhance low-res images, upscale AI art, restore old photos, increase resolution. Triggers: upscale image, image upscaler, enhance image, increase resolution, real esrgan, ai upscale, super resolution, image enhancement, upscaling, enlarge image, higher resolution, 4k upscale, hd upscale"
allowed-tools: Bash(infsh *)

Image Upscaling

Upscale and enhance images via inference.sh CLI.

Image Upscaling

Quick Start

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

infsh app run infsh/real-esrgan --input '{"image_url": "https://your-image.jpg"}'

Available Upscalers

ModelApp IDBest For
Topaz Image Upscalerfalai/topaz-image-upscalerProfessional quality, any image

Examples

Upscale Any Image

bash
infsh app run falai/topaz-image-upscaler --input '{"image_url": "https://low-res-image.jpg"}'

Workflow: Generate and Upscale

bash
# 1. Generate image with FLUX Klein (fast)
infsh app run falai/flux-2-klein-lora --input '{"prompt": "landscape painting"}' > image.json

# 2. Upscale the result
infsh app run falai/topaz-image-upscaler --input '{"image_url": "<url-from-step-1>"}'

Use Cases

  • AI Art: Upscale generated images for print
  • Old Photos: Restore and enhance resolution
  • Web Images: Prepare for high-DPI displays
  • Print: Increase resolution for large prints
  • Thumbnails: Create high-res versions

Related Skills

bash
# Full platform skill (all 150+ apps)
npx skills add inferencesh/skills@inference-sh

# Image generation (generate then upscale)
npx skills add inferencesh/skills@ai-image-generation

# FLUX models
npx skills add inferencesh/skills@flux-image

# Background removal
npx skills add inferencesh/skills@background-removal

Browse all image apps: infsh app list --category image

Documentation