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
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.
seed
integer
Random seed. Leave blank to randomize the seed
output_format
None
webp
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.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}