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

ai-forever /kandinsky-2.2:ad9d7879

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
A moss covered astronaut with a black background
Input prompt
negative_prompt
string
Specify things to not see in the output
width
integer (enum)
512

Options:

384, 512, 576, 640, 704, 768, 960, 1024, 1152, 1280, 1536, 1792, 2048

Width of output image. Lower the setting if hits memory limits.
height
integer (enum)
512

Options:

384, 512, 576, 640, 704, 768, 960, 1024, 1152, 1280, 1536, 1792, 2048

Height of output image. Lower the setting if hits memory limits.
num_inference_steps
integer
75

Min: 1

Max: 500

Number of denoising steps
num_inference_steps_prior
integer
25

Min: 1

Max: 500

Number of denoising steps for priors
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
seed
integer
Random seed. Leave blank to randomize the seed
output_format
string (enum)
webp

Options:

webp, jpeg, png

Output image format

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