enhancerandroid02/flix_upscaler_1.0.0
Run enhancerandroid02/flix_upscaler_1.0.0 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 (.mp4/.mov/.webm)
|
|
| scale |
integer
|
2
Min: 2 Max: 4 |
Upscale factor
|
| keep_audio |
boolean
|
False
|
Preserve audio track if present
|
| tile_dit |
boolean
|
False
|
Enable tiled DiT inference (reduces VRAM usage)
|
| tile_size |
integer
|
256
Min: 16 Max: 2048 |
Tile size for tiling (DiT pixel tile size)
|
| overlap |
integer
|
24
Max: 1024 |
Tile overlap (reduces seams)
|
| fps |
integer
|
0
Max: 60 |
Force output FPS. Use 0 to match input (or 30 for image sequences).
|
| input_size_ratio |
number
|
1
Min: 0.1 Max: 1 |
Downscale input frames before upscaling for faster inference (0.1-1.0).
|
| quality |
integer
|
10
Max: 10 |
Output video quality (0-10)
|
| negative_prompt |
string
|
|
Negative prompt
|
| seed |
integer
|
0
|
Random seed
|
| sparse_ratio |
number
|
1.5
Min: 0.5 Max: 5 |
Sparse attention ratio (1.5=faster, 2.0=stable)
|
| kv_ratio |
number
|
3
Min: 0.5 Max: 10 |
KV cache ratio
|
| local_range |
integer
|
11
Min: 1 Max: 64 |
Local attention range (9=sharper, 11=stable)
|
| color_fix |
boolean
|
False
|
Apply color correction
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 0,
"maximum": 60,
"minimum": 0,
"x-order": 6,
"description": "Force output FPS. Use 0 to match input (or 30 for image sequences)."
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 10,
"description": "Random seed"
},
"scale": {
"type": "integer",
"title": "Scale",
"default": 2,
"maximum": 4,
"minimum": 2,
"x-order": 1,
"description": "Upscale factor"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 0,
"description": "Input video (.mp4/.mov/.webm)"
},
"overlap": {
"type": "integer",
"title": "Overlap",
"default": 24,
"maximum": 1024,
"minimum": 0,
"x-order": 5,
"description": "Tile overlap (reduces seams)"
},
"quality": {
"type": "integer",
"title": "Quality",
"default": 10,
"maximum": 10,
"minimum": 0,
"x-order": 8,
"description": "Output video quality (0-10)"
},
"kv_ratio": {
"type": "number",
"title": "Kv Ratio",
"default": 3,
"maximum": 10,
"minimum": 0.5,
"x-order": 12,
"description": "KV cache ratio"
},
"tile_dit": {
"type": "boolean",
"title": "Tile Dit",
"default": false,
"x-order": 3,
"description": "Enable tiled DiT inference (reduces VRAM usage)"
},
"color_fix": {
"type": "boolean",
"title": "Color Fix",
"default": false,
"x-order": 14,
"description": "Apply color correction"
},
"tile_size": {
"type": "integer",
"title": "Tile Size",
"default": 256,
"maximum": 2048,
"minimum": 16,
"x-order": 4,
"description": "Tile size for tiling (DiT pixel tile size)"
},
"keep_audio": {
"type": "boolean",
"title": "Keep Audio",
"default": false,
"x-order": 2,
"description": "Preserve audio track if present"
},
"local_range": {
"type": "integer",
"title": "Local Range",
"default": 11,
"maximum": 64,
"minimum": 1,
"x-order": 13,
"description": "Local attention range (9=sharper, 11=stable)"
},
"sparse_ratio": {
"type": "number",
"title": "Sparse Ratio",
"default": 1.5,
"maximum": 5,
"minimum": 0.5,
"x-order": 11,
"description": "Sparse attention ratio (1.5=faster, 2.0=stable)"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 9,
"description": "Negative prompt"
},
"input_size_ratio": {
"type": "number",
"title": "Input Size Ratio",
"default": 1,
"maximum": 1,
"minimum": 0.1,
"x-order": 7,
"description": "Downscale input frames before upscaling for faster inference (0.1-1.0)."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}