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

pratos /stable-diffusion-2-1-512:4ec7e015

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
prompt
string
A gentleman otter
Prompt for the model
negative_prompt
string
((((ugly)))), (((duplicate))), ((morbid)), ((mutilated)), out of frame, extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck)))
Negative prompt for the model. Add things that you'd want to avoid in the image.
img_height
integer (enum)
512

Options:

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

Height of the output image
img_width
integer (enum)
512

Options:

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

Height of the output image
scheduler
string (enum)
euler

Options:

euler, ddim, ddpm, dpm-solver-single-step, dmp-solver-multi-step, heun, kdpm2, kdpm2-ancestral, karras-ve, lms, pndm, ipndm, euler-ancestral, vq-diffusion

Sampler to use
cfg_scale
number
7.5

Min: 1

Max: 30

Scale of the configuration
num_inference_steps
integer
50

Min: 1

Max: 500

Number of inference steps
num_output_images
integer
1

Min: 1

Max: 5

Number of output images
seed
integer
-1
Seed for the model
vae_slicing
integer (enum)
0

Options:

1, 0

Use VAE slicing to allow large batches of images to be generated

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