界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

real-esrgan-a100

real-esrgan-a100

【效率与协作】Face Enhancer Fast | Fast Image Upscaling and Face Enhancement. Quickly upscale images and enhance faces on fast hardware. Triggers: face enhancer fast, fast upscale, real esrgan fast, quick enhance, face restore

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: real-esrgan-a100 description: "Face Enhancer Fast | Fast Image Upscaling and Face Enhancement. Quickly upscale images and enhance faces on fast hardware. Triggers: face enhancer fast, fast upscale, real esrgan fast, quick enhance, face restore" allowed-tools: Bash(curl *), WebFetch

Face Enhancer Fast

Quickly upscale images and enhance faces using Real-ESRGAN on fast A100 hardware. Same capabilities as Real-ESRGAN with faster processing times.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan-a100",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/low-res-portrait.jpg",
      "scale": 4,
      "face_enhance": true
    }
  }'

Parameters

ParameterTypeDefaultDescription
face_enhancebooleanfalseRun GFPGAN face enhancement along with upscaling
imagestring-Input image
scalenumber4Factor to scale image by

Examples

Quick face enhancement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan-a100",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/old-photo.jpg",
      "scale": 4,
      "face_enhance": true
    }
  }'

2x upscale without face processing:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "real-esrgan-a100",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/product-image.jpg",
      "scale": 2,
      "face_enhance": false
    }
  }'

Related Models

Documentation

我的收藏