POST
v1
/
replicate
/
imageupscale

Query

model
string
default: "philz1337x/clarity-upscaler"required

The image model to be used;

Body

image
file
required

Input image

prompt
string

Prompt

negative_prompt
string

Negative Prompt

scale_factor
float
default: "2.0"

Scale factor

dynamic
float
default: "6.0"

HDR, try from 3 - 9

creativity
float
default: "0.35"

Creativity, try from 0.3 - 0.9

resemblance
float
default: "0.6"

Resemblance, try from 0.3 - 1.6

tiling_width
int
default: "112"

Fractality, set lower tile width for a high Fractality

tiling_height
int
default: "114"

Fractality, set lower tile height for a high Fractality

sd_model
string
default: "uggernaut_reborn.safetensors [338b85bc4f]"

Stable Diffusion model checkpoint

scheduler
string
default: "DPM++ 3M SDE Karras"

scheduler

num_inference_steps
int
default: "18"

Number of denoising steps

downscaling
boolean
default: "false"

Downscale the image before upscaling. Can improve quality and speed for images with high resolution but lower quality

downscaling_resolution
int
default: "768"

Downscaling resolution

sharpen
float
default: "0.0"

Sharpen the image after upscaling. The higher the value, the more sharpening is applied. 0 for no sharpening

output_format
string
default: "png"

Format of the output images