跳转至内容
Runstage

Xintao

RealESRGAN x4

内置降噪功能的 AI 图像放大工具,最高可放大至原分辨率的 4 倍。输入分辨率为 128–2048 px。适合照片、插画以及老旧或经过压缩的图像。

公开 API 价格
~$0.00780 / 1024×1024
查看所有价格档位
1024×1024~$0.00780
1536×1024~$0.00955
2048×2048~$0.0156
API 模型 ID
4 倍纹理修复与细节对比度增强 — 放大 4 倍
4 倍纹理修复与细节对比度增强 — 低分辨率
低分辨率放大 4 倍
4 倍纹理修复与细节对比度增强4× super-resolution restoring crisp brushed-metal micro-contrast.

适用场景

API 参考

API 模型 ID
RealESRGAN_x4
模型开发者
Xintao
模态
图像生成与编辑
输入
Source image
输出
Image (PNG / WebP)
端点列表
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/output
基础设施
直连 GPU 集群

请求参数

  • modelstring · 必填

    Exact Runstage model slug (RealESRGAN_x4). Submit via multipart/form-data to POST /api/v2/run.

  • imagefile · 必填

    Source PNG, JPEG, WebP, GIF, or BMP file (up to 10 MB).

快速入门

复制使用模型 ID RealESRGAN_x4 的请求示例。先免费获取运行前报价(最终费用在完成时结算),再使用 Runstage API 密钥运行。

打开工作室
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"RealESRGAN_x4","width":1024,"height":1024}'

# 2. Submit metered image upload job (PNG, JPEG, WebP, GIF, or BMP up to 10 MB)
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  --form-string 'model=RealESRGAN_x4' \
  -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

价格

计费单位和选项费率(美元)
Standard · 1024×1024Typical product or portrait image (estimated)~$0.00780
High-res · 1536×1024Editorial wide frame (estimated)~$0.00955
Print · 2048×2048Large-format master asset (estimated)~$0.0156

计费说明

  • 4× super-resolution upscaling.
  • 动用预付点数前,可通过 POST /api/v2/quote 免费估算运行费用。
  • 任务完成或失败时按实际费用自动结算,并退回未使用的预留点数。

Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。

在完整目录中比较