zf-kbot/video-enhancer

Public
115 runs

Run zf-kbot/video-enhancer with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
apikey
string
API Key
input_video
string
输入视频文件(支持 mp4, mov, avi, mkv, webm)
force_rate
integer
24

Max: 60

强制帧率(0 表示保持原帧率)
frame_load_cap
integer
720
最大加载帧数(0 表示不限制)
first_enhancer_totalpixels
number
1

Min: 1

Max: 4

第一阶段增强器总像素数(百万)
output_long_side_pixels
None
1920
输出长边像素数(0=默认, 1920=HD, 2560=2K, 3840=4K)
scale
None
1
FlashVSR 超分倍率
sparse_ratio
number
2

Min: 1

Max: 4

稀疏比,2.0=稳定,1.5=更快
kv_ratio
number
3.5

Min: 1

Max: 8

KV 缓存比率
local_range
integer
7

Min: 7

Max: 11

局部范围,11=稳定,9=更锐利,7=效果最好
color_fix
boolean
True
颜色校正
fix_method
None
wavelet
颜色校正方法
full_tiled
boolean
True
启用分块处理(低显存)
tiny_long
boolean
False
启用 Tiny Long 模式(长视频优化)
split_num
integer
81

Max: 81

总切块数
filename_prefix
string
ImgUpscaler.ai
输出文件名前缀

Output schema

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

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}