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
|
Prompt to guide the image generation
|
|
negative_prompt |
string
|
The prompt or prompts not to guide the image generation (what you do not want to see in the generation). Ignored when not using guidance.
|
|
num_outputs |
integer
(enum)
|
1
Options: 1, 4 |
Number of images to output
|
num_inference_steps |
integer
|
100
Min: 1 Max: 500 |
The number of denoising steps. More denoising steps usually lead to a higher quality image at the expense of slower inference.
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
Scale for classifier-free guidance. Higher guidance scale encourages to generate images that are closely linked to the text prompt, usually at the expense of lower image quality.
|
image_guidance_scale |
number
|
1.5
Min: 1 |
Image guidance scale is to push the generated image towards the inital image. Higher image guidance scale encourages to generate images that are closely linked to the source image, usually at the expense of lower image quality.
|
scheduler |
string
(enum)
|
K_EULER_ANCESTRAL
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.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}