Image creation with Kandinsky 2.2

Just describe what you do and don't want, wait a moment, and voila! You'll receive a stunning image, all set to be shared. Kandinsky, the text-to-image AI, specializes in crafting visually captivating images.

Use cases examples

  • - Create images for your blog posts
  • - Be inspired with architectural photos

Model detail

Kandinsky 2.2

Added by: APIForAI

Price per call≈ 0.02

License Github

Try it nowAPI information

Try it

Examples

Input

{
"input":{
"prompt":"a blue car, futuristic, well d..."
"negative_prompt":
"width":512
"height":512
"num_inference_steps":75
"num_inference_steps_prior":25
"num_outputs":1
"seed":8093
}
"id":83
}

Output

Image
{
"status":"succeeded"
"output":[
0:"https://rbqktisnztholqojxlaf.s..."
]
"prediction_time":6.175243
}

API Information

Input description

prompt string

Input prompt

Default value: A moss covered astronaut with a black background

negative_prompt string

Specify things to not see in the output

width integer

An enumeration.

Default value: 512

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

height integer

An enumeration.

Default value: 512

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

num_inference_steps integer

Number of denoising steps

Default value: 75

num_inference_steps_prior integer

Number of denoising steps for priors

Default value: 25

num_outputs integer

Number of images to output.

Default value: 1

seed integer

Random seed. Leave blank to randomize the seed

Output JSON Schema

This represents the JSON schema that details the structure of the model's output.

{
"type":"array"
"items":{
"type":"string"
"format":"uri"
}
"title":"Output"
}

APIForAI

Build fast by accessing AI models easily