You're looking at a specific version of this model. Jump to the model overview.
ai-forever /kandinsky-2:3c6374e7
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
|
red cat, 4k photo
|
Input Prompt
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
4
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
scheduler |
string
(enum)
|
p_sampler
Options: ddim_sampler, p_sampler, plms_sampler |
Choose a scheduler
|
prior_cf_scale |
integer
|
4
|
None
|
prior_steps |
string
|
5
|
None
|
width |
integer
(enum)
|
512
Options: 256, 288, 432, 512, 576, 768, 1024 |
Choose width. Lower the setting if out of memory.
|
height |
integer
(enum)
|
512
Options: 256, 288, 432, 512, 576, 768, 1024 |
Choose height. Lower the setting if out of memory.
|
batch_size |
integer
(enum)
|
1
Options: 1, 2, 3, 4 |
Choose batch size. Lower the setting if out of memory.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
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'}