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
None
p_sampler
Choose a scheduler
prior_cf_scale
integer
4
None
prior_steps
string
5
None
width
None
512
Choose width. Lower the setting if out of memory.
height
None
512
Choose height. Lower the setting if out of memory.
batch_size
None
1
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'}