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

zsxkib /prototype-model:938a3be5

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
inference_type
string (enum)
full_pipeline

Options:

full_pipeline, aligned_face_image, unaligned face_image

TODO
ckpt
string
full checkpoint path
config
string
model config path
reload_swinir
boolean
False
Flag to reload SwinIR
swinir_ckpt
string
SwinIR checkpoint path
input
string
Path to the input image
sampler
string (enum)
ddpm

Options:

ddpm, ddim

Sampler type
steps
integer
Number of steps
sr_scale
number
1
SR scale factor
image_size
integer
512
Image size
repeat_times
integer
1
Number of repetitions
disable_preprocess_model
boolean
False
Flag to disable model preprocessing
use_guidance
boolean
False
Flag to use latent image guidance
g_scale
number
0
Guidance scale
g_t_start
integer
1001
Guidance start time
g_t_stop
integer
-1
Guidance stop time
g_space
string
latent
Guidance space
g_repeat
integer
5
Guidance repeat times
color_fix_type
string (enum)
wavelet

Options:

wavelet, adain, none

Type of color correction
resize_back
boolean
False
Flag to resize back
output
string
Path to save the output
show_lq
boolean
False
Flag to show LQ
skip_if_exist
boolean
False
Flag to skip if output exists
seed
integer
231
Random seed

Output schema

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

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