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

yuni-eng /controlnet-sdxl:0bdd2d10

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 to create in different art medium
prompt
string
Choose art medium to generate in that style. For example: a photo of, a acrylic paint of, an anime drawing of, a caricature of, a cartoon of, a drawing of, a graphitti of, an illustration of, a line art of, an oil painting of, a pencil sketch of
negative_prompt
string
poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face, blurry, draft, grainy
Specify things to not see in the output
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 1024x768 or 768x1024 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 1024x768 or 768x1024 because of memory limits
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output. > 2 might generate out-of-memory errors.
seed
integer
0
Random seed. Set to 0 to randomize the seed. If you need tweaks to a generated image, reuse the same seed number from output logs.
num_inference_steps
integer
100

Min: 1

Max: 500

Number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference
guidance_scale
number
7.5
A higher guidance scale value generate images closely to the text prompt at the expense of lower image quality. Guidance scale is enabled when guidance_scale > 1.

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'}