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

hunkim98 /kandinsky-2-1:9b2c5164

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
task
string (enum)
text2img

Options:

text2img, text_guided_img2img, inpaint

Choose a task
prompt
string
A alien cheeseburger creature eating itself, claymation, cinematic, moody lighting
Provide input prompt
negative_prompt
string
low quality, bad quality
Specify things to not see in the output for text2img and text_guided_img2img tasks
image
string
Input image for text_guided_img2img task
mask
string
Mask for inpainting task
strength
number
0.3

Max: 1

indicates how much to transform the input iamge, valid for text_guided_img2img task.
width
integer
256

Min: 128

Max: 1024

Width of output image. Reduce the seeting if hits memory limits
height
integer
256

Min: 128

Max: 1024

Height of output image. Reduce the seeting if hits memory limits
num_outputs
integer
1

Min: 1

Max: 4

Number of images to output.
num_steps_prior
integer
25

Min: 1

Max: 500

Number of denoising steps in prior
num_inference_steps
integer
100

Min: 1

Max: 500

Number of denoising steps
guidance_scale
number
4

Min: 1

Max: 20

Scale for classifier-free guidance
seed
integer
Random seed. Leave blank to randomize the seed

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