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

zf-kbot /image-upscaler-20251103:98150577

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_video
string
输入视频文件或帧序列(zip/文件夹),作为模型的低清素材
scale
number
1
放大倍率(决定模型输出分辨率的倍数)
max_long_side
integer
1280
预缩放最长边到该值后再送入模型(0 表示不预缩放,值越小越省显存)。
output_fps
integer
24

Max: 120

输出视频帧率(0 表示使用原始帧率,其他值会抽帧以减少内存占用,建议 8-30)
max_duration_seconds
integer
30
最大处理时长(秒),超出部分不处理(0 表示处理全部视频)
sparse_ratio
number
2
稀疏采样比(1.5 更快,2.0 更稳定)
kv_ratio
number
3
KV 比例(值越大越稳定但更占显存)
local_range
None
11
局部搜索范围(9 更锐利,11 更稳定)
seed
integer
0
随机种子(固定后便于复现结果)
max_frames_per_chunk
integer
0
分块处理的最大帧数(0 表示整段处理,值越小越省显存)
out_crf
integer
18
导出视频的 CRF 强度(CRF 越低画质越好文件越大)
keep_audio
string
true
是否保留原始音频(true/false,true 会拷贝原声道)。
image_output_format
string
jpg
单图输出格式(仅在输入为图片时生效)。
face_enhance
None
false
启用 GFPGAN 面部增强 (true/false),仅对图片生效,在 FlashVSR 后、4x放大前执行
post_upscale
None
false
是否在 FlashVSR 推理后执行额外的视频放大后处理 (true/false)
post_upscale_4x_only
None
false
仅输出模型4x放大结果,不进行传统算法调整 (true/false),仅对视频生效
post_upscale_resolution
None
4k
后处理目标分辨率(post_upscale 为 true 时生效)
post_upscale_model
None
ClearRealityV1_Soft
后处理使用的视频放大模型(post_upscale 为 true 时生效)
post_upscale_resize
integer
1280
后处理前若原始最长边超过该值则会先行预缩放
post_upscale_max_fps
integer
30
后处理阶段允许的最大输出帧率
post_upscale_batch_size
integer
30
后处理计算批大小(值越大显存占用越高)
log_level
None
info
日志级别: 'info' 显示关键信息,'debug' 显示详细调试信息
seedvr2_post_process
None
false
启用 SeedVR2 后处理 (true/false),在 FlashVSR 后进一步提升视频质量
seedvr2_resolution
integer
1072

Max: 2048

SeedVR2 目标分辨率(短边),0 表示自动
seedvr2_batch_size
integer
1

Min: 1

Max: 8

SeedVR2 批处理大小(建议 1-4,值越大显存占用越高)
seedvr2_seed
integer
100
SeedVR2 随机种子

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'}