You're looking at a specific version of this model. Jump to the model overview.
stability-ai /stable-diffusion:ac732df8
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 vision of paradise. unreal engine
|
Input prompt
|
height |
integer
(enum)
|
768
Options: 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024 |
Height of generated image in pixels. Needs to be a multiple of 64
|
width |
integer
(enum)
|
768
Options: 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024 |
Width of generated image in pixels. Needs to be a multiple of 64
|
negative_prompt |
string
|
Specify things to not see in the output
|
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to generate.
|
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)
|
DPMSolverMultistep
Options: DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS |
Choose a scheduler.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}