You're looking at a specific version of this model. Jump to the model overview.
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
|
输入图片文件(支持 jpg、png、bmp 格式)
|
|
| tile_size |
integer
|
2560
Min: 1024 Max: 4096 |
分块尺寸(像素)。推荐2560。更大的tile需要更多显存
|
| target_scale |
integer
|
1
Max: 4 |
目标放大倍数。0=保持原分辨率,2=放大到2倍(4块),3=3倍(9块),4=4倍(16块)
|
| output_format |
None
|
jpg
|
输出图片格式。jpg=压缩率高,png=无损
|
| enable_4x_upscale |
integer
|
0
Max: 1 |
启用 4x 超分辨率放大(使用 ClearRealityV1 模型)。0=禁用,1=启用
|
| tile_overlap |
integer
|
64
Max: 256 |
[高级] 分块重叠区域(像素)。用于平滑拼接,推荐64
|
| tile_memory_mode |
integer
|
1
Max: 1 |
[高级] 分块显存优化。0=禁用,1=启用(将tile缩小到1280处理,节省显存)
|
| tile_sharpening |
number
|
0
Max: 2 |
[高级] 分块预处理锐化强度。推荐0.8
|
| final_sharpening |
number
|
1
Max: 2 |
[高级] 最终锐化强度(拼接后)。推荐0.3
|
| extra_scale |
number
|
1
Min: 1 Max: 4 |
[高级] 额外放大倍率(在分辨率调整后)。通常保持1.0
|
| aspect_ratio_narrow_threshold |
number
|
1.33
Min: 1 Max: 2 |
[高级] 窄图阈值(长宽比)。小于此值时tile_size降为1920以加快速度。默认4:3=1.33
|
| aspect_ratio_wide_threshold |
number
|
1.78
Min: 1 Max: 3 |
[高级] 宽图阈值(长宽比)。大于此值时使用wide_tile_size并设target_scale=2。默认16:9=1.78
|
| wide_tile_size |
integer
|
2000
Min: 1024 Max: 3072 |
[高级] 宽图/大图专用tile尺寸。当长宽比>阈值或长边>=long_edge_threshold时使用。默认2000
|
| long_edge_threshold |
integer
|
2000
Min: 1024 Max: 4096 |
[高级] 长边阈值(像素)。长边超过此值时使用wide_tile_size并设target_scale=2。默认2000
|
| log_level |
None
|
debug
|
[高级] 日志详细程度。info=基本信息,debug=详细调试
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'format': 'uri', 'title': 'Output', 'type': 'string'}