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 beautiful landscape painting
|
Text prompt for image generation
|
| negative_prompt |
string
|
nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
|
Negative prompt to guide what should not appear in the image
|
| width |
None
|
1024
|
Width of the generated image
|
| height |
None
|
1024
|
Height of the generated image
|
| num_inference_steps |
integer
|
28
Min: 1 Max: 100 |
Number of denoising steps
|
| guidance_scale |
number
|
7
Min: 1 Max: 20 |
Guidance scale for classifier-free guidance
|
| seed |
integer
|
-1
Min: -1 Max: 2147483647 |
Random seed for reproducibility (-1 for random seed)
|
| num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to generate
|
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'}