You're looking at a specific version of this model. Jump to the model overview.
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 photo of an astronaut riding a horse on mars
|
Input prompt
|
negative_prompt |
string
|
|
Specify things to not see in the output
|
width |
integer
(enum)
|
1024
Options: 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088, 1152, 1216, 1280, 1344, 1408, 1472, 1536, 1600, 1664, 1728, 1792, 1856, 1920, 1984, 2048 |
Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
height |
integer
(enum)
|
1024
Options: 512, 576, 640, 704, 768, 832, 896, 960, 1024, 1088, 1152, 1216, 1280, 1344, 1408, 1472, 1536, 1600, 1664, 1728, 1792, 1856, 1920, 1984, 2048 |
Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
7
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
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.
{'format': 'uri', 'title': 'Output', 'type': 'string'}