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
|
|
Your text prompt.
|
negative |
string
|
|
(optional) Negate the model's prediction for this text from the model's prediction for the target text.
|
init_image |
string
|
(optional) Initial image to use for the model's prediction.
|
|
init_skip_fraction |
number
|
0
Max: 1 |
Fraction of sampling steps to skip when using an init image.
|
batch_size |
integer
(enum)
|
4
Options: 1, 2, 3, 4, 6, 8 |
Batch size.
|
width |
integer
(enum)
|
256
Options: 128, 192, 256, 320, 384, 448, 512 |
Target width
|
height |
integer
(enum)
|
256
Options: 128, 192, 256, 320, 384, 448, 512 |
Target height
|
seed |
integer
|
-1
Min: -1 Max: 4294967295 |
Seed for random number generator.
|
guidance_scale |
number
|
5
Min: -20 Max: 100 |
Classifier-free guidance scale. Higher values will result in more guidance toward caption, with diminishing returns. Try values between 1.0 and 40.0.
|
steps |
integer
|
50
Min: 15 Max: 250 |
Number of diffusion steps to run.
|
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',
'x-cog-array-type': 'iterator'}