You're looking at a specific version of this model. Jump to the model overview.

ai-forever /kandinsky-2:601eea49

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.

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'}