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

replicategithubwc /controlnet-sdxl:fa75a071

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
image
string
Input image for img2img or inpaint mode
prompt
string
aerial view, a futuristic research complex in a bright foggy jungle, hard lighting
Input prompt
negative_prompt
string
low quality, bad quality, sketches
Input Negative Prompt
width
integer (enum)
768

Options:

128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024

Width of output image. Maximum size is 1024x1024 because of memory limits
height
integer (enum)
768

Options:

128, 256, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024

Height of output image. Maximum size is 1024x1024 because of memory limits
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
num_inference_steps
integer
50

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
7.5

Min: 1

Max: 20

Scale for classifier-free guidance
scheduler
string (enum)
K_EULER

Options:

DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM

scheduler
condition_scale
number
0.5

Max: 1

controlnet conditioning scale for generalization
low_threshold
integer
100

Min: 1

Max: 255

Canny line detection low threshold
high_threshold
integer
200

Min: 1

Max: 255

Canny line detection high threshold
seed
integer
0
Random seed. Set to 0 to randomize the seed

Output schema

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

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