You're looking at a specific version of this model. Jump to the model overview.

zf-kbot /image-upscaler-20251103:fafe7d49

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
input_image
string
输入图片文件
scale
number
1
额外放大倍率(在max_long_side调整后)。通常保持1.0即可。设置>1.0会在max_long_side基础上再放大
max_long_side
integer
1920

Max: 4096

目标最长边尺寸(推荐1280-1920)。图片会被缩放到最长边接近此值并对齐128倍数。小图放大,大图缩小。设为0表示不调整
image_output_format
None
jpg
输出图片格式
face_enhance
integer
0

Max: 1

启用面部增强(0=否,1=是)
sd_post_process
integer
1

Max: 1

启用高级后处理(0=否,1=是)
sd_resolution
None
2k
高级后处理目标分辨率预设
sd_min_short_side
integer
0

Max: 4096

后处理最短边上限(0表示仅使用预设)。如果设置,会取预设和上限中较小的值
post_upscale
integer
0

Max: 1

启用4x模型放大(0=否,1=是)
log_level
None
info
日志级别

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}