Skip to content

inference.hypir.upscale.v1

{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"inference.hypir.upscale.v1"
]
},
"config": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "filename",
"example": "input.png",
"description": "The filename of the target image."
},
"factor": {
"type": "number",
"enum": [
2
],
"default": 2,
"description": "Upscale factor is how many times larger the upscaled image will be (e.g. 2x)."
},
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 4096,
"description": "A description of your image."
},
"style_preset": {
"type": "string",
"enum": [
"3d-model",
"analog-film",
"anime",
"cinematic",
"comic-book",
"digital-art",
"enhance",
"fantasy-art",
"isometric",
"line-art",
"low-poly",
"neon-punk",
"origami",
"photographic",
"pixel-art",
"texture",
"craft-clay"
],
"description": "Style preset applies a common style to your prompt."
},
"patch_size": {
"type": "number",
"default": 512,
"minimum": 512,
"maximum": 1024,
"description": "Tiling patch size."
},
"stride": {
"type": "number",
"default": 256,
"minimum": 256,
"maximum": 512,
"description": "Tiling stride length."
},
"model_t": {
"type": "number",
"default": 200,
"minimum": 1,
"maximum": 400,
"description": "Model input timestep."
},
"coeff_t": {
"type": "number",
"default": 200,
"minimum": 1,
"maximum": 400,
"description": "Timestep used to calculate the conversion coefficients from noise to data."
}
}
}
}
}