zf-kbot/video-fast-enhancer
Public
1.4M
runs
Run zf-kbot/video-fast-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 |
|---|---|---|---|
| video |
string
|
Input video
|
|
| key |
string
|
|
user key
|
| target_resolution |
None
|
2k
|
Target resolution
|
| model |
None
|
RealESRGAN_x4v3
|
Model for the output video
|
| resize |
integer
|
640
|
resize the video
|
| max_fps |
integer
|
30
|
Maximum output FPS
|
| batch_size |
integer
|
30
|
Batch size for processing
|
| preview_time |
integer
|
5
|
preview of video
|
| download_preview |
boolean
|
False
|
Change FPS
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"default": "",
"x-order": 1,
"description": "user key"
},
"model": {
"enum": [
"RealESRGAN_x2plus",
"RealESRGAN_x4v3",
"RealESRGAN_animevideov2",
"RealESRGAN_animevideov3"
],
"type": "string",
"title": "model",
"description": "Model for the output video",
"default": "RealESRGAN_x4v3",
"x-order": 3
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 0,
"description": "Input video"
},
"resize": {
"type": "integer",
"title": "Resize",
"default": 640,
"x-order": 4,
"description": "resize the video"
},
"max_fps": {
"type": "integer",
"title": "Max Fps",
"default": 30,
"x-order": 5,
"description": "Maximum output FPS"
},
"batch_size": {
"type": "integer",
"title": "Batch Size",
"default": 30,
"x-order": 6,
"description": "Batch size for processing"
},
"preview_time": {
"type": "integer",
"title": "Preview Time",
"default": 5,
"x-order": 7,
"description": "preview of video"
},
"download_preview": {
"type": "boolean",
"title": "Download Preview",
"default": false,
"x-order": 8,
"description": "Change FPS"
},
"target_resolution": {
"enum": [
"720p",
"1080p",
"2k",
"4k"
],
"type": "string",
"title": "target_resolution",
"description": "Target resolution",
"default": "2k",
"x-order": 2
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}